Amazon CloudWatch Synthetics
You can use Amazon CloudWatch Synthetics to create canaries, configurable scripts that run on a schedule, to monitor your endpoints and APIs. Canaries follow the same routes and perform the same actions as a customer, which makes it possible for you to continually verify your customer experience even when you don’t have any customer traffic on your applications. By using canaries, you can discover issues before your customers do.
Canaries are Node.js scripts. They create Lambda functions in your account that use Node.js as a framework. Canaries can use the Puppeteer Node.js library to perform functions on your applications. Canaries work over HTTP and HTTPS protocols.
Canaries check the availability and latency of your endpoints and can store load time data and screenshots of the UI. They monitor your REST APIs, URLs, and website content, and they can check for unauthorized changes from phishing, code injection and cross-site scripting.
Below are the cmdlets which are available with Amazon CloudWatch Synthetics
CmdletName | ServiceOperation |
Add-CWSYNResourceTag | TagResource |
Get-CWSYNCanariesLastRun | DescribeCanariesLastRun |
Get-CWSYNCanary | GetCanary |
Get-CWSYNCanaryList | DescribeCanaries |
Get-CWSYNCanaryRun | GetCanaryRuns |
Get-CWSYNResourceTag | ListTagsForResource |
Get-CWSYNRuntimeVersion | DescribeRuntimeVersions |
New-CWSYNCanary | CreateCanary |
Remove-CWSYNCanary | DeleteCanary |
Remove-CWSYNResourceTag | UntagResource |
Start-CWSYNCanary | StartCanary |
Stop-CWSYNCanary | StopCanary |
Update-CWSYNCanary | UpdateCanary |
You can also check other AWS Services, and each services cmdlets we are providing.