Ask HN: Setting up/deploying a REST based service – need some help I have developed a service that is REST based, which makes calls to a separate database server. Both of these are currently hosted on digital ocean, as separate servers - probably not best practice. I would like to create a simple website that can show off what I have just created (eventually users will be able to make calls directly or use the site to access data). From what I understand, It seems it would be best practice to put the RESTful engine and the Database behind a VPN - where a user could send calls to the engine and get some results back. I am not sure whether i should put the app server behind the VPN as well. Does anyone have any advice on how to set this up/best practices - or if this is even the proper way to do this? I am lagging a bit behind in my web tech skills, so please bare with me if any of this sounds strange. Any help is greatly appreciated! |