<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/rss/stylesheet/" type="text/xsl"?>
<rss xmlns:content='http://purl.org/rss/1.0/modules/content/' xmlns:taxo='http://purl.org/rss/1.0/modules/taxonomy/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:itunes='http://www.itunes.com/dtds/podcast-1.0.dtd' xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:atom='http://www.w3.org/2005/Atom' xmlns:podbridge='http://www.podbridge.com/podbridge-ad.dtd' version='2.0'>
<channel>
  <title>untitled</title>
  <language>en-us</language>
  <generator>microfeed.org</generator>
  <itunes:type>episodic</itunes:type>
  <itunes:explicit>false</itunes:explicit>
  <atom:link rel="self" href="https://my-blog-dxh.pages.dev/rss/" type="application/rss+xml"/>
  <link>https://my-blog-dxh.pages.dev</link>
  <itunes:image href="https://my-blog-dxh.pages.dev/assets/default/channel-image.png"/>
  <image>
    <title>untitled</title>
    <url>https://my-blog-dxh.pages.dev/assets/default/channel-image.png</url>
    <link>https://my-blog-dxh.pages.dev</link>
  </image>
  <copyright>©2025</copyright>
  <item>
    <title>ZS 使用 Network Orchestration for AWS Transit Gateway 优化成本和扩展案例分析</title>
    <guid>2n127uTVAC_</guid>
    <pubDate>Tue, 23 Dec 2025 06:11:40 GMT</pubDate>
    <itunes:explicit>false</itunes:explicit>
    <description>
      <![CDATA[<h1
id="zs-使用-network-orchestration-for-aws-transit-gateway-优化成本和扩展案例分析">ZS
使用 Network Orchestration for AWS Transit Gateway
优化成本和扩展案例分析</h1>
<blockquote>
<p><strong>原文</strong>：How ZS Used Network Orchestration for AWS
Transit Gateway to Optimize Costs and Scale Up
<strong>链接</strong>：https://aws.amazon.com/blogs/networking-and-content-delivery/how-zs-used-network-orchestration-for-aws-transit-gateway-to-optimize-costs-and-scale-up/
<strong>发布日期</strong>：2024-01-23</p>
</blockquote>
<hr />
<h2 id="一公司背景">一、公司背景</h2>
<p><strong>ZS</strong>
是一家专注于全球医疗保健领域的管理咨询和技术公司，在 AWS
上托管多个客户应用。随着业务增长，其网络架构变得复杂，横跨多个 AWS
区域和账户。</p>
<hr />
<h2 id="二原有架构与痛点">二、原有架构与痛点</h2>
<h3 id="原有架构">2.1 原有架构</h3>
<p>ZS 原本依赖<strong>第三方工具</strong>（基于 Amazon EC2
实例）来管理内部网络，该工具负责：</p>
<table>
<thead>
<tr>
<th>功能</th>
<th>实现方式</th>
</tr>
</thead>
<tbody>
<tr>
<td>路由编排</td>
<td>第三方 EC2 实例</td>
</tr>
<tr>
<td>防火墙负载均衡</td>
<td>第三方 EC2 实例</td>
</tr>
<tr>
<td>NAT 网关 / FQDN 过滤</td>
<td>第三方 NAT 实例</td>
</tr>
<tr>
<td>IPsec VPN 隧道</td>
<td>第三方设备</td>
</tr>
<tr>
<td>网络可视化</td>
<td>第三方工具</td>
</tr>
</tbody>
</table>
<p><strong>核心组件</strong>： - <strong>Spoke 账户 A</strong>：VPC 通过
Transit Gateway VPC 附件连接到网络账户的 Transit Gateway - <strong>Spoke
账户 B</strong>：需要 FQDN 过滤的 VPC 流量经过第三方 NAT 实例 -
<strong>安全账户</strong>：托管第三方 EC2 实例（用于负载均衡和防火墙） -
<strong>网络账户</strong>：包含 Transit Gateway，并通过 RAM
共享给组织内其他账户</p>
<p><strong>流量路径</strong>：</p>
<pre><code>Spoke VPC → Transit Gateway → 安全账户第三方实例 → 互联网/其他VPC/IPsec隧道</code></pre>
<h3 id="痛点">2.2 痛点</h3>
<ol type="1">
<li><strong>成本高</strong>：EC2 实例和第三方许可费用</li>
<li><strong>运维复杂</strong>：需要持续补丁、升级和维护</li>
<li><strong>与 AWS 服务集成度低</strong>：缺乏自动化能力</li>
<li><strong>扩展困难</strong>：手动配置路由，难以快速扩展</li>
</ol>
<hr />
<h2 id="三解决方案aws-原生服务替换">三、解决方案：AWS 原生服务替换</h2>
<p>ZS 采用 AWS 原生服务替换第三方工具：</p>
<table>
<colgroup>
<col style="width: 55%" />
<col style="width: 44%" />
</colgroup>
<thead>
<tr>
<th>原有方案</th>
<th>新方案</th>
</tr>
</thead>
<tbody>
<tr>
<td>第三方路由编排工具</td>
<td><strong>Network Orchestration for AWS Transit Gateway</strong></td>
</tr>
<tr>
<td>第三方负载均衡器</td>
<td><strong>Gateway Load Balancer (GWLB)</strong></td>
</tr>
<tr>
<td>第三方 NAT/FQDN 过滤</td>
<td>防火墙虚拟设备 + GWLB + TGW</td>
</tr>
<tr>
<td>第三方可视化工具</td>
<td>Network Orchestration 仪表盘 + AWS Global Network View</td>
</tr>
</tbody>
</table>
<hr />
<h2 id="四network-orchestration-for-aws-transit-gateway">四、Network
Orchestration for AWS Transit Gateway</h2>
<h3 id="核心组件">4.1 核心组件</h3>
<p>Network Orchestration 基于以下 AWS 服务构建：</p>
<ul>
<li><strong>CloudFormation</strong>：基础设施即代码</li>
<li><strong>EventBridge</strong>：事件驱动自动化</li>
<li><strong>Lambda</strong>：无服务器计算</li>
<li><strong>Step Functions</strong>：工作流编排</li>
</ul>
<h3 id="部署架构">4.2 部署架构</h3>
<table>
<thead>
<tr>
<th>堆栈类型</th>
<th>部署位置</th>
<th>功能</th>
</tr>
</thead>
<tbody>
<tr>
<td>管理堆栈</td>
<td>组织管理账户</td>
<td>集中管理和审批</td>
</tr>
<tr>
<td>中心堆栈</td>
<td>网络账户（TGW 所在）</td>
<td>路由表管理</td>
</tr>
<tr>
<td>Spoke 模板</td>
<td>所有 Spoke 账户</td>
<td>VPC 自动注册</td>
</tr>
</tbody>
</table>
<h3 id="自动化路由管理">4.3 自动化路由管理</h3>
<p>通过 <strong>VPC 标签</strong> 触发自动化路由变更： - 自动关联路由表
- 自动传播路由 - 支持变更审批流程</p>
<h3 id="静态路由补充">4.4 静态路由补充</h3>
<p>通过 CloudFormation 自定义资源（Lambda 函数）添加静态路由。</p>
<hr />
<h2 id="五gateway-load-balancer-gwlb-配置">五、Gateway Load Balancer
(GWLB) 配置</h2>
<h3 id="部署架构-1">5.1 部署架构</h3>
<ul>
<li>在<strong>安全账户</strong>部署 GWLB 和防火墙实例</li>
<li>使用 <strong>GWLB 端点</strong>（VPC 端点）接收 Transit Gateway
流量</li>
<li>通过 <strong>GENEVE 协议</strong>将流量封装后发送至防火墙</li>
</ul>
<h3 id="流量路径优化">5.2 流量路径优化</h3>
<table>
<thead>
<tr>
<th>流量类型</th>
<th>路径</th>
</tr>
</thead>
<tbody>
<tr>
<td>互联网流量</td>
<td>防火墙 → IGW</td>
</tr>
<tr>
<td>内部流量</td>
<td>Transit Gateway → 目标 VPC</td>
</tr>
<tr>
<td>IPsec 流量</td>
<td>专用防火墙设备处理</td>
</tr>
</tbody>
</table>
<hr />
<h2 id="六实施成果">六、实施成果</h2>
<h3 id="成本优化">6.1 成本优化</h3>
<ul>
<li>消除第三方 EC2 实例费用</li>
<li>消除第三方许可费用</li>
<li>利用 Serverless 架构降低运维成本</li>
</ul>
<h3 id="运维简化">6.2 运维简化</h3>
<ul>
<li>基于 Serverless 架构（Lambda、EventBridge 等）</li>
<li>减少补丁和升级工作</li>
<li>自动化路由管理</li>
</ul>
<h3 id="可靠性提升">6.3 可靠性提升</h3>
<ul>
<li>利用 GWLB 的高可用性</li>
<li>利用 Transit Gateway 的高可用性</li>
<li>消除单点故障</li>
</ul>
<h3 id="扩展性增强">6.4 扩展性增强</h3>
<ul>
<li>自动化路由编排支持快速扩展新 VPC</li>
<li>支持多区域部署</li>
<li>标签驱动的自动化</li>
</ul>
<h3 id="可视化改进">6.5 可视化改进</h3>
<ul>
<li>Network Orchestration 仪表盘集中管理</li>
<li>AWS Global Network View 全局视图</li>
</ul>
<hr />
<h2 id="七关键技术要点">七、关键技术要点</h2>
<ol type="1">
<li><strong>Network Orchestration for AWS Transit Gateway</strong>：AWS
提供的开源解决方案，用于自动化 TGW 路由管理</li>
<li><strong>Gateway Load
Balancer</strong>：第三层负载均衡器，支持透明网络网关（防火墙、IDS/IPS）</li>
<li><strong>GENEVE 协议</strong>：GWLB
使用的封装协议，保留原始流量信息</li>
<li><strong>标签驱动自动化</strong>：通过 VPC 标签触发路由变更，实现
GitOps 风格管理</li>
</ol>
<hr />
<h2 id="八适用场景">八、适用场景</h2>
<ul>
<li>多账户、多区域的企业级 AWS 网络架构</li>
<li>需要集中化防火墙检查的场景</li>
<li>希望从第三方网络工具迁移到 AWS 原生服务</li>
<li>需要自动化路由管理和变更审批</li>
</ul>
<hr />
<h2 id="九参考资源">九、参考资源</h2>
<table>
<colgroup>
<col style="width: 50%" />
<col style="width: 50%" />
</colgroup>
<thead>
<tr>
<th>资源</th>
<th>链接</th>
</tr>
</thead>
<tbody>
<tr>
<td>Network Orchestration for AWS Transit Gateway</td>
<td>https://aws.amazon.com/solutions/implementations/network-orchestration-aws-transit-gateway/</td>
</tr>
<tr>
<td>Gateway Load Balancer 文档</td>
<td>https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/</td>
</tr>
<tr>
<td>Transit Gateway 文档</td>
<td>https://docs.aws.amazon.com/vpc/latest/tgw/</td>
</tr>
</tbody>
</table>
<hr />
<p><em>分析日期：2025-12-23</em></p>
]]>
    </description>
    <link>https://my-blog-dxh.pages.dev/i/zs-network-orchestration-for-aws-transit-gatewa-2n127uTVAC_/</link>
  </item>
</channel>
</rss>