Which type of endpoint should a solutions architect use to meet these requirements?
Private endpoint
Regional endpoint
Interface VPC endpoint
Edge-optimized endpoint
Explanations:
Private endpoints are designed for communication between resources within a VPC and are not accessible over the public internet. They are not suitable for a globally distributed user base as they do not provide public access, resulting in higher latency for users outside the VPC.
Regional endpoints are designed to serve requests within a specific AWS region. While they reduce latency compared to accessing a global endpoint, they do not leverage AWS’s global infrastructure for users distributed across multiple regions, which could lead to increased latency for geographically distant users.
Interface VPC endpoints are used to privately connect VPC resources to services powered by AWS PrivateLink. Like private endpoints, they are not designed for public internet access, making them unsuitable for globally distributed users, as they can only be accessed from within the VPC or via a VPN.
Edge-optimized endpoints are designed to minimize latency for users across the globe. They leverage the AWS CloudFront content delivery network, allowing API Gateway to route requests to the nearest edge location. This significantly improves response times for geographically distributed users.