UCL-ARC / packer-aws-vslurm

Packer templates for creating AMIs for vSlurm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

packer-aws-vslurm

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.

Usage

  1. Clone this repository
  2. Configure your AWS credentials with the awscli (as advised here)
  3. Install Packer
  4. 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>" .

About

Packer templates for creating AMIs for vSlurm

License:MIT License


Languages

Language:HCL 79.7%Language:Shell 20.3%