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?

preguntada hace 10 meses626 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace 10 meses
  • 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?

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas