Reputation: 536
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.
Upvotes: 12
Views: 13399
Reputation: 1
Maybe an Autoscaling Group that scales out EC2 machines. This way you can specify an AMI that suits your needs.
Upvotes: 0
Reputation: 200562
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
Upvotes: 15