Today, I'm going to post an article related to cloud for the first time in a while. As in the diagram above, using the Amazon WEB service Let's create a VPC with 1 public subnet and 2 private subnets, a total of 3 subnets.
The web server is hosted on a public subnet so that it can connect to the public internet. MySQL RDS (database) instances are hosted in private subnets.
To use a DB instance (.....