Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.23 KB

README.md

File metadata and controls

49 lines (36 loc) · 1.23 KB

vm-builds

Build our Virtual Machines

Overview

This repository uses Packer to build a virtual machines for VSphere, Google Cloud, Azure or AWS AMI.

Prerequisite software

The following software programs need to be installed:

  1. asdf
  2. Builders (not all may be needed):
    1. AWS command line interface
    2. GCP command line interface
    3. Packer
    4. Python

Running a packer file

  1. Get into the pip shell

    pipenv sync
    pipenv shell
    
  2. set up aws keys (Access aws login and then IAM to create your access key)

    aws configure
    
  3. Update the packer file if needed

    1. test your packer file

      packer validate <packer file name>
      
    2. Format the file to make sure it looks consistant

      packer fmt <packer file name>
      
  4. run you packer file

    packer build <packer file name>