Highly available three-tier web application

Highly available three-tier web application Highly available three-tier web application CloudFront → ALB → EC2 Auto Scaling → Amazon RDS Multi-AZ, across two Availability Zones AWS Cloud Region VPC Availability Zone 1 Availability Zone 2 Auto Scaling group Private subnet Auto Scaling group Private subnet HTTPS 1. Users → Amazon CloudFront (HTTPS)1 2. Amazon CloudFront → Application Load Balancer2 SQL 4. Amazon EC2 → Amazon RDS (SQL)4 4. Amazon EC2 → Amazon RDS4 inspects sync replication static assets 3. Application Load Balancer → Amazon EC23 3. Application Load Balancer → Amazon EC23 Users (Users) Users AWS WAF (AWS WAF) AWS WAF Amazon CloudFront (Amazon CloudFront) Amazon CloudFront Amazon S3 (Amazon Simple Storage Service) Amazon S3 Application Load Balancer (Elastic Load Balancing) Application Load Balancer Amazon EC2 (Amazon EC2) Amazon EC2 Amazon RDS (Amazon RDS) Amazon RDS primary Amazon EC2 (Amazon EC2) Amazon EC2 Amazon RDS (Amazon RDS) Amazon RDS standby Amazon CloudWatch (Amazon CloudWatch) Amazon CloudWatch AWS KMS (AWS Key Management Service) AWS KMS

Flow

  1. 1Users → Amazon CloudFront (HTTPS)
  2. 2Amazon CloudFront → Application Load Balancer
  3. 3Application Load Balancer → Amazon EC2
  4. 3Application Load Balancer → Amazon EC2
  5. 4Amazon EC2 → Amazon RDS (SQL)
  6. 4Amazon EC2 → Amazon RDS

Cost estimate us-east-1 · price list as of 2026-10-02 · indicative — some usage is assumed

$1,075per month
$12,895per year
10/11components priced
0not priced (see below)

Public on-demand AWS list prices from the AWS Price List. Excludes free tier, taxes, support plans, Savings Plans/Reserved Instances/Spot and enterprise discounts, and data transfer unless a node sets egressGbPerMonth. Monthly = 730 hours. Not a quote: confirm with the AWS Pricing Calculator.

Usage basis. Illustrative: ~2M page views/month. CloudFront is not modelled yet, so its $20/month is a placeholder override.

By category

Data and storage$709 · 66%
Compute$296 · 28%
Network$25.19 · 2%
Security and operations$24.20 · 2%
Other$20.00 · 2%

By component click a row to highlight it on the diagram

ComponentServiceStatus$ / monthLine items
Amazon RDSAmazon RDSestimated$352
2 lines
  • db.r6g.large PostgreSQL Multi-AZ (hours): 730 Hrs × $0.45 = $328.50
  • gp3 storage (GB-month): 100 GB-Mo × $0.23 = $23.00

Excludes backup storage beyond free allocation, Provisioned IOPS and data transfer.

Amazon RDSAmazon RDSestimated$352
2 lines
  • db.r6g.large PostgreSQL Multi-AZ (hours): 730 Hrs × $0.45 = $328.50
  • gp3 storage (GB-month): 100 GB-Mo × $0.23 = $23.00

Excludes backup storage beyond free allocation, Provisioned IOPS and data transfer.

Amazon EC2Amazon EC2estimated$148
2 lines
  • 2 × m5.large (hours, on-demand Linux): 1,460 Hrs × $0.096 = $140.16
  • EBS gp3 storage (GB-month): 100 GB-Mo × $0.08 = $8.00

On-demand rates; Savings Plans/Reserved Instances/Spot can reduce this.

Amazon EC2Amazon EC2estimated$148
2 lines
  • 2 × m5.large (hours, on-demand Linux): 1,460 Hrs × $0.096 = $140.16
  • EBS gp3 storage (GB-month): 100 GB-Mo × $0.08 = $8.00

On-demand rates; Savings Plans/Reserved Instances/Spot can reduce this.

Application Load BalancerElastic Load Balancingestimated$25.19
2 lines
  • application load balancer (hours): 730 Hrs × $0.0225 = $16.425
  • Load balancer capacity units (LCU-hours): 1,095 LCU-Hrs × $0.008 = $8.76
