Live data from Hacker News

Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?

news.ycombinator.com

31–40 of 79 posts

Re: Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?

#31
post #2

If you don't have too much load, heroku could be good for you, but you'll have to use postgresql. The free tier is nice though.

Having to use postgres seems like a plus :) besides being a great dbms, using postgres means you can port to other hosts easily, as opposed to say firebase.

I second heroku for OPs requirements, extremely easy to set up and manage, and the free tier handles many small sites well.

Whatever you choose, use cloudflare for free SSL.

Re: Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?

#32
PRGMR.com 1.25 GiB RAM, 15 GiB Disk for $5 per month.

https://prgmr.com/xen/ inexpensive. no overage charges. can pay by bitcoin. (and a FreeBSD friendly).

I wonder if you would also benefit from installing something like yunohost [2] on top of Debian. This will get you your personal cloud. And the use YounoHost's 'Custom web app' container [4]

This way, you get an automatically configured web server (nginx), with certificates (via Let's encrypt) that get auto updated.

You also get a pre-configured user/sftp access to your app's folders.

And those folders will be backed up when you hit the backup button...

Nginx will invoke your python app when the predefined URL is hit.

All you have to do is to point your domain registrar to the prmgr VPS host running yunohost.

[2] https://yunohost.org/#/whatsyunohost [3] https://yunohost.org/#/apps [4] https://github.com/YunoHost-Apps/my_webapp_ynh

Re: Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?

#34
DigitalOcean (or any of the $5 VPS) with Debian 10, you will need to know "basics" like SSH and typing some commands (a bunch of sudo apt-get _____) and then you are done. The only thing you don't have with DigitalOcean is domain name registration but everything else is there. Use them for DNS! They have some pre-built stuff for your list here but I would just spin up a blank Debian 10 box.

You can also get a free tier at Amazon AWS but you have to learn all the EC2 stuff and almost piece yourself a server one piece at a time (like the good old days where you build your own PC but clicking buttons) -- IMHO this takes much longer than just doing a $5 VPS and typing things. So if you want to learn Amazon AWS stuff, this may be a good path but it is going to take a lot longer

Re: Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?

#35

PRGMR.com 1.25 GiB RAM, 15 GiB Disk for $5 per month. https://prgmr.com/xen/ inexpensive. no overage charges . can pay by bitcoin. (and a FreeBSD friendly). I wonder if you would also benefit from installing something like yunohost [2] on top of Debian. This will get you your personal cloud. And the use YounoHost's 'Custom web app' container [4] This way, you get an automatically configured web server (nginx), with c…

Are you affiliated with the company? I chuckle when I see this hosting shop pop up on HN. They had advertisements on the dividers at the Safeway in Mountain View. Was wondering how they worked that.

Re: Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?

#36
If you want something fire and forget and since this is simple I would go with a serverless solution. Static files (with some little JS) hosted on some CDN and serverless database. One option is AWS dynamodb and their CDN, a more friendly beginner solution is firebase. You can't get more low maintenance than that.

Re: Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?

#37

I've used DigitalOcean (ref link -> https://m.do.co/c/a2a2c0826ff3 ) to host my Django sites, both with postgresql and sqlite. It will take you some time to figure out how to host it. Once you a succeed each subsequent time becomes much easier. Plus you get to learn a ton about server management. There are fantastic posts that will help you. https://www.digitalocean.com/community/tutorials/how-to-set-...

Second this. DO is insanely easy to use and it provides solid footwork to delve into a bit of an actual production deployment process.

Re: Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?

#40
post #10

Dokku + your favorite VPS: http://dokku.viewdocs.io/dokku/ Installation is a breeze and there are plugins. If you're at all familiar with Heroku's deploy, you'll love this. It's the closest thing I've found to `git push` without any thinking.

Another vote for dokku, I moved all my projects there years ago and couldn't be more satisfied.
Post reply on HN