0
1.2kviews
Steps to create production grade application server on AWS
1 Answer
| written 4.4 years ago by | • modified 4.4 years ago |
apsouth1-prod-vpc01172.31.0.0/16apsouth1-prod-vpc01apsouth1-prod-subnet01172.31.0.0/16apsouth1-prod-subnet01apsouth1-prod-web01apsouth1-prod-webserver-security| Type | Protocol | Port range | Source | Description |
|---|---|---|---|---|
| SSH | TCP | 22 | custom - 0.0.0.0/0 | ssh |
| ICMP | ICMP ALL | All | custom - 0.0.0.0/0 | ping command |
| HTTP | HTTP | 80 | custom - 0.0.0.0/0 | http web traffic |
apsouth1-prod-dbserver-security| Type | Protocol | Port range | Source | Description |
|---|---|---|---|---|
| SSH | TCP | 22 | custom - 0.0.0.0/0 | ssh |
| ICMP | ICMP ALL | All | custom - 0.0.0.0/0 | ping command |
| Mysql/Aurora | TCP | 3306 | custom - security-id-group-of-webserver | Mysql port |
Create new (first time)
apsouth1-prod-ssh01.pem file and keepAttach a internet gateway to vpc
Create a new elastic ip
Associate the ip to the instance
(Optional) Might need to add mapping in route table of 0.0.0.0/0 to internet gateway