Creating an Alias record set
ELB, CloudFront, and S3 respond to each request with one or more IP addresses for the environment and change their IP addresses frequently so you cannot directly add the IP address. The only option is to add them as a CNAME record, but CloudFront allows you to add ELB, CloudFront, or S3 as an endpoint while using an Alias record.
How to do it...
Steps to create an Alias record:
- Select your hosted zone.
- Click on
Create Record Set
to create a new record. - Provide the following values:
Name
: We will keep it blank, as we want to resolvetest.packttest.com
.Type
: SelectA - IPv4 address
.

DNS: Resource Record Type
Alias
: selectYes
.- Choose the Alias target from the following:
- S3 Endpoint
- ELB Application Load Balancer
- ELB Classic Load Balancer
- CloudFront Distributions
- Elastic Beanstalk
- Record Sets in the hosted zone
- Provide the
Alias Hosted Zone ID
(this is specific to selected Alias Target). Routing Policy
: SelectSimple
.Evaluate Target Health
: SelectYes
if you want Route 53 to determine...