The AWS Well-Architected Framework
Use the six pillars of the Well-Architected Framework to review designs and explain trade-offs in interviews and design reviews.
Intermediate · about 3 hours · difficulty 2/5
Learn first: CloudWatch Metrics, Logs and Alarms, Auto Scaling Groups and Launch Templates
The AWS Well-Architected Framework is AWS's collection of best practices for building in the cloud. It is the backbone of the Solutions Architect exams and a common structure for system design answers. Azure and Google Cloud publish their own well-architected frameworks with very similar pillars.
The six pillars
- Operational Excellence: run and improve systems through automation, IaC, runbooks and learning from incidents.
- Security: identity, detection, infrastructure protection, data protection and incident response.
- Reliability: recover from failures, scale to meet demand, and test recovery.
- Performance Efficiency: choose the right resource types and keep evaluating new options.
- Cost Optimization: avoid unnecessary spend and understand where money goes.
- Sustainability: minimize the environmental impact of workloads, for example with Graviton and right-sizing.
Design principles worth memorizing
- Stop guessing capacity; scale automatically.
- Test systems at production scale.
- Automate with architecture experimentation in mind.
- Make frequent, small, reversible changes.
- Anticipate failure and practise it (game days).
The Well-Architected Tool
A free console tool that walks you through questions per pillar for a workload, records risks and produces an improvement plan. Lenses add guidance for serverless, SaaS, data analytics and more.
Pitfalls
- Treating the framework as a checklist to finish rather than a set of trade-offs.
- Optimizing one pillar (cost) while silently hurting another (reliability).
You are ready to move on when you can review one of your own projects against all six pillars and list the top three risks with fixes.
Key concepts
- Operational Excellence
- Security
- Reliability
- Performance Efficiency
- Cost Optimization
- Sustainability
- Well-Architected Tool and lenses
Mini project
Run a Well-Architected review in the free Well-Architected Tool for your serverless notes API or container project. Export the report, pick the three highest risks and fix at least one in code. The tool itself is free; no extra resources are needed.
Check yourself
Give one example where improving cost optimization could hurt reliability, and how you would balance them.