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 個回答
0
已接受的答案

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
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南