1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
You can also use describe-availability-zones
of EC2 API to list local zones.
- https://docs.aws.amazon.com/local-zones/latest/ug/available-local-zones.html
- https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-availability-zones.html
% aws ec2 describe-availability-zones --region=us-west-2 --filters Name=zone-type,Values=local-zone --all-availability-zones --query 'AvailabilityZones[].[State, OptInStatus, ZoneName]' --output text
available not-opted-in us-west-2-den-1a
available not-opted-in us-west-2-las-1a
available not-opted-in us-west-2-lax-1a
available not-opted-in us-west-2-lax-1b
available not-opted-in us-west-2-pdx-1a
available not-opted-in us-west-2-phx-2a
available not-opted-in us-west-2-sea-1a
You should also remember to opt-in for local zone but I don't think that has anything to do with Seattle local zone missing from SSM parameters as I can see many other zones that I haven't opt-in.
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
Well, I'm opted in to all of the local zones within the scope of my service, but more importantly,
describe-availability-zones
does not show the zone location. The only API that shows actual zone location (to my knowledge) is the SSM API.