ec2-describe-instances

ec2-describe-instances [INSTANCEID ...]

Describes the current state of each instance indicated by the respective INTANCEID specified on the command line. If no instances are explicitly listed then all instances owned by the current user are included in the output.

A table containing the following information is returned:

Errors are displayed on stderr.

$ ec2-describe-instances
RESERVATION r-15a4417c 495219933132 
INSTANCE i-3ea74257 ami-6ba54002 domU-12-31-33-00-00-01.dc3.compute.amazonaws.com running 0
INSTANCE i-31a74258 ami-6ba54002 domU-12-31-33-00-00-02.dc3.compute.amazonaws.com running 1