views:

178

answers:

2

What are the valid instanceState's for the AmazonEC2 API? It doesn't seem to be defined in the current API doc. Google doesn't turn up much. So far I know about:

  • 0: pending
  • 16: running
  • 32: shutting-down
  • 48: terminated

but I'm pretty sure I've seen an error state before.

Thanks!

+1  A: 

It looks like you've found them all according to the somewhat hard to find documentation on the matter.

Robert Simmons
A: 

The docs seem to have been moved, and I still can't find them. Here are two more state codes

  1. 64: stopping
  2. 80: stopped