Last active
August 29, 2015 13:57
Command line management of groups
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create a new security group | |
ec2-add-group -d "Group description" $groupName | |
# now delete a group | |
ec2-delete-group $groupName | |
# authorize rules for a group | |
ec2-authorize $groupName | |
# authorize a group to expose all tcp ports | |
ec2-authorize -P tcp -p -1 $groupName | |
# authorize a group to only expose a single port | |
ec2-authorize -P tcp -p 3322 $groupName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment