Amazon CloudFront
Developer Guide (API Version 2010-11-01)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

Setting up Route 53

Live streaming requires that you use a Route 53 hosted zone for the domain or subdomain that you will use for the live stream. How you set up Route 53 for live streaming depends on your current DNS service and domain configuration:

  • If you already use Route 53 as your DNS service and if you want to use an existing domain or subdomain for live streaming, you don't need to make any further changes to your Route 53 configuration. Skip to Creating an AWS CloudFormation Stack for Live Streaming.

  • If you already use Route 53 but you want to create a new domain for live streaming, see Creating a Domain that Uses Route 53 as the DNS Service in the Amazon Route 53 Developer Guide.

  • If you already use Route 53 but you want to create a new subdomain for live streaming, add the applicable resource record sets to your hosted zone. For more information, see Creating, Changing, and Deleting Resource Record Sets in the Amazon Route 53 Developer Guide.

  • If you don't already use Route 53 as your DNS service, do the following tasks to set up Route 53 for live streaming.

Process for Setting up Route 53 for Live Streaming

1

If you want to use a new domain for live streaming, contact a registrar and register your domain name. For a list of registrar web sites that you can use to register your domain name, see ICANN.org.

If you want to use a new subdomain (for example, companymtg.example.com) under a domain that you already own (example.com), skip to step 2.

2

Create a Route 53 hosted zone for the domain or subdomain. See Creating a Hosted Zone.

3

Update name server records with your registrar or DNS service. See Updating Name Server Records with Your Registrar or DNS Service.


[Note]Note

When you create an AWS CloudFormation stack for live streaming later in the process, AWS CloudFormation starts an Amazon EC2 instance and configures an Amazon CloudFront distribution. The Amazon EC2 instance and the CloudFront distribution each need the DNS name of the other at the time that they're created. A domain or subdomain that is managed by Route 53 provides an indirection that allows AWS CloudFormation to bypass this mutual dependency.

Creating a Hosted Zone

Do the following procedure to create a Route 53 hosted zone.

[Note]Note

When you create a hosted zone, Route 53 automatically creates four name server (NS) records and a start of authority (SOA) record for the zone. The NS records identify the name servers that you give to your registrar or your DNS service so that queries are routed to Route 53 name servers.

To create a hosted zone using the Route 53 console

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

  2. In the Route 53 console, above the left pane, click Create Hosted Zone.

  3. In the right pane, enter a domain name and, optionally, a comment. For more information about a field, see the tool tip for the field.

    Creating a hosted zone: tooltip for Domain Name.

  4. Below the right pane, click Create Hosted Zone.

Updating Name Server Records with Your Registrar or DNS Service

After you create a hosted zone for the domain or subdomain that you want to use for live streaming, update name server (NS) records with your current DNS service, so queries for the domain or subdomain are routed to Route 53. If you just bought a new domain from a registrar, the registrar is your DNS service; update records with the registrar. If you are using another DNS service for the domain or subdomain, update NS records with that DNS service.

  1. Optional: Using the method provided by your DNS service, back up the zone file for the parent domain.

  2. In the Route 53 console, get the name servers in the delegation set for your Route 53 hosted zone:

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

    2. On the Hosted Zones page, click the name of the hosted zone.

    3. In the right pane, make note of the four servers listed for Delegation Set.

    Alternatively, you can use the GetHostedZone action. For more information, see GetHostedZone in the Amazon Route 53 API Reference.

  3. Using the method provided by the registrar or the DNS service, update or add NS records:

    • If you created a new domain, update NS records for the domain with the name servers that you got in Step 2.

    • If you created a subdomain without migrating the parent domain to Route 53, add NS records for the subdomain to the parent domain. In these NS records, specify the name servers that you got in Step 2.

[Caution]Caution

If you created a subdomain for live streaming, and if your DNS service automatically added an SOA record for the subdomain, delete the record for the subdomain. However, do not delete the SOA record for the parent domain.

Next: Creating an AWS CloudFormation Stack for Live Streaming