0
963views
Steps to create production grade application server on AWS
1 Answer
written 3.3 years ago by | • modified 3.3 years ago |
apsouth1-prod-vpc01
172.31.0.0/16
apsouth1-prod-vpc01
apsouth1-prod-subnet01
172.31.0.0/16
apsouth1-prod-subnet01
apsouth1-prod-web01
apsouth1-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