Name

ec2-add-group

Synopsis

ec2-add-group groupname -d description

Adds a new security group into your Amazon EC2 environment. The group name you provide will identify the group for use in other commands. The description is simply a user-friendly description to help you remember the purpose of the group.

The new group allows no external access to instances launched in it. You must call ec2-authorize before any traffic will route to instances in this group.

Example

$ ec2-add-group mydmz -d DMZ
GROUP mydmz DMZ

Get Cloud Application Architectures now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.