Applying the Operational Excellence, Security and Reliability Pillars
This lesson explains three of the six pillars of the AWS Well-Architected Framework: operational excellence, security and reliability. Together they cover running workloads well, protecting them and keeping them available.
Learning outcomes
After completing this lesson, you will be able to:
- Describe the goals and design principles of the operational excellence pillar.
- Describe the goals and design principles of the security pillar.
- Describe the goals and design principles of the reliability pillar.
- Identify which of these pillars a described practice belongs to.
Operational excellence
The operational excellence pillar is about running and monitoring systems so that they deliver business value, and continually improving the processes and procedures that support them. It favours automation over manual work, small changes that are easy to undo, and learning from every failure. The pillar's design principles are as follows.
- Perform operations as code, e.g. infrastructure as code with CloudFormation.
- Make frequent, small, reversible changes.
- Refine operations procedures frequently.
- Anticipate failure, e.g. by running game days.
- Learn from all operational failures.
Security
The security pillar is about protecting information, systems and assets while still delivering business value. It combines strong identity controls, logging of all activity, protection at every layer and encryption, and it expects teams to prepare for security events before they happen. The pillar's design principles are as follows.
- Implement a strong identity foundation: least privilege and central identity management.
- Enable traceability: log and monitor everything, e.g. with CloudTrail.
- Apply security at all layers: network, instance, application and data.
- Automate security best practices.
- Protect data in transit and at rest with encryption.
- Keep people away from data.
- Prepare for security events.
Reliability
The reliability pillar is about a workload performing its intended function correctly and consistently, and recovering quickly when something fails. In the cloud, failures are expected and designed for: resources are spread across Availability Zones, capacity follows demand, and recovery is automated and tested. The pillar's design principles are as follows.
- Automatically recover from failure.
- Test recovery procedures.
- Scale horizontally: many small resources instead of one large one, so one failure has less impact.
- Stop guessing capacity.
- Manage change through automation.
Which of the three pillars?
Examples
Exam questions often describe a practice and ask which Well-Architected pillar it belongs to. Running across several Availability Zones with Auto Scaling, so the workload survives failures and recovers on its own, is reliability. Requiring MFA and recording API activity with CloudTrail protects and audits access, which is security. Defining infrastructure in CloudFormation and watching it with CloudWatch alarms makes operations repeatable and observable, which is operational excellence. The following table summarises these examples.
| Practice | Pillar |
|---|---|
| Multiple Availability Zones with Auto Scaling | Reliability |
| MFA and CloudTrail | Security |
| CloudFormation and CloudWatch alarms | Operational excellence |
Practices and pillars
Matching improvements to pillars
After a review, a team plans six improvements to its application. Each belongs to a pillar:
| Improvement | Pillar |
|---|---|
| Define the infrastructure in CloudFormation templates instead of clicking in the console | Operational excellence (operations as code) |
| Hold a meeting after each outage to learn what went wrong | Operational excellence (learn from failures) |
| Turn on MFA for every administrator | Security (strong identity foundation) |
| Record all API activity with CloudTrail | Security (traceability) |
| Run the application in three Availability Zones behind a load balancer | Reliability |
| Practise restoring the database from backup every quarter | Reliability (test recovery procedures) |
A useful memory aid: operational excellence is about how you run things, security about protecting them, and reliability about keeping them working and recovering when they fail.
Which pillar includes recovering automatically from failures?
Show answer
Reliability, which covers a workload performing its function correctly and recovering quickly from failure.
Exam Tips
Remember for the exam
- Operations as code and learning from failures belong to operational excellence.
- Least privilege, logging (traceability) and encryption belong to security.
- Automatic recovery, Multi-AZ designs and horizontal scaling belong to reliability.
- Testing recovery procedures belongs to reliability.
- Small, frequent, reversible changes belong to operational excellence.