Joe
Joe

Reputation: 13091

How to set AWS Lambda execution for longer than 15min (fire and forget)?

I have a need to create a Glue EndPoint using Lambda.

For creating 1 EndPoint it takes about 20min.
Lambda upper limit is 15min.

How to fire & forget lambda so that can execute creating Glue EndPoint even if it takes longer than 15min?

Thanks.

Upvotes: 0

Views: 2828

Answers (1)

Deiv
Deiv

Reputation: 3097

Lambda's cannot run for longer than 15 minutes in a single execution, you can see this info in the docs.

If you know that this operation might take longer than 15 minutes, consider using an ec2 instance with a process running on it, that way there is no timeout limitation.

Upvotes: 1

Related Questions