IP Rotation Arsenal - A tactical CLI tool for AWS & GCP proxy rotation.
./setup.shThis creates a virtual environment and installs all dependencies automatically.
Option A: AWS (Recommended)
# Install AWS CLI
pip install awscli
# Configure credentials
aws configureEnter your AWS Access Key ID and Secret when prompted.
Option B: GCP
# Install gcloud CLI (if not already installed)
# Visit: https://cloud.google.com/sdk/docs/install
# Authenticate
gcloud auth application-default login./run.shOr manually:
source venv/bin/activate
python ip_rotator.py → Select provider [1/2/Q]:
- Press 1 for AWS API Gateway
- Press 2 for Google Cloud Platform
- Press Q to quit
- Rotates your IP address through different cloud endpoints
- Makes 5 test requests to demonstrate IP rotation
- Optionally exports all proxy IPs to
proxies.txt - Displays response times and status codes with progress bar
After rotation completes, you'll be prompted to export your IPs:
proxies.txt - Clean IP list:
35.229.177.44
34.73.183.123
34.69.221.230
52.123.78.90
Features:
- One IP per line
- Perfect for importing into other tools
- No headers, just clean IP addresses
- Optional - you choose whether to export
Get your AWS credentials:
- Log into AWS Console
- Go to IAM → Users → Your User → Security Credentials
- Click Create Access Key
- Choose Command Line Interface (CLI)
- Copy the Access Key ID and Secret Access Key
- Run
aws configureand paste them when prompted
Want TRUE IP rotation on GCP with Cloud NAT? Got you covered!
cd terraform
./deploy.shThis creates:
- 15 rotating external IPs across 5 regions
- Cloud NAT gateways for automatic rotation
- Compute instances ready for proxy work
- Complete VPC infrastructure
See terraform/README.md for full documentation including:
- Architecture diagram
- Cost estimates (~$50-60/month)
- Customization options
- Testing procedures
Error: AWS credentials not found
- Run
aws configureand enter your credentials
Error: Module not found
- Run
pip install -r requirements.txt
AWS Permission denied
- Your IAM user needs API Gateway permissions
AWS regions disabled
- Go to AWS Console → Account → Regions
- Enable: us-east-1, us-west-2, or eu-west-1
Connection timeout
- Check your internet connection
- Try again (AWS API Gateway takes a moment to spin up)
GCP infrastructure issues
- See
terraform/README.mdfor GCP-specific troubleshooting
AWS: Free tier includes 1 million requests/month
GCP: Variable costs based on compute usage
The tool automatically cleans up AWS resources when done.
For issues or questions, check the error messages in the terminal - they include helpful troubleshooting tips.