The purpose of this agent is to create a setup for an instance to support hibernation feature. The setup is created only on supported instance types. Upon startup, it checks for sufficient swap space to allow hibernate and fails if it's present but there's not enough of it. If there's no swap space, it launches a background thread to create it and touch all of its blocks to make sure that EBS volumes are pre-warmed if configured. This is configurable. It updates the offset of the swap file in the kernel using SNAPSHOT_SET_SWAP_AREA ioctl. It updates the resume offset and resume device in grub file.

Features

  • Install Development Tools in Red Hat to build the RPM package
  • Install Development Tools in Suse Linux to build the RPM package
  • Install required build packages for ec2-hibernate-linux-agent
  • You will find the RPM package generated at ~/rpmbuild/RPMS/noarch/ directory
  • It updates the resume offset and resume device in grub file
  • It updates the offset of the swap file in the kernel using SNAPSHOT_SET_SWAP_AREA ioctl

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow The Amazon Linux hibernation agent

The Amazon Linux hibernation agent Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of The Amazon Linux hibernation agent!

Additional Project Details

Programming Language

Unix Shell

Related Categories

Unix Shell Software Development Software, Unix Shell System Software

Registered

2022-07-01