AWS · Advanced Networking Specialty

网络课程笔记

Lecture 146 · 16 张幻灯片

幻灯片、双语总结及 Transcript · 图片已内嵌,可离线阅读。

原文默认收起
lecture-146.md

Lecture 146: DX Architecture - Putting it together

  • 课程:[NEW] AWS Certified Advanced Networking Specialty 2026
  • 视频时长:09:06
  • 来源:Udemy Lecture 37223004
  • Slide 数量:16
  • 画面切换:01:04、01:34、01:58、02:58、03:34、03:56、04:14、04:31、04:49、04:59、05:21、06:02、07:03、08:07、08:43

扫描说明

逐条检查了 Udemy 页面中的 118 条 Transcript cue,并扫描了全长约 9:06 的视频。该讲以逐步构建的企业级 Direct Connect 架构图为主,按标题、多区域与数据中心、账户与 VPC 分类、集中式网络枢纽、区域 Transit Gateway、跨区域对等、DX 位置、Transit VIF 与 DX Gateway、SiteLink、VPN 备份、Private VIF、Public VIF 及最终架构回顾,共划分为 16 个小节。最终截图均在精确 Transcript cue 定位后关闭错误提示与 Transcript 侧栏、恢复完整横向播放器,并让视频短暂播放以隐藏中央控件;16 张图片均无黑边、无顶部课程栏、无底部或中心播放器控件,也无右侧或下方裁切,并统一输出为 1364×770。

Transcript 来自 Udemy 页面自带的英文自动字幕,没有使用 ASR。下面保留页面原文,包括其中的语法或识别错误。

1. 企业级 DX 架构目标

时间范围:00:00–01:04

AWS Direct Connect Architecture Putting it together title slide

总结 / Summary

中文

本讲把前面学到的 AWS Direct Connect(DX)组件组合成面向大型企业的参考架构,目标是覆盖多地理区域(Geography)、多个 AWS 区域(AWS Region)和多个本地数据中心(On-Premises Data Center)的常见连接需求。

English

This lecture combines the previously covered AWS Direct Connect components into a reference architecture for large enterprises operating across multiple geographies, AWS Regions, and on-premises data centers.

Transcript

00:00 Okay.

00:00 So based on what we learned in the direct connect section and based on my understanding of networking

00:07 and reading a lot of white papers and looking at various architecture, I have tried putting together

00:14 the architecture, which probably should work for most of the large enterprises.

00:19 Now there could be a different variants of the architecture, but then I have tried covering all the

00:25 aspects which you probably think while designing the direct connect architecture for large enterprises.

00:31 So let's dive deep into this architecture.

00:36 So imagine you are a large enterprise.

00:39 That means you have operations into multiple geographies.

00:43 So you must be using the multiple AWS region as well as you would have multiple data centers as you

00:51 are operating your networks from.

00:53 And in all likelihood, you would want to connect all these data centers to AWS regions and applications

01:01 running inside those regions as well.

01:04 So this is a sample architecture where there are multiple regions and then you have two data centers

2. 多区域与多数据中心基础拓扑

时间范围:01:04–01:34

Three AWS Regions and two customer data centers in the base architecture

总结 / Summary

中文

基础拓扑包含多个 AWS 区域(AWS Region)以及位于美国和新加坡的客户数据中心(Customer Data Center),后续所有云端与本地连接都在这一框架上逐步添加。

English

The base topology contains multiple AWS Regions plus customer data centers in the United States and Singapore. All cloud and on-premises connectivity is added incrementally on top of this structure.

Transcript

01:09 just for simplicity, one in us and one in Singapore.

01:13 And of course being a large enterprise, you would have multiple AWS accounts and these accounts will

01:18 be across multiple regions.

01:21 Let's assume that one of the applications sits only in one account and in one particular region, right?

01:26 So likewise you would have multiple accounts and in that accounts you will have multiple vpcs and likewise

3. 多账户、VPC 与公共服务

时间范围:01:34–01:58

Multiple AWS accounts VPCs and Amazon S3 across regions

总结 / Summary

中文

大型企业通常在多个 AWS 账户(AWS Account)中运行多个虚拟私有云(Virtual Private Cloud,VPC),同时还需要从本地访问 Amazon S3 等公共 AWS 服务(Public AWS Service),并支持 VPC 到本地应用的双向通信。

