Skip to content

Instantly share code, notes, and snippets.

@natea
Created June 22, 2011 10:38
Show Gist options
  • Save natea/1039843 to your computer and use it in GitHub Desktop.
Save natea/1039843 to your computer and use it in GitHub Desktop.
>>> web = conn.create_security_group('apache', 'Our Apache Group')
>>> web
SecurityGroup:apache
>>> web.authorize('tcp', 80, 80, '0.0.0.0/0')
True
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment