- Newest
- Most votes
- Most comments
Unfortunately, Lambda cannot run for more than 15 minutes.
https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-timeout-console
So I think the only way to handle this is to use the Step function as you are doing.
If a process takes more than 15 minutes to execute Lambda, it may be better to use ECS or AWS Batch.
Hi, another way is to use a container image as a Fargate service. The Lambda + Step may not work as the hard 15 min limit may interrupt the synchronous SDK call for S3 export.
We had a similar case and went to Fargate for long calls to other AWS services.
Yeah . We wanted to use Fargate but that's kind of not allowed at this moment . We will have to wait for approvals and that depends on another project that is running currently . Is there a way to make the SDK call for S3 export asynchronous
Can I use StartExportTask activity in Step function . Can it be used to provide custom queries for export to s3
Relevant content
- asked 3 months ago
- asked 3 years ago
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a month ago