AWS VPC Endpoints
- VPC Endpoints enable the creation of a private connection between VPC to supported AWS services and VPC endpoint services powered by PrivateLink using its private IP address
- Endpoints do not require a public IP address, access over the Internet, NAT device, a VPN connection, or AWS Direct Connect.
- Traffic between VPC and AWS service does not leave the Amazon network
- Endpoints are virtual devices, that are horizontally scaled, redundant, and highly available VPC components that allow communication between instances in the VPC and AWS services without imposing availability risks or bandwidth constraints on your network traffic.
- AWS currently supports the following types of Endpoints
- VPC Gateway Endpoints – target for a route in a route table (S3 and DynamoDB only, free)
- VPC Interface Endpoints (PrivateLink) – ENI-based, supports 100+ AWS services
- VPC Resource Endpoints (GA Dec 2024) – direct access to VPC resources (e.g., RDS, EC2 instances, IP/domain targets) across accounts without a load balancer
- Gateway Load Balancer Endpoints – route traffic to network virtual appliances (firewalls, IDS/IPS) deployed behind a Gateway Load Balancer

VPC Gateway Endpoints
- A VPC Gateway Endpoint is a gateway that is a target for a specified route in the route table, used for traffic destined for a supported AWS service.
- Gateway Endpoints currently supports S3 and DynamoDB services only.
- Gateway Endpoints do not require an Internet gateway or a NAT device for the VPC.
- Gateway endpoints do not enable AWS PrivateLink.
- Gateway Endpoints are available at no additional charge.
- Gateway Endpoints do not support cross-region requests – they must be created in the same Region as the S3 bucket or DynamoDB table.
- Gateway Endpoints do not allow access from on-premises networks, from peered VPCs in other AWS Regions, or through a Transit Gateway. Use Interface Endpoints for those scenarios.
- VPC Endpoint policy and Resource-based policies can be used for fine-grained access control.
- S3 Gateway Endpoints now support IPv6 (announced November 2025) – both dual-stack and IPv6-only configurations are supported.
VPC Interface Endpoints – PrivateLink

- VPC Interface endpoints enable connectivity to services powered by AWS PrivateLink.
- Services include AWS services like CloudTrail, CloudWatch, etc., services hosted by other AWS customers and partners in their own VPCs (referred to as endpoint services), and supported AWS Marketplace partner services.
- Interface Endpoints only allow traffic from VPC resources to the endpoints and not vice versa.
- PrivateLink endpoints can be accessed across both intra- and inter-region VPC peering connections, Direct Connect, and VPN connections.
- VPC Interface Endpoints, by default, have an address like
vpce-svc-01234567890abcdef.us-east-1.vpce.amazonaws.comwhich needs application changes to point to the service. - Private DNS name feature allows consumers to use AWS service public default DNS names which would point to the private VPC endpoint service.
- Interface Endpoints can be used to create custom applications in VPC and configure them as an AWS PrivateLink-powered service (referred to as an endpoint service) exposed through a Network Load Balancer.
- Custom applications can be hosted within AWS or on-premises (via Direct Connect or VPN)
- Interface Endpoints are billed per hour per AZ provisioned, plus per-GB data processing charges. See AWS PrivateLink Pricing.
Cross-Region PrivateLink (GA November 2024)
- AWS PrivateLink now supports native cross-region connectivity, breaking the previous limitation that VPC endpoints were regional-only.
- As a service consumer, you can privately connect to VPC endpoint services hosted in other AWS Regions within the same partition, without cross-region peering or exposing data to the public internet.
- As a service provider, you can offer your endpoint service to customers in all Regions from a single Region without deploying infrastructure in each Region.
- Cross-region connectivity for custom endpoint services (customer-hosted) launched Nov 2024.
- Cross-region connectivity for AWS services (e.g., S3, ECR, Route 53) launched Nov 2025.
- Traffic remains on the AWS backbone and does not traverse the public internet.
- Available within the same AWS partition (commercial, GovCloud, China) across all supported Regions.
VPC Resource Endpoints (GA December 2024)
- Resource Endpoints are a new type of VPC endpoint introduced at re:Invent 2024 that provide private access to specific VPC resources across accounts.
- Resource Endpoints allow you to privately access a resource (e.g., an RDS database, EC2 instance, IP address, or domain name) in another VPC without requiring a Network Load Balancer.
- A VPC resource is represented by a resource configuration, which is associated with a resource gateway.
- Resources can be shared across accounts using AWS Resource Access Manager (RAM).
- Supports TCP traffic only (UDP is not supported).
- Network connections must be initiated from the VPC containing the resource endpoint (unidirectional).
- Currently supported ARN-based resources include Amazon RDS instances.
- Also supports connectivity to any resource by IP address or domain name target.
- DNS names are automatically provisioned with format:
endpoint_id.rcfgId.randomHash.vpc-lattice-rsc.region.on.aws - Private DNS is supported for ARN-based resources (e.g., RDS), allowing continued use of the resource’s original DNS name.
- Supports IPv4, IPv6, and dual-stack addressing.
- Integrates with Amazon VPC Lattice for advanced service networking scenarios.
- Billed per hour per endpoint provisioned, plus per-GB data processing. Resource gateways billed per-GB data processed.
Gateway Load Balancer Endpoints
- Gateway Load Balancer (GWLB) Endpoints provide private connectivity between your VPC and network virtual appliances (firewalls, IDS/IPS, deep packet inspection) deployed in a service provider VPC behind a Gateway Load Balancer.
- GWLB Endpoints serve as an entry/exit point in your VPC for traffic inspection.
- Used as a target in route tables to transparently route traffic through security appliances.
- Each GWLB endpoint can support up to 10 Gbps per AZ and auto-scales up to 100 Gbps.
- Supports ingress routing from Internet Gateway and Virtual Private Gateway for inline traffic inspection.
- Commonly used in centralized security inspection architectures with AWS Transit Gateway.
S3 VPC Endpoints Strategy
S3 is now accessible with both Gateway Endpoints and Interface Endpoints.
- Gateway Endpoint – Free, route-table based, same-Region only, no on-premises or cross-region access. Recommended for most in-Region workloads.
- Interface Endpoint – Hourly + per-GB charges, ENI-based, accessible from on-premises (via Direct Connect/VPN), across VPC peering, Transit Gateway, and now cross-region (via Cross-Region PrivateLink, Nov 2025).
- Both Gateway and Interface VPC Endpoints for S3 now support IPv6 (November 2025).

