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
ec2-add-group
SYNOPSIS
ec2-add-group GROUP -d DESCRIPTION
DESCRIPTION
Creates a new security group named GROUP. Group names must be unique per user.
OUTPUT
A table containing the following information is returned:
Output type identifier ("GROUP").
Group name.
Group description.
Errors are displayed on stderr.
OPTIONS
Option Definition Required? Example
-d DESCRIP-
TION
Description of the group. This is in-
formational only.
Yes -d 'Web servers'
EXAMPLE
$ ec2-add-group websrv -d 'Web servers'
GROUP websrv Web servers
SEE ALSO
CreateSecurityGroup
ec2-describe-groups
ec2-delete-group
ec2-authorize
ec2-revoke
Amazon EC2
Developer Guide
37
Previous Page Next Page