Xoxoftware - XOXO Creative Studio | Web & Mobile App Development | Fred Cheung | Hong Kong
Concepts

Well-Architected Framework

AWS design principles — six pillars for building secure, high-performing, resilient, efficient, cost-optimized, and sustainable cloud architectures.

Overview

The AWS Well-Architected Framework provides a set of best practices across six pillars for designing and operating reliable, secure, efficient, cost-effective, and sustainable workloads in the cloud — it is the foundation for architecture decisions tested on AWS certification exams.


The Six Pillars

PillarFocusKey Question
Operational ExcellenceRun and monitor systems; continuously improveHow to support business operations effectively?
SecurityProtect information, systems, and assetsHow to protect data and workloads?
ReliabilityRecover from failures and meet demandHow to prevent and recover from failures?
Performance EfficiencyUse resources efficiently as demand changesHow to select and optimise resources?
Cost OptimizationAvoid unnecessary costsHow to eliminate unneeded expense?
SustainabilityMinimise environmental impactHow to reduce carbon footprint?

Pillar 1: Operational Excellence

Design principles:

  • Perform operations as code (Infrastructure as Code)
  • Make frequent, small, reversible changes
  • Refine operations procedures frequently
  • Anticipate failure (game days, chaos engineering)
  • Learn from all operational events
Design PrincipleAWS Implementation
Infrastructure as CodeCloudFormation, CDK, Terraform
ObservabilityCloudWatch, X-Ray, CloudTrail
Small deploymentsCodeDeploy (rolling, canary, blue/green)
Runbook automationSystems Manager Automation, Lambda
Incident managementEventBridge → SNS → PagerDuty / OpsCenter

Pillar 2: Security

Design principles:

  • Implement a strong identity foundation (least privilege)
  • Enable traceability (logging everything)
  • Apply security at all layers (edge, VPC, subnet, instance, OS, application)
  • Automate security best practices
  • Protect data in transit and at rest
  • Prepare for security events
Design PrincipleAWS Implementation
Identity and accessIAM, STS, Identity Center, Cognito
DetectionGuardDuty, Security Hub, Macie, Config
Infrastructure protectionVPC, WAF, Shield, Security Groups, NACLs
Data protectionKMS, CloudHSM, ACM, S3 encryption
Incident responseCloudTrail, EventBridge, Lambda automation

Pillar 3: Reliability

Design principles:

  • Automatically recover from failure
  • Test recovery procedures
  • Scale horizontally to increase aggregate availability
  • Stop guessing capacity (use auto-scaling)
  • Manage change through automation
Design PrincipleAWS Implementation
Fault isolationMulti-AZ, Multi-Region, cell-based architecture
Auto recoveryAuto Scaling, RDS Multi-AZ failover, Route 53 health checks
DR strategiesBackup & Restore, Pilot Light, Warm Standby, Active-Active
Change managementCloudFormation change sets, CodePipeline
Service quotasService Quotas, Trusted Advisor

Pillar 4: Performance Efficiency

Design principles:

  • Democratise advanced technologies (use managed services)
  • Go global in minutes (CloudFront, Global Accelerator, multi-region)
  • Use serverless architectures
  • Experiment more often
  • Consider mechanical sympathy (understand how services work to use them best)
Design PrincipleAWS Implementation
Compute selectionEC2 (right instance type), Lambda, Fargate, Graviton
Storage selectionS3, EBS (gp3/io2), EFS, FSx — match to access pattern
Database selectionRDS, Aurora, DynamoDB, ElastiCache — match to query pattern
CachingElastiCache, DAX, CloudFront, API Gateway cache
NetworkingEnhanced Networking, Placement Groups, Global Accelerator

Pillar 5: Cost Optimization

Design principles:

  • Implement cloud financial management
  • Adopt a consumption model (pay only for what is used)
  • Measure overall efficiency
  • Stop spending money on undifferentiated heavy lifting
  • Analyse and attribute expenditure
Design PrincipleAWS Implementation
Right-sizingCompute Optimizer, Cost Explorer
Pricing modelsSavings Plans, Reserved Instances, Spot Instances
Usage awarenessAWS Budgets, Cost and Usage Report, Cost Allocation Tags
Storage optimisationS3 Lifecycle, Intelligent-Tiering, EBS Snapshot Archive
Managed servicesReplace self-managed with Lambda, Fargate, RDS, etc.

Pillar 6: Sustainability

Design principles:

  • Understand the environmental impact
  • Establish sustainability goals
  • Maximise utilisation (right-size, auto-scale)
  • Adopt efficient hardware and services (Graviton, serverless)
  • Reduce downstream impact
Design PrincipleAWS Implementation
Efficient computeGraviton instances, Lambda, Fargate
Data managementS3 Lifecycle (tier and delete), data compression
Maximise utilisationAuto Scaling, Spot Instances, right-sizing
Region selectionChoose regions with lower carbon intensity
Minimise wasteDelete unused resources, compress data, optimise queries

Well-Architected Tool

  • AWS Well-Architected Tool in the console provides a self-service assessment
  • Answer questions per pillar for each workload
  • Generates a report with High Risk Items (HRIs) and improvement recommendations
  • Milestones track improvements over time
  • Available at no cost

Quick Reference

PillarOne-Sentence Summary
Operational ExcellenceAutomate operations, monitor everything, improve continuously
SecurityLeast privilege, encrypt everything, detect and respond to threats
ReliabilityDesign for failure, auto-recover, test recovery, scale horizontally
Performance EfficiencyChoose the right resources, cache aggressively, go serverless where possible
Cost OptimizationPay only for what is needed, commit for steady-state, spot for flexible
SustainabilityMaximise utilisation, use efficient hardware, reduce waste

AWS Implementation Options

Architecture NeedPillar(s)AWS Services
Self-service architecture reviewAllAWS Well-Architected Tool
Automated compliance checksSecurity, ReliabilityAWS Config, Security Hub
Cost visibility and controlCost OptimizationCost Explorer, Budgets, Compute Optimizer
High availabilityReliabilityMulti-AZ, Auto Scaling, Route 53
Performance monitoringPerformance, OperationalCloudWatch, X-Ray, Compute Optimizer
Security posture managementSecurityGuardDuty, Macie, IAM Access Analyzer

SAA/SAP Exam Tips

SAA Tip: Questions often reference Well-Architected pillar principles without naming them directly. "Most cost-effective" → Cost Optimization pillar. "Most resilient" → Reliability pillar. "Most secure" → Security pillar.

SAP Tip: The SAP exam tests deep understanding of trade-offs BETWEEN pillars — e.g., Multi-Region Active-Active maximises reliability but increases cost. Know when each trade-off is appropriate.

SAA Tip: Sustainability is the newest pillar (added 2021). Expect 1–2 questions specifically asking for the "most sustainable" or "lowest environmental impact" option — Graviton instances, serverless, and right-sizing are common answers.


Built by Fred Cheung @CookedRicer · Powered by Fumadocs & Github Copilot

On this page