QuestionQ55

VerifiedDesign Solutions for Organizational Complexity

A company uses Amazon API Gateway to deploy a private REST API that provides access to sensitive data. The API must be reachable only from an application deployed in a VPC. The company deploys the API successfully; however, an Amazon EC2 instance deployed in the VPC cannot access the API.

Which solution will provide connectivity between the EC2 instance and the API?

Explanation

Private API Gateway REST APIs are accessible from within a VPC only through an interface VPC endpoint for API Gateway. The API resource policy can restrict access using the endpoint ID, the endpoint policy can grant execute-api:Invoke, and enabling private DNS allows the API’s standard endpoint DNS names to resolve privately through that endpoint. A VPC Link is for API Gateway to reach private backend integrations, not for clients to invoke a private API.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!