Skip to content

aojea/aws-ami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Baking AMIs

We use Packer with Jenkins to bake AMIs automatically.

The OS is Ubuntu Server 14.04.4 LTS.

Prerequisites

Create an AWS IAM Role with name packer-ec2 and attach managed policy AmazonS3ReadOnlyAccess.

Configure the EC2 Instance Profile if you are running packer on EC2. Otherwise configure ~/.aws/credentials on your machine.

Run

packer build \
    -var 'region=[region]' \
    -var 'source_ami=[source_ami]' \
    templates/[name].json

About

Baking AWS AMIs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published