Skip to main content

Google Cloud

Had some painful experiences using GCP, specifically, I got billed 100 euro for empty Postgres database that I held for 2 weeks only and made 0 hits to as I was setting things up. I get that you rent a full virtual machine but it's still a rip off. Compared to a model like PlanetScale where you pay as you scale and even get a free tier.

Thus I try to now use things I truly think GCP or AWS do well and set clear bill alerts so as to never overpay again.

Also looking into Railway & Cloudflare for various cloud compute tasks as they have some unique offerings and DX.

Connecting to CloudSQL from Go​

  1. Connecting to Cloud SQL (Postgres) from a Go web app
  2. Connect using the Cloud SQL Auth proxy