Install Hibernation for Ubuntu 16.04 LTS on EC2

Install Hibernation for Ubuntu 16.04 LTS on EC2

June 6, 2020 / Nirav Shah

Hibernation is now Available on AWS EC2, in this blog we explain to you how we can install hibernation on your running instances.

What is hibernation?

In simple words, it’s to pause your running instance when it is not required and resume them at a later time. Users can take advantage of this feature without the need of modifying your existing applications.

Steps for implementing hibernate on AWS

Step 1.

Sign in to your AWS account and lunch instance.

Step 2.

Connect the instance via putty or SSH

Something you have to know,

Hibernation on Amazon EC2 is provided by the linux-aws-hwe kernel package, version of 4.15.0-1058-aws, now available for Ubuntu 16.04 LTS.

Step 3.

Follow my instructions

sudo apt update

Install Hibernation for Ubuntu 16.04 LTS on EC2

Step 4.

sudo apt install linux-aws-hwe

Install Hibernation for Ubuntu 16.04 LTS on EC2

Step 5.

sudo apt install ec2-hibinit-agent

Install Hibernation for Ubuntu 16.04 LTS on EC2

Step 6.

To confirm the correct kernel is now in use after the reboot, issue the following command.

uname -a

Install Hibernation for Ubuntu 16.04 LTS on EC2

To learn more about Amazon EC2 Hibernation, please visit this blog. For information about enabling hibernation for your Amazon EC2 instances, please visit the Amazon EC2 Hibernation user guide.

Talk to AWS Certified Consultant

    Spread Love By Sharing:

    Let Us Talk About Your AWS Development Requirements

    Have queries about your AWS project ideas and concepts? Please drop in your project details to discuss with our AWS experts, professionals and consultants.

    • Swift Hiring and Onboarding
    • Experienced and Trained AWS Team
    • Quality Consulting and Programming
    Let’s Connect and Discuss Your Project