wget https://ip-ranges.amazonaws.com/ip-ranges.jsongrep -i -B 1 '"region": "GLOBAL",' ip-ranges.json | grep '"ip_prefix":' | awk -F'"' '{print $4}' > AWS-Global-v4.txtgrep -i -B 1 '"region": "GLOBAL",' ip-ranges.json | grep '"ipv6_prefix":' | awk -F'"' '{print $4}' > AWS-Global-v6.txt