Pause and resume your workloads on AWS EC2

Now you can pause and resume your workloads on AWS EC2 instances. AWS has come up with a very new feature of pausing your EC2 instances by hibernating it.

For now this feature is available on newly launched Ondemand and Reserved family of EC2 instances including M3, M4, M5, C3, C4, C5, R3, R4, and R5  on Amazon Linux 1 images. You can hibernate your EBS backed EC2 instances and can relaunch it from the position where you left off. On hibernation data from (RAM)memory contents gets saved in EBS, even EBS root volume and any attached EBS volumes are persisted between sessions. You can enable hiberanation at the time of launching EC2 instances. When resumed,  EBS root device is restored from its prior state, including the RAM content. Previously attached EBS data volumes are reattached and the instance retains its instance ID. In hibernation state, you pay only for the EBS volumes and Elastic IP addresses attached to it. Applications that are caches centric and other memory centric elements can take enough time to preload or warm up. These might impose a delay and can force you to over provision in case you need incremental capacity very quickly. EC2 hibernation feature is available in now available in US East (N. Virginia, Ohio), US West (N. California, Oregon), Canada (Central), South America (Sao Paulo), Asia Pacific (Mumbai, Seoul, Singapore, Sydney, Tokyo), and EU (Frankfurt, London, Ireland, Paris) Regions.

The main benefits of using hibernation on EC2 instances:

  • Pre-warming instances that requires memory footprint.
  • Quick capacity upgradation of EC2 instances

Add a Comment

Your email address will not be published. Required fields are marked *