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.

posta un anno fa2407 visualizzazioni
1 Risposta
0
Risposta accettata

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
TECNICO DI SUPPORTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande