ec2-add-group group -d description
group
description
Creates a new security group. Group names must be unique per account.
Name of the security group.
Example: webservers
webservers
Yes
-d description
-d
Description of the group. This is informational only. If the description contains spaces, you must enclose it in single quotes (').
Example: -d 'Web servers'
-d 'Web servers'
Amazon EC2 returns a table that contains the following information:
Output type identifier ("GROUP")
Group name
Group description
Amazon EC2 displays errors on stderr.
stderr
This example creates the websrv security group.
websrv
PROMPT> ec2-add-group websrv -d 'Web servers' GROUP websrv Web servers
PROMPT>
GROUP websrv Web servers
ec2-describe-group
ec2-delete-group
ec2-authorize
ec2-revoke
Submit feedback about this site to: