LabHub

Blog

AWS Well-Architected Framework Complete Guide 2025: Six Pillars, Practical Adoption, Cost/Security/Performance

한국어English日本語

TL;DR


1. What Is the Well-Architected Framework?

1.1 Background

After reviewing tens of thousands of customer architectures, AWS distilled its findings into a best-practice guide. It started with five pillars; Sustainability was added in 2021, making six.

1.2 The Six Pillars (2025)

PillarCore Question
Operational ExcellenceHow do we run the workload efficiently?
SecurityHow do we protect data and systems?
ReliabilityHow do we recover from failure?
Performance EfficiencyHow do we use resources efficiently?
Cost OptimizationHow do we minimize cost per unit of value?
SustainabilityHow do we minimize environmental impact?

1.3 General Principles

Five principles that apply to every pillar:

  1. Measure, don't guess — data-driven decisions.
  2. Test at production scale — staging is not production.
  3. Increase experimentation with automation — manual work equals human error.
  4. Allow evolutionary architectures — nothing built once lasts forever.
  5. Improve operations through game days — chaos engineering.

2. Pillar 1: Operational Excellence

2.1 Core

"The ability to run and monitor systems to deliver business value and to continually improve supporting processes and procedures."

2.2 Design Principles

  1. Operations as code — codify infra, policy, and procedure.
  2. Small, frequent changes — big deployments are risky.
  3. Continuously refine procedures — retros, runbook updates.
  4. Anticipate failure — map failure modes.
  5. Learn from every operational failure — postmortems.

2.3 Practical Checklist

Plan:

Prepare:

Operate:

Evolve:

2.4 AWS Tools


3. Pillar 2: Security

3.1 Core

"Protect data, systems, and assets while delivering business value through risk assessments and mitigation strategies."

3.2 Design Principles

  1. Implement a strong identity foundation — IAM, MFA, least privilege.
  2. Apply security at all layers — defense in depth.
  3. Encrypt data at rest and in transit — encryption everywhere.
  4. Keep people away from data — prefer automation.
  5. Prepare for security events — incident response plan.
  6. Understand the shared responsibility model — AWS secures the cloud, you secure what is in it.

3.3 IAM Best Practices

BAD: use the root account
BAD: access keys inside code
BAD: wildcard (*) permissions
BAD: shared users

GOOD: MFA for every user
GOOD: role-based access (IAM Roles)
GOOD: least-privilege principle
GOOD: Access Analyzer
GOOD: temporary credentials via STS

3.4 Data Protection

At rest:

In transit:

3.5 Network Security

[Public Subnet]    <- Internet Gateway
    |
[Private Subnet]   <- NAT Gateway (egress only)
    |
[Isolated Subnet]  <- DB only, no internet

Security Group vs. NACL:

3.6 AWS Security Tools

ToolPurpose
IAMaccess control
GuardDutythreat detection (ML-based)
Security Hubfindings aggregation
Inspectorvulnerability scanning
Maciesensitive data discovery in S3
WAFweb application firewall
ShieldDDoS protection
Secrets Managersecret storage
KMSkey management

4. Pillar 3: Reliability

4.1 Core

"The ability of a workload to perform its intended function correctly and consistently."

4.2 Design Principles

  1. Automatically recover from failure — auto-healing.
  2. Test recovery procedures — chaos engineering.
  3. Scale horizontally — no single giant instance.
  4. Stop guessing capacity — Auto Scaling.
  5. Manage change through automation — IaC.

4.3 AWS Availability Model

Multi-AZ: spread across AZs to survive single-AZ failure. Multi-Region: spread across regions to survive natural disasters or regional outages.

4.4 Availability Targets

AvailabilityDowntime/yearDowntime/month
99%87.6 h7.2 h
99.9% (three nines)8.76 h43.8 min
99.95%4.38 h21.9 min
99.99% (four nines)52.6 min4.38 min
99.999% (five nines)5.26 min26.3 s

Reality:

4.5 Practical Pattern

ELB + Auto Scaling Group + Multi-AZ:

        [Route 53]
            |
       [ALB (multi-AZ)]
       /        |        \
   [EC2 az-a] [EC2 az-b] [EC2 az-c]
       |        |        |
       [RDS Multi-AZ Standby]

