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.tfvars
file 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 4096 -f ~/.ssh/id_logger
DetectionLab/AWS/Terraform/terraform.tfvars.example
to /DetectionLab/AWS/Terraform/terraform.tfvars
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.
DetectionLab/AWS/Terraform
directory, run terraform init
to setup the initial Terraform configurationterraform apply
to begin the provisioning processA sample video of the setup process can be viewed here:
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