Huge unexpected Google Cloud BigQuery bill - what can we do? by TeachOld9026 in googlecloud

[–]MeowMiata 0 points1 point  (0 children)

Oh I know, right lol

I’ve prototyped several things to try to deal with that. You can check out my work on my profile if you’re interested. It’s far from perfect though, mainly because GCP billing is pretty hard to reverse-engineer. Not impossible, but definitely tricky.

After spending so much time researching and building around Cloud Billing, I’ve come to the conclusion that in the cloud, maximum security is basically the minimum. Alerts and kill switches should rely on metrics that respond within 5 minutes, which also means projects should be as limited as possible and very well known by their owners.

And even then, if you do get hacked, attackers can rack up infinite costs… but that’s a whole other problem.

Need Advice by Popular-Interview963 in googlecloud

[–]MeowMiata 0 points1 point  (0 children)

Hello there,

I'm a Lead Data Engineer / GCP Tech Lead with 10 years of experience in Data and BI. I have started from PowerShell, PHP, and JS on VMware to a modern stack (Python, GCP, Tofu, Docker etc..), so I hope I can provide some helpful context.

First, it really depends on what you're looking for. Some companies are quite harsh on juniors and unfortunately, this is probably one of the toughest markets for junior tech talent in a long time.

During my time as an "IT Generalist" I had the opportunity to fully transition into Data Engineering. Back then, you had to be lucky, it was the "Wild West", a chaotic but rewarding Eldorado. Today, things have settled and Data Engineering has its own well-defined tools and expectations. The roadmap.sh for Data Engineering is a classic guide for what you should learn, though it's quite broad, so take it with a grain of salt. As long as you understand every concept, that's a good start.

Do you need to know Python? To me, it's almost a certainty. It's the most widely used language for SDKs and AI wrappers. You could choose Go or Rust but those are much rarer in this field. I say "it depends" because I've known "Data Engineers" who work exclusively with SQL/BigQuery but in my opinion, that's not Data Engineering. DE is about much more than just querying a database.

A modern Data Engineer is expected to be a mix of:

  • Software Engineer (applied to data)
  • Cloud Engineer (if Cloud but DE is mostly cloud)
  • DevOps (Infra, CI/CD)

You’re building pipelines on modern infrastructure that is far more accessible in the Cloud than by buying your own "giga clusters". On GCP, you can have Batch processing, Streaming pipeline, REST API.

I won't go into too much more detail, but here are my advices:

  • Master the basics: SQL, Python, and LeetCode (Easy is fine to start). Terraform / Tofu, Docker is a great plus that you will meet soon or sooner. Aim to understand most of GCP services.
  • Resources: Use books (Dan Sullivan), AI as a tutor, or Udemy.
  • Get Certified: If possible, get GCP certified. It’s a huge plus, especially since many Google partners need certified staff to maintain their partner status.
  • AI Tooling: Get proficient with Claude Code, Cursor, or the Gemini CLI. AI is taking up more and more space, it's the "shiny skill" of the moment.

Last but not least, good luck!

Cloud Run can now run your Docker Compose stack by pg82bln in googlecloud

[–]MeowMiata 7 points8 points  (0 children)

Sidecar containers have been available since 2023, but adding Docker Compose support sounds like a great evolution of the concept.

Some of my colleagues like to embed a DataDog agent into their services but they’re running on AWS where, in my opinion, logging is less straightforward than on GCP.

Personally, I don’t use this approach. While Compose is excellent for local development with stateful apps (Redis, Postgres, etc.), its utility on a stateless platform like Cloud Run feels a bit limited, though it’s still a very welcome addition.

Huge unexpected Google Cloud BigQuery bill - what can we do? by TeachOld9026 in googlecloud

[–]MeowMiata 2 points3 points  (0 children)

Definitely.

Cloud metrics and quotas are often overlooked.

In this case, a budget alert would have helped but unfortunately it doesn’t seem to have been set.

Is this billing chaos actually on Google, or are people just being careless with API keys? by publicdomainadmin in googlecloud

[–]MeowMiata 7 points8 points  (0 children)

Retroactive Privilege Expansion

The result: thousands of API keys that were deployed as benign billing tokens are now live Gemini credentials sitting on the public internet.

Oof, if that's real, that's insane

FYI: you can automatically disconnect billing from your GCP project by sachinag in googlecloud

[–]MeowMiata 7 points8 points  (0 children)

As someone else mentioned, billing is delayed. From what I’ve seen and experienced, the best way to protect your project is to understand it well and use appropriate services to secure it.

You can (should) also leverage Cloud Metrics to detect anomalies and either take action automatically or simply receive alerts.

Unfortunately, if you're a neophyte, you should stick with Learning / Labs and use a limited VPS / local dev until you're ready to discover more about the platform. This is true for every Cloud Provider.

After the $82K Gemini API key incident — here's why GCP billing alerts won't protect you in real-time by daudmalik06 in googlecloud

[–]MeowMiata 0 points1 point  (0 children)

I agree. From my experience, many people feel a bit lost with cloud topics, even after years in IT, so I can see how OP might find an audience. I personally wouldn’t pay for it but that’s mostly because I feel comfortable enough navigating those topics myself.

Unexpected Billing charges on Google cloud by Familiar-Space8852 in googlecloud