4.6 RTO and RPO

StrategyRTORPOCost
Backup & Restorehourshourslow
Pilot Lightminutesminutesmedium
Warm Standbyminutessecondshigh
Multi-Site Active-Active00very high

Pick the strategy that matches the RTO/RPO the business can absorb.


5. Pillar 4: Performance Efficiency

5.1 Core

"The ability to use computing resources efficiently to meet requirements, and to maintain that efficiency as demand and technology evolve."

5.2 Design Principles

  1. Democratize advanced technologies — AI/ML and big data for everyone.
  2. Go global — get close to users.
  3. Prefer serverless — less operational burden.
  4. Experiment more often — comparison tests.
  5. Have mechanical sympathy — pick the right tool.

5.3 Compute Choices

OptionUse case
Lambdashort, event-driven tasks
Fargatecontainers without server management
EC2long-running or custom environments
ECS/EKScontainer orchestration
Batchlarge batch jobs
Lightsailsimple web hosting

5.4 Storage Choices

OptionUse
S3objects, backups, static assets
EBSEC2 block storage
EFSshared filesystem (NFS)
FSxWindows / Lustre filesystem
Glacierlong-term archive

5.5 Database Choices

OptionUse case
RDSclassic relational
Aurorahigh-performance, RDS-compatible
DynamoDBNoSQL, single-ms latency
DocumentDBMongoDB-compatible
ElastiCacheRedis/Memcached cache
Neptunegraph DB
Timestreamtime series
OpenSearchsearch, log analytics

5.6 Caching

Layered caching:

  1. CloudFront (CDN) — global edge.
  2. API Gateway cache — API responses.
  3. ElastiCache (Redis) — application cache.
  4. DynamoDB DAX — DynamoDB cache.
  5. RDS Read Replica — offload read traffic.

Result: response time cut by 90%+, DB load drops dramatically.


6. Pillar 5: Cost Optimization

6.1 Core

"The ability to run systems that deliver business value at the lowest price point."

6.2 Design Principles

  1. Implement cloud financial management — FinOps.
  2. Adopt a consumption model — pay for what you use.
  3. Measure overall efficiency — cost per business metric.
  4. Stop spending on undifferentiated heavy lifting — use managed services.
  5. Analyze and attribute expenditure — tagging and allocation.

6.3 Pricing Models

Compute (EC2):

Storage (S3):

6.4 Savings Strategies

1. Right-sizing:

aws compute-optimizer get-ec2-instance-recommendations

Drop an EC2 averaging 50% utilization to a smaller instance.

2. Auto Scaling: contract when traffic is low, expand when it spikes. Cost scales with usage.

3. Spot Instances: ideal for batch and CI/CD workloads, up to 90% off; design for interruption.

4. Reserved Instances / Savings Plans: for steady workloads — roughly 30% savings for a 1-year commit and 60% for 3 years.

5. S3 Lifecycle Policies:

{
  "Rules": [{
    "Id": "MoveToIA",
    "Status": "Enabled",
    "Transitions": [
      { "Days": 30, "StorageClass": "STANDARD_IA" },
      { "Days": 90, "StorageClass": "GLACIER" },
      { "Days": 365, "StorageClass": "DEEP_ARCHIVE" }
    ]
  }]
}

6. Cut data transfer cost: same-region transfers are free or cheap; prefer CloudFront over direct S3 egress; use VPC Endpoints to skip NAT Gateway charges.

6.5 Cost Monitoring

ToolUse
Cost Explorercost visualization
Budgetsbudget alerts
Cost and Usage Reportsdetailed data
Trusted Advisorcost recommendations
Compute OptimizerEC2 sizing suggestions
Savings Plans Recommendationssavings suggestions

6.6 Tagging Strategy

Environment: production
Project: ecommerce
Owner: team-checkout
CostCenter: 1234

Then break down cost by tag in Cost Explorer.


7. Pillar 6: Sustainability (added 2021)

7.1 Core

"Addresses the environmental impact, particularly energy consumption and efficiency."

7.2 Design Principles

  1. Understand your impact — where does the carbon come from?
  2. Set sustainability goals — measurable targets.
  3. Maximize utilization — no idle resources.
  4. Adopt more efficient new technology — Graviton, ARM.
  5. Use managed services — ride AWS's efficiency.
  6. Reduce downstream impact — lighter clients too.

