当我们启动云计算以创建测试环境时,我们经常会遇到这种容量不足的问题。我没有找到一种方法来主动检查AWS是否可以提供启动我们想要的特定类型的实例数量的容量。是否真的没有办法提前检查而不是每次等待cloudformation失败并使用r3类型实例(除了添加更多可用区域,即不指定它们?)
错误:
2018-01-15T03:45:24.202064 2018-01-15 03:44:34.868000+00:00 | CREATE_FAILED | AWS::EC2::Instance | SlaveNode1 | We currently do not have sufficient r4.xlarge capacity in the Availability Zone you requested (ap-northeast-1c). Our system will be working on provisioning additional capacity. You can currently get r4.xlarge capacity by not specifying an Availability Zone in your request or choosing , ap-northeast-1a.