AWS · Advanced Networking Specialty

网络课程笔记

Lecture 039 · 4 张幻灯片

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

原文默认收起
lecture-039.md

Lecture 39: Placement Groups and EBS Optimized EC2 instances

  • 课程:[NEW] AWS Certified Advanced Networking Specialty 2026
  • 视频时长:05:43
  • 来源:Udemy Lecture 26072990
  • Slide 数量:4
  • 画面切换:00:26、01:00、03:10

扫描说明

按 Udemy Transcript 的 77 个时间点逐一定位并比较视频画面,确认章节标题、优化方法概览、Cluster Placement Group 和 EBS Optimized Instances 共 4 个 Slide。图形与要点逐步出现视为动画构建,截图保留最终稳定状态。

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

1. Optimizing Network Performance

时间范围:00:00–00:26

Optimizing Network Performance title slide

总结 / Summary

中文

本讲从上一讲的带宽、延迟、抖动和 MTU 基础转向 AWS 内的具体优化手段,目标是提高 EC2 工作负载的数据传输吞吐量(Network Throughput)。

English

This lecture moves from bandwidth, latency, jitter, and MTU fundamentals to concrete AWS optimization techniques for increasing EC2 data-transfer throughput.

Transcript

00:00 Hello and welcome to this lecture, so far while we talked about what affects the network

00:06 performance, and we talked about MTU, we talked about other concepts like bandwidth, latency and JITA.

00:13 Now let's look at some of the ways in which you can achieve the maximum network throughput

00:17 while you work in AWS.

00:20 So at high level, if you want to optimize the network performance, you can look at three areas.

2. Three EC2 Network Optimization Areas

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

EC2 network optimization options

总结 / Summary

中文

三类优化手段是集群置放群组(Cluster Placement Group)、EBS 优化实例(EBS-Optimized Instance)和增强联网(Enhanced Networking)。本讲先覆盖前两项;增强联网是考试重点,将在后续单独深入。

English

The three optimization areas are cluster placement groups, EBS-optimized instances, and enhanced networking. This lecture covers the first two, while enhanced networking—an important exam topic—receives dedicated follow-up lectures.

Transcript

00:26 One is you can use cluster placement group for your EC2 instances, which definitely gives

00:31 you the maximum network throughput between those instances.

00:35 And we'll talk shortly about that.

00:37 Second is EBS optimized instances.

00:39 And we will talk what that means.

00:42 And then most of the time in this section, we'll spend on enhanced networking.

00:47 And that is very crucial topic for your exam.

00:50 So let's see first two things, cluster placement group and EBS optimized instances.

00:56 And then we would have separate lectures to talk about enhanced networking.

3. Cluster Placement Groups

时间范围:01:00–03:10

Cluster Placement Group architecture and bandwidth

总结 / Summary

中文

集群置放群组(Cluster Placement Group)把实例逻辑上放在同一可用区(Availability Zone),AWS 会尽量让它们物理接近甚至位于同一机架,从而获得低延迟和高带宽,适合高性能计算(High Performance Computing, HPC)。课程给出的单流(Single Flow)基准是群组内最高约 10 Gbps,非群组路径约 5 Gbps;更高的总带宽还需要增强联网(Enhanced Networking)和适当实例/硬件。考试中,实例间低延迟高吞吐需求优先考虑集群置放群组。

English

A cluster placement group logically places instances in one Availability Zone and lets AWS keep them physically close, potentially on the same rack. This provides low latency and high bandwidth for HPC workloads. The lecture cites up to about 10 Gbps for a single flow inside the group versus about 5 Gbps without it; higher aggregate bandwidth additionally requires enhanced networking and suitable instance hardware. For exam scenarios demanding low-latency, high-throughput instance communication, consider a cluster placement group.

Transcript

01:00 So if you already know the cluster placement group, it is kind of a group of EC2 instances

01:06 you launch together and you launch in a such a way that all these EC2 instances are physically

01:11 as close as to each other, right?

01:14 So it's a logical grouping of instances within a single availability zone, which makes sure

01:19 the network latency is lower because across AZs, you know, they are at least 100 or up

01:27 to 100 kilometers apart and there is a, you know, of course, latency there, but having

01:32 in same availability zone, there would be a minimum latency between the instances.

01:36 Now this placement cluster groups are ideal for HPC kind of workload, which requires very

01:42 low latency network throughput between the instances.

01:47 So the placement of EC2 instances inside a cluster placement group looks something

01:47 like this, where you can see all these instances are part of same AZ.

01:56 Now sometimes AWS also tries to launch these instances even on the same physical rack.

02:02 And that's where it provides the lowest latency between any of the two EC2 instances.

02:08 So if you talk about the network bandwidth between these EC2 instances, then for a single

