Sunday, October 11, 2020

AWS Route 53 [Part 2]

AWS Route 53

Routing Policies:

When you create a record, you choose a routing policy, which determines how Amazon Route 53 responds to queries:

1.      Simple Routing: Randomly picks IP



2.      Weighted Routing: Routes traffic as per the weight allotted, in example 70% of the traffic will be routed to 30.1.1.2 IP and rest will be to another



 

3.      Latency Based Routing: Routing based on latency. The traffic will be routed to the instance which takes lesser time to reach.



 

4.      Failover Routing: Active/Passive. The routing will be diverted to the active instance and if the instance goes down then the passive instance will be made active.



5.      Geolocation Based Routing: The routing will be based on route location of user & instance.



Geoproximity Routing (traffic flow only): Geoproximity routing lets Amazon Route 53 route traffic to your resources based on the geographic location of your users and your resources. You can also optionally choose to route more traffic or less to a given resource by specifying a value, known as a bias. A bias expands or shrinks the size of the geographic region from which traffic is routed to a resource.

 

6.      Multivalue Answer routing: Same like Simple routing policy but health check will be added and the unhealthy instance will be removed from the routing policy.




Terraform Cheat Sheet [WIP]

Installing Terraform