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 réponse
0
Réponse acceptée

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
répondu il y a 4 ans

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