0
0

More than 3 years have passed since last update.

AWSのIPレンジを調べる

Posted at

AWSのサービスで使用されている、IPアドレスのレンジを調べる。

調べ方

curl -s https://ip-ranges.amazonaws.com/ip-ranges.json |
    jq -r \
        --arg REGION "ap-northeast-1" \
        --arg SERVICE "EC2" \
        '.prefixes[] |
            select(.region == $REGION and .service == $SERVICE) |
            .ip_prefix' |
    sort -n

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0