Process more volume files in lambda

0

Hi I am trying to create new volume based on the existing instance

instance - snapshot - (copy) - taking volume -- create new volume in lambda function My logic is running upto 60 GB but getting timed out from lambda more than 60 GB . . Could you please help me which on service i need to use for more size of volumes

Appreciate your help

已提問 2 個月前檢視次數 254 次
2 個答案
2

For operations that involve large volumes that result in timeouts in Lambda, consider the following alternatives:

  • Ensure your Lambda function has the maximum allowed execution time (15 minutes) and sufficient memory.
  • Use AWS Step Functions to orchestrate workflows that exceed Lambda's 15-minute limit by breaking the process into smaller steps.
  • Look into AWS DataSync for efficient data transfer tasks, especially for large datasets.
  • Employ AWS Elastic File System (EFS) with Lambda for handling large datasets beyond Lambda’s storage limit.

If this has answered your question or was helpful, accepting the answer would be greatly appreciated. Thank you!

profile picture
專家
已回答 2 個月前
profile picture
專家
已審閱 2 個月前
profile picture
專家
已審閱 2 個月前
0

I would use StepFunctions instead of Lambda. There is no need to pay for the Lambda duration while it is waiting for the snapshot to finish. You can have a state to snapshot the volume directly, no need to invoke a Lambda function.

profile pictureAWS
專家
Uri
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南