English

Large enterprises typically run multiple VPCs across multiple AWS accounts while also requiring on-premises access to public AWS services such as Amazon S3 and bidirectional connectivity between VPCs and on-premises applications.

Transcript

01:34 you would have public services.

01:36 So for example, you are storing data in S3, which is accessible over the Internet, and you want to

01:42 make sure that all these services are accessible from your on prem data center as well as VPC should

01:48 also be able to access your applications running in your on premise data center.

01:53 Now out of this, I have categorized these vpcs as application vpcs.

4. 应用 VPC 与高数据传输 VPC 分流

时间范围:01:58–02:58

Application VPCs and a high data transfer VPC highlighted separately

总结 / Summary

中文

普通业务应用放在应用 VPC(Application VPC)中,而高性能计算(High Performance Computing,HPC)、媒体处理或自动驾驶仿真等高流量工作负载应单独归类为高数据传输 VPC(High Data Transfer VPC),因为它们需要不同的连接与成本优化策略。

English

Regular business workloads live in Application VPCs, while data-heavy workloads such as HPC, media processing, or autonomous-driving simulations are separated into a High Data Transfer VPC because they need different connectivity and cost-optimization choices.

Transcript

01:58 That means they have the applications which are kind of business applications.

02:03 They don't do much of the data transfer, but in certain cases you might have applications which are

02:08 very data heavy.

02:10 That means from on premises to AWS, there will be a lot of data exchange.

02:15 Now examples could be if you are running high performance cloud that is HPC compute or you are working

02:22 on some media kind of application like Netflix for example, you are uploading or downloading a lot

02:28 of data or you are running some AV.

02:31 Or autonomous driving simulations there.

02:34 Also, you upload a lot of data to AWS and also download that data back to your data center.

02:39 Now in that case, it's a separate VPC.

02:42 We are considering it as a separate case because I would suggest to go with different kind of connectivity

02:48 in that case.

02:49 Okay, so this is a setup and we want to make sure that all these vpcs can also communicate with each

02:56 other and also with the data center.

5. 集中式 Network Hub Account

时间范围:02:58–03:34

Centralized Network Hub Account added to the architecture

总结 / Summary

中文

企业不应由每个账户独立管理网络,而应建立集中式网络枢纽账户(Network Hub Account)。这与 AWS Landing Zone 的治理思想一致:由中央网络团队控制跨账户和跨 VPC 的连接,降低业务账户随意修改核心网络的风险。

English

Instead of managing networking account by account, the enterprise should use a centralized Network Hub Account. This follows the AWS Landing Zone model, where a central networking team controls cross-account and cross-VPC connectivity.

Transcript

02:58 So in enterprise world, typically you won't do it account by account, but you would have a centralized

03:04 networking hub account.

03:05 Now that also aligns with AWS landing zone concept where a centralized team takes care of the networking

03:14 and then they enable the connectivity between multiple AWS accounts and multiple vpcs so that nobody

03:21 can really change those network.

03:23 Only the network administrator of the account can make those changes.

03:27 Now this is all about AWS landing zone and the best practices, but this is how typically it will be

03:33 done.

6. 每个区域部署 Transit Gateway

时间范围:03:34–03:56

Transit Gateways deployed in the regional network hub

总结 / Summary

中文

使用 AWS Transit Gateway(TGW)作为区域路由器(Regional Router),把每个区域内的大量 VPC 连接到对应的 TGW。TGW 可扩展到数百乃至数千个 VPC,比逐个建立点对点连接更适合企业规模。

English

Deploy AWS Transit Gateway as the regional router and attach each Region's VPCs to the corresponding TGW. Transit Gateway scales to hundreds or thousands of VPCs and is more suitable for enterprise networking than point-to-point connections.

Transcript

03:34 Okay, now for connecting multiple vpcs together, you know that you should use transit gateway because

03:40 it scales as well to hundreds and thousands of vpcs and transit gateways are the regional routers.

03:46 So in every region you would have a transit gateway.

03:49 And then if you want to have inter region VPC connectivity, you would pair this transit gateways together.

