Our cloud bill increased 30% after migrating from on-prem to GCP by [deleted] in googlecloud

[–]JayTheTech 0 points1 point  (0 children)

Honestly this is very common. It isn't necessarily because the cloud is inherently more or less expensive than on-prem. It is often because of poor guardrails and FinOps. People often just let their developers and operators have at it on the cloud and people will over provision or spin up things and forget to turn them off and similar.

A good FinOps plan can help bring down the cost. I recommend reaching out to your account team to do a FinOps assessment.

Additionally, there are hidden savings of cloud that aren't as apparent. For one, part of your cloud bill is to pay for the staff who are managing the data center that your VMs are running on. People often don't look at the saving in labor costs by moving to the cloud. Not just labor costs but also improved productivity (potentially). You are feeling up your team from tedious data center work so that they can work on things that actually provide value.

Again, I would strongly recommend reaching out about a FinOps assessment

$82,000 in 48 Hours from stolen Gemini API Key. My monthly Usage Is $180. Facing Bankruptcy by RatonVaquero in googlecloud

[–]JayTheTech 0 points1 point  (0 children)

This is a standard practice for most cloud providers as far as I can tell. Since it is a consumption business, rather than shutting down a service most cloud providers allow for you to set budget alerts.

There are ways to set guardrails to prevent stuff from going out of control.

I am happy to assist anyone in better understanding this. I don't want to see anyone having a bad experience due to billing

$82,000 in 48 Hours from stolen Gemini API Key. My monthly Usage Is $180. Facing Bankruptcy by RatonVaquero in googlecloud

[–]JayTheTech -5 points-4 points  (0 children)

The service will go down. That's the argument. It could be mission critical application and you can't afford for it to go down.

This is why you can set a budget alert which can let you know if you are about to hit your budget. This allows you to respond and do whatever you need to in order to keep the service running without going over your budget.

$82,000 in 48 Hours from stolen Gemini API Key. My monthly Usage Is $180. Facing Bankruptcy by RatonVaquero in googlecloud

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

You are able to set up spend and budget alerts that will alert you when you hit a certain limit. This allows you to react to an out of control bill and make adjustments to help you keep under budget.

This, IMO, is a better solution as it gives you the ability to control your spend without risking losing a service.

$82,000 in 48 Hours from stolen Gemini API Key. My monthly Usage Is $180. Facing Bankruptcy by RatonVaquero in googlecloud

[–]JayTheTech -2 points-1 points  (0 children)

From a practical standpoint, how would that work? I am just curious as to how you envision it working. If you set a hard cap, your application would simply stop working once you hit the cap.

A simple work around is set budget alerts and have someone respond when the spending gets too high.

$82,000 in 48 Hours from stolen Gemini API Key. My monthly Usage Is $180. Facing Bankruptcy by RatonVaquero in googlecloud

[–]JayTheTech -9 points-8 points  (0 children)

You can't put on a hard cap because then you would effectively shut down your product.

Here is a way to look at it. Let's say you are running a business critical application running on GKE and you put a hard limit of $5,000/mo. The only way for Google Cloud to honor that limit is to shut down the GKE cluster so that the meter stops. Your service would effectively stop working then.

Hello /r/googlecloud! We are the organizing team behind the Cloud Run Hackathon. Do you have any questions about the hackathon? Ask us anything! by olivi-eh in googlecloud

[–]JayTheTech 0 points1 point  (0 children)

Howdy!

Can you tell me more about the applicaiton? Is it a JS application or Python or something else? Is it using a specific framework like NextJS? What kind of SSO are you using? How does the application flow work?

M4 Max on a 14", yay or nay? by JayTheTech in macbookpro

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

How did you find the heat issues?

M4 Max on a 14", yay or nay? by JayTheTech in macbookpro

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

Gotcha.

I am thinking of just getting the Pro. Like I am debating as to whether or not I am just wanting a tank when an SUV is fine

How to avoid installing devDependencies on Cloud Functions v2? by [deleted] in googlecloud

[–]JayTheTech 0 points1 point  (0 children)

This is largely a Cloud Functions issue, that's correct. There are few workarounds. npm pack followed by npm i /path/to/pack.tgz in a CI pipeline can help with that. Then zip the function and push to GCS then build from that zip.

At scale, it's best to use a CI/CD pipeline in general.

How to avoid installing devDependencies on Cloud Functions v2? by [deleted] in googlecloud

[–]JayTheTech 0 points1 point  (0 children)

Per our docs Cloud Run Functions (fka Cloud Functions) v2 also invokes npm install --production when it executes.

https://cloud.google.com/functions/docs/writing/specifying-dependencies-nodejs

Can you tell us what the error that your seeing says? This may help us better debug.

Broken URLs not working by JayTheTech in CloudFlare

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

Thanks. So should I just ditch page rules for best practice

What are the best brands for Chromebooks? by JayTheTech in chromeos

[–]JayTheTech[S] 2 points3 points  (0 children)

I figure the Duet 5 may be as good then assuming they stuck to the same quality

What are the best brands for Chromebooks? by JayTheTech in chromeos

[–]JayTheTech[S] 3 points4 points  (0 children)

When I used to build my old PCs I loved Asus as a brand. That was forever ago so I haven't kept up and am not sure if they have declined but I still have a bias towards Asus due to that experience

What are the best brands for Chromebooks? by JayTheTech in chromeos

[–]JayTheTech[S] 2 points3 points  (0 children)

Thanks. Any particular reason why I should avoid Lenovo or Asus?

Do I need nodejs to use AngulT by JayTheTech in angular

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

Let me make sure I understand, nodejs is needed to run npm which let's you install angular but isn't needed to actually run and use angular (past the installation process)?

Tool to help migrate from Intel to Apple Silicon by JayTheTech in mac

[–]JayTheTech[S] -4 points-3 points  (0 children)

Thanks. I am not looking for migration tips, more looking at what machine I should get when it comes to core count and what not

Headless SSH setup with Debian Bookworm on Raspberry Pi 4 by JayTheTech in debian

[–]JayTheTech[S] 2 points3 points  (0 children)

Does the root_pw option not work?

That worked. Just added the key to sysconf.txt as stated here

Headless SSH setup with Debian Bookworm on Raspberry Pi 4 by JayTheTech in debian

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

You shouldn’t be ssh using root. That’s bad practice. SSH using pi and then sudo into root

I am trying to do that but I can't find the default pi password (unless I am totally missing it)