Updated AWS EC2 (markdown)

master
Hunter Long 2018-06-25 20:14:41 -07:00
parent 8ccc1cbc01
commit 24c3f74b7c
1 changed files with 2 additions and 0 deletions

@ -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
```