Does AWS plan to have a competing product against Google Cloudrun?

Or, do they at least have plans to make Fargate have the ability to scale to zero?

I want to stay in the AWS ecosystem but I’m considering Cloudrun on some things.

Edit: Aware of lambda but not looking to refactor the app for lambda.

Are your containers often idle? Why are they alive if so?

Doesn’t lambda scale to zero?

Yes, I’m expecting this suggestion but my use case is not purpose-built for lambda functions. I heard there’s a “hack” to run containers on it but I’ve no time to dabble with it. Unless I’m missing something that lambda can now run containers ala Cloudrun?

Manual shutdown and boot is not really ideal, if that’s what you’re suggesting.

What is your actual use case?

I’m suggesting that things running in containers should come up for the few msec needed to do their operation, then go back down. Containers aren’t meant for long-lived monoliths.

A web app that is used only a few times a day.

Why do you say so? Containers are used 24/7 in production.

They’re designed to run short-lived, on-demand functions so they can scale up and down independently of the application itself. Using them as pseudo-VM’s bastardizes what they’re for and adds unneeded complexity.

What language is your app written in? In most cases you can easily host the front end on S3 and point a cloud front distribution at it. This 100% scales to 0. This could require a codePipeline with a build phase depending on your framework but the CodeBuild instances you’d use also scale to 0 and only run when you’re deploying.

If you have backend dependencies, move those to lambda if possible. If those can’t be re-factored then you probably won’t get true to-zero scaling on AWS.

My use case is backend and as mentioned in another comment, it’s not written for the lambda paradigm.

I can’t believe people are not aggressively pushing Amazon to develop similar technology. Maybe I’m in minority but GCP Cloud Run sounds like truly revolutionary product to me and I wish I could use it in AWS Cloud.

I’m not sure what you’re talking about but stuff like k8s, swarm, means containers are primetime in production.But, let’s agree to disagree.

Agreed. And they come up and down as needed. They’re not for long-lived monolithic workloads.

I know right! Cloudrun is a dream come true.
Let’s push AWS to compete with it.

Hot take: the lambda/“serverless” framework leads to better event-driven architectures anyway. With provisioned concurrency on lambdas now, I find myself touching ECS/Fargate less and less.

They would if they weren’t programmed to support their “team”.

I sometimes imagine a scale-to-zero scenario, and wonder what I’m optimizing for… the cost of a fargate container with autoscaling enabled is in the neighborhood of $30/month… about a dollar per day.

If AWS did release that kind of feature, how much would it save me?

In the grand scheme of my stack, where I have containers responding to queue based events, and containers responding to API requests, I only am paying for the containers while they run… so really, this would only optimize the APIs. Autoscaling handles scaling down from $PEAK_COUNT to 1… getting it to go all the way to zero, would mean I might save a buck or two here or there, but what might the implications be elsewhere in the stack? How would I have to deal with the latency waiting a few extra MS for that container to start back up?

Don’t get me wrong, I’m not opposed to such a feature, but I don’t think it’s as impactful of a feature as it’s sometimes made out to be.

it’s far from as one click, but I would say API Gateway + Lambda together.

Not that i’ve used cloud run (my GCP free tier expired before it came out), but Cloud Run seems a lot simpler and to offer a lot more functionality for a “standalone website” than API GW+Lambda would.

As well lambda wouldn’t let you bring your own container - i feel that feature’s gotta be on a roadmap somewhere.