Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Setup cloud deployment for website

Open fozziethebeat opened this issue 2 years ago • 3 comments

When done, we should be able to manually deploy the website to some cloud provider of choice.

This should use the docker image created in #23.

The most likely options are:

  • AWS Fargate (via copilot)
  • AWS App Runner (via copilot)
  • Google Cloud Run
  • Heroku

fozziethebeat avatar Dec 18 '22 11:12 fozziethebeat

what about vercel? supports all of nextjs out of the box

yk avatar Dec 18 '22 18:12 yk

Vercel is also a good option pending someone to pay for it. Given Andreas' request for full docker support I wanted to first make sure a pure docker deployment worked smoothly so that it could be deployed just about anywhere.

fozziethebeat avatar Dec 20 '22 09:12 fozziethebeat

if we need a free option to start out with staging/deployment I recommend fly.io , it quite simple to use and uses dockerfiles , their own config file and their cli tool to deploy so it fits into our pure docker deployment strategy well they also offer a free tier with the following specs

  • Up to 3 shared-cpu-1x 256mb VMs†
  • 3GB persistent volume storage (total)
  • 160GB outbound data transfer

poipiii avatar Dec 21 '22 11:12 poipiii

hey! i'm new to this project and i'd like to help with this issue, since i've got some experience with this kinda thing. what would you like me to do, assuming we use fly? their deployment system is pretty easy to use - minimal changes to the dockerfile, and they only require running fly deploy whenever you want a new version. would you want the deployment to happen in a github action or something similar?

Jabster28 avatar Dec 28 '22 04:12 Jabster28

Hi Jabster, thank you for the offer. We have a setup for this in review right now to deploy on AWS.

Right now we're auto deploying to a cloud provider LAION gifted to the project and I'll be donating some AWS credits when we need them.

fozziethebeat avatar Dec 28 '22 05:12 fozziethebeat

oh right, sorry about that. good luck!

Jabster28 avatar Dec 28 '22 10:12 Jabster28