Live data from Hacker News

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

alexolivier.me

281–290 of 397 posts

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

#281
post #8

Cloud run is what zeit now was before it moved to v2. https://zeit.co/

What does it run on today? Or, is it multi-cloud now?

Sorry for any confusion but I didn’t mean it WAS based off cloud run, but was fundamentally the same type of product with a better dev experience built around it.

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

#282
post #254

Earlier quoted context omitted.

> since I don’t want to risk having my entire google account locked due to “suspicious activity”, whatever that might mean. Agreed. I often second guess my usage of various Google apps and services since I don't want to trigger some process that I would have no way of ever knowing. The recent case of someone getting banned from using Apple Pay comes to mind ( https://news.ycombinator.com/item?id=20841586 )

Sounds like self-censorship in dystopia full of secret laws. I'm glad Google isn't running a country.

Their reputation has turned dramatically. Back in the day Penn and Teller's episode of BS about the death penalty said they might not mind the death penalty if Google were in charge of it. Maybe they were somehow being presciently ironic?

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

#283
Do the kind of people who have tech jobs and have side projects really need it to cost nothing to run side projects?

I don't understand this obsession with running projects for "nothing" and contorting software architecture to do so.

$5/mo for a digital ocean droplet or $50/month for a a beefier VPS (or even dedicated hardware if you know where to look[0]) is not much compared to the normal monthly expenditure of people in tech on average.

If it was all for convenience/efficiency that'd be one thing, but learning "google cloud run" teaches you nothing about system maintenance, limits your understanding of the full stack, and encourages a myopic view of development, all so at some point when Google/AWS/Azure raises the temperature of the water in the pot everyone starts wondering "how did running software get so expensive?".

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

#285

Do the kind of people who have tech jobs and have side projects really need it to cost nothing to run side projects? I don't understand this obsession with running projects for "nothing" and contorting software architecture to do so. $5/mo for a digital ocean droplet or $50/month for a a beefier VPS (or even dedicated hardware if you know where to look[0]) is not much compared to the normal monthly expenditure of peo…

While I tend to agree, I'm the type to have ~3 projects going at a time. I'm pretty young, but I can see myself spinning up a few projects a year. Each project needs a sql database, hosted by google for a few bucks a year, a server per service, a company email per project per person on the project, etc. I can easily see this being $50/month/project. So let's call it $150/month, $1800/year. If you're not making any money, that's a lot of bare minimum over a life time just to play around with. Then if you assume your side project isn't meant to be profit optimizing, you may never make money.

It really isn't a lot, but some people aren't in SF where they make massive profit. In more rural areas in the US, non-senior engineers can make ~$60k-$80k. In non-US roles, that's even lower. I can see this price range being meaningful.

Also, I know you can get cheaper with this, but if your goal is to spin up MVP's ASAP, you don't care to work hard to optimize ever penny out of your infrastructure. This is a nice breakdown, and I'll probably use it for the current project I'm spinning up as a test.

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

#286

Earlier quoted context omitted.

> I cannot have a $100k bill to pay, it'd destroy everything I have. Welcome to US healthcare. Happens daily! :)

I'm not in the US, and would not dream of going there without health insurance.

Happens even with insurance.

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

#287
post #279

Earlier quoted context omitted.

I think the issue is you aren’t paying for it, so you don’t own it. Paid hosted services cannot pull this crap.

Paid hosted services can and do pull this crap, and it’s not just Google. “Digital Ocean killed our company” https://news.ycombinator.com/item?id=20064169

At least DO was responsible, transparent and disclosured the bug for the public. After reading through the post, I've felt much more confident to use their services, specially after that comment: https://news.ycombinator.com/item?id=20119939

Big G's policy is to lock you, provide no further comments and no contact link.

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

#288
post #279

Earlier quoted context omitted.

Paid hosted services can and do pull this crap, and it’s not just Google. “Digital Ocean killed our company” https://news.ycombinator.com/item?id=20064169

At least DO was responsible, transparent and disclosured the bug for the public. After reading through the post, I've felt much more confident to use their services, specially after that comment: https://news.ycombinator.com/item?id=20119939 Big G's policy is to lock you, provide no further comments and no contact link.

“Transparency” due to blowup of bad publicity on HN. They’re simply not big enough to ignore this audience. They wouldn’t have given a damn if they were, just like they ignored many cases that didn’t blow up.

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

#289
post #36

Another option is Google Cloud AppEngine. It’s a little more limited in terms of languages that are supported, but the free tier is generous enough that I have never paid anything to run backends for side projects.

Right now you may be able to do more with AppEngine but the trade-off is you're locked in to platform-specific APIs. With Cloud Run there's no platform lock in since all it is, is a Docker container with whatever you want running that listens on $PORT.

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

#290

started using this... pretty awesome vs the wall of yaml it replaces. Not suitable for all workloads (max 1cpu/2 gigs ram, 4 minute max pod startup time, can't do background work when not serving a request). But it replaces cert-manager, ingress-nginx, oauth2-proxy, k8s service, k8s deployment, k8s secret, k8s configmap, k8s hpa, k8s pdb, helm charts and cluster management.

I tried out Azure Container Instances a while back, and the startup times were also what killed it for me - they were all over the shop. It was 1-2 years ago, so I don't recall exactly and things may well have improved now, but I seem to recall they ranged from 1-5m.

So far what I've observed is <10s cold-start times on GCR. This is a fairly lightweight web app written using Undertow in Java so carries a JVM as overhead.
Post reply on HN