PrayTeam / scriptured-prayer

GNU Affero General Public License v3.0
1 stars 0 forks source link

Choose hosting vendor #18

Closed asherlloyd closed 5 months ago

asherlloyd commented 6 months ago

I recommend Linode (now part of Akamai) for server hosting. They offer a shared CPU option for a flat rate of $5 monthly. Check out their pricing calculator for more information. DigitalOcean also offers similar services.

kenancasey commented 6 months ago

@Soyokaze-42 Do you have a free Python hosting service? Do we think this app would work in their free tier?

I'm fine to move to a robust paid provider like Linode if that seems easier/cheaper than dealing with a free service but I'd love to know what it looks like upfront.

Soyokaze-42 commented 6 months ago

linode is a great VPS option that would work well. I've used pythonanywhere's free tier with free managed databases that were solid while I used them. There are some things I would want with a paid subscription eventually (like webhooks to deploy when we update the main branch). The first paid tier is $5 there, too. As long as Django is the only thing we have to run, this is a great host. The free tier also has you log in once in a while and push a button if you still want to keep it live. I think that is a reasonable price for the service. It would be less maintenance than a VPS and I like less maintenance for everything.

I'm also happy to host from my house for a bit as we develop this. There is a little server in my closet on which I can throw a VM and put it online with Cloudflare tunnels without poking holes in my firewall.

Since we are using the template option with Django, we will have to keep all the static assets in the same repo. This makes serving them up to users easier and, as a bonus, we can use Cloudflare CDN without much configuration. I installed a piece of middleware that makes any changed static asset look new to the CDN, so it will cache all out updates separate from their previous version (effectively invalidating the cache automatically). That is another freebee until it starts to use too much data.

benjoeclark commented 5 months ago

Pythonanywhere now offers postgres for custom accounts at $15/month. I think we would need a paid account anyway so I'm not against it.

benjoeclark commented 5 months ago

Will we need multiple people to have login access to the server? That would seem to be a limiting case for pythonanywhere, at least from my own reading. @kenancasey This may be especially relevant if you need to manage the page for the class project.

benjoeclark commented 5 months ago

After looking into pythonanywhere (no multiple account access), docker hosting, and some other VPS hosts I decided to go with linode.