Live data from Hacker News

Free Postgres databases for small projects

fly.io

121–130 of 231 posts

Re: Free Postgres databases for small projects

#121
post #24
post #6

> We've had a free tier since we launched ten years ago (in 2020). I’m not a Fly.io customer (although more and more I am thinking I should be), but I eagerly read every new blog post because I’m so entertained by their tone. These people are clearly having fun at work.

I also like the frankness and simplicity of their communication style. No fancy buzzwords, to the point and speaks to things we all know are true but are typically not addressed or are wrapped up in spin. The first and last paragraphs are great examples. The authenticity of it leaves me with a strong sense of trust and respect.

Yeah, that's the important part for me. The "fun" part about the sandwich app is nice, but the part that differentiate it from other content is stuff like:

> The free VMs themselves are just a bit of memory and some idling CPU, but the state is obnoxious for us to manage.

> But here's what happens if you give people freemium full access to a hosting platform: lots and lots of free VMs mining for cryptocurrencies.

If I had to put words on it, I would call it "transparency" and "treating their public as adults/with respect". I know that free storage is hard to find because disk space is harder than CPU and RAM to manage for them. I know that I need to put my credit card because people will abuse the free tiers for crypto if they don't ask for a credit card (sourcehut had the same problem with their free CI). I don't feel like they're trying to hide something from me, even if they still wrap it in some fun. This is the behavior I would expect from a good collegue.

Re: Free Postgres databases for small projects

#122
I had not heard of fly.io but i really appreciate free for side projects! I have a docker setup for .NET core psql app on digital ocean so will be fun to see if i can get a that working with you. Also pricing at a quick glance seems good. Are you running your own servers or using another cloud as the basis?

Re: Free Postgres databases for small projects

#123
How to get free postgres for small projects:

    sudo apt-get install postgres
AND you actually get sole control of all the data, all without the need for a credit card!

Seriously though, who is this for? Any backend hosting platform offers a database. It's just a standard at this point. For people hosting static gihub pages (and storing all the database connection credentials in frontend js?!), don't make me laugh. Or you've already got your own vm? Then literally just install postgres right there.

Re: Free Postgres databases for small projects

#124
post #54
post #51

Earlier quoted context omitted.

For a company that says it makes it super easy to deploy a container image and mentions that all you need to do "Write your code, package it into a Docker image, deploy it to Fly's platform"[0], they sure have a dearth of documentation on how to deploy an existing docker container. I am not sure if I'm missing something or what, but here's where I looked: * googled 'docker fly' and a blog post that references docker…

You know, you're not really missing anything, we just don't connect the dots very well. Install CLI, run `fly launch` in a directory with a Dockerfile, and it should just work. Most of our users don't start with a Docker image though, they start with Phoenix. What you're seeing is a little bit of indecisiveness in how we target the docs.

Out of curiosity, why target Phoenix users as your primary audience when you serve generic Docker users easily as well, given that they're likely a 10x or more segment? Are you just marketing to a tighter target audience to start, or is your platform/UI specifically optimized to support Phoenix?

Re: Free Postgres databases for small projects

#126

> A note about credit cards > Even for our free services, we require a credit card number. We know that's the worst and it gives you heartburn. It's not because we plan to charge you. > But here's what happens if you give people freemium full access to a hosting platform: lots and lots of free VMs mining for cryptocurrencies. > We could tell you we want to prevent crypto mining because we care about the planet, and t…

Wouldn't they be able to detect mining? And shut down that VM? I think many hosters would like to have that...

Re: Free Postgres databases for small projects

#127

> A note about credit cards > Even for our free services, we require a credit card number. We know that's the worst and it gives you heartburn. It's not because we plan to charge you. > But here's what happens if you give people freemium full access to a hosting platform: lots and lots of free VMs mining for cryptocurrencies. > We could tell you we want to prevent crypto mining because we care about the planet, and t…

The alternative is spending limits on the account, including being able to set it to $0 to essentially make it a "free tier" account.

Re: Free Postgres databases for small projects

#130
I tried to deploy an application I currently have running on Digital Ocean App Platform (their Heroku competitor) also on fly.io. The app is using Python/Django and Postgres, ideal to test.

I must say the deployment experience was great, stuff just worked, brilliant.

One question in case someone tried that: How can you customize the postgres config? I want to enable pg_stat_statements, and one needs to add `shared_preload_libraries = 'pg_stat_statements'` to the config for this. One could also make this the default maybe? It is the default on most cloud providers (AWS RDS, Digital Ocean).

Post reply on HN