Lecture 107: VPN Monitoring
- 课程:[NEW] AWS Certified Advanced Networking Specialty 2026
- 视频时长:03:40
- 来源:Udemy Lecture 26077896
- Slide 数量:4
- 画面切换:00:19、02:20、03:27
扫描说明
逐条检查了 Udemy 页面中的 88 条 Transcript cue,并以每条 cue 对应画面为时间轴逐段扫描全长约 3:40 的视频。依据标题、CloudWatch 监控、Health Dashboard 监控以及返回 CloudWatch 的结尾复习四个画面阶段,共划分出 4 个小节。
Transcript 来自 Udemy 页面自带的英文自动字幕,没有使用 ASR。下面保留页面原文,包括其中的语法或识别错误。
1. VPN 监控概览
时间范围:00:00–00:19
总结 / Summary
中文
AWS 站点到站点 VPN(AWS Site-to-Site VPN)提供原生监控数据,考试重点是记住其关键 Amazon CloudWatch 指标(metric),以及 AWS 健康仪表板(AWS Health Dashboard)能提供的运维通知。
English
AWS Site-to-Site VPN provides native monitoring data. The exam focus is the key Amazon CloudWatch metrics and the operational notifications exposed through AWS Health Dashboard.
Transcript
00:00 Hello and welcome to this lecture.
00:02 Now let's see VPN monitoring.
00:03 So, it is important that you know
00:06 which CloudWatch metrics are available
00:08 when you're using AWS Site-to-Site VPN.
00:11 And this would also be a part of your exam questions.
00:14 So, let's understand there are not many
00:16 but those are important to remember.
2. 使用 CloudWatch 监控 VPN
时间范围:00:19–02:20
总结 / Summary
中文
站点到站点 VPN 默认向 Amazon CloudWatch 发布三项指标:TunnelState 表示隧道状态,0 为全部中断、1 为全部在线,0 与 1 之间表示至少一条隧道未在线;TunnelDataIn 表示经隧道接收的字节数;TunnelDataOut 表示经隧道发送的字节数。无需额外开启采集,可基于指标创建 CloudWatch 警报(alarm),并通过 Amazon SNS 发送电子邮件或短信通知。
English
Site-to-Site VPN publishes three CloudWatch metrics by default. TunnelState represents tunnel availability: 0 means all tunnels are down, 1 means all are up, and a value between 0 and 1 means at least one is not up. TunnelDataIn counts bytes received through the VPN, while TunnelDataOut counts bytes sent. No extra collection setup is required, and CloudWatch alarms can notify operators through Amazon SNS email or SMS.
Transcript
00:19 So, you can do VPN monitoring using CloudWatch
00:21 because AWS Site-to-Site VPN
00:23 is a native service by AWS.
00:26 It uses virtual private gateway.
00:28 You can very well get some metrics from
00:30 this virtual private gateway using CloudWatch
00:32 and then you can do all the regular stuff
00:35 that you typically do.
00:36 For example, you can create alarms
00:38 and then you can get notified
00:39 when something goes wrong.
00:41 So, in particular, AWS Site-to-Site VPN provides
00:44 three important CloudWatch metrics.
00:46 Very first is TunnelState.
00:48 So, the state of the tunnel,
00:50 which indicates whether tunnel is down or it's up.
00:53 So, zero indicates that tunnel is down
00:56 and one indicates that tunnel is up.
00:58 Now this TunnelState could also have different values,
01:03 anything between zero and one.
01:05 And in those cases it would indicate
01:08 that at least one of the tunnel is not up.
01:11 So, zero means both the tunnels are down.
01:14 One means both tunnels are up.
01:16 But if it's between zero and one
01:18 that may mean there is one tunnel which is not up.
01:22 So, that's a TunnelState CloudWatch metric.
01:25 Then there is TunnelDataIn,
01:27 the bytes that through the VPN tunnel.
01:30 And then TunnelDataOut,
01:31 the total bytes sent through the VPN tunnel.
01:34 All these metrics are collected
01:36 by default using CloudWatch.
01:38 You don't have to do any additional settings for this.
01:41 And as you have these metrics available
01:44 you can definitely create a CloudWatch Alarm.
01:48 For example, when TunnelState goes down
01:51 that means value becomes zero,
01:52 you can say:
01:54 set an alarm, send a notification
01:56 via AWS notification service, that is SNS,
02:00 and you can send either email and SMS
02:02 to the receiver or administrator.
02:05 So, remember these three CloudWatch metrics:
02:08 TunnelState, TunnelDataIn and TunnelDataOut.
02:12 Those are available for you to monitor via CloudWatch.
02:15 Now, there is one more way in which you can do
02:18 the monitoring of your VPN tunnel,
3. 使用 AWS Health Dashboard 监控
时间范围:02:20–03:27
总结 / Summary
中文
AWS 站点到站点 VPN 会把服务事件自动发送到 AWS 个人健康仪表板(AWS Personal Health Dashboard, PHD)。通知包括隧道端点替换(tunnel endpoint replacement)以及单隧道 VPN(single-tunnel VPN)状态;如果两条隧道中有一条在一天内中断超过一小时,仪表板会提示连接仅依赖单条隧道。该渠道适合了解 AWS 维护和服务健康事件。
English
AWS Site-to-Site VPN automatically sends service events to the AWS Personal Health Dashboard. Notifications include tunnel endpoint replacement and single-tunnel VPN status; if one of the two tunnels is down for more than one hour in a day, the dashboard reports that the connection is operating on a single tunnel. This channel is useful for AWS maintenance and service-health events.
Transcript
02:20 and that's through a Health Dashboard.
02:23 Now, as you know,
02:24 AWS provides something called Personal Health Dashboard, PHD
02:28 and any changes to the VPN tunnel
02:32 you can see that automatically coming
02:34 to your Health Dashboard.
02:36 So, AWS Site-to-Site VPN automatically sends
02:38 the notification to AWS Personal Health Dashboard.
02:42 And whenever there is a,
02:44 say tunnel replacement notification,
02:46 for example, out of two tunnel
02:48 one tunnel goes down for maintenance,
02:50 then that notification would also come here.
02:53 And if there is, say out of two tunnel
02:56 only one tunnel is working.
02:58 And how it detects
02:59 that if one of the tunnel is down
03:01 for more than one hour in a day,
03:04 it would consider that your VPN is working
03:06 only on the single tunnel.
03:08 Now, that notification,
03:10 in terms of single tunnel VPN notification
03:12 would also be coming here in the Personal Health Dashboard.
03:16 So, these are the mechanism through which you can monitor
03:19 your Site-to-Site VPN tunnel.
03:21 More important is your CloudWatch metrics.
03:24 Remember these three CloudWatch metrics
03:25 we just talked about.
4. CloudWatch 三项指标复习
时间范围:03:27–03:40
总结 / Summary
中文
结尾再次强调应优先记住 TunnelState、TunnelDataIn 和 TunnelDataOut。CloudWatch 指标(CloudWatch metric)用于持续观测状态与流量并触发自动警报;AWS Health Dashboard 则补充提供由 AWS 发出的维护和健康通知,两者用途互补。
English
The lecture closes by repeating TunnelState, TunnelDataIn, and TunnelDataOut as the three metrics to remember. CloudWatch metrics continuously track state and traffic and can drive automated alarms, while AWS Health Dashboard adds AWS-issued maintenance and health notifications; the two mechanisms complement each other.
Transcript
03:27 That is TunnelState, TunnelDataIn and TunnelDataOut.
03:31 So, that is what you want to remember
03:33 for monitoring your VPN tunnel,
03:35 and thanks for watching.
整讲总结 / Overall Summary
中文
VPN 监控(VPN monitoring)应结合 Amazon CloudWatch 与 AWS Health Dashboard。CloudWatch 默认提供 TunnelState、TunnelDataIn 和 TunnelDataOut,可据此创建警报并通过 SNS 通知;Health Dashboard 负责报告隧道端点替换和长期单隧道运行等 AWS 服务事件。
English
VPN monitoring combines Amazon CloudWatch with AWS Health Dashboard. CloudWatch provides TunnelState, TunnelDataIn, and TunnelDataOut by default and can trigger SNS-backed alarms. Health Dashboard reports AWS service events such as tunnel endpoint replacement and prolonged single-tunnel operation.
返回顶部 ↑