9 ms·
The AWS equivalent to Cloud Run and Container Apps is called Fargate, https://aws.amazon.com/fargate/ https://aws.amazon.com/fargate/
by obenn 2y ago
The AWS equivalent to Cloud Run and Container Apps is called Fargate, https://aws.amazon.com/fargate/ https://aws.amazon.com/fargate/
- CharlieDigital 2y agoNeither Fargate nor App Runner scale to zero (unless something changed). So there is always a baseline cost of a few dollars.
- obenn 2y agoLambda container would be the closest equivalent with that functionality, https://docs.aws.amazon.com/lambda/latest/dg/images-create.html https://docs.aws.amazon.com/lambda/latest/dg/images-create.h...
- paulvnickerson 2y agoAgreed. I ran a small GPT chatbot on Lambda through API Gateway with a dynamodb storage backend and don't recall incurring any cost (or if I did, was just pennies per month).
- chrisoverzero 2y agoBut if you’re constantly pinging the container (as suggested above), it will never scale to zero.
- CharlieDigital 2y agoIt "scales to zero" as soon as the request stops as far as billing is concerned. However, the image remains "warm" and incurs zero cost once the last request ends. So I usually have a `/heartbeat` endpoint for this purpose and point a Cloud Scheduler job at it. I haven't read the docs to figure out the exact heuristics of when it becomes "cold" again.
- deleted 2y ago[deleted]