View a markdown version of this page

AWS Backup metrics with Amazon CloudWatch - AWS Backup

AWS Backup metrics with Amazon CloudWatch

CloudWatch Dashboard

Note

The console dashboard depends on which Region is accessing the console. See Feature availability by AWS Region to see which Regions have access to the Jobs dashboard. Regions not listed will be able to access the CloudWatch dashboard.

Your AWS Backup console includes a dashboard to see metrics on completed or failed backup, copy, and restore jobs. Within this dashboard, you can view job status by time period, customized to the time frame you desire.

TO ACCESS THE DASHBOARD

  1. Open the AWS Backup console at https://console.aws.amazon.com/backup.

  2. Select Dashboard in the left-hand navigation pane.

VIEW AND UNDERSTAND THE DASHBOARD

The CloudWatch dashboard displays several widgets. Each widget shows job metrics by count. Each widget shows several line graphs. Each line corresponds to a protected resource (if you do not see an expected resource displayed, ensure the resource is turned on in Settings). The displays do not show in-progress jobs.

The y-axis (vertical values) shows the count. The x-axis (horizontal values) shows points in time. If there are no data points to visualize in the selected job status, the value will be set to 0 with a horizontal line on the x-axis. The legend showing the resources will still be visible.

The metrics display account-specific and Region-specific information related to the current login. To see other accounts or Regions, you must login under the chosen account.

CUSTOMIZE THE DASHBOARD

By default, the displayed time frame is one week. Along the top menu, there are options for redefining the displayed time frame. You can choose from among 1 hour, 3 hours, 12 hours, 1 day, 3 days, and 1 week. Additionally, you can select Custom to specify a different value. Customization will temporarily change the current view to your specifications.

You can hover over a widget, which will display a Enlarge button in the top right of the widget. Click on Enlarge to open the widget in full-screen view. In full screen, there are more options for customizing the graph display, such as changing the period (the time between every data point). Any changes will not be retained once the full-screen view is closed.

To view only one resource type at a time, click on the label text of the resource type you wish to view in the graph legend. This will deselect other all resource types. To reverse this, click on a resource type color box in the legend. To go back to default view of all resource types with all the labels selected, click again on the label text of any resource type selected.

Clicking the three vertical dots in the top right corner of a widgets opens up a drop down menu with options to refresh, enlarge, view in metrics and view in logs. “View in metrics” opens up the metric used in the widget in CloudWatch console. You can make any changes to the widget there and add the widget to a custom dashboard in CloudWatch dashboard. Any changes you make in the CloudWatch dashboard will not be reflected on the dashboard in AWS Backup Console. “View as logs” opens up the logs view page in CloudWatch console.

To add widgets displayed to your own custom CloudWatch dashboard, click on the Add to dashboard button located on the top right of the dashboard. This will open up the CloudWatch console where you can select in which custom dashboard to add all the six widgets.

For more information, see Using Amazon CloudWatch metrics.

Metrics with CloudWatch

You can use CloudWatch to monitor AWS Backup metrics. The AWS/Backup namespace allows you to track the following metrics. AWS Backup emits updated metrics to CloudWatch every 5 minutes.

The purpose of this documentation page is to provide you with the reference materials to use CloudWatch to monitor AWS Backup. To learn how to monitor a metric using CloudWatch, see the blog Amazon CloudWatch Events and Metrics for AWS Backup or Focus on Metrics and Alarms in a Single AWS Service in the CloudWatch User Guide. To set alarms, see Using Amazon CloudWatch Alarms in the CloudWatch User Guide.

Category Metrics Example dimensions Example use case
Jobs

Number of backup, restore, and copy jobs across each state, including CREATED, PENDING, RUNNING, ABORTED, COMPLETED, FAILED, and EXPIRED.

Different job types have different available states.

Resource type, vault name.

The vault name of copy jobs is that of their destination vault.

Monitor the number of failed backup jobs within one or more specific backup vaults. When there are more than five failed jobs within 1 hour, send an email or SMS using Amazon SNS or open a ticket to the engineering team to investigate.

Reporting criteria: There is a nonzero value

Recovery points Number of warm and cold recovery points across each state: MODIFIED, COMPLETED, PARTIAL, EXPIRED, DELETED. Resource type, vault name.

Track the number of deleted recovery points for your Amazon EBS volumes, and separately track the number of warm and cold recovery points in each backup vault.

Reporting criteria: There is a nonzero value

These job and recovery point metrics include jobs for on-premises and self-managed resources, the same as for AWS resources.

Note

The job status of Completed with issues is specific to only the AWS Backup console; it cannot be tracked via CloudWatch.

The following table lists all the metrics available to you.

Metric Description
NumberOfBackupJobsCreated The number of backup jobs that AWS Backup created.
NumberOfBackupJobsPending The number of backup jobs about to run in AWS Backup.
NumberOfBackupJobsRunning The number of backup jobs currently running in AWS Backup.
NumberOfBackupJobsAborted The number of user cancelled backup jobs.
NumberOfBackupJobsCompleted The number of backup jobs that AWS Backup finished.
NumberOfBackupJobsFailed The number of backup jobs with status of Failed. Often caused by scheduling a backup job during or 1 hour before a database resource or 3 hours before or during a Amazon FSx maintenance window or automated backup window and not using AWS Backup to perform continuous backup for point-in-time restores. See Point-in-Time Recovery for a list of supported services and instructions on how to use AWS Backup to take continuous backups, or reschedule your backup jobs.
NumberOfBackupJobsExpired