7. TGW 跨区域对等

时间范围:03:56–04:14

Inter-Region Transit Gateway peering between two regions

总结 / Summary

中文

通过 Transit Gateway 对等连接(Transit Gateway Peering)互联各区域的 TGW,使一个区域中的 VPC 能经由 TGW 与其他区域的 VPC 通信,从而形成可扩展的跨区域连接网格(Inter-Region Connectivity Mesh)。

English

Use Transit Gateway peering to connect the regional TGWs, allowing VPCs in one Region to reach VPCs in another and creating a scalable inter-Region connectivity mesh.

Transcript

03:56 So which means now region one, VPC can talk to region two through this transit gateways.

04:04 And of course, you connect these vpcs to corresponding transit gateways.

04:08 So this enables a mesh kind of connectivity between the vpcs.

04:13 Moving on.

8. 为美国数据中心选择 DX Location

时间范围:04:14–04:31

US Direct Connect location added near the US customer data center

总结 / Summary

中文

美国数据中心应选择距离合适的 Direct Connect 位置(Direct Connect Location),并通过物理线路(Physical Connection)接入;距离和运营商选择会影响部署、成本与故障域。

English

The US data center should connect to an appropriate nearby Direct Connect Location through a physical circuit. Location and carrier choices affect deployment, cost, and failure domains.

Transcript

04:14 You also want to connect your data centers to the transit gateways, and you already know that you can

04:20 do that using the Transit Gateway and Direct Connect Gateway.

04:24 Now for US Data Center, you will choose the nearest direct connect location in the US.

9. 为新加坡数据中心选择 DX Location

时间范围:04:31–04:49

Direct Connect locations in both the US and Singapore

总结 / Summary

中文

新加坡数据中心同样连接到当地 Direct Connect 位置(Direct Connect Location),从而让两地数据中心分别就近进入 AWS 网络,并为后续多站点互联建立基础。

English

The Singapore data center similarly connects to a local Direct Connect Location, giving both sites local entry points into the AWS network and preparing the design for multi-site connectivity.

Transcript

04:31 Similarly for Singapore, you will choose the location in Singapore and then you will have a physical

04:36 network connectivity between your data center and this direct connect locations.

04:40 You will provision a direct connect gateway.

04:43 You will create a transit VIF on both these connections and then you will connect to the same direct

10. Transit VIF 与 DX Gateway 形成全互联

时间范围:04:49–04:59

Transit VIFs and a Direct Connect Gateway connect both DX locations to Transit Gateways

总结 / Summary

中文

在两条 Direct Connect 连接上创建传输虚拟接口(Transit Virtual Interface,Transit VIF),并关联到同一个 Direct Connect Gateway(DX Gateway)。再把 DX Gateway 与区域 TGW 关联,可让多个 VPC 与两个数据中心实现集中式全互联(Full-Mesh Connectivity)。

English

Create a Transit VIF on each Direct Connect connection and attach both to the same Direct Connect Gateway. Associating the DX Gateway with the regional TGWs provides centralized full-mesh connectivity among the VPCs and both data centers.

Transcript

04:49 connect gateway.

04:50 Now this will allow the complete mesh connectivity between all your vpcs and your data centers.

11. Transit VIF 连接细节

时间范围:04:59–05:21

Transit VIF paths from both DX locations to the shared DX Gateway

总结 / Summary

中文

共享 DX Gateway(Direct Connect Gateway)承载两地的 Transit VIF(Transit Virtual Interface),把本地 BGP 路由(BGP Routes)送入 Transit Gateway 域。该设计避免为每个区域和数据中心分别构建独立的直连路径。

English

A shared Direct Connect Gateway terminates the Transit VIFs from both sites and carries on-premises BGP routes into the Transit Gateway domain, avoiding separate Direct Connect paths for every Region and data center.

Transcript

04:59 Right.

04:59 Okay.

05:00 So this is a good option.

05:02 And we also learned recently that if you want to have the connectivity directly between your data centers,

05:09 you don't need to really route this traffic back to the transit gateway.

05:13 You can simply enable the sitelink on those transit VIF and then Sitelink can enable the routing of

12. 启用 SiteLink 优化站点互联

时间范围:05:21–06:02

