Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Latest commit

 

History

History
20 lines (15 loc) · 508 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 508 Bytes

packer-docker-ec2-ami

A packer template for an EC2 AMI with docker and dockerui preinstalled

To build the AMI, run the following:

packer build \
    -var 'aws_access_key=YOUR ACCESS KEY' \
    -var 'aws_secret_key=YOUR SECRET KEY' \
    docker-ec2-ami.json

By default, an Ubuntu 14.04 base AMI is used and the new packer AMI will be created in the us-west-1 region. You can override the following variables to change that behavior:

region
source_ami
ssh_username