Deploying web apps with database isn't an easy task at all specifically when you want your app to load smoothly and fast and also be scalable. So in this guide you'll learn how to deploy your web app easily on the cloud.
DPLYR is the tool we're using today. To create an account go to https://dplyr.dev
Choose the cloud provider you love. I found that DPLYR has made a complete guide on how to create a VM on AWS EC2 Here it's
When you sign in you'll find yourself in your home page where you can find your past deployments click on the new deployment button and fill the form fields note that if you used the DPLYR VM guide you won't need to fill the username field. Choose the technology "Node.js" and the database "MongoDB" the database username password are the ones you used in your connection string pick whatever you want. In the project URL field put the git repo containing your web app link.
DPLYR magically deploys your app and gives you the link of the website