What are the valid instanceState's for the Amazon EC2 API? It doesn't seem to be defined in the current API doc. Google doesn't turn up much. So far I know about:
but I'm pretty sure I've seen an error
state before.
Thanks!
As of posting, the current states are:
+--------+---------------+ | Code | State | +--------+---------------+ | 0 | pending | | 16 | running | | 32 | shutting-down | | 48 | terminated | | 64 | stopping | | 80 | stopped | +--------+---------------+
And the documentation can be found within the Amazon Elastic Compute Cloud API reference under InstanceStateType
The docs also mention a state code 272
which "typically indicates a problem with the host running the instance". They suggest trying a reboot in the first instance, and posting on the EC2 forums if that doesn't solve the issue.
The docs seem to have been moved, and I still can't find them. Here are two more state codes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With