This is the shell script used to build the Bashton CentOS 7 AMIs we have made publicly available. To use, start a RHEL7 or CentOS 7 instance, attach a blank EBS volume at /dev/xvdb and the script will do the rest.
If you just want to run the images, or modify using Packer, you can find AMI ids at https://www.bashton.com/blog/2017/centos-7.3-ami/
- Uses gpt partitioning - supports root volumes over 2TB
- Local ephemeral storage mounted at
/media/ephemeral0
- Default user account
ec2-user
Note that c5, c5d, i3.metal, m5 and m5d instance types will show in the AWS console that their EBS voulumes will show up on /dev/sdx
, however they will actually show up as /dev/nvme[0-26]n1
. Other instance types will still show as /dev/sdx
or /dev/vdx
.