Ubuntu 16.04 LTS Customers Can Now Hibernate AWS EC2 Occasion

In 2018, Amazon Net companies launched the Hibernation function that means that you can pause your EC2 cases and resume to the saved state with none loss.

In collaboration with AWS, Canonical, the guardian firm behind the Ubuntu Linux distro, introduced the hibernation assist for Ubuntu 16.04 LTS. Nonetheless, Ubuntu 18.04 LTS already helps hibernation, a function which was added final 12 months.

Together with the current launch of Premium Ubuntu Pro Images and Android OS “Anbox Cloud”, Canonical plans to develop its presence within the cloud for the very best obtainable working system.

To keep away from reminiscence loss, the hibernation course of shops the in-memory state of the occasion, together with its non-public and elastic IP addresses, permitting it to renew with the saved state.

Sadly, Ubuntu 16.04 LTS just isn’t obtainable for brand new customers on AWS owing to the top of assist for v16.04 on April 2021. Nonetheless, prolonged safety upkeep shall be supplied for premium clients for an extra three years.

How To Allow The Hibernate Assist In AWS EC2?

If you wish to embrace the hibernation assist in your present Ubuntu 16.04 occasion, you want to set up the most recent linux-aws-hwe kernel bundle v4.15.0-1058-aws together with ec2-hibinit-agent.

You may run the command given beneath:

sudo apt replace
sudo apt set up linux-aws-hwe
sudo apt set up ec2-hibinit-agent
sudo reboot

Canonical will present common updates for packages till April 2021 with prolonged safety upkeep for paid customers until 2024.

You additionally must disable the KASLR (Kernel Tackle Area Format Randomisation) kernel safety function to keep away from the AWS hibernation failure. In case your KASLR is enabled, then chances are you’ll not have the ability to resume your standing.

To disable KASLR for an occasion, you possibly can observe the steps given here.

About the Author

Leave a Reply

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