Amazon CloudFrontAmazon CloudFrontoverride$20.00
0 lines

    Monthly cost supplied in the spec (usage.monthlyUsd); not computed from the Price List.

    Amazon CloudWatchAmazon CloudWatchestimated$12.30
    4 lines
    • Log ingestion (GB): 10 GB × $0.50 = $5.00
    • Log storage (GB-month): 10 GB-Mo × $0.03 = $0.30
    • Custom metrics: 20 Metrics × $0.00 = $6.00
    • Standard-resolution alarms: 10 Alarms × $0.10 = $1.00
    AWS WAFAWS WAFestimated$10.60
    3 lines
    • Web ACLs: 1 Month × $5.00 = $5.00
    • Rules: 5 Month × $1.00 = $5.00
    • Requests inspected: 1,000,000 Request × $0.00 = $0.60

    Managed rule groups with their own fees (e.g. Bot Control) are not included.

    Amazon S3Amazon Simple Storage Serviceestimated$5.90
    3 lines
    • Storage, standard (GB-month): 200 GB-Mo × $0.00 = $4.60
    • PUT/COPY/POST/LIST requests: 100,000 Requests × $0.00 = $0.50
    • GET and other requests: 2,000,000 Requests × $0.00 = $0.80
    AWS KMSAWS Key Management Serviceestimated$1.30
    2 lines
    • Customer managed keys: 1 Keys × $1.00 = $1.00
    • API requests: 100,000 Requests × $0.00 = $0.30

    Assumptions 27 defaulted — replace them with your own numbers in each node's usage

    ComponentAssumptionValueSource
    AWS WAFwebAcls1assumed
    AWS WAFrules5assumed
    AWS WAFrequestsPerMonth1000000assumed
    Amazon S3storageClassstandardassumed
    Amazon S3storageGb200from spec
    Amazon S3putRequestsPerMonth100000from spec
    Amazon S3getRequestsPerMonth2000000from spec
    Application Load Balancertypeapplicationassumed
    Application Load BalanceravgLcu1.5from spec
    Amazon EC2instanceTypem5.largeassumed
    Amazon EC2count2assumed
    Amazon EC2hoursPerMonth730assumed
    Amazon EC2ebsGbPerInstance50assumed
    Amazon RDSinstanceClassdb.r6g.largeassumed
    Amazon RDSenginePostgreSQLassumed
    Amazon RDSmultiAztrueassumed
    Amazon RDSstorageGb100assumed
    Amazon EC2instanceTypem5.largeassumed
    Amazon EC2count2assumed
    Amazon EC2hoursPerMonth730assumed
    Amazon EC2ebsGbPerInstance50assumed
    Amazon RDSinstanceClassdb.r6g.largeassumed
    Amazon RDSenginePostgreSQLassumed
    Amazon RDSmultiAztrueassumed
    Amazon RDSstorageGb100assumed
    Amazon CloudWatchlogIngestGbPerMonth10assumed
    Amazon CloudWatchlogStorageGb10assumed
    Amazon CloudWatchcustomMetrics20assumed
    Amazon CloudWatchalarms10assumed
    AWS KMSkeys1assumed
    AWS KMSrequestsPerMonth100000assumed

    Sensitivity & what-if

    $1,075at 1× traffic
    $1,099at 3× traffic
    $1,184at 10× traffic
    • Cost of Multi-AZ for Amazon RDS — adds $176/month. Multi-AZ price minus Single-AZ price for the same instance class, engine and storage — the monthly price of the reliability benefit.
    • Cost of Multi-AZ for Amazon RDS — adds $176/month. Multi-AZ price minus Single-AZ price for the same instance class, engine and storage — the monthly price of the reliability benefit.

    Price list provenance

    Retrieved 2026-10-01T18:40:39.861Z from the public AWS Price List bulk API. Per-service publication dates:

    awswaf 2026-09-14 · AmazonS3 2026-09-28 · AWSELB 2026-09-11 · AmazonEC2 2026-09-25 · AmazonRDS 2026-10-01 · AmazonCloudWatch 2026-09-22 · awskms 2026-09-11

    Only public on-demand rates are used. This is not a quote — confirm in the AWS Pricing Calculator.