An AWS three-tier architecture diagram shows a web app split into a presentation tier (load balancer and edge), an application tier (your compute in private subnets) and a data tier (your database in isolated subnets), spread across at least two Availability Zones. The good ones also show which tier is allowed to talk to which, on which port, and what happens when one AZ goes dark.
That last part is where most diagrams fall apart. Below: what goes in each tier, the exact subnet layout to draw, a copyable three-tier architecture example, security group chaining in Terraform, and a review checklist you can run before the design review.
What are the three tiers in AWS architecture?
The model is older than the cloud, and that's the point. It's boring in the best way. Each tier has one job and one neighbour:
| Tier | Job | Typical AWS services | Subnet |
|---|---|---|---|
| Presentation | Accept user traffic, terminate TLS, serve static assets | CloudFront, Application Load Balancer, S3 (static assets), AWS WAF | Public (ALB nodes) |
| Application (logic) | Run business logic, call other services | EC2 Auto Scaling group, ECS on Fargate, EKS | Private app |
| Data | Store and serve state | Amazon RDS or Aurora, ElastiCache | Private data (no internet route) |
The rule that makes it work: traffic only moves one tier at a time. Users reach the presentation tier. The presentation tier reaches the app tier. Only the app tier reaches the database. If your diagram has an arrow from the internet to RDS, that's not a style issue. That's a finding.
Some definitions put the load balancer and the web servers together as the "web tier", others treat CloudFront plus the ALB as the presentation tier and all compute as the app tier. Both are fine. Pick one, write it in the diagram legend, and be consistent.
→ Skip the blank canvas: start from a proven pattern in the Pattern Library
Why your AWS three-tier architecture diagram is probably lying
Real talk: the three-tier diagram in most wikis was drawn once, for the launch review, and has been quietly wrong ever since. Classic tells:
- One AZ drawn, two deployed (or worse, the other way round).
- "Private subnet" boxes with no route tables, so nobody can tell whether the app tier can reach the internet, and through what.
- Unlabelled arrows. An arrow from the app tier to the database says nothing about port 5432, the security group rule, or whether TLS is on.
- The NAT gateway nobody owns. It's on the bill, it's not on the diagram.
- The read replica that became a write target during an incident in 2024 and never went back.
A three-tier web application architecture on AWS is simple enough that there's no excuse for a vague diagram. Every box maps to a real resource, and every arrow maps to a security group rule or a route.
→ Describe your stack in plain English and let Architect AI draft the topology
The subnet layout: draw this grid first
Before any service icons, draw the network skeleton. A highly available three-tier architecture on AWS is a grid: Availability Zones as columns, tiers as rows.
Region: us-east-1
└── VPC 10.0.0.0/16
├── AZ a ├── AZ b
│ ├── public-a 10.0.0.0/24 │ ├── public-b 10.0.1.0/24
│ ├── app-a 10.0.10.0/24 │ ├── app-b 10.0.11.0/24
│ └── data-a 10.0.20.0/24 │ └── data-b 10.0.21.0/24
│ │
└── Internet gateway (attached to VPC)
Why two AZs minimum? Because AWS makes you. An Application Load Balancer requires at least two Availability Zone subnets, each in a different AZ. The same page asks for each ALB subnet to be at least a /27 with at least eight free IP addresses so the load balancer can scale out. Put that on the diagram as a note next to the public subnets; it's the kind of detail that bites when someone "optimises" the CIDR plan later.
Need to carve the ranges? The free CIDR subnet calculator gives you non-overlapping blocks per tier and AZ, and the VPC design explainer covers how to size them for growth.
→ Plan non-overlapping CIDRs for every tier and AZ with the free CIDR Subnet Calculator
Three-tier architecture example: the full diagram
Here's a three-tier architecture example you can copy into any tool. Request flow goes top to bottom, AZs left to right:
[Users]
| HTTPS 443
v
[CloudFront + AWS WAF]
| HTTPS 443
v
+-------- [ALB: internet-facing, public-a + public-b] --------+
| |
| HTTP 8080 (sg-alb -> sg-app) |
v v
[EC2 / ECS tasks: app-a] [EC2 / ECS tasks: app-b]
(Auto Scaling group spans app-a and app-b, min 2)
| |
| TCP 5432 (sg-app -> sg-db) |
v v
[RDS PostgreSQL primary: data-a] ==sync replication==> [RDS standby: data-b]
Outbound from app tier: app-a/app-b -> NAT -> Internet gateway
Static assets: CloudFront -> S3 (origin access control)
How to make it read well:
- Draw the ALB once, spanning both public subnets. It's one logical load balancer with a node per enabled AZ, not two load balancers.
- Draw the Auto Scaling group as a dashed boundary across both app subnets, with
mincapacity written on it. "Min 2 across 2 AZs" tells a reviewer more than eight server icons. - Show the RDS standby, and say what it can't do. In a Multi-AZ DB instance deployment, RDS keeps a synchronous standby in a different AZ, and AWS is explicit that you can't use that standby to serve read traffic. If you need read scaling, draw a read replica or a Multi-AZ DB cluster as a separate box with its own label.
- Label every arrow with port and rule.
TCP 5432 (sg-app → sg-db)is the whole security story for that edge in six tokens.
For the data tier choices themselves (engine, Multi-AZ vs read replicas, backup windows), the RDS and data services best practices guide goes deeper.
→ Check this layout for exposed paths and over-broad rules with Security Posture
Security group chaining: the arrows, as code
The cleanest three-tier pattern on AWS references security groups instead of CIDR ranges. The app tier accepts traffic from the ALB's security group, and the database accepts traffic from the app tier's security group. No IP ranges to drift, and the rules read exactly like the diagram.
Here's the Terraform, using the per-rule aws_vpc_security_group_ingress_rule resources from current AWS provider versions:
resource "aws_security_group" "alb" {
name = "three-tier-alb"
vpc_id = aws_vpc.main.id
}
resource "aws_security_group" "app" {
name = "three-tier-app"
vpc_id = aws_vpc.main.id
}
resource "aws_security_group" "db" {
name = "three-tier-db"
vpc_id = aws_vpc.main.id
}
# Internet -> ALB on 443
resource "aws_vpc_security_group_ingress_rule" "alb_https" {
security_group_id = aws_security_group.alb.id
cidr_ipv4 = "0.0.0.0/0"
ip_protocol = "tcp"
from_port = 443
to_port = 443
}
# ALB -> app tier on 8080
resource "aws_vpc_security_group_ingress_rule" "app_from_alb" {
security_group_id = aws_security_group.app.id
referenced_security_group_id = aws_security_group.alb.id
ip_protocol = "tcp"
from_port = 8080
to_port = 8080
}
# App tier -> database on 5432
resource "aws_vpc_security_group_ingress_rule" "db_from_app" {
security_group_id = aws_security_group.db.id
referenced_security_group_id = aws_security_group.app.id
ip_protocol = "tcp"
from_port = 5432
to_port = 5432
}
Notice what's missing: there is no rule that lets anything except sg-app reach the database. That's the three-tier contract, enforced in code. (Egress rules are omitted for brevity; scope them as tightly in production.)
The fastest sanity check is to paste your rules into the free Security Group Rule Visualizer and compare the picture it produces with your architecture diagram. If they disagree, one of them is wrong, and it's usually the diagram.
→ Visualise your security group rules and spot the arrow you didn't mean to draw
The NAT question: zonal, regional, or none
Your app tier usually needs outbound internet access (package mirrors, third-party APIs, AWS endpoints you haven't put behind VPC endpoints). How you draw that depends on which NAT model you use, and in 2026 there are two:
| Option | What to draw | Trade-off |
|---|---|---|
| Zonal NAT gateway, one per AZ | A NAT gateway in each public subnet, with each app subnet routing to the NAT in its own AZ | The classic HA setup. AWS docs warn that if AZs share one NAT gateway and its AZ fails, the others lose internet access |
| Single zonal NAT gateway | One NAT in one public subnet | Cheaper, but a single-AZ dependency for outbound traffic. Mark it as an accepted risk on the diagram |
| Regional NAT gateway | One NAT resource spanning AZs, no public subnet needed for it | Fewer routes and resources to manage. Doesn't support private NAT, isn't available in constrained AZs, and can take up to 60 minutes to expand to a newly used AZ |
| VPC endpoints only | Gateway or interface endpoints, no NAT | Works when the app only talks to AWS services. Draw each endpoint |
Sources: NAT gateway basics and regional NAT gateways.
Whichever you pick, put it on the diagram with its route. The NAT path is the most common "how does this box reach the internet?" question in any 3-tier architecture in AWS review, and the answer should be visible, not tribal knowledge.
→ Read how failover paths should behave when an Availability Zone fails
What it costs (and how to estimate it honestly)
A three-tier stack has more always-on parts than a serverless one: load balancer hours, compute instances in two AZs, a Multi-AZ database (you pay for the standby too), NAT gateway hours plus data processing, and data transfer. Those line items shift with Region, instance size and traffic, so we won't quote a single number here.
The honest method:
- List every box on the diagram as a line item, per AZ.
- Assign a traffic scenario (requests per month, GB out, GB through NAT).
- Price each line with the official AWS Pricing Calculator, and write "prices as of November 2026, check the official calculator" on the estimate.
- Price the HA delta separately. The second AZ, the RDS standby and the extra NAT gateways are the cost of resilience; make that a visible decision, not a surprise.
For a worked walkthrough of hosting costs, see how much it costs to host a web app on AWS.
→ Turn the diagram into a component-level cost breakdown with Cost Estimator
How to draw a three-tier architecture diagram in 7 steps
- Draw the Region and the VPC with its CIDR.
- Add two or three AZ columns. Never one, if you're claiming high availability.
- Add three subnet rows per AZ: public, private app, private data. Write the CIDR on each.
- Place the presentation tier: CloudFront and WAF at the edge, the ALB spanning the public subnets.
- Place the app tier: an Auto Scaling group (or ECS/EKS service) boundary spanning the app subnets, with min and max capacity.
- Place the data tier: RDS primary in one AZ, standby in another, plus any cache or read replica with its role spelled out.
- Label every edge with protocol, port and security group rule, then add the NAT route and the backup and monitoring paths.
Then compare it with your Terraform or CloudFormation. Anything in the code but not in the diagram is a finding. For the bigger AWS picture, the AWS architecture diagram guide covers the full process from requirements to review.
→ Generate the first draft from a prompt and refine it on the canvas with Architect AI
Three-tier architecture review checklist
Run this before the design review, not after the incident:
- At least two AZs are drawn, and the deployment really uses them
- Every subnet has its CIDR and route table destination written on it
- ALB subnets are at least
/27with spare IPs for scaling - Only the presentation tier has an internet-facing entry point
- App tier ingress references the ALB security group, not
0.0.0.0/0 - Database ingress references only the app tier security group
- Data subnets have no route to an internet gateway or NAT
- RDS Multi-AZ standby is drawn and not labelled as a read endpoint
- The NAT model (zonal per AZ, single, regional, or endpoints only) is explicit
- Auto Scaling min capacity survives the loss of one AZ
- TLS termination points are marked (edge, ALB, and to the database if required)
- Backups, logs and metrics destinations are shown
- The diagram matches the deployed IaC
Want this as a reusable, shareable list for your team? Build it with the free architecture review checklist builder.
→ Build a reusable review checklist for every three-tier design
Key takeaways
- An AWS three-tier architecture diagram is a grid: AZs as columns, tiers as rows. Draw the network before the icons.
- Two AZs is the floor. The ALB needs at least two AZ subnets, and the RDS Multi-AZ standby lives in a different AZ.
- The RDS standby is not a read replica. Draw read scaling as its own box.
- Chain security groups (ALB → app → DB) instead of using CIDR ranges, and label every arrow with port and rule.
- Make the NAT decision visible: zonal per AZ, single, regional, or endpoints only. Each has a different failure mode.
- Price the HA delta separately with the official calculator, and date your estimate.
→ Start free and draw your three-tier architecture on Architecto
FAQ
What are the three tiers in AWS architecture?
The presentation tier (what users hit: CloudFront, an internet-facing Application Load Balancer, or static assets in S3), the application or logic tier (EC2 Auto Scaling groups, ECS or EKS services running your code in private subnets), and the data tier (a database such as Amazon RDS or Aurora, plus caches, in isolated private subnets). Each tier only accepts traffic from the tier directly in front of it.
How do you draw a three-tier architecture diagram on AWS?
Draw the Region, then the VPC, then at least two Availability Zones side by side. Inside each AZ, stack three subnet rows: public (load balancer nodes and NAT if zonal), private app, and private data. Put the Application Load Balancer across the public subnets, the Auto Scaling group across the app subnets, and the RDS primary in one AZ with its standby in the other. Label each arrow with the port and the security group rule that allows it.
Is a three-tier architecture still relevant on AWS?
Yes. It is still the default shape for web applications that need a relational database, long-running processes or predictable traffic, and it maps cleanly to VPC subnets and security groups. Serverless and container variants keep the same three logical tiers; they change what runs inside each tier, not the separation between them. For the serverless version, see the serverless architecture diagram examples.
How many Availability Zones does a highly available three-tier architecture need?
At least two. An Application Load Balancer requires subnets in at least two Availability Zones, and an RDS Multi-AZ DB instance keeps a synchronous standby in a different AZ. Many teams use three AZs for the app tier to reduce the capacity lost when one zone fails.
→ Compare Architecto with Cloudcraft for AWS diagrams
Draw the three-tier system you actually run
Three-tier is the most-drawn architecture on AWS and somehow still the most misdrawn. The fix isn't more icons. It's a diagram where every box is a real resource, every arrow is a real rule, and the second AZ is more than decoration.
Start from a pattern, describe your changes in plain English, and run cost and security reviews on the same canvas, so the diagram stays as current as the code.
→ Start free on Architecto and turn this layout into a live, reviewable diagram