|User Guide / Using VM Networking and Security|
Security groups let you control network access to instances by applying network rules to instances associated with a group.
To create a security group:
euca-add-group -d <description> <group_name>
The following example creates a new security group named mygroup and described as newgroup.
euca-add-group -d "newgroup" mygroup