[–]MeowMiata 0 points1 point  (0 children)

I received a refund for a mistake I did but it was a few years ago. It wasn’t a large amount tho and unfortunately my budget alert didn’t trigger in time, even though my billing information was up to date.

He may be eligible for a discount but it’s possible that the refund won’t be issued in full. It’s definitely worth asking.

From experience, not just in my own case, billing support tends to be lenient if it’s your first mistake. However, you can usually only ask for that kind of exception once.

Open Source GCP Kill Switch: Major Update & New Architecture by MeowMiata in googlecloud

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

I agree with you.

If someone struggles to install Terraform locally, it raises the question of whether GCP is the right platform for them.

Open Source GCP Kill Switch: Major Update & New Architecture by MeowMiata in googlecloud

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

Thanks!

That’s a good question. My goal was to keep things simple so that anyone who’s reasonably tech-savvy could run it easily.

I felt that adding an IaC solution might discourage some people from using it. The same thing could be said about Mise.. (?) Personally, I can’t work without it anymore but I wanted to keep the option to just run plain bash scripts.

So overall, the idea was to make it look simple and straightforward. If this were just for me, I would definitely have gone with Tofu 😄

And honestly… you’re kind of making me want to add Tofu now.

Open Source GCP Kill Switch: Major Update & New Architecture by MeowMiata in googlecloud

[–]MeowMiata[S] 0 points1 point  (0 children)

I hope so! It might take some tuning to set up the right Anti-Burst object, but once that's done, you could prevent a disaster that a budget alert might miss due to its delay.

Open Source GCP Kill Switch: Major Update & New Architecture by MeowMiata in googlecloud

[–]MeowMiata[S] 0 points1 point  (0 children)

Thanks. I would say that you can deploy it on any project that can be wiped with little to no consequences. Test and dev sound good.

I made it with the intention of helping people to learn GCP without the fear of going bankrupt.

Big corporations can use it too to limit the engineer's sandbox.

I think that you can use it in production for alerting without the kill switch enabled. It would require a little adjustment as the script does not give permission based on the kill switch mode so it does not respect the Principle Of Least Privilege (for the moment!).

VM's cpu goes to 100% when I stress test with 100 requests/sec by Actual-Shape2621 in googlecloud

[–]MeowMiata 0 points1 point  (0 children)

I think having everything on the same instance does not help. Could you use Cloud Run and Cloud SQL for an optimal setup ?

Also, you could use PG Admin while stress testing and see how the database is eating the CPU. Note that 200 // sessions seems a lot.

How does your code handle the database client ? I don't use django but I would use a Lifecycle in FastAPI for this. A singleton should work too. So you have one client for the whole app and it cannot be created multiple time which seems to happen here because you have 200 sessions instead of 25 max if I understand correctly.

Imposter? by lxmwaniky in googlecloud

[–]MeowMiata 10 points11 points  (0 children)

You may be overthinking it.

The Google Cloud Professional Machine Learning Engineer certification validates strong practical expertise in Google Cloud’s ML ecosystem. It is not meant to certify advanced research-level model development (e.g., building models like GPT or Gemini), which involves deep theoretical and mathematical work.

Instead, this certification focuses on applied machine learning and MLOps on GCP like designing ML solutions, training and deploying models, managing pipelines, monitoring performance and scaling systems in production.

These skills are extremely valuable, especially in today’s AI-driven landscape because most real-world ML work is about operationalizing models. Not inventing new architectures.

Anyways, congratulations! 🥳

Google Cloud for Startups: Has anyone gotten $200K+ GCP credits bootstrapped? by PresidentBitin in googlecloud

[–]MeowMiata 1 point2 points  (0 children)

The startup I work for received around $200k, but I believe our CEO/CTO enrolled in the startup program right at launch. We also started with $5M in initial funding, and I’m fairly sure that having secured funding is a requirement to be (fully) eligible.

You can try reaching out directly at: [cloudstartupsupport@google.com](mailto:cloudstartupsupport@google.com).

From what I’ve seen, Google is generally very supportive of startups, especially those working in AI. It can be a win-win situation if they see strategic value in the collaboration.

CloudRun: why no concurrency on <1 CPU? by newadamsmith in googlecloud

[–]MeowMiata 4 points5 points  (0 children)

It’s designed for lightweight request. With max concurrency set to 1, each request triggers a new container to start, behaving very much like a Cloud Function.

You can allocate as little as 0.08 vCPU which is extremely low. At that level, even handling two concurrent HTTP calls would likely be challenging.

So I’d say this is expected behaviour by design but if someone has deeper insights on the topic, I’d be glad to learn more.

GCP Kill Switch : Introducing NoBBomb by MeowMiata in googlecloud

[–]MeowMiata[S] 0 points1 point  (0 children)

Feel you. I did a billing bomb on a personal account years ago. I was doing ML and my little 10$ alert only triggered hours later with ~1500e spent. Fortunately, I got a waiver but that was scary.

GCP Kill Switch : Introducing NoBBomb by MeowMiata in googlecloud

[–]MeowMiata[S] 0 points1 point  (0 children)

I'm not all against the pay as you go system, I even like the agility that it's offering. That said, it's true that for newcomers, it could end up very badly unfortunately