AWS Certified Solutions Architect - Professional (#197)

A Solutions Architect is designing a highly available and reliable solution for a cluster of Amazon EC2 instances. The Solutions Architect must ensure that any EC2 instance within the cluster recovers automatically after a system failure. The solution must ensure that the recovered instance maintains the same IP address. How can these requirements be met?

Create an AWS Lambda script to restart any EC2 instances that shut down unexpectedly.
Create an Auto Scaling group for each EC2 instance that has a minimum and maximum size of 1.
Create a new t2.micro instance to monitor the cluster instances. Configure the t2.micro instance to issue an
aws ec2 reboot-instances
command upon failure.
Create an Amazon CloudWatch alarm for the
StatusCheckFailed_System
metric, and then configure an EC2 action to recover the instance.