AWS · Advanced Networking Specialty

网络课程笔记

Lecture 144 · 4 张幻灯片

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

原文默认收起
lecture-144.md

Lecture 144: DX Monitoring using CloudWatch

  • 课程:[NEW] AWS Certified Advanced Networking Specialty 2026
  • 视频时长:04:04
  • 来源:Udemy Lecture 27898974
  • Slide 数量:4
  • 画面切换:00:30、01:01、03:33

扫描说明

逐条检查了 Udemy 页面中的 90 条 Transcript cue,并扫描了全长约 4:04 的视频。该讲由标题页、CloudWatch 监控概览、DX Connection 指标表和 Virtual Interface 指标表组成,没有额外的逐项渐显,因此划分为 4 个小节。最终截图均在精确 Transcript cue 暂停后关闭侧栏、恢复完整横向播放器并移出指针;4 张图片均无黑边、无顶部课程栏、无底部或中心播放器控件,也无右侧或下方裁切,并统一输出为 1364×770。

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

1. Direct Connect Monitoring 概览

时间范围:00:00–00:30

Direct Connect Monitoring title slide

总结 / Summary

中文

Amazon CloudWatch 可用于监控 Direct Connect(DX)连接状态和性能,是排查连接中断或带宽不足时的首要观测入口。

English

Amazon CloudWatch monitors Direct Connect connection status and performance, making it a primary place to investigate outages or insufficient bandwidth.

Transcript

00:00 Hello, and welcome to this lecture.

00:01 DirectConnect monitoring.

00:02 Again, this will be a very short lecture

00:05 where we just touch upon how you can monitor

00:07 your DirectConnect connection status using the CloudWatch.

00:12 Now, you know that CloudEdge is a service

00:13 which essentially is used to monitor the health

00:16 of various AWS services.

00:19 Now, there are also CloudWatch metrics,

00:21 which can help you see the status of DirectConnect

00:25 as well as performance of your DirectConnect connection.

00:28 So now let's look at those metrics.

2. CloudWatch 同时监控 Connection 与 VIF

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

CloudWatch monitoring overview for DX connections and virtual interfaces

总结 / Summary

中文

CloudWatch 指标(CloudWatch Metrics)同时覆盖 DX 连接(DX Connection)和虚拟接口(Virtual Interface,VIF),可用来观察状态、吞吐表现和故障迹象。

English

CloudWatch metrics cover both DX connections and Virtual Interfaces, helping observe status, throughput, and signs of failure.

Transcript

00:30 So essentially the CloudWatch metrics that are available

00:32 for DirectConnect connection,

00:34 as well as for the virtual interfaces

00:37 and together with all these metrics,

00:40 you can definitely look at the performance

00:43 and you can probably then troubleshoot

00:45 if you're not getting enough bandwidth

00:47 or do you see that the connection is down.

00:49 Probably this is the first place you will go

00:51 to the CloudWatch and then you will see the value

00:54 of those metrics.

00:55 So let's get started

00:57 and let's see what all CloudWatch metrics are available

3. DX Connection CloudWatch Metrics

时间范围:01:01–03:33

Table of Direct Connect connection CloudWatch metrics

总结 / Summary

中文

连接级指标包括 ConnectionState(1 为 Up、0 为 Down)、Ingress/Egress 的 BPS 与 PPS、ConnectionErrorCount、光纤发射/接收光功率(ConnectionLightLevelTx/Rx)以及启用 MACSec 时的 ConnectionEncryptionState。应对 Down 状态建立 CloudWatch 告警(CloudWatch Alarm),并持续关注错误数和物理光层健康。

English

Connection-level metrics include ConnectionState (1 Up, 0 Down), ingress/egress BPS and PPS, ConnectionErrorCount, transmit/receive fiber levels (ConnectionLightLevelTx/Rx), and ConnectionEncryptionState when MACsec is enabled. Configure an alarm for a Down state and monitor error growth and optical-layer health.

Transcript

01:01 for DirectConnect connection.

01:02 Now you can see there are a bunch of metrics

01:05 for DX connection.

01:07 Now, the most important is ConnectionState.

01:10 So 1 indicates that the connection is up

