can i call a lambda function from ecs fargate instance

0

My question is simple. Is it possible to call a lambda function from an ecs fargate instance in a private subnet? If it's possible how can achieve that.

Thank you.

preguntada hace un año2408 visualizaciones
1 Respuesta
0
Respuesta aceptada

Hello ahmet nash,

You can invoke a lambda function from within an ECS Fargate tasks that is running in a private subnet.

For this to work, you can create Interface VPC Endpoints for Lambda in your VPC.

This will establish a network connection between your VPC and AWS Lambda Service, which will allow your ECS tasks to perform Lambda Invoke API operations.

I hope this information is helpful!

profile pictureAWS
INGENIERO DE SOPORTE
respondido hace un año

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