There are 2 types of VPC endpoints: interface endpoints and gateway endpoints. When should you use one over the other?

VPC endpoints

  • Gateway endpoint is a target for a specific route in your route table. Gateway endpoints are free, but they only support connections to S3 and DynamoDB.
  • Interface endpoint is an Elastic Network Interface (ENI) with a private IP address. If you need a VPC endpoint to other AWS services besides S3 and DynamoDB, you need to use an interface endpoint, which comes with some costs.