Pattern · Classic web stack

Three-Tier Architecture

Separation of presentation, business logic, and data — the most common enterprise pattern on AWS.

THREE-TIER ARCHITECTURE Presentation Tier CloudFront · ALB · S3 HTTPS Application Tier EC2 · ECS · Lambda SQL / API Data Tier RDS · DynamoDB · ElastiCache Users Browser / Mobile Auth Cognito · IAM

Overview

Three-tier architecture separates applications into three logical layers: presentation (user interface), application (business logic), and data (persistence). Each tier can be independently scaled, updated, and secured.

The Three Tiers

Presentation

User interface and client interaction. Handles rendering, client-side validation, and session state.

  • CloudFront CDN
  • S3 static hosting
  • ALB routing

Application

Business logic processing. Enforces rules, coordinates between layers, exposes APIs.

  • EC2 / ECS / EKS
  • Lambda functions
  • API Gateway

Data

Persistence, retrieval, and integrity. Isolated from the internet — only accessible from the application tier.

  • RDS / Aurora
  • DynamoDB
  • ElastiCache

Key Benefits

CloudFormation & Terraform

AWS Three-Tier Workshop

VPC, subnets, ALB, EC2, RDS with full CloudFormation templates

GitHub

Terraform VPC Module

Public/private subnets and NAT gateways for three-tier layout

GitHub

AWS Documentation

Well-Architected — Multi-Tier Reliability

Official guidance on building resilient multi-tier architectures

AWS Docs

AWS Reference Architecture Diagrams

Visual patterns including three-tier web applications

AWS Architecture Center