0
我有10臺機器的AWS實例限制。 我有5個跑步。 我可以開始已經開始了機:AWS:當我將啓動命令發送到已啓動的實例時會發生什麼?
$ 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個實例,如果您需要更多,則需要增加限制 https://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2 – mootmoot