SiteLink enabled over the AWS backbone between Direct Connect locations

总结 / Summary

中文

在两条 Transit VIF(Transit Virtual Interface)上启用 Direct Connect SiteLink,可让美国与新加坡数据中心之间的流量直接经过 AWS 骨干网(AWS Backbone Network),无需绕行 Transit Gateway,从而获得更直接、优化的站点到站点路径。

English

Enable Direct Connect SiteLink on both Transit VIFs so traffic between the US and Singapore data centers can traverse the AWS backbone directly without detouring through a Transit Gateway.

Transcript

05:21 the traffic over the AWS backbone network between these sites.

05:26 So this really simplifies your networking though.

05:29 This is looking complex, but this is really, really simple architecture in that sense.

05:33 So now you have the full kind of connectivity with most optimized route, and this works well.

05:41 Okay.

05:41 And finally, as you know, recommends having high availability of the network.

05:45 Ideally, there should be multiple links, but just for simplifying the diagram, I'm not showing it.

05:51 And optionally, you could also have the VPN connectivity as a backup.

05:56 So from your on premise data center, you could directly have the VPN connectivity to the transit gateways

13. VPN 作为备份连接

时间范围:06:02–07:03

Site-to-Site VPN backup connectivity added to both regional Transit Gateways

总结 / Summary

中文

高可用性(High Availability)设计应使用多条物理链路,并可从本地数据中心到区域 Transit Gateway(TGW)建立站点到站点 VPN(Site-to-Site VPN)作为备份连接。图中简化了冗余链路,但架构原则仍是消除单点故障(Single Point of Failure)。

English

For high availability, use multiple physical links and optionally build Site-to-Site VPN connections from the data centers to the regional TGWs as backup paths. The diagram simplifies the redundant links, but the design principle is to remove single points of failure.

Transcript

06:02 like this, and that can very well act as a backup network connectivity.

06:08 Okay, so far so good.

06:09 What we haven't talked about so far is this a VPC, which does the high data transfer between your on

06:16 premise data center and why we are not connecting this to the transit gateway?

06:21 We could have, but we are not, because Transit Gateway has a lot of charge when it comes to per GB

06:29 data processing.

06:30 Typically this is $0.02 per GB.

06:33 This looks small, but if this VPC is doing, you know, terabytes and petabytes of data transfer or

06:40 this transit gateway, then this is a huge cost and it would make sense to avoid using transit gateway

06:48 in such scenarios.

06:49 So the choice for us is why don't we directly use a private Vif you can have your private Vif over this

06:57 direct connect location and then you can connect it to the gateway or you can directly connect private

14. 高流量 VPC 使用 Private VIF 绕过 TGW

时间范围:07:03–08:07

High data transfer VPC connected through Private VIF and a separate DX Gateway

总结 / Summary

中文

Transit Gateway(TGW)按 GB 收取数据处理费;当高数据传输 VPC(High Data Transfer VPC)产生 TB 或 PB 级流量时,成本会很高。可使用私有虚拟接口(Private Virtual Interface,Private VIF)经 Direct Connect Gateway(DX Gateway)直接连接虚拟私有网关(Virtual Private Gateway,VGW),绕过 TGW 的每 GB 处理费用,并保留未来连接更多 VPC 的扩展性。

English

Transit Gateway charges per GB for data processing, which becomes expensive for TB- or PB-scale workloads. Use a Private VIF through a Direct Connect Gateway to reach a Virtual Private Gateway directly, bypassing TGW per-GB processing while retaining room to add more VPCs later.

Transcript

07:03 Vif to the virtual private gateway.

07:05 But there is no cost for the gateway.

07:08 So I would recommend that you use the gateway instead, because in the future, if there are many such

07:13 vpcs to be connected, then you can connect through the same gateway over the same private wave.

07:19 So it would make sense that you directly connect that to this another gateway.

07:24 That way you avoid the cost of this transit gateway.

07:30 Okay.

07:30 And finally, if you want to connect to the public services, like, for example, S3, again, you

07:37 don't want to send that data through Transit Gateway or through your VPC because there would be additional

07:43 cost.

07:44 Because if you want to send the data to S3 through VPC, you would want to have the VPC interface endpoint

