How to Hibernating EC2 Instances in Response to a CloudWatch Alarm?

Описание к видео How to Hibernating EC2 Instances in Response to a CloudWatch Alarm?

A typical option to reduce costs associated with running Amazon Elastic Compute Cloud (Amazon EC2) instances is to stop them when they are idle. However, there are scenarios where stopping an idle instance is not practical. For example, instances with development environments that take time to prepare and run which benefit from not needing to do this process every day. For these instances, hibernation is a better alternative.


This blog post explores a solution that will find idle instances using an Amazon CloudWatch alarm that monitors the instance’s CPU usage. When the CPU usage consistently drops below the alarm’s threshold, the alarm enters the ALARM state and raises an event used to identify the instance and trigger hibernation.

#aws #awstraining #awslearning #awss3 #troubleshootingguide #awsguru #awsdemo #awsservices #ec2 #ec2instance #ec2hibernate

Комментарии

Информация по комментариям в разработке