Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?
51–60 of 79 posts
Re: Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?
#52I 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…
Re: Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?
#53Amazon 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…
Re: Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?
#54Re: Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?
#55PRGMR.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?
#56PRGMR.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?
#57I 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…
Re: Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?
#58Dokku + 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 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?
#59Dokku + 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.
Re: Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?
#60Google 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.