A script to format and or add SWAP space to Amazons EC2 ephemeral storage
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
aws-ephemeral-format.sh

README.md

aws-ephemeral-format.sh

A script to format the ephermeral storage on Amazon EC2 instances, used mainly to add swap at boot time if its not already configured.

Example:

This will configure 8GB of swap on the ephemeral storage

sudo /home/ubuntu/scripts/aws-ephemeral-format.sh -t 82 -s 1024 -f swap

Note: The script will not format the ephemeral storage if it alredady contains a partition table.