There is a rather simple application for Node.js using MongoDB. Usually deploy to Heroku in a few commands to create a new app push in the repository and all deployment happens. After adding the configuration details of the database and everything works. HTTPS works by simply adding the package heroku-ssl-redirect without any other settings and movements with results, keys, certificates, configuration of the ports in the application and other things.
Question: how is it possible with such ease to deploy the application on a clean VPS? I suspect that maybe there are some ready-made containers (Docker maybe?), which has included the installation of node, Mongo, and other things necessary. With Linux worked in a very limited way, to collect is unlikely to succeed.