Routing traffic to Amazon VPC Lattice service domain endpoint - Amazon Route 53
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).

Routing traffic to Amazon VPC Lattice service domain endpoint

Amazon VPC Lattice is a fully managed application networking service that you use to connect, secure, and monitor the services and resources for your application. You can use VPC Lattice with a single virtual private cloud (VPC) or across multiple VPCs from one or more accounts. For more information, see What is Amazon VPC Lattice in the Amazon VPC Lattice User Guide.

Prerequisites

To get started, you need the following:

A VPC Lattice service domain that has a custom domain name, such as example.com that matches the name of the Route 53 record that you want to create.

For more information, see Associate a custom domain name with your service in the Amazon VPC Lattice User Guide.

Configuring Amazon Route 53 to route traffic to a VPC Lattice service domain endpoint

To use Route 53 to route traffic to Amazon VPC Lattice service domain, you first get the domain service endpoint provided by VPC Lattice. For more information, see Associate a custom domain name with your service in the Amazon VPC Lattice User Guide.

To route traffic to VPC Lattice service domain endpoint
  1. Go to https://aws.amazon.com and choose Sign In to the Console.

  2. Under Networking & Content Delivery, choose VPC.

  3. Under PrivateLink and Lattice choose Lattice Services.

  4. Create a VPC Lattice service or select an existing VPC Lattice service.

    Note

    When creating a VPC Lattice service, you must specify a custom domain configuration and supply a custom domain name. If you choose an existing service, it must also have a custom domain.

  5. Under Domain configuration, copy the value for the custom domain name.

  6. Open the Route 53 console at https://console.amazonaws.cn/route53/.

  7. In the navigation pane, choose Hosted zones.

  8. Choose the linked name of the hosted zone for the domain that you want to use to route traffic to your VPC Lattice service domain endpoint. The domain name must match the custom domain endpoint defined in VPC Lattice.

  9. Choose Create record.

    You can use the wizard to create the records or choose Switch to quick create.

  10. Specify the following values:

    Routing policy

    Choose the applicable routing policy. For more information, see Choosing a routing policy.

    Record name

    Enter the domain name that you want to use to route traffic to your VPC Lattice service domain endpoint. The default value is the name of the hosted zone.

    For example, if the name of the hosted zone is example.com and you want to use acme.example.com to route traffic to your distribution, enter acme.

    Alias

    If you are using the Quick create record creation method, turn on Alias.

    Value/Route traffic to

    Choose Alias to VPC Lattice service. Choose the Region that the VPC Lattice service domain was created in, and choose the value that you got in step 5.

    Record type

    Choose A – IPv4 address, AAAA – IPv6 address, or both for dual-stack.

    Evaluate target health

    Accept the default value of Yes.

  11. Choose Create records.