Sub topic 12
Running a Well-Architected review
This chapter assumes you know the six pillars, how questions map to best practices, and what high and medium risk issues mean. It covers how a review runs from start to finish.
What a review is
A Well-Architected review is a structured conversation about one workload. A workload is a set of resources and code that delivers business value, such as the orders API. The review compares your current design to the framework's best practices and produces a list of risks. It does not change anything in your account. It is a measurement, and fixes come afterward.
Review the workload, not the whole company. A review of "everything" produces vague answers and no owner.
The steps of a review
- Scope the workload. Name it, pick its environment and Regions, and decide which lens applies. Choose an owner who can make decisions about the workload.
- Gather the right people. Include an architect, an engineer who operates the system, and someone who knows the business goals. Answers from one person tend to be optimistic.
- Answer the questions pillar by pillar. For each question, select the best practices you already follow. The risk level comes from the practices you did not select.
- Read the risks. Sort the results by high risk first, then medium risk.
- Plan remediation. Turn each risk into a task with an owner and a date.
- Save a milestone and repeat. A later review shows whether risk counts fell.
Running it with the AWS CLI
The AWS Well-Architected Tool is the service that records reviews. You can use the console or the CLI. First define the workload:
aws wellarchitected create-workload \
--workload-name "orders-api" \
--description "Customer order processing API" \
--environment PRODUCTION \
--lenses wellarchitected \
--aws-regions us-east-1 \
--review-owner "[email protected]"The command returns a workload ID. Use it to list the questions and answers for one pillar:
aws wellarchitected list-answers \
--workload-id <workload-id> \
--lens-alias wellarchitected \
--pillar-id securityEach entry shows a question, its choices, and its current risk. Unanswered questions appear as UNANSWERED, so you can see what is left.
Answering honestly
Most review errors come from how people answer, not from the tool.
- Answering for the design instead of the reality. If a practice is planned but not live, do not select it.
- Skipping "none of these". If no choice fits, select it and add a note. The note records why, which helps the next reviewer.
- Rushing pillars you do not know. Bring the person who owns that area.
- Treating the score as a grade. The goal is a prioritized list, not a low number.
Example: the Security pillar
Suppose the orders API has an S3 bucket that accepts plain HTTP. The security question on protecting data in transit would show a risk, because you cannot select the matching best practice. After you fix it with a bucket policy that denies requests without TLS, you change the answer and the risk drops.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DenyInsecureTransport",
"Effect": "Deny",
"Principal": "*",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::example-bucket",
"arn:aws:s3:::example-bucket/*"
],
"Condition": {
"Bool": { "aws:SecureTransport": "false" }
}
}
]
}When to review
Run a review before launch, after a major change, and on a regular schedule. A common rhythm is once or twice a year, plus a review when the architecture changes. Save a milestone each time so you can compare results.
Exercise
A team answers the Reliability questions in one 30-minute session, with only the developer present. Name two problems this creates and one way to fix them.
Show answer
The answers will likely be optimistic or incomplete, because one person cannot know operations, business goals and every design detail. The pillar may also get too little attention. Fix it by scheduling enough time and inviting an operator and a business owner, and by adding notes with evidence to each answer.
Exercise
Which CLI command shows which Security questions are still unanswered for a workload?
Show answer
aws wellarchitected list-answers with --workload-id, --lens-alias wellarchitected and --pillar-id security. Unanswered questions are marked UNANSWERED.