The number of backup jobs that have a status of EXPIRED.

A backup job changes from status CREATED to EXPIRED if a backup cannot begin within the start window time.

NumberOfCopyJobsCreated The number of cross-account and cross-Region copy jobs that AWS Backup created.
NumberOfCopyJobsRunning The number of cross-account and cross-Region copy jobs currently running in AWS Backup.
NumberOfCopyJobsCompleted The number of cross-account and cross-Region copy jobs that AWS Backup finished.
NumberOfCopyJobsFailed The number of cross-account and cross-Region copy jobs that AWS Backup attempted but could not complete.
NumberOfRestoreJobsPending The number of restore jobs about to run in AWS Backup.
NumberOfRestoreJobsRunning The number of restore jobs currently running in AWS Backup.
NumberOfRestoreJobsCompleted The number of restore jobs that AWS Backup finished.
NumberOfRestoreJobsFailed The number of restore jobs that AWS Backup attempted but could not complete.
NumberOfRecoveryPointsCompleted The number of recovery points that AWS Backup created.
NumberOfRecoveryPointsPartial The number of recovery points that AWS Backup started to create but could not finish. AWS retries the process later, but because the retry occurs at the later time, it retains the partial recovery point.
NumberOfRecoveryPointsExpired The number of recovery points that AWS Backup attempted to delete based on your backup retention lifecycle, but could not delete. You are billed for the storage that expired backups consume and should delete them manually.
NumberOfRecoveryPointsDeleting The number of recovery points that AWS Backup is deleting.
NumberOfRecoveryPointsCold The number of recovery points that AWS Backup tiered to cold storage.

More dimensions are available beyond those listed in the table. To view all the dimensions of a metric, type the name of that metric into the AWS/Backup namespace of the Metrics section of the CloudWatch console.

Backup appliance metrics

AWS Backup publishes metrics for each backup appliance and its nodes to CloudWatch in your account, in the AWS/Backup/Appliance namespace. Metrics use one of these dimensions:

  • ApplianceArn: the metric covers the whole appliance.

  • NodeArn: the metric covers one node.

An appliance that is disconnected or offline doesn't publish utilization metrics, and the most recent values become stale until it reconnects. Utilization metrics stop shortly after you delete an appliance.

Health metrics. AWS Backup publishes the four health metrics together each time the health of an appliance or node changes. For what each health status means, see Monitor appliance health. The metric for the current state is 1, and the other three are 0. To be notified of a problem, create an alarm on HealthStatusCritical or HealthStatusWarning greater than or equal to 1.

MetricDimensionUnitDescription
HealthStatusHealthyApplianceArn or NodeArnCountWhether the appliance or node is healthy. The value is 1 when it is healthy and 0 when it is not.
HealthStatusWarningApplianceArn or NodeArnCountWhether the appliance or node has a warning. The value is 1 when one or more issues need your attention but do not yet affect backup or restore jobs, and 0 otherwise.
HealthStatusCriticalApplianceArn or NodeArnCountWhether the appliance or node is in a critical state. The value is 1 when an issue is affecting backup or restore jobs or the resource's connectivity, and 0 otherwise.
HealthStatusUnknownApplianceArn or NodeArnCountWhether the health of the appliance or node is unknown. The value is 1 while the resource is being created, deleted or disconnected, or while a node is being added or has failed, and 0 otherwise.

Utilization metrics. AWS Backup publishes utilization metrics every 5 minutes.

MetricDimensionUnitDescription
CpuUtilizationApplianceArnPercentThe percentage of CPU capacity in use across the appliance.
MemoryUtilizationApplianceArnPercentThe percentage of memory in use across the appliance.
MetadataDiskCapacityApplianceArnBytesThe total metadata disk (SSD) capacity of the appliance, in bytes.
MetadataReservedCapacityApplianceArnBytesThe metadata disk (SSD) space the appliance has set aside, in bytes. This includes metadata already written and space reserved for future metadata, so it is above zero even on a new appliance.
DataDiskCapacityApplianceArnBytesThe total data disk capacity of the appliance, in bytes. Includes free space on the metadata disks, so it can exceed the total size of the data disks.
DataDiskUsageApplianceArnBytesThe data disk space in use across the appliance, in bytes. Compare it with DataDiskCapacity to see how much storage is left.
CpuUtilizationNodeArnPercentThe percentage of CPU capacity in use on the node.
MemoryUtilizationNodeArnPercentThe percentage of memory in use on the node.
MetadataDiskUsageNodeArnBytesThe metadata disk (SSD) space used by metadata on the node, in bytes. Add this metric across all nodes for the appliance's total metadata in use.
DataDiskCapacityNodeArnBytesThe total data disk capacity of the node, in bytes. Includes free space on the metadata disks, so it can exceed the total size of the data disks.
DataDiskUsageNodeArnBytesThe data disk space in use on the node, in bytes. Compare it with the node's DataDiskCapacity to see how much storage is left on the node.
ReadIoNodeArnCountThe number of read I/O operations on the node's disks.
WriteIoNodeArnCountThe number of write I/O operations on the node's disks.