02:13 flow, you can get up to 10 Gbps bandwidth.

02:18 However, if the instances are not in a cluster placement group, then of course they can be

02:22 across different AZs.

02:24 And in that case, the maximum bandwidth could be up to 5 Gbps.

02:28 And these are the current number and these numbers might change in the future.

02:32 So as of now, we are talking about the 10 Gbps bandwidth between the EC2 instances with single flow.

02:39 But again, as I said, shortly we are going to talk about enhanced networking.

02:43 Later we will discuss how we can get up to 100 Gbps bandwidth between the EC2 instances.

02:49 And for that, you have to use additional hardware along with those EC2 instances.

02:54 Alright, so from the exam perspective, what you need to just remember that in order to

03:00 increase the network bandwidth performance between the EC2 instances, it is good to launch

03:04 them in a cluster placement group.

03:07 Right, so I hope you will remember that.

4. EBS-Optimized EC2 Instances

时间范围:03:10–05:43

Dedicated EBS bandwidth with EBS optimized instances

总结 / Summary

中文

Amazon EBS 是通过网络访问的块存储(Network Block Storage),不是物理直连磁盘。若 EBS I/O 与普通 EC2 网络流量共享同一带宽,两类流量会相互争用。EBS 优化实例(EBS-Optimized Instance)为 EC2 与 EBS 之间提供独立、专用的吞吐量,减少内容争用(Contention),使存储 I/O 更稳定且不侵占普通网络带宽。许多新一代实例默认已启用该能力。

English

Amazon EBS is network-attached block storage rather than a physically attached disk. If EBS I/O and ordinary EC2 traffic share bandwidth, they contend with each other. EBS-optimized instances provide separate, dedicated throughput between EC2 and EBS, reducing contention and delivering more consistent storage I/O without consuming ordinary instance network bandwidth. Many newer instance types are EBS optimized by default.

Transcript

03:10 Next we talked about EBS optimized instances.

03:13 Now what that means, if you have an EBS attached to your EC2 instance, it is not really physically

03:19 attached to your instance.

03:20 You understand that it's a virtual world and it is not a physical disk that you attach.

03:25 So it's more like a SAN storage area network where your disks are attached over the network. Right.

03:31 So it's not a physical drive, but EBS is a network drive.

03:36 And what that means is it uses maybe a network, a dedicated or it could be a shared network

03:42 to communicate to the instance and which also means there could be additional latency

03:48 to access your EBS data from your EC2 instance. Right.

03:53 So remember this.

03:54 Now EBS input output may affect your network performance. Why?

04:00 Understand that this EC2 has some network interfaces here and you are communicating

04:04 to these instances from maybe over the internet and same interface is also being used to do

04:10 the input output operation from the EBS.

04:14 Now if that is the case, if you are doing too much input output from EBS, a lot of bandwidth

04:19 will be used here and maybe here you get a lower bandwidth or the other way around.

04:24 You are using too much bandwidth here, then for your EBS input output, you will get a

04:28 lower bandwidth.

04:30 That means this is a shared bandwidth for all kind of network here.

04:35 And that is the problem for your EC2 instances.

04:37 So Amazon EBS optimized instances deliver the dedicated throughput between your EC2 and EBS.

04:44 That means this network is separate.

04:46 Whatever you do here does not take a bandwidth from your regular EC2 instance bandwidth limit.

04:53 It is a dedicated network between EC2 and EBS.

04:56 And that's where using EBS optimized instances provides you the consistent bandwidth to talk

05:02 to EBS volumes over the network.

05:05 So ultimately they minimizes the contention between your EBS input output and other traffic

05:10 from your EC2 instances.

05:12 So in short, that's EBS optimized instances.

05:14 And if you look at the list on AWS pages, you will see all, maybe a lot of new generation

05:21 instances are already EBS optimized.

05:24 So if you are facing this kind of challenges, then look for EBS optimized instances, which

05:29 improves your network performance.

05:31 So that's it for this lecture.

05:33 In next lecture, we will deep dive into enhanced networking and which is very, very critical for your exam.

05:40 So now let's look into that.

整讲总结 / Overall Summary

中文

提升 EC2 网络性能可以从拓扑和带宽隔离两方面入手:集群置放群组(Cluster Placement Group)缩短实例间物理距离,适合低延迟高吞吐;EBS 优化(EBS Optimization)把存储网络与普通实例网络分离,避免 I/O 争用。后续增强联网(Enhanced Networking)负责进一步提高带宽与 PPS。

English

EC2 network performance can be improved through topology and bandwidth isolation. Cluster placement groups reduce physical distance for low-latency, high-throughput communication, while EBS optimization separates storage traffic from ordinary instance networking to avoid contention. Enhanced networking then provides the next level of bandwidth and PPS improvement.

返回顶部 ↑