【发布时间】:2017-04-24 18:46:38
【问题描述】:
我有 10 台机器的 AWS 实例限制。 我有5个跑步。 我可以启动已经启动的机器:
$ aws ec2 start-instances --instance-ids i-123456789
---------------------------
| StartInstances |
+-------------------------+
|| StartingInstances ||
|+-----------------------+|
|| InstanceId ||
|+-----------------------+|
|| i-123456789 ||
|+-----------------------+|
||| CurrentState |||
||+--------+------------+||
||| Code | Name |||
||+--------+------------+||
||| 16 | running |||
||+--------+------------+||
||| PreviousState |||
||+--------+------------+||
||| Code | Name |||
||+--------+------------+||
||| 16 | running |||
||+--------+------------+||
当我确实启动了 5 台已启动的机器时,我突然收到消息:(InstanceLimitExceeded) when calling the StartInstances operation: Your quota allows for 0 more running instance(s). You requested at least 1
发生错误
奇怪的是,我没有创建新实例——所有实例都已经在运行了。
停止所有实例后,启动和以前一样。
当我启动已经启动的机器时会发生什么?
【问题讨论】:
-
好像有实例和实例类型限制。例如。 d2.8xlarge 限制为 5 个实例,如果需要更多,需要增加限制 aws.amazon.com/ec2/faqs/…
标签: amazon-web-services amazon-ec2