Lesson 5 of 5 Network Troubleshooting and Monitoring

Monitoring Network Performance with CloudWatch

This lesson explains the CloudWatch network monitoring services that measure performance and availability between users, applications and on-premises networks, which the exam guide asks you to configure and analyse.

Learning outcomes

After completing this lesson, you will be able to:

  • Use Internet Monitor.
  • Distinguish Network Flow Monitor and Network Synthetic Monitor.
  • Alarm and automate on their metrics.

Internet Monitor

CloudWatch Internet Monitor uses the connectivity data AWS collects from its global network to measure the availability and performance (latency, throughput) that your application's internet users experience, broken down by city, country, ISP (autonomous system) and the AWS location serving them. You create a monitor for VPCs, NLBs or CloudFront distributions, and set the percentage of traffic to monitor. Internet Monitor creates health events when an impairment, such as an ISP outage in one city, affects your users, publishes events to EventBridge and metrics to CloudWatch, and suggests improvements such as serving users from a different Region or through CloudFront.

True or false

Network monitoring facts

Exam skills 5.3.5

Check facts about the CloudWatch network monitoring services.

Log in to try this activity Interactive activities are free with an account.

Network Flow Monitor and Network Synthetic Monitor

Network Flow Monitor uses lightweight agents installed on EC2 instances and EKS nodes to collect TCP performance statistics, including retransmissions, round-trip time and data transferred, for flows between your workloads and to AWS services. It shows top contributors by metric across a scope of accounts, and a network health indicator tells you whether the AWS network was impaired, helping decide whether a problem is in your application or the network. Network Synthetic Monitor sends active ICMP or TCP probes from subnets in your VPC to on-premises destinations over Site-to-Site VPN or Direct Connect, measuring round-trip time and packet loss without installing agents on premises, and also reports AWS network health for the path.

ServiceMeasuresMethodTypical use
Internet MonitorInternet users' availability and performanceAWS global network telemetry (no agents)ISP or city-level degradation for public applications
Network Flow MonitorTCP performance between workloads and AWS servicesAgents on EC2 and EKSIs latency in my app or the AWS network?
Network Synthetic MonitorLatency and loss to on-premises destinationsActive probes from VPC subnetsHybrid connection quality over VPN or Direct Connect
Reachability Analyzer (VPC)Configuration path validityStatic analysisWhich component blocks a path

The following diagram compares the two monitors.

Two CloudWatch network monitoring tools. Network Flow Monitor uses agents on EC2 instances and EKS nodes to measure real TCP flows, such as retransmissions and round-trip time, with a network health indicator that shows whether the AWS network was impaired. Network Synthetic Monitor sends probes from AWS to on-premises destinations over hybrid connections.
Flow Monitor answers whether a slowdown is the application or the network.
Match the pairs

Network monitoring services

Exam skills 5.3.5

Match each question with the CloudWatch network monitoring service that answers it.

Log in to try this activity Interactive activities are free with an account.

Using the results

All three publish metrics to CloudWatch, so they can drive alarms, dashboards and EventBridge automation. Typical alarms are on Internet Monitor's availability and performance scores for key cities, on Network Synthetic Monitor's packet loss and round-trip time per probe, and on Network Flow Monitor's retransmissions for critical flows. Network monitoring complements, rather than replaces, VPC Flow Logs and Reachability Analyzer, which explain configuration problems.

Worked example

Slow users in one country

Support tickets report slowness from users in one country, but ALB metrics and application traces look normal. The operator's Internet Monitor for the application's CloudFront distribution shows a health event: performance degradation for two ISPs in that country, caused by congestion in those ISPs' networks outside AWS. Because the problem is not in the application or the AWS network, the team informs affected customers, creates an alarm on the monitor's performance score for that country, and closes the incident without changing the application.

Check yourself

Which monitor probes from VPCs to on-premises over VPN or Direct Connect?

Show answer

Network Synthetic Monitor.

Exam Tips

Remember for the exam

  • Internet Monitor: users' internet experience by city and ISP, without agents.
  • Network Flow Monitor: TCP performance of workload flows with agents, plus AWS network health.
  • Network Synthetic Monitor: probes from VPCs to on-premises over VPN or Direct Connect.
  • All publish CloudWatch metrics for alarms and dashboards.