Lab 1 - Environment Orientation and Spinning up

This will be the shortest lab in the history of labs, but it does take some time, so please execute this as soon as we are starting the workshop, as the lab needs some time to build.

Note: you might need a python virtual environment if you get errors about a missing boto3 installation. make sure you apt install a python venv and then use python -m venv . Once the venv is created you can activate it using source /bin/activate and deactivate it by just using the deactivate keyword in a terminal.

  1. open up a terminal window and clone the following repository git clone https://github.com/jfmaes/aws_mini_ad

  2. navigate to prod - files cd aws_mini_ad/prod/files/

currently supported regions are us-east-1, us-west-1, eu-west-1

  1. run the following command to spin up the environment MAKE SURE YOU ARE NOT CONNECTED TO A VPN. Double VPNs don't tend to do well... python3 manager.py deploy -r <a region close to you> -t v0.2 To get the best experience, I recommend eu-west-1, this is to avoid timezone conflicts in the Elastic stack. python manager.py deploy -r eu-west-1 -t v0.2

  2. eventually the script will finish and will tell you that the lab environment is ready to use and give you instructions to connect to the student.ovpn file

Last updated