Shell script to build CentOS 7 AMI
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

CentOS 7 AMI

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

Differences from official CentOS marketplace AMI

  • Uses gpt partitioning - supports root volumes over 2TB
  • Local ephemeral storage mounted at /media/ephemeral0
  • Default user account ec2-user