[AWS]解决一个lambda无法访问internet的问题

在Public Subnet的Lambda访问internet, timeout error. 经查,因为lambda应该放在Private Subnet, whose route table contains route that has NAT Gateway, who is sitting at Public Subnet, whose route table contains route that has Internet Gateway.

相关文档:https://aws.amazon.com/premiumsupport/knowledge-center/internet-access-lambda-function/

Subscribe to 隅

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe