Live data from Hacker News

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

alexolivier.me

111–120 of 397 posts

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

#111
post #89

Earlier quoted context omitted.

I believe there's no requirement if you just want to use Anthos on GKE (I could be wrong though, Anthos is relatively new). Alternatively, if what you really want is the ease to manage and deploy containers and automatically scale according to traffic, my understanding is you can always use the open source Knative project with your Kubenetes cluster. This provide you the exact same API supported by Cloud Run and make…

thanks, I hope you're right, GCP doesn't appear to be clear on this point, seems to be offering free trial up to May 2020 and then who know. I'm aware of the ability to set it up from open source which is a great fallback!

Yes that's unnecessarily complicated due to the naming. I can't find anything on the Cloud Run add-on for GKE by searching "GKE Anthos".

This doc suggest you just need to enable Cloud Run add-on on your GKE cluster to use it: https://cloud.google.com/run/docs/gke/setup

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

#112
post #95
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.

It seems absolutely within amazon's technical ability to allow you to prepay for usage, and then evaluate your use on a per-hour basis. I have a side project that uses AWS at the moment, and while stuff like serverless RDS instances are really cool, it scares me that somehow amazon is going to have a bug which empties my checking account. I've read as much of the documentation as I can find and have done everything I…

In Europe revolut has virtual cards with monthly spending limits. Cash App must have a similar feature in the US.

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

#113

Earlier quoted context omitted.

It goes up of course. Nothing's for free. Don't expect DigitalOcean level of pricing, the premise of cloud is on efficiency and scale, not necessarily being the cheapest raw computing provider when compared to traditional hosting. In other words it increases the elasticity of computation, but the price per unit of computation goes up. (Of course there are cost-savings like ops, security, uptime etc. But if you are ta…

> It goes up of course. Nothing's for free. Not sure why you write "of course" and "nothing's for free". If you use dedicated hosting with something like Hetzner, "suddenly hit a big traffic" doesn't automatically mean more costs for you. The website might get slower, or even crash, but your pricing will still be the same as it was before.

https://scaleway.com prices their base compute very cheap [0]. They have got DCs in AMS and CDG, but unfortunately, I've not got to use them since their DCs are a bit far from customers.

[0] €2.99 for 2vCPU, 2GB RAM, 200Mbits/s bandwidth.

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

#114

This is exactly the service that Azure needs and doesn't seem to have: while there is a consumption plan for functions, that's about it, and App Service is incredibly expensive for what you get.

Have you seen Azure Container Instances (I just posted another comment about it just now, before I saw your comment).

An aside, but I totally agree that App Service is way too expensive for the piffling amount of CPU/RAM they provide, even though I acknowledge the platform side of the offering is excellent.

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

#115

Earlier quoted context omitted.

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

These stories are everywhere. A couple months ago, it hit an associate of mine pretty hard, he moved a small python monitoring and statistics application off a laptop in the office to AWS. A couple weeks later he came back and discovered that it had burned up a few thousand $'s in storage and transfer fees for what normally was a couple hundred MBs of data a day being passed around and a some database updates. Since…

Not sure what happened to your associate but this sounds way, way out there. I run a fairly resource intensive SaaS on AWS (lots of background jobs generating data) and we barely go over $600 a month.

People should not be scared of by these anecdotes, however true they may be. It’s perfectly possible to run a very cost effective business on AWS.

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

#116

As an illustrative of pricing: If your deployment can run in 256MB of RAM w/ 1 vCPU, handles an average request in under 250ms, transfers 200kb or less per request on average, and you get 2 requests/minute on average to your site: The cost is around $2/month USD, which I feel is a more likely scenario for a side project vs the “pennies a month” the OP claims.

"2 requests/minute on average to your site" is a bad assumption for a relatively unpopular side project.

More importantly, with those hypothetical numbers, you'd stay well within the free tier for compute.

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

#118

What’s the advantage of GCR over AWS Fargate/ECS? I’ve been running an app on ECS for a couple months now and have been pretty happy with the ease of set-up, load-balancing, auto-scaling etc, though there are still kinks I’m figuring out (SSHing into containers to perform database management, for example, or deploying updated tasks without downtime). Is the main selling point of GCR just its price? I haven’t found EC…

Disclaimer: I work on cloud run

Another advantage not stated by others is that cloud run (mostly) adheres to the KNative API spec. This allows you lift-and-shift your application from cloud run to a Kubernetes cluster with the KNative plugin installed, a feature you can’t find with any other serverless product

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

#119
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.

It would be nice to have three caps:

1. notify me so I can ok continued service 2. start throttling usage 3. turn off if #1 has not responded and set new limits etc.

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

#120

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.
Post reply on HN