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
ec2-describe-groups
SYNOPSIS
ec2-describe-groups [GROUP ...]
DESCRIPTION
Describes the current state of each GROUP specified on the command line. If no GROUPs are explicitly
listed then all GROUPs owned by the current user are included in the output.
OUTPUT
A table containing the following information is returned:
Output type identifier ("GROUP", "PERMISSION").
User ID of group owner.
Group name.
Description of the group.
Firewall rule.
Errors are displayed on stderr.
EXAMPLE
$ ec2-describe-groups websrv
GROUP 495219933132 websrv Web servers
PERMISSION 495219933132 websrv ALLOWS tcp 80 80 FROM CIDR 0.0.0.0/0
SEE ALSO
DescribeSecurityGroups
ec2-add-group
ec2-delete-group
ec2-authorize
ec2-revoke
Amazon EC2
Developer Guide
38
Previous Page Next Page