07:51 provisioned inside the VPC.

07:53 And that interface endpoint also has PER-GB data processing cost.

07:57 So it's better you directly use a public VIF there on the same direct connect connection.

08:04 And in that case you avoid all those charges.

15. 公共服务使用 Public VIF

时间范围:08:07–08:43

Amazon S3 reached directly through a Public VIF

总结 / Summary

中文

访问 Amazon S3 等公共 AWS 服务(Public AWS Service)时,直接使用公共虚拟接口(Public Virtual Interface,Public VIF),可避免经 TGW、VPC 和接口终端节点(Interface Endpoint)产生额外的每 GB 费用。Public VIF 需要公共 IP,并应在客户路由器上实施严格的防火墙(Firewall)策略。

English

Reach public AWS services such as Amazon S3 directly with a Public VIF to avoid extra per-GB charges through TGW, a VPC, and an Interface Endpoint. Public VIF requires public IP addresses and strong firewall controls on the customer router.

Transcript

08:07 Now you know that for public Vif you need additional settings in the sense that you need public IP at

08:14 both the ends and you have to make sure that you are using the firewalls at your router.

08:19 Because once you connect your network over a public wave, any AWS customer can send the data through

08:26 your public wave to your public IPS.

08:29 So you need to be just a little more careful and put the right firewall while using the public wave.

08:35 But definitely it saves you a lot of cost instead of using the transit wave or a private wave.

16. 完整企业级 DX 架构回顾

时间范围:08:43–09:06

Completed enterprise Direct Connect architecture across regions and data centers

总结 / Summary

中文

最终架构结合集中式网络枢纽(Network Hub)、区域 Transit Gateway(TGW)、TGW Peering、Transit VIF、Direct Connect Gateway、SiteLink、VPN 备份、面向高流量 VPC 的 Private VIF,以及面向 S3 的 Public VIF。核心原则是在可扩展性(Scalability)、高可用性(High Availability)、路径优化(Route Optimization)和传输成本(Data Transfer Cost)之间做分层权衡。

English

The completed design combines a centralized Network Hub, regional TGWs, TGW peering, Transit VIFs, a Direct Connect Gateway, SiteLink, VPN backup, a Private VIF for the high-volume VPC, and a Public VIF for S3. The key is balancing scalability, high availability, route optimization, and transfer cost.

Transcript

08:43 So this is how your architecture should look like if you are having your operation across multiple regions

08:50 and data centers.

08:51 As I said, there could be multiple variants of this architecture, but I hope this gives you an overall

08:56 picture of connectivity.

08:59 So that's it about this lecture.

09:01 I hope you enjoyed it and let's get going.

09:04 Thank you.

整讲总结 / Overall Summary

中文

该企业级 Direct Connect(DX)参考架构先用集中式网络枢纽账户(Network Hub Account)和区域 Transit Gateway(TGW)统一连接多账户 VPC,再通过 TGW Peering 实现跨区域通信;两个本地数据中心分别就近接入 Direct Connect 位置(Direct Connect Location),并借助 Transit VIF 与共享 DX Gateway 接入 TGW。SiteLink 用于优化数据中心间的 AWS 骨干网(AWS Backbone)路径,Site-to-Site VPN 用作备份。成本敏感的高数据传输 VPC(High Data Transfer VPC)通过 Private VIF 绕过 TGW,Amazon S3 等公共服务则通过 Public VIF 直达。设计时必须同时评估可扩展性(Scalability)、高可用性(High Availability)、路由安全(Routing Security)和每 GB 数据处理成本(Per-GB Data Processing Cost)。

English

This enterprise Direct Connect reference architecture centralizes multi-account VPC connectivity in a Network Hub Account with regional Transit Gateways and TGW peering. Two on-premises data centers connect to nearby Direct Connect locations and reach the TGWs through Transit VIFs and a shared Direct Connect Gateway. SiteLink optimizes inter-site traffic over the AWS backbone, while Site-to-Site VPN provides backup connectivity. A high-volume VPC uses a Private VIF to bypass TGW processing costs, and public services such as Amazon S3 are reached with a Public VIF. The design balances scalability, high availability, routing security, and per-GB processing cost.

返回顶部 ↑