vinyar / chef-essentials-classroom

Development repo for pieces of the classroom build automation project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chef-essentials-classroom

This repo contains all the components required to build Chef Essentials (Linux) training environments.

/cookbooks => Contains the build cookbook for configuring Chef Workstation and Chef Node images

/packer => Contains Packer templates that use the build cookbook to generate Amazon AMIs

/terraform => Contains Terraform plans for deploying classroom workstations/nodes to AWS

TODO: Lots of things coming down the pipeline in the immediate future. The commands below to get started are likely to change as more abstraction is added to the tooling.

Currently the process to spin up a classroom is the following:

  • The root config file is terraform.tfvars Update the values in terraform.tfvars to include your information specifically.

  • Run the command curl -w "\n" 'https://discovery.etcd.io/new?size=<insert the number of student nodes + 1 here>' e.g. curl -w "\n" 'https://discovery.etcd.io/new?size=45'

  • Paste the output of your curl command into the disco variable in terraform.tfvars

  • Run the command terraform apply -parallelism=<total node count> e.g. terraform apply -parallelism=45

Voila! You should have a classroom!

Students should be able to log into the URL of the guacamole server with

Username: chef

Password: chef

The url should look something like this:

http://ec2-ip-of-guac-server.compute-1.amazonaws.com:8080/guacamole/#/

About

Development repo for pieces of the classroom build automation project


Languages

Language:Ruby 48.0%Language:HTML 29.1%Language:HCL 13.4%Language:Shell 9.6%