VPC Endpoint Policies & Security
- VPC Endpoint policies control which AWS principals can use the endpoint to access the service.
- Endpoint policies can be attached to Gateway, Interface, and Resource endpoints.
- Security groups can be attached to Interface and Resource endpoints to control inbound/outbound traffic.
- New IAM Condition Keys (August 2025) for organization-wide network perimeter controls:
aws:VpceAccount– Restrict requests based on the account that owns the VPC endpoint.aws:VpceOrgID– Restrict based on the AWS Organization ID of the endpoint owner.aws:VpceOrgPaths– Restrict based on organizational unit paths of the endpoint owner.
- These new keys complement the existing
aws:sourceVpceandaws:sourceVpccondition keys and enable scalable network perimeter controls across entire AWS Organizations without hard-coding VPC endpoint IDs.
AWS Certification Exam Practice Questions
- Questions are collected from Internet and the answers are marked as per my knowledge and understanding (which might differ with yours).
- AWS services are updated everyday and both the answers and questions might be outdated soon, so research accordingly.
- AWS exam questions are not updated to keep up the pace with AWS updates, so even if the underlying feature has changed the question might not be updated
- Open to further feedback, discussion and correction.
- You have an application running on an Amazon EC2 instance that uploads 10 GB video objects to amazon S3. Video uploads are taking longer than expected inspite of using multipart upload cause of internet bandwidth, resulting in poor application performance. Which action can help improve the upload performance?
- Apply an Amazon S3 bucket policy
- Use Amazon EBS provisioned IOPS
- Use VPC endpoints for S3
- Request a service limit increase
- What are the services supported by VPC endpoints, using Gateway endpoint type? Choose 2 answers
- Amazon S3
- Amazon EFS
- Amazon DynamoDB
- Amazon Glacier
- Amazon SQS
- What are the different types of endpoint types supported by VPC endpoints? Choose 2 Answers [Note: As of 2024, AWS now supports additional endpoint types including Resource Endpoints and Gateway Load Balancer Endpoints. This question reflects the original SAA exam scope.]
- Gateway
- Classic
- Interface
- Virtual
- Network
- An application running on EC2 instances processes sensitive information stored on Amazon S3. The information is accessed over the Internet. The security team is concerned that the Internet connectivity to Amazon S3 is a security risk. Which solution will resolve the security concern?
- Access the data through an Internet Gateway.
- Access the data through a VPN connection.
- Access the data through a NAT Gateway.
- Access the data through a VPC endpoint for Amazon S3.
- You need to design a VPC for a three-tier architecture, a web application consisting of an Elastic Load Balancer (ELB), a fleet of web/application servers, and a backend consisting of an RDS database. The entire Infrastructure must be distributed over 2 availability zones. Which VPC configuration works while assuring the least components are exposed to Internet?
- Two public subnets for ELB, two private subnets for the web-servers, two private subnets for RDS and DynamoDB
- Two public subnets for ELB and web-servers, two private subnets for RDS and DynamoDB
- Two public subnets for ELB, two private subnets for the web-servers, two private subnets for RDS and VPC Endpoints for DynamoDB
- Two public subnets for ELB and web-servers, two private subnets for RDS and VPC Endpoints for DynamoDB
- A company needs to access Amazon S3 buckets in a different AWS Region privately without exposing traffic to the public internet. Which solution should they use?
- Use Gateway VPC Endpoints for cross-region S3 access
- Use Interface VPC Endpoints with Cross-Region PrivateLink for S3
- Set up VPC peering between regions and use Gateway Endpoints
- Use AWS Direct Connect with public VIF
- A SaaS provider needs to give customers in multiple AWS accounts private access to an Amazon RDS database without deploying a Network Load Balancer. Which solution meets this requirement?
- Create a VPC peering connection to each customer account
- Use an Interface VPC Endpoint with an NLB in front of the RDS instance
- Create a resource configuration for the RDS instance and share it via AWS RAM, allowing customers to create Resource Endpoints
- Use AWS Transit Gateway to connect all customer VPCs
- A security team wants to ensure that all API requests from their AWS Organization pass through their organization’s VPC endpoints, without hard-coding individual endpoint IDs in policies. Which approach should they use?
- Use
aws:sourceVpcecondition key with wildcard values - Use
aws:sourceVpccondition key listing all VPC IDs - Use
aws:VpceOrgIDcondition key to validate requests originate from endpoints owned by their organization - Create a custom IAM policy for each VPC endpoint
- Use
References
AWS PrivateLink – VPC Endpoints
Access VPC Resources through AWS PrivateLink
AWS Announces Access to VPC Resources over PrivateLink (Dec 2024)
AWS PrivateLink Cross-Region Connectivity (Nov 2024)
Cross-Region PrivateLink for AWS Services (Nov 2025)
IPv6 for Amazon S3 VPC Endpoints (Nov 2025)
