Skip to content

Auto detect and merge all ephemeral drives of EC2 instance to one single striped volume.

License

Notifications You must be signed in to change notification settings

sysboss/aws_ec2_combine_ephemeral_disks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Merge EC2 ephemeral disks

Some of the EC2 instance-types provide ephemeral SSD drives coming built-in with the instance for no additional cost. We can combine them using software RAID.

This script will discover all ephemeral drives on an EC2 node and merge them to a "single" big disk using RAID-0 stripe.

Execute it on first system boot, as user-data script.

EC2 Instance types supported

  • C (compute-intensive)

Required Packages

The following packages should be installed: curl mdadm

About

Auto detect and merge all ephemeral drives of EC2 instance to one single striped volume.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages