Amazon Route 53
Developer Guide (API Version 2013-04-01)
Did this page help you?  Yes | No |  Tell us about it...
« 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.

Monitoring Health Check Status and Getting Notifications

You can monitor the status of your health checks in the Amazon Route 53 console. You can also use CloudWatch to set alarms and get automated notifications when your health check status changes.

Viewing Health Check Status and the Reason for Health Check Failures

You can view the current status of a health check endpoint as reported by each of the Amazon Route 53 health checkers, including a brief explanation of why a health check failed. In addition, for the most recent health check failure, you can view the reason that the health check failed.

To view the status and last failure reason for a health check by using the Amazon Route 53 console

  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, choose Health Checks.

  3. For a quick view of whether Amazon Route 53 considers a health check endpoint to be healthy, see the Status column in the right pane. For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy.

  4. For a more detailed view of whether individual Amazon Route 53 health checkers consider a health check endpoint to be healthy, in the right pane, select the health check for which you want to view the status.

  5. In the bottom pane, choose the Health Checkers tab.

    Note

    New health checks must propagate to Amazon Route 53 health checkers before health check status and last failure reason appear in the Status column. Until propagation has finished, that column explains that no status is available.

  6. Choose whether you want to view the current status of the health check, or view the date and time of the last failure and the reason for the failure. The table on the Status tab includes the following values:

    Health CheckerIP

    The IP address of the Amazon Route 53 health checker that performed the health check.

    Last Checked/Last Failed

    The date and time of the health check or the date and time of the last failure, depending on the option that you select at the top of the Status tab.

    Status

    Either the current status of the health check or the reason for the last health check failure, depending on the option that you select at the top of the Status tab.

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.

CloudWatch metrics are retained for two weeks.

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, choose Health Checks.

  3. Choose 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 the Amazon Route 53 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 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, choose the refresh (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, choose Health Checks.

  2. Choose the row for the applicable health check.

  3. Choose 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, choose 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 that 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 choose Create, Amazon SNS sends you an email with information about the new Amazon SNS topic.

  6. In the email, choose Confirm subscription. You must confirm your subscription to begin receiving CloudWatch notifications.

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

  1. In the navigation pane of the Amazon Route 53 console, choose Health Checks.

  2. Choose the row for any health check.

  3. In the details pane (following x Health Checks Selected), choose the right caret (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, choose 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), choose 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, choose 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, choose 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 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, choose Route 53.

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