SkillSprout
Chapter 8 · Lesson 1
Beginner
5 min read

The AWS Well-Architected Framework

Overview

The AWS Well-Architected Framework is a set of best practices for designing and running reliable, secure, efficient and cost-effective systems in the cloud. It is organised into six pillars, each with design principles and questions you can use to review a workload.

Think of a building inspection checklist. An inspector checks the foundations (reliability), the locks (security), the energy bills (cost and sustainability), how quickly the lifts move (performance) and how well the caretaker runs things (operational excellence). You do not need a perfect score; the goal is to find risks and improve over time.

The exam tests whether you can name the six pillars and match design principles or scenarios to the right pillar.

Key Concepts

  • Operational Excellence: run and monitor systems, and continually improve processes (automation, small reversible changes, learn from failure).
  • Security: protect data and systems (strong identity, traceability, defence in depth, automate security, protect data in transit and at rest).
  • Reliability: recover from failures and meet demand (automatically recover, test recovery, scale horizontally, stop guessing capacity).
  • Performance Efficiency: use resources efficiently (use serverless, go global in minutes, experiment, choose the right resource types).
  • Cost Optimization: avoid unnecessary cost (adopt consumption model, measure efficiency, stop undifferentiated heavy lifting, analyse spend).
  • Sustainability: minimise environmental impact (understand impact, maximise utilisation, use managed services, reduce downstream impact).
  • The AWS Well-Architected Tool (free) lets you review workloads against the pillars and tracks improvement plans.
  • The framework also offers lenses (for example Serverless, SaaS, Machine Learning) for specific workload types.

Detailed Notes

The six pillars at a glance

PillarKey questionExample practicesHelpful services
Operational ExcellenceCan we run, observe and improve it?IaC, small frequent changes, runbooksCloudFormation, CloudWatch, Systems Manager
SecurityIs it protected?Least privilege, encryption, detectionIAM, KMS, GuardDuty, WAF
ReliabilityDoes it recover and scale?Multi-AZ, backups, auto healingAuto Scaling, Route 53, RDS Multi-AZ, AWS Backup
Performance EfficiencyAre we using the right resources?Right instance, caching, serverlessCloudFront, ElastiCache, Lambda
Cost OptimizationAre we spending wisely?Right-sizing, Savings Plans, taggingCost Explorer, Budgets, Compute Optimizer
SustainabilityAre we minimising environmental impact?High utilisation, efficient hardware, managed servicesGraviton, serverless, Region choice

Design principles worth memorising

Operational Excellence

  • Perform operations as code.
  • Make frequent, small, reversible changes.
  • Refine operations procedures and anticipate failure.
  • Learn from all operational failures.

Security

  • Implement a strong identity foundation (least privilege).
  • Enable traceability (logging and monitoring).
  • Apply security at all layers, automate security best practices.
  • Protect data in transit and at rest; keep people away from data; prepare for security events.

Reliability

  • Automatically recover from failure; test recovery procedures.
  • Scale horizontally to increase availability.
  • Stop guessing capacity; manage change through automation.

Performance Efficiency

  • Democratise advanced technologies, go global in minutes, use serverless, experiment more often and consider mechanical sympathy (choose the technology that fits the goal).

Cost Optimization

  • Implement cloud financial management, adopt a consumption model, measure overall efficiency, stop spending on undifferentiated heavy lifting and analyse and attribute expenditure.

Sustainability

  • Understand your impact, set sustainability goals, maximise utilisation, adopt newer more efficient hardware, use managed services and reduce the downstream impact of workloads.

Well-Architected Tool

bash
aws wellarchitected list-workloads
aws wellarchitected list-lens-reviews --workload-id <WORKLOAD_ID>

The tool asks structured questions, identifies high-risk issues (HRIs) and medium-risk issues and produces an improvement plan. It is available in the console at no charge.

Shared themes

The pillars sometimes trade off: higher reliability (multi-Region) can raise cost. The framework helps you make these trade-offs consciously, aligned with business priorities.

Quick pillar scenario matching

ScenarioPillar
"Automate deployments using CloudFormation"Operational Excellence
"Encrypt data and enforce least privilege"Security
"Withstand an AZ failure"Reliability
"Use caching and serverless to reduce latency"Performance Efficiency
"Turn off unused instances and right-size"Cost Optimization
"Use Graviton and managed services to cut energy use"Sustainability

AWS Architecture Center provides reference architectures, and AWS Trusted Advisor surfaces automated checks mapped to several pillars.

Real World Example

A logistics company reviews its tracking application with the Well-Architected Tool. The review shows a single-AZ database (Reliability risk), long-lived access keys (Security risk) and oversized instances (Cost risk).

Over the next quarter they enable Multi-AZ, replace keys with IAM roles, right-size instances using Compute Optimizer and codify the environment in CloudFormation (Operational Excellence). They then re-run the review and track the reduction in high-risk issues.

Architecture Diagram

Six pillars of the Well-Architected Framework
Architecture
Well-Architected workload
Operational Excellence
Security
Reliability
Performance Efficiency
Cost Optimization
Sustainability
  1. 1Describe your workload and business priorities in the Well-Architected Tool.
  2. 2Answer questions for each of the six pillars.
  3. 3Review identified high and medium risks.
  4. 4Create an improvement plan, implement it and review again regularly.

Best Practices

  • ✓Review important workloads with the Well-Architected Tool at least yearly and after major changes.
  • ✓Treat reviews as learning, not audits - fix the highest risks first.
  • ✓Automate with infrastructure as code to improve consistency.
  • ✓Balance pillars by business priority, accepting conscious trade-offs.
  • ✓Apply relevant lenses for serverless, SaaS or ML workloads.

Common Interview Questions

Exam Tips

CLF-C02 focus

  • Memorise all six pillars; sustainability was added in 2021.
  • Match scenario to pillar: "automate / IaC" = Operational Excellence, "least privilege / encryption" = Security.
  • "Review my workload against best practices" = Well-Architected Tool.
  • "Stop guessing capacity" appears under Reliability and cloud advantages.

Finished this lesson?

0 of 43 lessons done · 0% of the course