AWS
The cipr aws command retrieves Amazon Web Services (AWS) IP ranges. With mini verbosity, each result contains the CIDR, region, service, and network border group.
CLI command
cipr aws --ipv4 --filter-service EC2_INSTANCE_CONNECT --filter-region us-east-1 --verbose-mode mini
Output
18.206.107.24/29,us-east-1,EC2_INSTANCE_CONNECT,us-east-1
Data Format
CIDR | AWS Region | AWS Service | AWS Network Border Group
Filter values
| Filter | Description | Value format | Note |
|---|---|---|---|
--filter | Filter results using a single string. Syntax: region,service,network-border-group. | Formats from --filter-region, --filter-service, and --filter-network-border-group apply here. | Single value per field. Leave a field empty to match all (e.g. us-east-1,,). |
--filter-region | Filter results by AWS region. | Comma-separated AWS region codes: us-east-1,eu-central-1 | Multiple values use OR matching. Case-insensitive. |
--filter-service | Filter results by AWS service. | Comma-separated AWS service codes: S3,EC2 | Multiple values use OR matching. Case-insensitive. |
--filter-network-border-group | Filter results by AWS network border group. | Comma-separated AWS network border groups: us-east-1,eu-central-1 | Multiple values use OR matching. Case-insensitive. |
Separate individual filter flags use AND matching. The composite --filter remains limited to one value per field.