boto3 security group
http://serverfault.com/questions/729457/python-boto3-allow-ingress-security-groups ec2 = boto3.resource('ec2') mysg = ec2.create_security_group(GroupName="testgroup",Description='testme') mysg.authorize_ingress(IpProtocol="tcp",CidrIp="0.0.0.0/0",FromPort=80,ToPort=80)