Routing Lab

03 · Deploy

Stand up the lab

Terraform builds the whole environment and writes the control script you'll use later.

1

Clone the repo

shell
git clone <your-org>/Router-lab-greenfield && cd Router-lab-greenfield
2

Create your tfvars

shell
cp terraform.tfvars.example terraform.tfvars
3

Add your IP to admin_cidrs

Put your current public address in admin_cidrs or SSH will be blocked.

terraform.tfvars
admin_cidrs = ["203.0.113.10/32"]
4

Apply and read the quickstart

shell
terraform init && terraform apply
terraform output -raw lab_quickstart

This creates .lab-control.sh and .lab-context.json.