Overview
This AMI provides a fully automated installation of n8n, the open-source workflow automation platform, packaged with PostgreSQL and Redis for optimal stability and performance. It includes an interactive first-boot setup wizard that asks for your domain and admin email, automatically configures DNS validation, and obtains an SSL certificate using Let's Encrypt.
The environment is built using Docker Compose and managed by resilient initialization scripts that ensure a reliable and repeatable startup. Both the n8n UI and worker containers are configured for queue-based execution, enabling scalability as automation workload increases.
This AMI is ideal for teams looking to deploy n8n securely on AWS without manual environment configuration. Within minutes, you'll have a production-ready n8n instance accessible via your own domain over HTTPS.
Highlights
- Zero-Touch Deployment: Automated first-boot wizard sets domain mapping, admin login, and SSL certificate without manual configuration.
- Production-Ready Infrastructure: Includes PostgreSQL and Redis, queue-based execution model, HTTPS enabled, and persistent storage.
- Secure & Maintainable: Auto-generated credentials, configurable environment, password reset script, and Docker-based portability.
Details
Unlock automation with AI agent solutions

Features and programs
Financing for AWS Marketplace purchases
Pricing
Vendor refund policy
This product is currently offered free of charge on AWS Marketplace. Since there are no fees associated with the use of this AMI, refunds are not applicable.
Buyers may cancel use of the product at any time by terminating the associated Amazon EC2 instance.
For any questions or concerns, please contact: Perimattic.com Email: aws@perimattic.comÂ
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
- Pre-installed n8n latest stable release with workflow, webhook, and node execution support enabled.
- Automatic SSL configuration using Certbot and Apache for secure HTTPS access.
- PostgreSQL database auto-configured for persistent workflow, credential, and execution history storage.
- Redis caching & queue mode enabled for improved execution performance and background job handling.
- Pre-configured Docker & Docker Compose environment for easy maintenance and upgrades.
- Secure first-time login wizard that prompts for domain mapping, admin email, and auto-generates a secure password.
- Automatic database credential synchronization between n8n and PostgreSQL using internal scripts.
- Encrypted credential storage enabled using N8N_ENCRYPTION_KEY stored securely in the environment configuration.
- Admin password reset utility included to update both PostgreSQL and n8n user account credentials.
- Health checks & auto-restart policies configured for n8n, worker, database, and redis services to ensure high availability.
Additional details
Usage instructions
-
Launch an Instance
From AWS Marketplace, click Continue to Subscribe and then Continue to Configuration.
-
Choose the Recommended Instance Type
Select t2.medium or higher for smooth workflow execution and stable performance.
-
Configure Security Group
Allow inbound traffic on the following ports:
- 22 (SSH) - For secure terminal access
- 80 (HTTP) - Required for initial setup and SSL certificate issuance
- 443 (HTTPS) - To securely access the n8n dashboard
-
Connect to the Instance
ssh -i <your-key.pem> ubuntu@<public-ip>
-
First-Boot Setup
On first launch, the AMI will guide you interactively and automatically:
- Detects your server's public IP address
- Prompts for your domain name (e.g., automation.example.com)
- Verifies that your domain's A record correctly points to the server
- Requests your admin email, used for both login & SSL
- Automatically generates a secure admin password
- Configures PostgreSQL, Redis, and n8n containers
- Requests and installs a Let's Encrypt SSL certificate
- Configures Apache reverse proxy to serve n8n over HTTPS
-
Configure DNS
Before continuing, add an A record in your DNS provider:
automation.example.com - <your-instance-public-IP>
The setup script will test DNS propagation automatically.
-
Automatic SSL Setup
Once DNS is confirmed:
- A free Let's Encrypt SSL certificate is requested
- HTTPS is enabled automatically
- Traffic is securely routed to the n8n application
-
Start or Restart Services
Services start automatically. To check, restart, or manage:
cd /opt/app docker compose ps docker compose restart
-
Access n8n
Open your browser:
https://<your-domain>
-
Login Credentials
View stored credentials:
cat /opt/app/.env
- Admin Email: value of ADMIN_EMAIL
- Admin Password: value of SOFTWARE_PASSWORD
Support
Vendor support
For any assistance or inquiries, our dedicated support team is here to help 24/7. Feel free to reach out to us anytime. Email: support@cro-digital.co.uk We are committed to providing timely and effective solutions to meet your needs.
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.