Creating a routing control health check in Route 53 ARC - Amazon Route 53 Application Recovery Controller
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Creating a routing control health check in Route 53 ARC

You associate a routing control health check with each routing control that you want to use for rerouting traffic. Then you configure each health check with a Amazon Route 53 DNS record, for example, a failover DNS record. Then you can reroute traffic in Amazon Route 53 Application Recovery Controller simply by updating the state of the associated routing control, to set it to On or Off.

Note

You can't edit an existing routing control health check to associate it with a different routing control.

To create a routing control health check

  1. Open the Amazon Route 53 console at https://console.aws.amazon.com/route53/home.

  2. Under Application Recovery Controller, choose Routing control.

  3. On the Routing control page, choose a routing control.

  4. On the Routing control detail page, choose a Create health check.

  5. Enter a name for the health check, and then choose Create.

Next, you create Route 53 DNS records, and associate your routing control health checks with each one. For example, let's assume you have two DNS failover records that you want to associate your routing control health checks with. For failover to work correctly, create two failover records: a primary and a secondary. For more information about configuring DNS failover records, see Health checking concepts.

After you've created the primary failover record, the values should be something like the following:

Name: myapp.yourdomain.com Type: CNAME Set Identifier: Primary Failover: Primary TTL: 0 Resource Records: Value: cell1.yourdomain.com Health Check ID: xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

The secondary failover record values should be something like the following:

Name: myapp.yourdomain.com Type: CNAME Set Identifier: Secondary Failover: Secondary TTL: 0 Resource Records: Value: cell2.yourdomain.com Health Check ID: xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Now, say that you want to reroute traffic in the case of a failure. To do this, you update the associated routing control states to change the primary routing control state to Off and the secondary routing control state to On. When you do this, the associated health checks stop traffic from going to the primary replica and route it instead to the secondary replica.

To see examples of the Amazon CLI commands for creating routing controls and the associated health checks, see Get started with routing control by using the Amazon CLI.