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 Resposta
0
Resposta aceita

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
ENGENHEIRO DE SUPORTE
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas