This is an automated script created to work under AWS by using Terraform and Ansible. It allows you to easily deploy it or to easily adapt it into your IaaC strategy.
You would need to have installed:
- AWS CLI (https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)
- Terraform (https://learn.hashicorp.com/tutorials/terraform/install-cli)
- Ansible (https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)
As well as both access_key
and secret_key
(https://aws.amazon.com/premiumsupport/knowledge-center/create-access-key/)
Note: this will charge costs (unless you are in the Free Tier)
- Move to the Terraform folder (optional but recommended):
cd terraform
- Put your own Amass config file and reconFTW config file on the files/ folder
- Create a key pair to be used, e.g:
ssh-keygen -f terraform-keys -t ecdsa -b 521
- Run
terraform init
- Run
terraform apply
- Type "yes" and hit enter
- Wait, because it can take up to 15 min.
- Once the process has finished, you can now login, using
ssh admin@ip -i terraform-keys
- ???
- If you have finished playing with reconFTW and hacking the world, remember to destroy the instance using
terraform destroy