1013 B
1013 B
Method 1 - Build Locally and Import to AWS
This method uses Terraform to bring DetectionLab infrastructure online by using pre-built shared AMIs.
The supplied Terraform configuration can then be used to create EC2 instances and all requisite networking components.
Prerequisites
- A machine to build DetectionLab with
- An AWS account
- An AWS user and access keys to use with the AWS CLI
- Optional but recommended: a separate user for Terraform
Step by step guide
- Configure the AWS command line utility
- Copy the file at /DetectionLab/Terraform/terraform.tfvars.example to
/DetectionLab/Terraform/terraform.tfvars - In
terraform.tfvars, provide overrides for the variables specified in variables.tf - From the
/DetectionLab/Terraform/directory, runterraform initto setup the initial Terraform configuration - Run
terraform applyto begin the provisioning process