Packer templates for creating AMIs for vSlurm.
This template will initiate a Packer build that takes ~10 minutes and uses 6 t2.medium EC2 instances on AWS. It creates 6 EBS-backed AMIs and their associated snapshots. These resources may incur costs on your AWS account.
- Clone this repository
- Configure your AWS credentials with the
awscli
(as advised here) - Install Packer
- Build the AMIs with the following commands:
cd packer
packer init .
packer build -var "vpc_name_filter=<YOUR_VPC_NAME>" -var "subnet_name_filter=<YOUR_SUBNET_NAME>" -var "source_rhel_ami_name_filter=<A_RHEL_AMI_NAME>" .