Hello! I am only studying in server development. I...
# server
v
Hello! I am only studying in server development. I want to create a test server with rest api for mobile applications. The server with requests and json answers wrote. I check through the postman with localhost, everything suits. The question now is how to place it on an external server or on an internal server? I found several methods in the documentation through heruku or google app engine. But for the tests it seemed a little expensive. Can it be hosted on some kind of free host or can it rent vps? I found entry-level offers within $ 3. But here is how to deploy the server there and connect to it? Should i use tomcat, netty, jetty? Help me please. I will be very grateful.
t
Heroku also has a free tier, if your test server spends a lot of time idling that should be fine
v
Thanks for answers. But how do I host a ktor server on vps? For example, if in the future I need to deploy it to a remote server?
j
If you want to deploy in a VPS, you have to run the application in the server as you would do in your local machine... however, automatic deployment, security, scaling, etc. will need to be done by you
v
Thanks! I think I will start from simple one, like heroku. Thanks a lot!
r
GCE, or Google Compute Engine, comes with 200USD free credits for new accounts.. a VM running constantly with 2 vCPU and 8gb ram is about 50USD a month
m
Microsoft's Azure also has a free tier for students as well