1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
【以下的回答经过翻译处理】 你好,
确认某个实例类型在任何可用区可用的最好方法是检查云Shell或部署了AWS CLI的任何地方的类型提供(1-2)。下面的脚本将为您提供ap-southeast-2下可用f1.4xlarge实例的可用区,您可以将其调整到另一个实例类型和地区:
$ aws ec2 describe-instance-type-offerings --location-type "availability-zone" --filters "Name=location,Values=ap-southeast-2" --filters "Name=instance-type,Values=f1.4xlarge"
重要提示:请记住,这些值会根据需求和AWS如何扩展提供而波动。
如果您的实例位于不同的AZ中,则输出消息将期望,直到该特定区域中可用该类型提供。希望这有所帮助。
祝您愉快!
参考资料:
- 查找实例类型 - 使用AWS CLI查找实例类型-https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-discovery.html#instance-discovery-cli
- describe-instance-type-offerings - https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instance-type-offerings.html
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 3년 전
- AWS 공식업데이트됨 일 년 전