Home › Forums › AWS › AWS Certified DevOps Engineer Professional › EC2 auto-recovery
-
Kindly emumerate more on this for me please.
https://aws.amazon.com/about-aws/whats-new/2022/03/amazon-ec2-default-automatic-recovery/
-
Hi raytech,
Have you read the provided explanations? What does it say?
-
The option that says: Set up the AWS Personal Health Dashboard (AWS Health) events to monitor your Amazon EC2 Dedicated Instance. Set up an Amazon EC2 instance and enable the built-in instance recovery feature. Create an Aurora database with a Read Replica on the other Availability Zone. Promote the replica as the primary in the event that the primary database instance fails is incorrect because there is no built-in instance recovery failure feature for Amazon EC2. You have to use a combination of CloudWatch and a Lambda function to automatically recover the EC2 instance from failure.
- This reply was modified 2 years ago by raytech.
-
This answer needs to be updated. Instance recovery happens by default and no longer requires CloudWatch Events/Alarms to be configured. See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery
-
Hi Mike,
Thank you for posting your question. We have made the required changes for this particular scenario, and the updated content will be available soon.
It is true that there’s a built-in recovery failure feature for Amazon EC2 that was launched on March last year. However, take note that this is not a silver bullet and has certain restrictions, such as the following:
– It is only supported on certain EC2 instance types
– Instances that use Elastic Fabric Adapter (EFA) are not supported
– Instance with Instance Stores for storage are not supported.
– You cannot implement customized actions when the instance experience an outage (unlike the EventBridge-based option, where you’ll have more control)
These are one of the reasons why the use of built-in instance recovery is not recommended. Nonetheless, we do agree that this item must be updated, just as what we’ve done today.
Thanks again for sharing your thoughts and let us know if you need further assistance. The Tutorials Dojo team is dedicated to help you pass your AWS exam on your first try!
Regards,
Jon Bonso @ Tutorials Dojo
-
-
Log in to reply.