Live data from Hacker News

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

news.ycombinator.com

51–60 of 79 posts

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

#52
post #11

I suggest aws (probably elasticbeanstalk, maybe a raw box) simply because it's a very well trodden path. Lots of helpdocs, tutorials, instructions, etc etc etc. Assuming you're a professional in the US / west europe, etc, the diff between $20 or $30/mo and $5 or $0 per month is negligible, while the time savings just from staying on a standard path can be huge. My default suggestion would be: Elastic Load Balancer, t…

[deleted]

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

#53

Amazon Web Services. Won't cost much. If you want to keep it simple.. A very small EC2 box. Maybe even micro instance. That'll run your python code + sqlite. If you want, you can use an elastic load balancer or Route53. If you don't have DNS already. Route53 is AWS's DNS service which is easy to use. This whole setup should not cost you much. If you do it right, you can probably spend less than $10/month taking advan…

Absolutely nope. Both unfamiliar naming and the console interface is overwhelming, it's overkill to learn it just to run one VPS.

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

#55
post #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.

nice word

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

#56
post #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.

because it is hard to work with that the virus is hard and everywhere is hot here in teaxs

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

#57

I wrote this app last weekend mostly so that I could look at COVID-19 stats, but also as a learning exercise. I download data from John Hopkins, ingest it into a SQLite database and then have a couple of Python scripts to present an API to the front end. It is hosted on a Digitalocean droplet which costs me US$5.00 per month. Setup is easy - takes less than 10 minutes, and if you know Linux everything is pretty strai…

That's a pretty cool project. As a Sysadmin I know a bit of Python and how to use Rest APIs but would you mind pointing me in the right direction on how you present an API to the front end? I'd like to learn how to build a website like this.

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

#58
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.

Dokku + Hetzner + CloudFlare here. It's just so simple. I love it.

I have noticed that deploys eat HDD for breakfast. Prune often. ("docker system df" helps show stats on space usage).

I have also read many optimisation guides talking about Alpine Linux images, but not sure whether that makes a difference.

Running a Go stack. Often wondering whether Caddy could be an alternative?

Sometimes I feel like this is still "too much". Like I still don't have enough control over the stack. Cloudflare introduces a lot of magic. I am not sure I fully grasp Dokku, but it works. Oh well!

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

#59
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.

I just use `git push` without Dokku (something like https://gist.github.com/tasuki/5176431). What would Dokku give me?

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

#60

Google cloud run. If you can put your python app in a docker container (very easy) then you can run it on Cloud Run. They have a very generous “always free” tier.

If SQLite sends writes to the disk you cannot use cloud run, as it does not have a persistent disk.
Post reply on HN