guardian / machine-images

DEPRECATED: Scripts for building machine images (principally AMIs)
34 stars 7 forks source link

DEPRECATED

This repository is now deprecated. The Guardian now builds AMIs via AMIgo. This is only kept for reference.

Shared machine images

This repo contains build scripts for base AMIs that get an Ubuntu AMI to a point where it is easy to use to deploy an application.

AMI building is done using Packer. The packer config files are in packer/ and provisioning scripts are kept in packer/resources/.

All AMIs produced by scripts in this repo should have:

For example - the initial base-ubuntu image has the following tags:

If an image was not built in a CI environment then one or more of the above fields will be set to DEV. Never use an AMI marked DEV as they maybe deleted at any point without checking if anyone is using it..

Building locally

To build locally:

Run the build.sh in the root of the repository. When not running in development mode it will step through the process of image creation.

Optional features

Each image contains a number of optional features. See the features README for more details.

TODO