Backend Deployment
Deploy your backend to AWS using CloudFormation. Supports any Node.js framework with automatic scaling and zero-downtime updates.
How to Deploy
Deploy your backend through the chat or UI:
"Deploy the backend"
First deployment takes 5-10 minutes. Updates complete in 2-5 minutes.
What Gets Deployed
Backend deployment includes:
- •Application Code — Your backend source code
- •Infrastructure — EC2, Lambda, or container resources defined in your template
- •Networking — Load balancer, security groups, and DNS
- •Configuration — Environment variables and secrets
Infrastructure
Backends are deployed using AWS CloudFormation, which can provision:
Compute
EC2 instances, Lambda functions, or ECS containers depending on your template.
Database
MongoDB Atlas with automatic backups, monitoring, and scaling.
Auto Scaling
Automatically handles traffic spikes without manual configuration.
Security
Encrypted connections, secure secrets storage, and access control.
Environment Variables
Environment variables are securely stored and available at runtime:
Adding a variable
"Add environment variable STRIPE_SECRET_KEY"
Access them in code with process.env.VARIABLE_NAME
Zero Downtime Deployments
Backend deployments use a rolling update strategy:
- 1.New version is deployed alongside the old version
- 2.Health checks verify the new version works
- 3.Traffic gradually shifts to the new version
- 4.Old version is retired after all traffic moves
Your users never experience downtime during deployments.
Troubleshooting
- •Deployment fails: Check build output for errors
- •Stack stuck: Check CloudFormation events for resource failures
- •Environment variables missing: Redeploy after adding new variables