Live data from Hacker News

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

news.ycombinator.com

41–50 of 79 posts

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

#42
post #30

Earlier quoted context omitted.

That sounds completely overkill for OPs question - without digging deeper it sounds like OP really just wants a cheap VPS perhaps with a lightweight management layer on top. Granted, Elastic Beanstalk/Load Balancer will allow you to scale should you end up with a massive influx of traffic - but I think you'd be far faster to spin up a VPS and use where-ever your bought your domain name from to point your domain name…

I didn't intend any of this to be about scale. Again, it's about ease of setup and maintenance. For example, I spent a pile of time getting letsencrypt to work with nginx. Admittedly, this was a couple years ago, but I had to go back in and fiddle with a config I barely remembered 6-ish months ago. My ELB + AWS Certificate + EB have kept chugging along without a peep. I also ticked the EB setting to continually upgra…

Don't get me wrong, I love that stack and it's what I generally use professionally, but for a small personal project that may or may not live for a whole year, I'd go for something cheap and cheerful, the difference between $5 a month and $30 is $300 a year - that's a whole lot of pizza and beer! ;)

FWIW - Setting up Let's Encrypt doesn't seem much of a chore these days: https://www.digitalocean.com/community/tutorials/how-to-secu...

For my particular use-case (a personal blog) the software I wanted to run on a VPS had support for it so all I really had to do was install everything answer a few configuration questions and I was up and running.

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

#44
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 straightforward.

I also use Cloudflare as a DNS (free tier).

https://martin.schweitzer.id.au/covid19/

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

#45
Not mentioned by others, http://atlantic.net starts at $5 a month. DigitalOcean has a similar offer with much better documentation. I run a couple of larger servers at DigitalOcean and am really satisfied with uptime, management console, etc. So my vote goes for DigitalOcean.

But Atlantic had a 256Mb RAM, 10Gb disk option years ago for just $0.99 I still have one server there for hosting static HTML, running some scraping tasks, MS document to PDF conversion service (Python Twisted) for a customer, etc. All that for just $1.20 a month (including VAT)

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

#47

http://pythonanywhere.com This guys specialize in python hosting and have a free tier

I too have a very good experience with them. Very, very simple and no hassle to set up.

In particular, all the web hosting side of things is preconfigured.

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

#49
try https://uberspace.de - name your own price (1-15€), HTTPS, python, sqlite, shell access, databases and much more included. Docs: https://manual.uberspace.de/ https://lab.uberspace.de/guide_django.html

disclaimer: I work for them, but used to be a customer long before I started.

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

#50

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.

Second. I'm running an appengine site, and it's nice to be able to deploy from command line. I'm using Mongo Atlas, but they have a free tier as well. If you don't mind an appengine domain, you can have a free friendly domain as well.
Post reply on HN