Skip to main content

An AWS EIP Auditor

Project description

# Find Unused EIPs in AWS

This code allows us to find unused ip addresses in AWS and searches security groups for any reference of them. This allows us to save costs and keep it clean.

### Installation

This script requires python to run.

Step 1 - Setup venv (optional) `sh $ virtualenv .venv $ source .venv/bin/activate `

Step 2 - Install Requirements

`sh $ pip install -r requirements.txt `

### Scenarios:

1. Search all regions for unused ip addresses, and for referecnces to all security groups in the same region: `sh AWS_PROFILE=<profile name> python unused_ip_addresses.py --region all `

2. Search a specific region for all unused ip addresses, and for references to all security groups in that region: `sh AWS_PROFILE=<profile name> python unused_ip_addresses.py --region us-east-1 `

3. Search a specific region for a specified list of unused ip addresses, and for referecnces to all scurity groups in that region: `sh AWS_PROFILE=<profile name> python unused_ip_addresses.py --region us-east-1 --ip_addresses 10.1.1.1,10.2.2.2,10.3.3.3 `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for eip-auditor, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size eip-auditor-1.0.2.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page