Skip to content

AWS: Troubleshooting

Christian Cloutier edited this page Apr 12, 2022 · 1 revision

Troubleshooting

Missing subscriptions to Kali/NGINX in AWS Marketplace

I enabled Kali and/or NGINX in Attack Range, and I get an error during the build phase on AWS. What's the issue?

Attack Range relies on Amazon Machine Images (AMI) for these and you need to subscribe to them first. For Kali, enable the following subscription in your AWS account:

Kali Linux AWS Subscription

image

For NGINX, see here:

NGINX AWS Subscription

image

Maximum number of Elastic IP error

When building my Attack Range environment on AWS, I get the following error:

Error: Error creating EIP: AddressLimitExceeded: The maximum number of addresses has been reached. status code: 400, request id: 7dea3632-2ac6-4201-903b-5eea7c591b67

Attack Range by default will use Elastic IP addresses when building AR instances on AWS, and they are quite limited by default (5).

You can increase this limit in your AWS account (via the AWS Service Quotas Console) or configure Attack Range to use public IPs instead of EIPs by modifying your Attack Range configuration:

attack_range.conf

[aws]
use_elastic_ips = 0
# define if you want to use AWS EIPs or not