GithubHelp home page GithubHelp logo

herzog's Introduction

CircleCI

Contents

Motivation

The purpose of this repository is to demonstrate a fully automated image deployment and testing pipeline.

Requirements

Usage

This repository builds Amazon Machine Images (AMIs) using software called Packer. After Packer finishes the build, it uploads an artifact (AMI) to the AWS account associated with the AWS Access Key ID and AWS Secret Access Key provided by the user. The AMI is then available for use by Vagrant.

The main.tf file wraps the Packer build command in a Terraform configuration file and creates the security group used via the Vagrant AWS provider to allow incoming SSH connections.

$ terraform init
$ terraform apply

Environment Variables

The following environment variables are required to use this repository.

Name Required
AWS_ACCESS_KEY_ID ✔️
AWS_DEFAULT_REGION ✔️
AWS_SECRET_ACCESS_KEY ✔️

Inputs

Name Description Type Default Required
instance_type The EC2 instance type to use while building the AMI string "t2.small" no
options https://packer.io/docs/commands/build.html#options map <map> no
public_key The public key material string "~/.ssh/id_rsa.pub" no
ssh_username The username to connect to SSH with string n/a yes
template The Packer template string n/a yes

Outputs

Name Description
message SSH connectivity information

herzog's People

Contributors

jasonwalsh avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.