Expected time to completion: 25 minutes
By building DetectionLab in AWS, we can take advantage of the pre-built Windows AMIs that have already been completely provisioned. Here is what happens when
terraform apply is called:
terraform.tfvarsfile you create in step 4 below.
Please remember that keeping your instances online for long periods of time will rack up your AWS bill. Don’t forget to terraform destroy your instances once you’re done using it!
git clone https://github.com/clong/DetectionLab.git
aws configure --profile terraform.
ssh-keygen -b 2048 -f ~/.ssh/id_logger
terraform.tfvars(the file you just copied), provide overrides for the variables specified in variables.tf.
AMIs are currently only available in us-west-1 and us-east-1 due to storage costs. If you’d like to bring up DetectionLab in another region, please view deploying DetectionLab in a different AWS region.
Failing to complete this step will cause the lab to be unreachable.
terraform initto setup the initial Terraform configuration
terraform applyto begin the provisioning process
For more information about creating your own AMIs (as opposed to using the pre-built ones), please read this wiki page: Terraform: Building Your Own AMIs