01:12 and 0 indicates it's down.

01:14 So you are to make sure that you set CloudWatch alarm

01:17 when your state becomes 0,

01:19 probably you should know via the email or an SMS,

01:23 whatever notification mechanism you want to implement.

01:26 So that's one important CloudWatch metrics.

01:29 Other than that, most of the metrics are related

01:32 to the traffic.

01:34 So you can see there are Egress metrics

01:36 and there are Ingress metrics.

01:38 Egress means the traffic flowing from AWS

01:41 to on-premises network and Ingress is the other way around.

01:46 BPS is bits per second.

01:48 So you can say that ConnectionBpsEngress means total number

01:52 of bits per second for the outbound data from AWS side.

01:57 Similarly, the BPS for Ingress traffic.

02:00 And then there is also packet per second metrics

02:04 also available that is called PPS.

02:06 So how much packets per second,

02:08 your DirectConnect connection is able to process.

02:13 Now then comes one another important metrics.

02:15 Which is Error Count.

02:17 So it is a total error count of all types

02:19 on the AWS device site.

02:22 So I think you should also be looking at this error count

02:25 and see that how many errors are there in the last 24 hours

02:29 and if you see consistently the error account is increasing

02:32 that means you should also report it to AWS,

02:35 your DirectConnect partner,

02:37 and make sure that you can fix those problems.

02:41 Then add the physical layer.

02:43 You have two metrics which will help you.

02:45 That is LightLevelTx that is transmit

02:49 and LightLevel RX that is receiving.

02:52 So you can see the health of fiber connection

02:54 for the outbound connection as well

02:57 as for the inbound connection.

02:59 So these are the two important metrics for that.

03:02 And finally, if MACSec is enabled,

03:05 then you can also see the ConnectionEncryptionState.

03:08 1 indicates that the encryption is up and 2 indicates

03:11 that encryption is done.

03:13 Now as you know, the MACSec is not available

03:16 for all DirectConnect connection.

03:19 It is available only on the select DirectConnect locations

03:22 as well as it is applicable for dedicated connection,

03:26 which is 10 GBPS and more.

03:28 Okay with that there are similar metrics available

03:31 for VIFs as well.

4. DX Virtual Interface CloudWatch Metrics

时间范围:03:33–04:04

Table of Direct Connect Virtual Interface CloudWatch metrics

总结 / Summary

中文

虚拟接口级指标(Virtual Interface Metrics)提供 Ingress/Egress 的比特率(BPS)与包速率(PPS),用于分别观察各 VIF 的入站和出站流量。

English

Virtual Interface metrics provide ingress and egress bit rates (BPS) and packet rates (PPS), allowing traffic to be observed per VIF in both directions.

Transcript

03:33 And there is VirtualInterfaceBpsIngres,

03:37 BPSEgress,

03:38 similarly packet per second Egress

03:40 and packet per second Ingress.

03:42 So ultimately using all these metrics,

03:45 you can monitor the state of your connection,

03:49 whether it's up or down with connection state

03:51 and then how the data is flowing through the connection

03:54 as well as various virtual interfaces.

03:57 So I think that's it about you know,

03:59 monitoring your DX connections and thanks for watching.

整讲总结 / Overall Summary

中文

Amazon CloudWatch 通过连接级和虚拟接口级指标监控 Direct Connect(DX)。ConnectionState 用于判断 Up/Down 并应配套告警;BPS/PPS 衡量 Ingress/Egress 流量,ConnectionErrorCount 反映设备错误,ConnectionLightLevelTx/Rx 观察光纤物理层健康,ConnectionEncryptionState 监控 MACSec。VIF 指标则进一步拆分每个虚拟接口的流量方向和速率。

English

Amazon CloudWatch monitors Direct Connect through connection-level and Virtual Interface metrics. ConnectionState indicates Up or Down and should drive an alarm; BPS and PPS measure ingress/egress traffic, ConnectionErrorCount tracks device errors, ConnectionLightLevelTx/Rx reflects optical-layer health, and ConnectionEncryptionState monitors MACsec. VIF metrics further break traffic rate down by individual virtual interface and direction.

返回顶部 ↑