#What would you say is the online solution that is the easiest to deploy a Nest.js API to?

11 messages · Page 1 of 1 (latest)

astral quarry
#

I've search here and see that people have problems with AWS with GCP with Azure and with Digital Ocean.

So given that it's only me working on this hobby project and I'm a dev not a devops what is the easiest way to deploy a Nest.js API?

What requires the least changes to the code that is running locally?

Which in your experience has the least "surprises"?

A discussion of prices would also be cool

ember egret
#

Basically any you pick from https://dev.to/jainilprajapati/7-fantastic-heroku-alternatives-4jf8 will work fine. Personally using Northflank, used Render before but it was slightly limited for our needs (I saw they released few new features though). Koyeb I believe offers a free tier, maybe Railway too (haven't checked the others for some time).

Make sure to check whether they support deploying to your region first, Koyeb and Railway were US-first, not sure they have full EU datacenter support yet.

AFAIK they all use buildpacks. Basically you connect your github repository, they pull the code, buildpack detects you're using node with npm/yarn, run npm build for you and capture the state after that to a docker(ish) image.
Then they push the image to their infra, run npm start in them and wire port 3000 to their loadbalancers, attach a domain, issue tls certificate, and all the other steps you need to do when you deploy your app.

astral quarry
astral quarry
atomic gulch
#

You can also try to make a Dockerfile and deploy it on any cloud provider with CaaS

#

Or scaleway's serverless containaers

astral quarry
#

also I'm looking at digital ocean right now, are there any hidden problems for it and nest?

ember egret
#

Seems they added EU to Railway.