Self-Healing Architecture for AWS Setup with EC2 Instances, ELB, and RDS

Improve Self-Healing Capabilities for Your AWS Architecture

Prev Question Next Question

Question

You have a setup in AWS which consists of EC2 Instances sitting behind and ELB.

The launching and termination of the Instances are controlled via an Autoscaling Group.

The architecture consists of a MySQL AWS RDS database.

Which of the following can be used to induce one more step towards a self-healing architecture for this design?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer - B.

The AWS documentation mentions the following.

Amazon RDS Multi-AZ deployments provide enhanced availability and durability for Database (DB) Instances, making them a natural fit for production database workloads.

When you provision a Multi-AZ DB Instance, Amazon RDS automatically creates a primary DB Instance and synchronously replicates the data to a standby instance in a different Availability Zone (AZ)

Each AZ runs on its own physically distinct, independent infrastructure, and is engineered to be highly reliable.

In case of an infrastructure failure, Amazon RDS performs an automatic failover to the standby (or to a read replica in the case of Amazon Aurora), so that you can resume database operations as soon as the failover is complete.

Since the endpoint for your DB Instance remains the same after a failover, your application can resume database operation without the need for manual administrative intervention.

For more information on AWS RDS Multi-AZ, please refer to the below link:

https://aws.amazon.com/rds/details/multi-az/

The correct answer is B. Enable Multi-AZ feature for the AWS RDS database.

Explanation:

A self-healing architecture is a system that can detect and recover from failures automatically without human intervention. In this setup, enabling the Multi-AZ feature for the RDS database will improve the overall availability and reliability of the system by creating a standby database instance in another Availability Zone (AZ) in the same region.

When Multi-AZ is enabled, Amazon RDS automatically provisions and maintains a synchronous standby replica in a different Availability Zone (AZ) in the same region as the primary DB instance. This replica is kept in sync with the primary instance, which means that in the event of a primary instance failure, Amazon RDS can automatically promote the replica to become the new primary instance.

Enabling Read Replica for the RDS database is a good strategy for offloading read traffic, but it does not contribute towards a self-healing architecture.

Creating another ELB in a different region or creating another Autoscaling Group in another region is also a good strategy for fault tolerance, but it does not contribute towards a self-healing architecture. A self-healing architecture focuses on automatically detecting and recovering from failures without human intervention, whereas fault tolerance strategies aim to minimize the impact of failures.

Therefore, the best option to induce one more step towards a self-healing architecture for this setup is to enable Multi-AZ for the RDS database.