Created
March 18, 2016 05:35
-
-
Save tkawachi/f28b9c0d5b4bf447427d to your computer and use it in GitHub Desktop.
EC2の東京regionで使われている IP アドレス範囲を得る
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s https://ip-ranges.amazonaws.com/ip-ranges.json | jq '[ .prefixes | .[] | select(.region=="ap-northeast-1") | select(.service=="EC2") | .ip_prefix ]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment