Calling Private API from Lambda in VPC

0

Hi,

A customer is trying to invoke a private API Gateway from a Lambda in a VPC, there is a VPC endpoint configured in the VPC pointing to the private API Gateway. They are able to invoke the private API Gateway from an EC2 instance in the same VPC via the VPC endpoint, however if they try and do the same from the Lambda in the VPC they get no response. The resource policy on the private API Gateway is configured to allow all traffic from the VPC.

Does anyone know if this is a viable configuration and if so any references would be much appreciated. If this is not a viable configuration is it because the Lambda is actually in an AWS managed VPC so can't use the VPC endpoint in the customer VPC?

Even after a lot of searching I can't find any references to calling a private API Gateway from a Lambda so any help would be really appreciated

1回答
0
承認された回答

This blog post has an example of a VPC attached Lambda function invoking a private API Gateway.

AWS
エキスパート
回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