Can you have two API Gateway API methods integrate with Lambda functions in different VPCs?

0

Are there any potential issues to be aware of in an architecture where you integrate two public API Gateway API methods with two Lambda functions that are in different VPCs?

For example:

/resource1 -> lambda function 1 -> VPC A

/resource2 -> lambda function 2 -> VPC B

1 Resposta
0
Resposta aceita

Not really. That's the advantage of microservices: Not all of your resources need to be in the same VPC. However, it's important to keep in mind the best practice of granting the minimal number of privileges to your functions that are necessary. For more information, see Applying the principles of least privilege in the Lambda operator guide.

profile pictureAWS
respondido há 4 anos

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