Tools and APIs

Below we highlight the most relevant command-line tools and SOAP API calls used to manipulate security groups. Please refer to the appropriate sections of this guide for the specific details.

PurposeCommand-line toolSOAP API
List the rules belonging to specified groupsec2-describe-groupDescribeSecurityGroups
Create a new security groupec2-add-groupCreateSecurityGroup
Delete an existing security groupec2-delete-groupDeleteSecurityGroup
Add an access rule to an existing security groupec2-authorizeAuthorizeSecurityGroupIngress
Remove an access rule from an existing security groupec2-revokeRevokeSecurityGroupIngress