QuestionQ76

VerifiedSDLC Automation

An ecommerce company runs a large number of Amazon EBS-backed Amazon EC2 instances. To reduce manual effort across all instances, a DevOps Engineer must automate restart actions when EC2 instance retirement events are scheduled.

How can this be achieved?

Explanation

AWS Health publishes a scheduled EC2 retirement event for affected Amazon EBS-backed instances. An EventBridge rule can match that event and invoke an AWS Systems Manager Automation document to stop and start each affected instance, which migrates it from the retiring host and automates the required response.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!