/proctor

for running the BOSH 101 classrom

Primary LanguageGoApache License 2.0Apache-2.0

proctor

A tool for running BOSH 101 classrooms.

Basic usage

  1. Load credentials for your AWS environment

    export AWS_DEFAULT_REGION=us-east-1  # this can be any region that has a BOSH-lite AMI
    export AWS_ACCESS_KEY_ID=YOUR-ACCESS-KEY
    export AWS_SECRET_ACCESS_KEY=YOUR-SECRET-KEY
    
  2. Create a new classroom

    proctor create -name my-classroom -number 3
    

    This will spin up 3 EC2 instances in your AWS account.

  3. Watch your classroom get created

    proctor describe -name my-classroom
    

    The SSH key was generated at create time and is world-readable.

  4. Run a command on all VMs

    proctor run -name my-classroom -c 'bosh status'
    
  5. Destroy your classroom

    proctor destroy -name my-classroom