{
  "builders": [
    {
      "type": "amazon-ebs",
      "region": "us-east-1",
      "source_ami": "ami-643b1972",
      "instance_type": "i3.large",
      "spot_price": "auto",
      "spot_price_auto_product": "Linux/UNIX (Amazon VPC)",
      "ssh_username": "ec2-user",
      "ami_name": "buildkite-stack-{{isotime | clean_ami_name}}",
      "ami_description": "Buildkite CloudFormation Stack base image (Amazon Linux, buildkite-agent, docker, docker-compose, docker-gc, jq)",
      "ami_groups": ["all"]
    }
  ],
  "provisioners": [
    {
      "type": "file",
      "source": "conf",
      "destination": "/tmp"
    },
    {
      "type": "file",
      "source": "../plugins",
      "destination": "/tmp/plugins"
    },
    {
      "type": "shell",
      "script": "scripts/install-utils.sh"
    },
    {
      "type": "shell",
      "script": "scripts/install-awslogs.sh"
    },
    {
      "type": "shell",
      "script": "scripts/install-lifecycled.sh"
    },
    {
      "type": "shell",
      "script": "scripts/install-docker.sh"
    },
    {
      "type": "shell",
      "script": "scripts/install-buildkite-agent.sh"
    }
  ]
}

{
  "builders": [
    {
      "type": "amazon-ebs",
      "region": "us-east-1",
      "source_ami": "ami-55ef662f",
      "instance_type": "i3.large",
      "spot_price": "auto",
      "spot_price_auto_product": "Linux/UNIX (Amazon VPC)",
      "ssh_username": "ec2-user",
      "ami_name": "buildkite-stack-{{isotime | clean_ami_name}}",
      "ami_description": "Buildkite CloudFormation Stack base image (Amazon Linux, buildkite-agent, docker, docker-compose, docker-gc, jq)",
      "ami_groups": ["all"]
    }
  ],
  "provisioners": [
    {
      "type": "file",
      "source": "conf",
      "destination": "/tmp"
    },
    {
      "type": "file",
      "source": "../plugins",
      "destination": "/tmp/plugins"
    },
    {
      "type": "shell",
      "script": "scripts/install-utils.sh"
    },
    {
      "type": "shell",
      "script": "scripts/install-awslogs.sh"
    },
    {
      "type": "shell",
      "script": "scripts/install-lifecycled.sh"
    },
    {
      "type": "shell",
      "script": "scripts/install-docker.sh"
    },
    {
      "type": "shell",
      "script": "scripts/install-buildkite-agent.sh"
    }
  ]
}

Build off Amazon Linux 2017.09.1
Build off Amazon Linux 2017.09.1
