[자동화] n8n이란?

2025. 2. 25. 23:21· Operations
목차
  1. n8n이란? 📍
  2. 특징
  3. 옵션
  4. 서비스 비교
  5. Self-hosting 방법 📍
  6. Docker
  7. Docker Compose
  8. Workflow 생성 방법 📍
  9. 구성
  10. 생성 방법

 

n8n이란? 📍

오픈소스 기반의 워크플로우 자동화 도구

n8n is a workflow automation platform that gives technical teams the flexibility of code with the speed of no-code. With 400+ integrations, native AI capabilities, and a fair-code license, n8n lets you build powerful automations while maintaining full control over your data and deployments.

 

 

https://n8n.io/

 

n8n.io - a powerful workflow automation tool

n8n is a free and source-available workflow automation tool

n8n.io

https://community.n8n.io/

 

n8n Community

Join the n8n Community to connect with other users, learn from detailed discussions, and share your automation insights. Explore topics and get support.

community.n8n.io

https://github.com/n8n-io/n8n

 

GitHub - n8n-io/n8n: Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom cod

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations. - n8n-io/n8n

github.com

 

특징

  • 오픈소스 & 자체 호스팅 지원 → 자체 서버에 설치 가능
  • JavaScript를 통해 커스텀 로직 작성 가능 (Python은 Beta)
  • 400개 넘는 서비스와 연결 가능
    • https://n8n.io/integrations/

 

옵션

  • n8n Cloud → 설치 없이 빠르게 사용 (SaaS)
  • n8n Self-Hosted → 자체 서버에 설치 (무료)
  • n8n Embed → SaaS 제품에 n8n을 통합 (API 기반)

 

서비스 비교

https://n8n.io/vs/zapier/

https://n8n.io/vs/make/

https://blog.n8n.io/make-vs-zapier/

 

Self-hosting 방법 📍

운영 환경에 따라 npm, Docker, Docker Compose, 서버에 직접 설치(Server Setup) 중 선택

서버에 직접 설치하는 경우 Docker Compose로 설치하거나, Kubernetes 환경에 설치할 수 있다.

n8n에서 AWS EKS, Azure AKS, GCP GKE를 공식적으로 지원한다.

  • Bare Metal Kubernetes의 경우
    • https://github.com/8gears/n8n-helm-chart
    • https://github.com/n8n-io/n8n-hosting/tree/main/kubernetes
    • Ingress, LB 등 추가적인 설정 필요!

 

Docker

docker volume create n8n_data

docker run -it --rm \
	--name n8n \
	-p 5678:5678 \
	-v n8n_data:/home/node/.n8n \
	docker.n8n.io/n8nio/n8n

 

 

Docker Compose

version: "3.8"

services:
  postgres:
    image: postgres:15
    container_name: postgres
    restart: always
    ports:
      - "5432:5432"
    environment:
      POSTGRES_DB: ${POSTGRES_DB}
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
    volumes:
      - postgres_data:/var/lib/postgresql/data

  n8n:
    image: docker.n8n.io/n8nio/n8n
    container_name: n8n
    restart: always
    ports:
      - "5678:5678"
    environment:
      - DB_TYPE=postgresdb
      - DB_POSTGRESDB_DATABASE=${POSTGRES_DB}
      - DB_POSTGRESDB_HOST=postgres
      - DB_POSTGRESDB_PORT=5432
      - DB_POSTGRESDB_USER=${POSTGRES_USER}
      - DB_POSTGRESDB_PASSWORD=${POSTGRES_PASSWORD}
    depends_on:
      - postgres
    volumes:
      - n8n_data:/home/node/.n8n

volumes:
  postgres_data:
  n8n_data:

 

 

Workflow 생성 방법 📍

구성

  • Nodes: 워크플로우를 구성하는 블록
    • Regular Node
    • Trigger Node: 특정 이벤트/조건으로 작업 시작
  • Connections: 노드 사이 연결
  • Sticky notes: 워크플로우 설명하는 문서

 

생성 방법

  1. n8n 웹 UI 접속
  2. "New Workflow" 버튼 클릭
  3. Workflow 편집 화면에서 트리거 노드 추가 (예: Webhook, Schedule 등)
    • 필요시, 사전에 credentials 설정
  4. 필요한 Regular 노드 추가 후 연결
  5. "Execute Workflow"를 눌러 실행 테스트
  6. 정상 작동 확인 후 "Activate" 버튼을 눌러 활성화

저작자표시 비영리 (새창열림)

'Operations' 카테고리의 다른 글

[CI/CD] Github Actions와 ArgoCD를 활용한 CI/CD  (0) 2024.11.05
  1. n8n이란? 📍
  2. 특징
  3. 옵션
  4. 서비스 비교
  5. Self-hosting 방법 📍
  6. Docker
  7. Docker Compose
  8. Workflow 생성 방법 📍
  9. 구성
  10. 생성 방법
'Operations' 카테고리의 다른 글
  • [CI/CD] Github Actions와 ArgoCD를 활용한 CI/CD
혬수
혬수
혬수
수리수리 마수리
혬수
전체
오늘
어제

블로그 메뉴

  • 🏡 Home
  • 🏷️ Tag
  • Github
  • 분류 전체보기 (51) N
    • Infra (8)
      • Kubernetes (5)
      • AWS (3)
    • Operations (10) N
      • Docker (1)
      • ArgoCD (2)
      • FluxCD (1) N
      • Kafka (2)
      • Keycloak (2) N
    • Testing (3)
      • Jest (0)
      • Postman (1)
    • Language (5)
      • JavaScript (5)
      • TypeScript (0)
    • Framework (16)
      • React (1)
      • React Native (15)
    • KakaoTech_Bootcamp (4)
      • Weekly Scrum (3)
      • 회고 (1)
    • Etc (5)
      • Git (1)
      • MacOS (4)

인기 글

hELLO · Designed By 정상우.v4.2.2
혬수
[자동화] n8n이란?
상단으로

티스토리툴바

개인정보

  • 티스토리 홈
  • 포럼
  • 로그인

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.