how to get the available capacity of a zone in AWS ec2?

懵懂的女人 提交于 2021-01-27 13:11:52

问题


The AWS terminated my running spot with the error "instance-terminated-capacity-oversubscribed"

Is there a way to see the available capacity of an instance type in the different ec2 zones ? so I can create my new spot in a more "available" zone ?


回答1:


Look at the "spot instance history". This will not tell you the future, but will give you a good indication up to now.

This link will show you how to use the AWS Console and CLI to get history data.

Spot Instance Pricing History



来源:https://stackoverflow.com/questions/48397416/how-to-get-the-available-capacity-of-a-zone-in-aws-ec2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!