Coder Social home page Coder Social logo

chadbrewbaker / ami-builder-packer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from awslabs/ami-builder-packer

1.0 3.0 0.0 757 KB

An example of an AMI Builder using CI/CD with AWS CodePipeline, AWS CodeBuild, Hashicorp Packer and Ansible.

License: Apache License 2.0

Shell 100.00%

ami-builder-packer's Introduction

Purpose

This Packer AMI Builder creates a new AMI out of the latest Amazon Linux AMI.

TODO - write a build diagram with yEd and insert it here.

Source code structure

├── ansible
│   ├── playbook.yaml                       <-- Ansible playbook file
│   ├── requirements.yaml                   <-- Ansible Galaxy requirements containing additional Roles to be used (CIS, Cloudwatch Logs)
│   └── roles
│       ├── common                          <-- Upgrades all packages through ``yum``
├── buildspec.yml                           <-- CodeBuild spec 
├── packer_cis.json                         <-- Packer template

CDK Deployment to AWS Batch

TODO - Deployment of the AMI to AWS Batch for automated testing and developer use with ssh/vscode.

HOWTO

Before you start

  • Either have your application code in an S3 bucket or an AWS supported git host.
  • Make sure your CodeBuild instance S3 read/write access.
  • Make sure your CodeBuild instance has permissons set for enhanced privlidges so it can run Docker containers.

Documentation

ami-builder-packer's People

Contributors

heitorlessa avatar chadbrewbaker avatar fireballdwf avatar l1x avatar ajlanghorn avatar jpeddicord avatar eng-moataz avatar

Stargazers

Rudger avatar

Watchers

James Cloos avatar  avatar Hacker1996xx 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.