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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则