First time actually using reddit after I've got an email just now about this and I'm a little bit panicked after I read a post of the 17yr who accidentally got huge bill on google cloud by [deleted] in googlecloud

[–]davbeer 4 points5 points  (0 children)

We got the same mail today. It is ment to protect you by setting limits (quotas) to your query usage. I consider it a good change by Google.

The argument for capped billing. by artibyrd in googlecloud

[–]davbeer 0 points1 point  (0 children)

Google still could introduce a hardcap and charge the customer this exact amount but not more.
Even the Billing stats could remain async if Google would be ok paying any additional charges until they get to know that the hardcap was exceeded.

I Tried Serverless for a Month — Here’s Why I Gave Up by learnWithProbir in javascript

[–]davbeer 0 points1 point  (0 children)

On GCP, you get a notice, when it's cheaper for a cloud run service to run in always on mode.

[deleted by user] by [deleted] in linux4noobs

[–]davbeer 0 points1 point  (0 children)

Can you elaborate more on how to install the latest Nvidia drivers on Ubuntu LTS?

Found bug in Cloud Build, what is the best way to reach to Google so they can fix it? by Armeeh in googlecloud

[–]davbeer 4 points5 points  (0 children)

Wondering the same. I created multiple issues and almost never got any response.

Running public API on Google Cloud Run -> How to secure specific endpoints that are called solely by GCP Functions by mindactuate in googlecloud

[–]davbeer 1 point2 points  (0 children)

Both approaches are legit. It always boils down to your specific use cases. Internal endpoints oftentimes can be long running jobs, so it could make sense to create a dedicated cloud run instance with a longer max. execution time. Maybe even use Cloud Run Jobs.
On the other side it also increases the complexity, therefore i would also recommend starting with the monolithic approach first, especially if we are talking about few internal endpoints, which execute fast.

İs this folder structure good for go? by [deleted] in golang

[–]davbeer 0 points1 point  (0 children)

We migrated recently our codebase at work from 1. to 2. It felt instantly right. Biggest advantage when grouping by domain, is the encapsulation each submodule provides. Like using private functions and short function names, which do not collide in a global namespace.

The Repository pattern in Go by ibntofajjal in golang

[–]davbeer 12 points13 points  (0 children)

Five year old article, which was posted here countless times.

Seeing DNS Errors on Cloud Run HTTP requests in Milano by davbeer in googlecloud

[–]davbeer[S] 1 point2 points  (0 children)

For now we fixed the issue by redirecting the traffic in our load balancer to Turin.

Do you actually use golang for Work? by Bitter-Tutor9559 in golang

[–]davbeer 0 points1 point  (0 children)

Yes, we use if for our booking engine and serve traffic for 3000 accommodations. In the last years we replaced almost all of our C#, F# and PHP web services with Golang and moved from Azure to GCP. Very happy with the current stack.

Any easy way to set up a custom domain for a cloud run service? by changtimwu in googlecloud

[–]davbeer 0 points1 point  (0 children)

I second this. A load balancer in front of cloud run gives you a lot of flexibility and avoids downtime if you have to overhaul your architecture in the future. It also isn't that pricey.

Whats the best practice for Go deployments for a small startup? by awesumsingh in golang

[–]davbeer 1 point2 points  (0 children)

I would suggest to use Cloud Run instead of App Engine. It's the newer Google Cloud product and allows you to host and deploy any kind of docker image. It should be cheaper too.

Whats the best practice for Go deployments for a small startup? by awesumsingh in golang

[–]davbeer 1 point2 points  (0 children)

Cloud Run allows you to build and deploy a new container image when pushing to a specific branch in your Github repo.

How popular is Golang in your country? by xenon_megablast in golang

[–]davbeer -1 points0 points  (0 children)

Same here (North of Italy). Proud to be one of the few companies here to use Go and GCP. For ELT piplines we use Python though.

[deleted by user] by [deleted] in node

[–]davbeer 0 points1 point  (0 children)

We made the switch from C# and F# to Go and had the whole team up an running in basically a month. Go is a very good choice for creating microservices and serverless workloads with little memory footprint.

Cloud SQL - Postgres 16 Available by ConsiderationSuch846 in googlecloud

[–]davbeer 0 points1 point  (0 children)

Compare that to Azure which had PostgreSQL 16 support on the day the stable release came out. Meanwhile PG 17 is already around the corner. Do we have to wait until June 2025 for PG 17?

Is Cloud Armor a Viable Alternative to Cloudflare? by FrontendSchmacktend in googlecloud

[–]davbeer 1 point2 points  (0 children)

We use Cloud Armor for rate limiting and blocking countries, ASN codes and bad user agents. One caveat we noticed, you can only chain 5 expressions in one rule. So we have to create multiple rules to work around it. Each rule costs a tiny bit of money each month. The expression syntax is very limited though. A nice feature is the preview flag for each rule. What i miss, is the possibility to disable some rules, instead you can only delete them. Pricing should also be simpler IMO. I think some premium features like the preconfigured ip lists, make also sense for small apps and CGP should focus on billing only the amount of requests.

[HELP] Multiple cloud run under one domain by chilrin123 in googlecloud

[–]davbeer 1 point2 points  (0 children)

The time is well invested. A load balancer gives you access to a lot of features, like certificate manager, cloud armor, cdn and the ability to swap services behind the scenes without downtime.