7.3 Sustainability Metrics

7.4 Practical Actions

7.5 AWS Commitments


8. Handling Trade-offs

8.1 Pillars in Tension

8.2 Decision Framework

For each decision, ask:

  1. Business goal — what matters most?
  2. Per-pillar impact — which pillars are affected?
  3. Trade-off — what are you giving up?
  4. Risk — what if it goes wrong?
  5. Reversibility — how expensive is changing later?

8.3 Example

Scenario: an e-commerce site serving 1M daily users.

PillarPriorityDecision
ReliabilityHighMulti-AZ, Auto Scaling
PerformanceHighCloudFront + ElastiCache
SecurityHighWAF, KMS, MFA
CostMediumReserved + Spot mix
OperationalMediumIaC, CI/CD
SustainabilityLowGraviton

9. Using the Well-Architected Tool

9.1 Free Self-Assessment

In the AWS Console:

  1. Define the workload (name, environment, region).
  2. Answer ~50 questions across the six pillars.
  3. Identify improvement areas.
  4. Prioritize.
  5. Re-assess after changes.

9.2 Lenses

A Lens is additional guidance specialized for a particular workload or technology.

LensTarget
Serverless LensLambda, API Gateway
SaaS Lensmulti-tenant SaaS
Machine Learning LensML workloads
Foundational Technical ReviewAWS Partners
IoT LensIoT systems
Streaming Media Lensmedia

9.3 Well-Architected Review

Run with an AWS Solutions Architect (free or via a partner):

  1. Architecture walk-through.
  2. Six-pillar assessment.
  3. Prioritized recommendations.
  4. Improvement roadmap.

10. Anti-Pattern Catalog

10.1 Operations

10.2 Security

10.3 Reliability

10.4 Performance

10.5 Cost


Quiz

1. What are the six pillars of the Well-Architected Framework?

Answer: Operational Excellence (efficient operations), Security (protect data and systems), Reliability (recover from failure), Performance Efficiency (use resources efficiently), Cost Optimization (value per dollar), and Sustainability (environmental impact, added in 2021). It began with five pillars; sustainability was added as environmental awareness grew. Because no workload can satisfy every pillar 100%, trade-offs follow business priorities.

2. Difference between RTO and RPO?

Answer: RTO (Recovery Time Objective) is the acceptable time until recovery — "must be back online within 30 minutes." RPO (Recovery Point Objective) is the acceptable data loss — "at most 5 minutes of data loss is OK." Both come from the business. Tighter RTO/RPO explodes cost: real-time replication gives RPO 0 but is expensive. Most systems land around RTO 30 min and RPO 1 hour.

3. How do you use Spot Instances safely?

Answer: Spot instances can be terminated at any time (typically with a 2-minute notice). Safe use: (1) stateless workloads — no data loss on termination; (2) checkpointing — persist progress; (3) Spot Fleet — mix of instance types; (4) Auto Scaling Group with mixed instances — balance On-Demand and Spot; (5) graceful shutdown handlers. Ideal for CI/CD, batch, and analytics. Up to 90% savings.

4. Key sustainability practices?

Answer: (1) Graviton (ARM) — roughly 60% more efficient than Intel equivalents; (2) Auto Scaling — turn off unused capacity; (3) S3 lifecycle — move old data to cold storage; (4) CDN — fewer network hops; (5) choose renewable-heavy regions via the AWS Customer Carbon Footprint Tool; (6) delete idle resources such as unused EBS volumes or idle EC2. Efficient code equals less carbon equals lower cost — cost savings and sustainability align naturally.

5. Multi-AZ vs. Multi-Region?

Answer: Multi-AZ spreads across Availability Zones within one region; automatic failover on single-AZ failure; supported by most AWS services (RDS, ELB, ASG); little or no extra cost. Multi-Region spreads across regions to survive natural disasters, large-scale outages, or compliance demands; at least double the cost, plus complex data replication (DynamoDB Global Tables, Aurora Global Database). 99.99% is achievable with Multi-AZ; 99.999% typically requires Multi-Region.


References

Comments

No comments yet.

Sign in to leave a comment