ec2-delete-group
SYNOPSIS
ec2-delete-group GROUP
DESCRIPTION
Deletes the named GROUP.
OUTPUT
A table containing the following information is returned:
Output type identifier ("GROUP").
Name of the deleted group.
Errors are displayed on stderr.
EXAMPLE
$ ec2-delete-group websrv
GROUP websrv
SEE ALSO
DeleteSecurityGroup
ec2-add-group
ec2-describe-groups
ec2-authorize
ec2-revoke
Amazon EC2
Developer Guide
39
ec2-authorize
SYNOPSIS
ec2-authorize GROUP [-P PROTOCOL] (-p PORT_RANGE | -t ICMP_TYPE_CODE) [-u
SOURCE_GROUP_USER ...] [-o SOURCE_GROUP ...] [-s SOURCE_SUBNET ...]
DESCRIPTION
Adds a rule to the security group named GROUP. If no source host, group or subnet is provided,
requests from any source address will be honored.
OUTPUT
A table containing the following information is returned:
Output type identifier ("GROUP", "PERMISSION").
Group name. Currently, this will report an empty string.
Type of rule. Currently, only ALLOW rules are supported.
Protocol to allow.
Start of port range.
End of port range.
FROM
Source.
Errors are displayed on stderr.
OPTIONS
Option Definition Required? Example
-P PROTOCOL The protocol to allow. This can be
tcp, udp or icmp. This option
only applies when specifying a
CIDR subnet as the source.
Yes -P tcp
-p PORT_RANGE For the TCP or UDP protocols, this
specifies the range of ports to al-
low. This may be specified as a
single integer or as a range
(min-max). This option only ap-
plies when specifying a CIDR sub-
net as the source.
Yes -p 80
-t ICMP_TYPE_CODE For the ICMP protocol, the ICMP
type and code must be specified.
This must be specified as
type:code where both are integers.
Type or code (or both) may be spe-
cified as -1 which is a wildcard.
This option only applies when spe-
cifying a CIDR subnet as the
Yes -t 2:5
Amazon EC2
Developer Guide
40
Previous Page Next Page