-
Notifications
You must be signed in to change notification settings - Fork 356
AWS: Ubuntu Installation
This will build a range automatically in Ubuntu 18.04, 20.04 and 22.04. You will need also to sign up for an AWS account here as a prerequisite.
-
Install all the project dependencies with this 1 liner:
source <(curl -s 'https://raw.githubusercontent.com/splunk/attack_range/develop/scripts/ubuntu_deploy.sh')
-
Run
aws configure
to configure your AWS credentials on the local machine. If you are not sure how to create AWS credentials for the attack_range follow these instructions. -
Finally configure your attack_range by running
python attack_range.py configure
You can now build your first range using:
python attack_range.py build
p.s. make sure you destroy your range once you are done with it to not incur further costs. run: python attack_range.py destroy
.
Also if you get an error regarding Ubuntu AMI subscription navigate to https://aws.amazon.com/marketplace/pp?sku=3iplms73etrdhxdepv72l6ywj and press "Continue to Subscribe" then "Accept Terms". This will allow official Ubuntu images to be used by your AWS account.