Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alternative to Lambda for Serverless Long running tasks

I am using a AWS Step function, where I have a map task. For each item in the input to the map task, plan was to trigger a Lambda function. I had designed the wireframe as such.

But now there has been change in the function code and the new code takes around 1+ hours in CPU and there is also a possibility to run it with GPU support.

Thus, I need to replace Lambda functions with another serverless aws service. Please suggest on which service to use?

Thanks.

like image 326
Vivek Puurkayastha Avatar asked Feb 25 '26 03:02

Vivek Puurkayastha


1 Answers

The "serverless" solution to running a task on AWS for more than 15 minutes is to run it as an ECS task with a Fargate launch type.

Step Functions can manage ECS Fargate tasks

like image 128
Mark B Avatar answered Feb 26 '26 17:02

Mark B