Skip to content

ftao1/packer-builds-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HashiCorp Packer Builds for AWS

This is a Packer project to build AWS Ubuntu AMI's

Assumptions

This project assumes no existing installed software (listed below) and everything will be created from scratch.

Requirements

The following software must be installed on your local machine before you can use Packer to build this Vagrant box:

Ensure the IAM user has permission to create AMIs.

Although not strictly necessary this is a recommended tree structure to get things going:

├── LICENSE
├── packer-aws.pkr.hcl
├── README.md
└── scripts
    └── update.sh

Scripts

  • packer-aws.pkr.hcl - Main packer file
  • update.sh - This updates the AMI OS

AWS Credentials

Ensure you have created access keys for the AWS user and they are stored on your local machine.

$ aws configure

Output

Once the AMI is created it will be stored in the Images > AMIs section of the WebUI.

Usage

Clone the repo and run the packer build:

$ git clone https://github.com/ftao1/packer-builds-aws.git
$ cd packer-builds-aws
$ packer build .

License

MIT

Author

These configurations are maintained by F.Tao.

About

Packer builds on AWS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published