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

marco.cirilli
from marco.cirilli More from this publisher
19.06.2021 Views

Chapter 16 ■ Developing a Highly Available WebsiteThe Public DNS name for each of the ELBs should display the result for the hello-world application asshown in Figure 16-18.Figure 16-18. Invoking the public DNS for another Elastic Load BalancerCreating an AWS Route 53 ServiceIn this section we shall create an AWS Route 53 service to route user requests to the oramagsearch.comdomain to the elastic load balancers, more specifically the public DNS name of the ELBs. We shall createtwo resource record sets, pointing to two different ELBs configured for failover, with one of the ELBs beingthe 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 primaryresource record set. If the primary record set becomes unavailable, the service routes the user request tothe secondary record set, in effect providing high availability of the Hello World web application on theoramagsearch.com domain.To create an AWS Route 53 service, select Route 53 in AWS Services as shown in Figure 16-19.367

Chapter 16 ■ Developing a Highly Available WebsiteFigure 16-19. Selecting the Route 53 serviceCreating a Hosted ZoneTo create a hosted zone, select Hosted Zones in the margin and click Create Hosted Zone as shown inFigure 16-20.Figure 16-20. Creating a hosted zone368

Chapter 16 ■ Developing a Highly Available Website

Figure 16-19. Selecting the Route 53 service

Creating a Hosted Zone

To create a hosted zone, select Hosted Zones in the margin and click Create Hosted Zone as shown in

Figure 16-20.

Figure 16-20. Creating a hosted zone

368

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

Saved successfully!

Ooh no, something went wrong!