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
Turn traffic into pipeline and prospects into customers Icon
Turn traffic into pipeline and prospects into customers

For account executives and sales engineers looking for a solution to manage their insights and sales data

Docket is an AI-powered sales enablement platform designed to unify go-to-market (GTM) data through its proprietary Sales Knowledge Lake™ and activate it with intelligent AI agents. The platform helps marketing teams increase pipeline generation by 15% by engaging website visitors in human-like conversations and qualifying leads. For sales teams, Docket improves seller efficiency by 33% by providing instant product knowledge, retrieving collateral, and creating personalized documents. Built for GTM teams, Docket integrates with over 100 tools across the revenue tech stack and offers enterprise-grade security with SOC 2 Type II, GDPR, and ISO 27001 compliance. Customers report improved win rates, shorter sales cycles, and dramatically reduced response times. Docket’s scalable, accurate, and fast AI agents deliver reliable answers with confidence scores, empowering teams to close deals faster.
Learn More
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