Amazon Elastic Compute Cloud
API Reference (API Version 2011-12-15)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

InstanceStateType

The InstanceStateType data type.

Relevant Operations

  • StartInstances

  • StopInstances

  • TerminateInstances

  • DescribeInstances

  • DescribeInstanceStatus

  • RunInstances

Contents

The following table describes the elements contained in InstanceStateType.

NameDescription

code

A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented.

Type: integer

Valid Values: 0 (pending) | 16 (running) | 32 (shutting-down) | 48 (terminated) | 64 (stopping) | 80 (stopped)

[Note]Note

A code of 272 typically indicates a problem with the host running the instance. A reboot might resolve the problem (be aware that for a Windows system, a reboot is a hard reboot that might result in data corruption). If a reboot doesn't work, post a message to the EC2 forums with the instance ID. Typically someone from the EC2 team can get your instance back to a normal state.

name

The current state of the instance.

Type: xsd:string

Valid Values: pending | running | shutting-down | terminated | stopping | stopped