Skill 5.3.6

Design monitoring solutions for the user experience by using strategies such as synthetic transactions and real user monitoring (for example, by using Amazon CloudWatch Synthetics, Amazon CloudWatch RUM).

Key Concepts

CloudWatch Synthetics runs canaries, scripts in Node.js (Puppeteer or Playwright) or Python (Selenium), on a schedule from chosen Regions or inside a VPC. They load pages, run multi-step journeys such as sign-in and checkout, call APIs and check links, recording screenshots, HAR files and metrics; failures raise alarms before users report them, including during quiet periods with no real traffic.

CloudWatch RUM (real user monitoring) adds a JavaScript snippet to the web application that collects page load times, Core Web Vitals, JavaScript and HTTP errors and user sessions from real browsers, segmented by browser, device and location, and can link to X-Ray traces. Synthetics proves that critical journeys work at all times; RUM shows how real users experience the application. Both feed SLOs in Application Signals.