D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
bin
/
Filename :
enable-ec2-spot-hibernation
back
Copy
#!/bin/bash # Add this script in your user-data to turn on the hibernation support # for the EC2 Spot Instances. # Make sure the agent is added to the auto-start update-rc.d hibagent defaults # And start it exec service hibagent start