Created
April 27, 2016 19:19
-
-
Save dengemann/3245552bcdbf7f8f2293abb96c2348f4 to your computer and use it in GitHub Desktop.
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
aws ec2 create-security-group --group-name "IPython" --description "Allow traffic for IPython notebooks" --vpc-id {my-region-vpc} --region {my-region} | |
{ | |
"GroupId": "{my-security-group}" | |
} | |
aws ec2 authorize-security-group-ingress --group-id {my-security-group} --protocol tcp --port 22 --cidr 0.0.0.0/0 --region {my-region} | |
aws ec2 authorize-security-group-ingress --group-id {my-security-group} --protocol tcp --port 443 --cidr 0.0.0.0/0 --region {my-region} | |
aws ec2 authorize-security-group-ingress --group-id {my-security-group} --protocol tcp --port 8888 --cidr 0.0.0.0/0 --region {my-region} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment