Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cfn-sphere/simple-container-runtime-ami

AWS EC2 AMI build for Simple Container Runtime
https://github.com/cfn-sphere/simple-container-runtime-ami

Last synced: 19 days ago
JSON representation

AWS EC2 AMI build for Simple Container Runtime

Awesome Lists containing this project

README

        

# Simple Container Runtime AMI (SCR-AMI)

This project creates an AWS EC2 Image containing simple-container-runtime ready to run something configured by instance user-data.
See https://github.com/cfn-sphere/simple-container-runtime for details about SCR itself!

## Introduction

Architectural decisions are documented in **doc/adr**

- The AMI is designed to use Amazon Linux as a base system
- Hashicorps Packer (https://www.packer.io) is used to build the AMI
- Ansible (https://www.ansible.com) is used for everything done to manipulate the base AMI

## Build

#### Requirements

This project uses Hashicorps Packer (https://www.packer.io) to create the AMI. You can install it on your machine:

##### OSX (homebrew)

brew install packer

#### Build

get AWS credentials and run:

packer build -var 'vpc_id=' -var 'subnet_id=' -var 'base_ami_id=' packer.json

of if you want to provide a json file containing the variables required to run the build:

packer build -var-file=my-config.json packer.json