#deploys on vps

1 messages · Page 1 of 1 (latest)

valid mesa
#

Hello how can i deploy remix on cpanel hoster ?

carmine ferry
#

It depends about the hosting configuration. I think you should contact your hosting provider to get more information.

white imp
#

Hello @valid mesa
Do you have ssh access to your VPS? I can support you with it.

valid mesa
#

Hello not for now. But i will buy it. Can i write you an message after purchasing the vps?

white imp
#

Of course. I'll be happy to help

#

I think it would be a good idea to write a blog on medium so everyone will have it as a reference.

fluid fulcrum
white imp
#

using pm2

fluid fulcrum
#

Awesome, hope you write an article soon 🙂

pastel compass
#

I’m currently using pm2 but it’s worth it switching over 😭

fluid fulcrum
#

Using Github Actions, uploading image to Dockerhub directly (u need a docker account, you can have 1 free privaterepository, otherwise you have to pay 4$ a month or have your repo public)

#

So Github Action is

Uploading image to Docker Hub
Connecting on VPS
Downloading image from Docker Hub, and starting the app

#

tbh I think it would be possible to directly build the image and run it on the VPS, without uploading it first to dockerhub.

Why the extra step ? its useful because you create image branches, like image:latest for staging and image:production

I'm sure there would be a better way to do this but using a VPS allows me to have several apps on the same server for the same price

pastel compass
#

I need this 😂

tepid sequoia
# white imp using pm2

Will be waiting for this also do you think it's better to deploy to AWS via sst or vps?

white imp
#

I think there are some trade offs that will depend on your project:

  • How much flow are you expecting to see if you meed Elastic Computing from aws
  • What is your budget
#

But in the end, technically it will fall into the same steps

tepid sequoia
#

Budget is on the lower side of the spectrum

white imp
#

If I were you, I would go with a vps for the time being and I will log yhe activity in the first few weeks.
Then, you’ll have the answer needed by data and you can know for sure if it would be worth it.

#

But if you don’t have budget problems, going for aws once and for all would be better.