Shashikant shah

Tuesday 5 January 2021

AWS Route53 Details

 

Route 53

·       Route53 is a Managed DNS. (Domain name system)

·       DNS is a collection of rule and records which helps clients understand how to reach a server through its domain name.

·       In aws the most common records are:

1.A :- hostname to IPv4

2.AAAA :- hostname to IPv6

3.CNAME :- hostname to hostname

4.Alias :- hostname to AWS resource.

5.TTL :- time to live.

·       Route53 can use:

Public domain you own (or buy).

Private domain names that can be resolved by your instances in your VPCs.

·       Route53 has advanced features such as:

1.Load balancing (through DNS – also called client load balancing)

2.Health checks (although limited..)

3.Routing policy: simple, failover, geolocation, latency, weighted, multi value.

·       You pay $0.50 per month per hosted zone.

CNAME vs Alias shortcut name.

 

CNAME

Alias

1.

Only for Non Root Domain map.

Non Root domain and Root domain map.

2.

Eg :-  <cname>.excample.com mapping to test.lb.com name.

 

Root domain mapping to alias name

(alias name)                            (Root domain)

jk.example.com mapping to lb.com

Non Root mapping to alias name

Jk1 alias name and test.lb.com is a non root.

Jk1.example.com mapping to test.lb.com

3.

It is chargeable.

It is a free.

4.

Not health check

Native health check.

 

Simple Routing Policy :-











Domain map multiple Ips.

simple.stephanetheteacher.com    34.255.122.72, 3.86.116.186













Weighted Routing Policy :-







































Create a server different region like eu-west, us-east and map single domain all servers.
















Health checks














Failover Routing Policy.













Create a record set. (failover primary).













Create a record set. (failover secondary).













Routing Policy – Geolocation


























Routing policy – multi Value













3rd Party Registrar with AWS Route 53





























1.RDS replication created.

2.Create Private host Zone in Route53 for rds replication.
















# Select Region

# Select VPC ID

2. create a CNAME record for replocation01 :-












3. create a CNAME record for replocation02 :-











4.Read replica access

# mysql -h read.foobar.internal -u admin -p

5.master access

# mysql -h master.foobar.internal -u admin -p

No comments:

Post a Comment