"Good architecture is a matter of taste." Not in AWS. The AWS Well-Architected Framework writes down what good looks like, based on years of reviewing real customer systems. It's organised into six pillars. This post covers the first three. Part 2 covers performance efficiency, cost optimization and sustainability.
What the framework is
The framework is a set of design principles, questions and best practices. You review a workload (an application and everything it runs on) against those questions. The result is a list of risks, ranked high or medium, with guidance on fixing each one.
You can run the review yourself with the AWS Well-Architected Tool in the console, at no extra charge. It records your answers, tracks the risks and lets you review again after you make changes.
Pillar 1: Operational excellence
How you run the workload and keep improving it.
- Automate changes. Infrastructure as code and deployment pipelines instead of manual edits.
- Make changes small and reversible, so a bad one is easy to spot and roll back.
- Learn from failure. Run post-incident reviews and share what you learned so it doesn't happen again.
Pillar 2: Security
How you protect data, systems and accounts.
- Least privilege. Every person and service gets only the access it needs, ideally through roles with temporary credentials.
- Encrypt data at rest and in transit.
- Traceability. Log and monitor actions so you know who did what, and when. AWS CloudTrail is the usual starting point.
Pillar 3: Reliability
The workload keeps doing its job when parts of it fail.
- Recover automatically. Health checks replace failed instances. Databases fail over to a standby in another Availability Zone.
- Test recovery before you need it, by restoring backups and simulating failures.
- Scale horizontally, so one big component doesn't become a single point of failure.
A common mistake
Picture one EC2 instance, changed by hand over SSH, with admin access shared across the team and no tested backups. It runs fine for months. Then a bad change, a leaked credential or a failed disk takes it down, and there is no clean way back. That one setup fails all three pillars at once, and it's more common than you'd think, especially in fast-growing startups.
Where AI fits
AWS publishes lenses that extend the framework for specific kinds of workload. The Generative AI Lens adds questions to each pillar for applications built on foundation models. Examples include how you guard against prompt injection, how you protect the data that reaches the model, and how you evaluate the model's answers before and after you ship.
Quick recap
- Operational excellence: run and improve, with small, automated, reversible changes.
- Security: protect, with least privilege, encryption and traceability.
- Reliability: recover, automatically and with tested recovery.