Interface VPC Endpoints
Access Point: Private IP addresses from VPC subnet
On-premises: Allows access
Other AWS Region: Allows access
Cost: Billed
Bandwidth: Up to 10 Gbps per AZ, scales to 100 Gbps
Packet Size: Maximum 8500 bytes
When you successfully deploy a workload on an EC2 instance in a private subnet but need access to managed AWS services like Amazon S3, there’s no direct connectivity from the EC2 instance within your VPC to the Amazon S3 bucket since S3 operates outside your VPC.
Amazon S3 buckets can be reached with a public Region access point from VPC resources, but this approach:
A more direct and secure solution is to use VPC endpoints, which provide private connectivity between VPCs and managed AWS services.
Interface VPC endpoints use AWS PrivateLink to privately connect your VPC to AWS managed services as if they were in your VPC.
An elastic network interface is a logical networking component in a VPC representing a virtual network card. For interface VPC endpoints:
Specify Service: Choose the AWS service, endpoint service, or AWS Marketplace service to connect to
Choose VPC: Select VPC where you want to create the interface endpoint
Select Subnet: Choose subnet that will use the interface endpoint
Configure Security Groups: Specify security groups for the network interface
Gateway VPC endpoints connect directly to Amazon S3 and Amazon DynamoDB using route tables, not using AWS PrivateLink.
Interface VPC Endpoints
Access Point: Private IP addresses from VPC subnet
On-premises: Allows access
Other AWS Region: Allows access
Cost: Billed
Bandwidth: Up to 10 Gbps per AZ, scales to 100 Gbps
Packet Size: Maximum 8500 bytes
Gateway VPC Endpoints
Access Point: Amazon S3 public IP addresses On-premises: Does not allow access Other AWS Region: Does not allow access Cost: Not billed Bandwidth: No limit Packet Size: No limit
When choosing between interface and gateway VPC endpoints for S3:
Gateway Load Balancer endpoints provide private connectivity between security appliances and application instances across different VPCs.
Ideal for scenarios requiring traffic inspection with security appliances while maintaining separation between application and security infrastructure.
Best for:
Consider:
Best for:
Limitations:
VPC endpoints provide secure, private connectivity to managed AWS services without internet routing, with interface endpoints offering broad service support and gateway endpoints providing cost-effective access to S3 and DynamoDB.