19.06.2021 Views

148422597X Kubernetes Management Design Patterns [Vohra 2017-01-29] {E559F6BB}

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 16 ■ Developing a Highly Available Website

The Public DNS name for each of the ELBs should display the result for the hello-world application as

shown in Figure 16-18.

Figure 16-18. Invoking the public DNS for another Elastic Load Balancer

Creating an AWS Route 53 Service

In this section we shall create an AWS Route 53 service to route user requests to the oramagsearch.com

domain to the elastic load balancers, more specifically the public DNS name of the ELBs. We shall create

two resource record sets, pointing to two different ELBs configured for failover, with one of the ELBs being

the primary resource record set and another being the secondary record set. When the oramagsearch.

com domain is invoked in a web browser, the AWS Route 53 service routes the request to the primary

resource record set. If the primary record set becomes unavailable, the service routes the user request to

the secondary record set, in effect providing high availability of the Hello World web application on the

oramagsearch.com domain.

To create an AWS Route 53 service, select Route 53 in AWS Services as shown in Figure 16-19.

367

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!