ubcgrades icon indicating copy to clipboard operation
ubcgrades copied to clipboard

Question: how is this hosted?

Open kevinlinxc opened this issue 2 years ago • 3 comments

Just curious, how is this hosted?

kevinlinxc avatar Nov 03 '22 17:11 kevinlinxc

I use Gunicorn to serve the Flask app. I then use nginx as a reverse proxy to the API, and to serve the static files. This is hosted on a small VPS, where I also use Let's Encrypt to create the HTTPS certificates. Lastly I use CloudFlare as a one-stop for CDN, caching, page rules, etc.

DonneyF avatar Nov 03 '22 18:11 DonneyF

Thanks. Does it cost much to host?

kevinlinxc avatar Nov 03 '22 23:11 kevinlinxc

I just use free services. Both Oracle Cloud and Google Cloud have perpetual free tiers that give you compute instances to try out. You do need a credit card though. The only thing that's costing dollars is the domain.

Hosting this does not require much compute resources if at all. Caching does all the heavy work. You could just host everything at home and use something like cloudflared to expose it to the internet without port-forwarding or exposing your home network.

DonneyF avatar Nov 04 '22 02:11 DonneyF