All Templates|🏛️ 3-Tier Architecturepro~$200–400/mo
🏛️

3-Tier Architecture

ALB → EC2 web tier → EC2 app tier → RDS. Fully separated presentation, logic, and data layers.

What you can build with this

Separate your web frontend (Nginx serving HTML/React), business logic API (Node.js/Python), and database onto dedicated servers. Each tier scales independently. The internet can only reach the web tier — the API servers and database have no public access.

Deployment timing

After you run the deploy command, resources come online at different times. Check the validation steps in order.

ResourceReady in
Networking resources1–2 min
Web tier EC22–4 min
App tier EC22–4 min
RDS Database5–10 min
Traffic servingAfter you deploy both apps and the load balancer health check passes
DNS / Certificate note: Only the load balancer is internet-facing — the app tier EC2 and RDS have no public IPs. Point your domain's Route53 A record to the load balancer DNS name.

CloudFormation parameters

These are the values you will fill in when deploying the exported template. Changing these does not break the template — that is the point.

ParameterWhat to provideExample
KeyPairNameEC2 key pair for SSHmy-keypair
WebInstanceTypeWeb tier server sizet3.small
AppInstanceTypeApp tier server sizet3.medium
DbPasswordDatabase admin passwordSecurePass123!
AcmCertificateArnHTTPS certificate ARNarn:aws:acm:...