Created
February 7, 2022 21:21
-
-
Save Voronenko/194799d7a81d893e988906003d3cbb4b to your computer and use it in GitHub Desktop.
AWS subnets PS1
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
# For AWS services, you can get the IP addresses using the following URL: | |
# https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html | |
#You can also filter the IP address using the APIs. I am sharing one such example for filtering with power shell: | |
Get-AWSPublicIpAddressRange -ServiceKey AMAZON -Region ap-south-1 | where {$_.IpAddressFormat -eq "Ipv4"} | select IpPrefix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment