Launch your EC2 EBS instance with two SSDs on the second and third slots (after the root EBS volume), with this in your userdata: #!/usr/bin/env bash umount /dev/xvdb umount /dev/xvdc apt-get install mdadm -y mkdir /u01 cat > /etc/init/mount-ephermal-ssd.conf <