Depending on the type of applications we are planning to run, we have to understand the service-level agreement (SLA) that is provided by the vendors for these applications in terms of uptime, and we need to plan our applications accordingly.
Let's look at a simple way of using DNS to achieve high availability of our application:
In this design, the following things happen:
- When the user tries to connect to our website using a web browser such as Google Chrome or Firefox, it first tries to contact the DNS server
- The DNS server is aware of our frontend servers and returns a list of all the servers
- The browser will connect ...