ec2-describe-instances
SYNOPSIS
ec2-describe-instances [INSTANCEID ...]
DESCRIPTION
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.
OUTPUT
A table containing the following information is returned:
Output type identifier ("RESERVATION", "INSTANCE")
Instance ID which uniquely identifies each running instance.
AMI ID of the image the instance is based on.
DNS name associated with the instance (only present for instances in the running state).
Instance state.
Key name. If a key was associated with the instance at launch it's name will be displayed in this
column.
Errors are displayed on stderr.
EXAMPLE
$ ec2-describe-instances
RESERVATION r-15a4417c 495219933132
INSTANCE i-3ea74257 ami-6ba54002 domU-
12-31-33-00-00-01.dc3.compute.amazonaws.com running
INSTANCE i-31a74258 ami-6ba54002 domU-
12-31-33-00-00-02.dc3.compute.amazonaws.com running
SEE ALSO
DescribeInstances
ec2-run-instances
ec2-terminate-instances
Amazon EC2
Developer Guide
35
ec2-terminate-instances
SYNOPSIS
ec2-terminate-instances INSTANCEID [INSTANCEID ...]
DESCRIPTION
All instances indicated by the respective INTANCEID specified on the command line are terminated. At
least one INSTANCEID must be specified.
OUTPUT
A table containing the following information is returned:
Output type identifier ("INSTANCE")
The instance ID of the instance being terminated.
The state of the instance prior to being terminated.
The new state of the instance.
Errors are displayed on stderr.
EXAMPLE
$ ec2-terminate-instances i-3ea74257
INSTANCE i-3ea74257 running shutting-down
SEE ALSO
TerminateInstances
ec2-run-instances
ec2-describe-instances
Amazon EC2
Developer Guide
36
Previous Page Next Page