Live data from Hacker News

Deploy your side-projects at scale for basically nothing – Google Cloud Run

alexolivier.me

21–30 of 397 posts

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#21

What will the bill look like if your website suddenly hit a big traffic (e.g. someone post your site on HN)?

My blog is hosted statically on Netlify rather than a Cloud Run deployment. Use the best tool for the job!

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#22
post #17

The thing I really want out of these services is the ability to set a payment cap. It’s probably never going to be an issue, but I have anxiety, and I can’t sleep easily knowing that if I fuck up, if someone sinister abuses my application or whatever I may be stuck with a giant bill.

Here's a story about why you are right to be anxious: https://hackernoon.com/how-we-spent-30k-usd-in-firebase-in-l...

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#23
post #6

Of course, the downside to doing anything with a Google product is that it could be deprecated next year...

It‘s slready like a meme: the typical comment on the google cloud that it could be closed tomorrow. When will everyone understand that google cloud (money earning product) is different to all the other free products

> When will everyone understand that google cloud (money earning product) is different to all the other free products

When Google demonstrates it. They've already discontinued various parts of their cloud product.

True, they are unlikely to shut down gmail, search, or Android.

On the other hand google's cloud is a money loser that has slipped to a distant #4 in the cloud rankings.

But like many of Google's revenue-generating products it exists to show Wall Street that they have an increasingly diversified revenue stream (I think advertising is "down" to around 87%). They have lots of bets to try an improve this but little to show for it.

They did recently commit $2B to making GCP a player but I suspect that if that doesn't show results by the end of 2020, investment in this sector will fall precipitously.

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#25
post #17

The thing I really want out of these services is the ability to set a payment cap. It’s probably never going to be an issue, but I have anxiety, and I can’t sleep easily knowing that if I fuck up, if someone sinister abuses my application or whatever I may be stuck with a giant bill.

That's not a bug... that's a 'feature'.

Interestingly, AWS will not cut you off for non-payment (we had an issue with finance and were 250k in the red by the time we got the first 'Is there any issues over there?' email)

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#26
post #16

this is misleading, as cost curves are usually exponential for these types of managed services

Definitely something I look out for, but the advantage over something like Cloud Functions, which would be an alternative, is that a Cloud Run service handles multiple requests per instance so it isn't 1:1 with request rate.

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#28
post #24

Excuse my ignorance. if a container hasn't been hit in a long time, how long does it take to serve the first request back? Is it spun up or sort of hot paused?

AWS's firecracker can start a VM for your code in under 15ms, but if you need database access and other stuff, you can 'pre-warm' it.

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#29
post #17

The thing I really want out of these services is the ability to set a payment cap. It’s probably never going to be an issue, but I have anxiety, and I can’t sleep easily knowing that if I fuck up, if someone sinister abuses my application or whatever I may be stuck with a giant bill.

Do-able today with GCP Billing

Re: Deploy your side-projects at scale for basically nothing – Google Cloud Run

#30
post #24

Excuse my ignorance. if a container hasn't been hit in a long time, how long does it take to serve the first request back? Is it spun up or sort of hot paused?

Don't have an exact time, but the bulk of the time is app startup vs container scheduling
Post reply on HN