Lesson 1 of 4 Improving Existing Architectures

Improving the Reliability of Existing Workloads

This lesson explains how to find the reliability changes that most improve an inherited workload for the least disruption, since reliability weaknesses turn ordinary failures into outages.

Learning outcomes

After completing this lesson, you will be able to:

  • Identify the sources of evidence for a reliability review.
  • Explain how single points of failure are found along each request path.
  • Explain how improvements are sequenced to avoid disruption.

Evidence for a reliability review

A structured review, such as a Well-Architected review of the reliability pillar, is most useful when it is backed by data from services rather than by opinion.

Four sources provide that evidence. AWS Resilience Hub assesses whether the workload meets its RTO and RPO and recommends alarms, standard operating procedures and fault injection experiments. AWS Trusted Advisor checks fault tolerance and service quotas across accounts. AWS Config reveals configuration risks, such as resources in a single Availability Zone or without backups. Incident history and post-incident reviews show the failure modes that have already occurred. The following table summarises the sources.

SourceShows
AWS Resilience HubWhether the workload meets its RTO and RPO, with recommended alarms, SOPs and FIS experiments
AWS Trusted AdvisorFault tolerance and service quota checks across accounts
AWS ConfigSingle-AZ resources, missing backups and other configuration risks
Incident history and post-incident reviewsFailure modes that have already occurred

Finding single points of failure

Reliability improvements begin by tracing every request path, from the user through DNS, load balancers, compute, data stores and external dependencies, and asking what happens if each component fails. A component whose failure stops the whole path is a single point of failure. In inherited environments these are often not obvious: a scheduled job that runs on one particular instance, a hard-coded IP address that breaks when a server is replaced, or a recovery procedure that exists only in one engineer's memory.

Each finding has a standard remedy, usually a managed feature rather than custom engineering, and the remedies are prioritised by the impact of the failure they prevent. The following table lists common findings in inherited environments with their improvements.

FindingImprovement
Single EC2 instance running the applicationAuto Scaling group across at least two AZs behind a load balancer
Single-AZ RDS instanceMulti-AZ DB instance or cluster, or Aurora with replicas
Self-managed NAT instanceNAT gateway in each AZ
One Direct Connect connectionA second connection at another location, or a VPN backup
Hard-coded IP addresses or instance namesDNS names, load balancers, service discovery
Manual recovery steps in a wikiAutomation runbooks, tested regularly
Synchronous dependency on a slow external APIQueue-based decoupling with retries and timeouts
Scheduled job on one instanceEventBridge Scheduler with Lambda or Fargate

Improving without disruption

Changes to a running workload carry their own risk, so improvements are sequenced: first add observability (you cannot improve what you cannot see), then remove the single points of failure with the greatest impact, then automate recovery, and finally test with fault injection to prove the improvement. Many changes, such as converting RDS to Multi-AZ, are online operations with minimal impact when scheduled in a maintenance window.

Worked example

Improving an inherited workload

An architect inherits an order system: two EC2 instances in one AZ behind a Classic Load Balancer, a single-AZ MySQL RDS instance, nightly manual backups to S3, and a cron job on one of the instances that sends invoices. A reliability review with Resilience Hub data produces this prioritised plan:

#  Risk                                        Change                                          Effort
-  ------------------------------------------  ----------------------------------------------  ------
1  AZ failure stops everything                 RDS -> Multi-AZ; ASG across 3 AZs behind ALB     Low
2  Invoice job dies with its instance          EventBridge Scheduler + Lambda; idempotent sends Low
3  Backups untested, manual                    AWS Backup plan, cross-Region copy, restore test Low
4  No alarms on user impact                    ALB 5xx and latency alarms, Synthetics canary    Low
5  Recovery steps undocumented                 SSM Automation runbooks for failover and restore Medium

The order reflects impact and effort: the first four changes remove the largest risks with small, low-risk changes. Resilience Hub is then re-run to confirm that the workload meets its RTO and RPO, and an FIS experiment that stops one AZ's instances proves it.

Check yourself

How can a single-AZ RDS database be made highly available with little disruption?

Show answer

By modifying it to a Multi-AZ deployment. RDS creates the standby from a snapshot without downtime, although performance can dip while the standby synchronises.

Exam Tips

Remember for the exam

  • To check whether a workload meets its RTO and RPO, use Resilience Hub.
  • Remove single points of failure first: single instances, single-AZ databases, single connections.
  • Replace cron jobs on instances with EventBridge Scheduler and Lambda or Fargate.
  • Add observability before changing a running workload.
  • Prove reliability improvements with fault injection experiments.