Our instances are running, but there is no way to access them outside of AWS. We will use a classic Elastic Load Balancing (ELB) for our examples, but the ALB offers a number of additional features for web traffic. These include more advanced health checks, better redirection, and a more complete pool management component.
Load balancing
Global Traffic Manager
In this case, we will use a DNS record to point at the public IP addresses of both instances. This creates a Global Traffic Manager (GTM) service in front of them by adding this to the bottom of main.tf:
# Global Traffic Management using DNS
resource "aws_route53_record" "www" {
zone_id = "${aws_route53_zone.book.zone_id}"
name...