Re-Enable lambda recursive invocation detection

0

Recently we recieved an alert from aws mentioning about the new feature of recursive invocation detection, and added that a couple of lambda functions had recursive invocations in the last 3 months. To avoid the service disruption, they have disabled this feature for my account. As per the email i need to contact customer support to enable this again.

How do I enable this feature as i don't have any support plans to contact and raise a customer support case?

질문됨 10달 전626회 조회
1개 답변
0

Hi - Unintentional recursive loops can result in unexpected charges being billed to your AWS account. Loops can also cause Lambda to scale and use all of your account's available concurrency. To help reduce the impact of unintentional loops, Lambda can detect certain types of recursive loops shortly after they occur. When Lambda detects a recursive loop, it stops your function being invoked and notifies you.

To prevent a reoccurrence of a recursive loop that Lambda has broken, do the following:

  • Reduce your function's available concurrency to zero, which throttles all future invocations.
  • Remove or disable the trigger or event source mapping that's invoking your function.
  • Identify and fix code defects that write events back to the AWS resource that's invoking your function. A common source of defects occurs when you use variables to define a function's event source and target. Check that you're not using the same value for both variables.

Additionally, if the event source for your Lambda function is an Amazon SQS queue, then consider configuring a dead-letter queue on the source queue.

If you have a Basic Support plan and require one-on-one technical support, you can upgrade your Support plan. For more information, see How do I change my AWS Support plan?

profile pictureAWS
전문가
답변함 10달 전
  • Thanks, right now this feature of loop detection is disabled. Is there any way i can request to re-enable this without upgrading my support plan?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