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.

1 réponse
0
Réponse acceptée

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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions