Re:Deploy your side-projects at scale for basically nothing ...
by all_factz on Sunday January 12, 2020 @01:23PM
(#22027987)
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 ECS pricing to be an issue (but I’m also not running anything at scale, and I do pay more than a few cents a month — but still under 10 bucks).
[ Parent
| on HN ]
Re:Deploy your side-projects at scale for basically nothing ...
by asdfasdfgdy on Sunday January 12, 2020 @02:20PM
(#22028506)
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 ...
by ignoramous on Sunday January 12, 2020 @03:23PM
(#22029005)
Thanks. What are the usual cold start and warm start times for Cloud Run? Is there potential for those start times to go down to a few milliseconds in the near-future?
Re:Deploy your side-projects at scale for basically nothing ...
by mmbleh on Sunday January 12, 2020 @01:30PM
(#22028059)
GCR runs containers like Fargate, but scales to zero like lambda, so you only pay for usage
Re:Deploy your side-projects at scale for basically nothing ...
by skj on Sunday January 12, 2020 @05:02PM
(#22029837)
GCR is the container registry and does nothing but store your artifacts.
Re:Deploy your side-projects at scale for basically nothing ...
by PhilippGille on Sunday January 12, 2020 @05:38PM
(#22030102)
The article and comments are about Google Cloud Run
Re:Deploy your side-projects at scale for basically nothing ...
by anirudhgarg on Sunday January 12, 2020 @01:34PM
(#22028099)
I don't think you can scale up and scale down Fargate based on Http requests
Re:Deploy your side-projects at scale for basically nothing ...
by staticassertion on Sunday January 12, 2020 @01:44PM
(#22028189)
I'm not sure if you can reasonably scale to 0, but I believe you can attach Autoscaling Groups to Fargate.
Re:Deploy your side-projects at scale for basically nothing ...
by anirudhgarg on Sunday January 12, 2020 @01:48PM
(#22028232)
Most likely it would be based on CPU/Memory and not requests
Re:Deploy your side-projects at scale for basically nothing ...
by reilly3000 on Monday January 13, 2020 @01:18AM
(#22032252)
Most definitely, but you can auto scale on custom metrics with a bit of glue. Even a very small node app has a start time in the 10-30 sec range. Every auto scaling system, even cloud run, can struggle to keep up with extremely bursty traffic. If you want no timeouts, you have to overprovision.