https://github.com/jonhadfield/aws-ips
a utility to query the IP ranges published by AWS
https://github.com/jonhadfield/aws-ips
aws go ip ip-ranges ipv6 json
Last synced: 3 months ago
JSON representation
a utility to query the IP ranges published by AWS
- Host: GitHub
- URL: https://github.com/jonhadfield/aws-ips
- Owner: jonhadfield
- License: gpl-3.0
- Created: 2019-01-31T17:01:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-05T21:07:26.000Z (about 5 years ago)
- Last Synced: 2025-03-11T12:43:19.370Z (over 1 year ago)
- Topics: aws, go, ip, ip-ranges, ipv6, json
- Language: Go
- Homepage:
- Size: 63.5 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-ips
check network addresses for AWS Services
[](https://www.travis-ci.org/jonhadfield/aws-ips) [](https://goreportcard.com/report/github.com/jonhadfield/aws-ips)
## about
AWS [publish a list](https://ip-ranges.amazonaws.com/ip-ranges.json) of IP ranges that correspond to their services and regions. Linked to from [here](https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html).
aws-ips is a utility that downloads the latest list (or use a local copy of the list) and enables you to:
- list and filter prefixes (by region, service, cidr)
- reverse lookup of IP address or FQDN to AWS range
- output results as JSON, YAML, or Text
## changelog
0.0.1 - initial
## installation
Download the latest release here: https://github.com/jonhadfield/aws-ips/releases
#### macOS and Linux
Install:
``
$ install /usr/local/bin/aws-ips
``
#### Windows
An installer is planned, but for now...
Download the binary 'aws-ips_windows_amd64.exe' and rename to aws-ips.exe
### example usage
#### help
``
aws-ips --help
``
#### filtering by service and region
``
aws-ips --service s3 --region eu-west-1
``
#### reverse lookup by IP
``
aws-ips --ip 54.208.0.0
``
#### AWS service relating to a domain name
``
aws-ips --name www.netflix.com
``