2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
You can pull the list of AZs from the ENIs. Here is the CLI:
aws ec2 describe-network-interfaces --filters Name=interface-type,Values=nat_gateway --query NetworkInterfaces[*].AvailabilityZone
0
The response to DescribeNatGateways
does include the subnet id which can be used with DescribeSubnets
to determine the availability zone.
관련 콘텐츠
- AWS 공식업데이트됨 2년 전