title: Public IP address for AWS API Gateway & Lambda (no VPC)
body: <p>I have provisioned an AWS API Gateway and created a Lambda function to connect to an external REST API. The API Gateway &amp; Lambda is not in a VPC so the egress IP address is random. The challenge I have is the external REST API is behind a firewall, which requires the IP address or subnet of the Lambda to be whitelisted.</p>
  
  <p>I have looked at the AWS IP Address page (below), however there is no explicit mention of either API Gateway or Lambda.</p>
  
  <p><a href="https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html#filter-json-file" rel="nofollow noreferrer">https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html#filter-json-file</a></p>
  
  <p>Has anyone come across this before &amp; found a resolution to it. For the purposes  of this solution I cannot put the API Gateway &amp; Lambdas in a VPC.</p>
  
  <p>Any help would be greatly appreciated!</p>