From 24c3f74b7ce87bcf25b017df3c6005433f44407c Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Mon, 25 Jun 2018 20:14:41 -0700 Subject: [PATCH] Updated AWS EC2 (markdown) --- AWS-EC2.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AWS-EC2.md b/AWS-EC2.md index 57d91ac..29e6369 100644 --- a/AWS-EC2.md +++ b/AWS-EC2.md @@ -18,6 +18,8 @@ Using the AWS CLI you can copy and paste the commands below to auto create every ```bash aws ec2 create-security-group --group-name StatupPublicHTTP --description "Statup HTTP Server on port 80 and 443" # will response back a Group ID. Copy ID and use it for --group-id below. +``` +```bash aws ec2 authorize-security-group-ingress --group-id sg-7e8b830f --protocol tcp --port 80 --cidr 0.0.0.0/0 aws ec2 authorize-security-group-ingress --group-id sg-7e8b830f --protocol tcp --port 443 --cidr 0.0.0.0/0 ```