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ヶ月前627ビュー
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?

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