<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>privatelink on </title>
    <link>/tags/privatelink/</link>
    <description>Recent content in privatelink on </description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 14 Sep 2026 06:17:25 +0800</lastBuildDate><atom:link href="/tags/privatelink/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>AWS 的 gateway endpoint 和 interface endpoint 怎么选</title>
      <link>/posts/vpc-gateway-vs-interface-endpoint/</link>
      <pubDate>Mon, 14 Sep 2026 06:17:25 +0800</pubDate>
      
      <guid>/posts/vpc-gateway-vs-interface-endpoint/</guid>
      <description>aws ec2 describe-vpc-endpoint-services 会把一个区里能建 endpoint 的服务名都列出来，每条带一个 ServiceType。CLI 文档里这个字段的取值只有三个，Interface、Gateway 和 GatewayLoadBalancer，它同时也能当过滤条件用：
aws ec2 describe-vpc-endpoint-services --region ap-northeast-1 \ --filters Name=service-type,Values=Gateway \ --query &amp;#39;ServiceDetails[].ServiceName&amp;#39; --output text 这条命令能在自己的区里核一遍。gateway endpoint 文档开篇就把范围写死了：
Gateway VPC endpoints provide reliable connectivity to Amazon S3 and DynamoDB without requiring an internet gateway or a NAT device for your VPC. Gateway endpoints do not use AWS PrivateLink, unlike other types of VPC endpoints.
价格那一半在 NAT Gateway 那篇里按东京区算过：gateway endpoint 不收钱，interface endpoint 有小时费和每 GB 费，月流量到 600 GB 上下才开始省。这篇整理的是价格之外那几条分界，它们通常在算钱之前就把选择定死了。</description>
    </item>
    
  </channel>
</rss>
