Amazon Route 53
Developer Guide (API Version 2013-04-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

Monitoring Health Checks Using CloudWatch

Amazon Route 53 health checks integrate with CloudWatch metrics so you can do the following:

  • Verify that a health check is properly configured.

  • Review the health of a health check endpoint over a specified period of time.

  • Configure CloudWatch to send an Amazon Simple Notification Service (Amazon SNS) alert when Amazon Route 53 considers your specified endpoint to be unhealthy. Note that several minutes might elapse between the time that a health check fails and the time that you receive the associated Amazon SNS notification.

For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy.

See the applicable procedure:

To view the status of a health-check endpoint

  1. Sign in to the AWS Management Console and open the Amazon Route 53 console at https://console.aws.amazon.com/route53/.

  2. In the Navigation pane, click Health Checks.

  3. Click the rows for the applicable health checks.

    Two graphs appear in the bottom pane and display the status for the last hour in one-minute intervals:

    Health Check Status

    The graph shows Amazon Route 53's assessment of endpoint health. 1 indicates healthy and 0 indicates unhealthy.

    Health Checkers Reporting Healthy (Percent)

    The graph shows the percentage of Amazon Route 53 health checkers that consider the selected endpoint to be healthy.

    Note

    If you selected more than one health check, the graph displays a separate color-coded line for each health check.

  4. To view a larger graph and specify different settings, click the graph. The following settings are meaningful:

    Time Range

    Displays the status of a health check over a different period, for example, overnight or the last week.

    Period

    Changes the interval between data points in the graph.

    Note the following:

    • If you just created a health check, you might need to wait for a few minutes for data to appear in the graph and for the health check metric to appear in the list of available metrics.

    • The graph doesn't refresh itself automatically. To update the display, click the Icon to refresh the CloudWatch graph icon.

To receive an Amazon Simple Notification Service (Amazon SNS) notification for an unhealthy endpoint

  1. In the Navigation pane of the Amazon Route 53 console, click Health Checks.

  2. Click the row for the applicable health check.

  3. Click Create Alarm.

  4. Specify the following values:

    Send a notification to

    If you want to use an existing Amazon SNS topic to notify you if the status of this health check triggers an alarm, select the topic from this list.

    If you want to create a new topic, click Create Topic, and enter a name for the new topic in this field.

    With these recipients (Only when creating new topics)

    If you're creating a new Amazon SNS topic, enter the email address that will receive the Amazon SNS notification when a health check triggers an alarm.

    To send notifications to more than one email address, separate the addresses with commas (,) or semi-colons (;).

    Whenever <statistic> of Health Check Status Is <operator> <value>

    Use the following setting to determine when CloudWatch should trigger an alarm:

    Whenever Minimum of Health Check Status is < 1

    This causes CloudWatch to notify you when Amazon Route 53 health checkers report that the endpoint is unhealthy.

    For at least x consecutive periods of y minutes/hours

    Specify how many consecutive time periods the health check status must meet the criteria before CloudWatch sends notification. Then specify the length of the time period.

    Three weighted resource record sets and corresponding health checks.
  5. When you click Create, Amazon SNS sends you an email with information about the new Amazon SNS topic.

  6. In the email, click Confirm subscription.

To view CloudWatch alarm status and edit alarms for Amazon Route 53

  1. In the Navigation pane of the Amazon Route 53 console, click Health Checks.

  2. Click the row for any health check.

  3. In the details pane (following x Health Checks Selected), click the Icon to expand the list of CloudWatch alarms icon.

    The CloudWatch Alarms list contains all of the Amazon Route 53 alarms that you have created using the current AWS account.

    The State column shows the current status of each alarm:

    OK

    CloudWatch has accumulated enough statistics from Amazon Route 53 health checks to determine that the endpoint doesn't meet the alarm threshold.

    INSUFFICIENT DATA

    CloudWatch hasn't accumulated enough statistics to determine whether the endpoint meets the alarm threshold. This is the initial state of a new alarm.

    ALARM

    CloudWatch has accumulated enough statistics from Amazon Route 53 health checks to determine that the endpoint meets the alarm threshold and to send notification to the specified email address.

  4. To view or edit settings for an alarm, click the name of the alarm.

  5. To view an alarm in the CloudWatch console, which provides more detailed information about the alarm (for example, a history of updates to the alarm and changes in status), click View in the More Options column for the alarm.

  6. To view all of the CloudWatch alarms that you have created using the current AWS account, including alarms for other AWS services, click View All CloudWatch Alarms.

  7. To view all of the available CloudWatch metrics, including metrics that aren't currently being used by the current AWS account, click View All CloudWatch Metrics.

To view Amazon Route 53 metrics in the CloudWatch console

  1. Sign in to the AWS Management Console and open the Amazon CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. Change the current region to US East (N. Virginia). Amazon Route 53 metrics are not available if you select any other region as the current region.

  3. In the navigation pane, click Route 53.

  4. Under HealthCheckId, check the checkboxes for the applicable metrics.