Route53
Usually traffic is routed via domain names and not IP addresses. Route53 provides the means of DNS zones in AWS. In this example I will create a DNS zone using Route53 and then add three DNS recordss in there.
Let's start by creating a file with the name vars.tf
,
Then a file with the name provider.tf
,
Finally our route53.tf
file,
In here, I first declare a Route53 DNS zone. Then I define 3 DNS records. First two are for the domain names pointing to a server with IP address 103.137.247.5
. Then the final record is for the email configurations with G-Suite.
Initialize the providers,
Apply the changes,
Don't forget to clean up once experiments are done,
Last updated