# Self-Hosted n8n Setup & Deployment

Canonical: https://ledgerfox.ai/n8n-self-hosted

Deploy n8n on your infrastructure with production discipline — Docker, cloud, SSL, Postgres, backups, and operational practices that survive real load.

## A quick Docker install is not a production deployment.

Self-hosting n8n is accessible, but production requires more: persistent database configuration, secure credential storage, SSL termination, backup strategy, upgrade planning, and monitoring when workflows fail at 2am. Teams that skip this foundation rebuild later under pressure.

## Production-ready self-hosted n8n.

We design and deploy self-hosted n8n environments on Docker, VPS, or cloud infrastructure — with PostgreSQL, queue mode where appropriate, authentication, secrets management, and operational runbooks your team can maintain.

## Deployment capabilities

- **Docker & compose.** Containerized n8n with defined service dependencies, volumes, and reproducible configuration.
- **Cloud & VPS.** Deployment on AWS, DigitalOcean, Hetzner, or your preferred provider with network and access controls.
- **SSL & authentication.** HTTPS, reverse proxy setup, and access control aligned with your security requirements.
- **PostgreSQL.** Production database configuration — not SQLite — with connection pooling and backup integration.
- **Queue mode.** Worker and Redis/queue configuration when workflow volume requires horizontal execution.
- **Backups & recovery.** Database and workflow export strategies with tested restore procedures.

## Typical self-hosted architecture

- Reverse proxy / SSL
- n8n application
- Worker processes
- PostgreSQL
- Redis (queue)
- Backup jobs
- Monitoring alerts

## What you receive

- **Deployed environment.** Staging and/or production n8n instance with documented configuration.
- **Infrastructure documentation.** Architecture diagram, environment variables, and deployment procedures.
- **Operational runbook.** Upgrade, backup, restore, and incident response steps.

## Questions

### Self-hosted vs n8n Cloud — which should we use?

It depends on compliance, control, integration depth, and operational capacity. We help assess tradeoffs honestly — self-hosting is not always the right answer.

### Can you deploy into our existing cloud account?

Yes. We work within your AWS, GCP, Azure, or VPS environment with least-privilege access.

### Do you handle n8n version upgrades?

We can document upgrade procedures, perform upgrades as part of delivery, or include them in ongoing support engagements.

### What about high availability?

HA requires explicit architecture — load balancing, database redundancy, and queue mode. We scope this based on your uptime requirements, not generic promises.

## Related

- [n8n Infrastructure](https://ledgerfox.ai/n8n-infrastructure): DevOps, scaling, and production operations.
- [n8n Monitoring](https://ledgerfox.ai/n8n-monitoring): Workflow reliability and alerting.
- [Managed n8n Services](https://ledgerfox.ai/n8n-managed-services): Ongoing platform operations.
- [n8n Support](https://ledgerfox.ai/n8n-support): Production troubleshooting.

## Deploy n8n with production foundations.

Tell us about your hosting environment, compliance needs, and expected workflow volume. We will propose a deployment architecture that fits.

- [Plan My n8n Infrastructure](https://ledgerfox.ai/contact?inquiry=infrastructure)
- [Book an Automation Assessment](https://ledgerfox.ai/n8n-audit)

