In the previous post of this series “AWS Application Deployment Basics,” we set up a PostgreSQL database and then we connect to it via a NodeJS application.

However, the Nodejs application is running on the same machine and database access is local for it. It is a totally valid setup and because it is on the same machine, the access is straightforward. But, having applications and databases running on separate machines is also a very common setup and we will cover that path as well later in this series. But today, we will focus mostly on the web server we want to run on an EC2 instance in the public subnet.


Please enter your comment!
Please enter your name here