How Setup Lightsail Load Balancers for High Availability
Step 1: Navigate to Lightsail in AWS Management Console, Firstly Create at least two instances in Lightsail refer to creating instance in lightsail
Step 2: Select Networking option in Lightsail Dashboard
Step 3: In Networking, Click on create load balancer
Step 4: Now enter the necessary details like load balancer name in which region the load balancer should be created (region must be same as region of instances) you can add key-only tags if needed.
Step 5: Now attach the target instances you have created to this load balancer you can also enable session persistence to route the customers to the same instance
Step 6: Now the test the application whether load balancer is working or not, to do this copy the DNS name of your load balancer and open it in new tab.
if successfully attached, you will see the returned pages. In this way we have successfully configure to lightsail load balancers to achieve high availability
Instance 1: WordPress Page
Instance 2: Node JS Page
Setting Up Lightsail Load Balancers For High Availability
Lightsail can be defined as a simple, easy-to-use, and user-friendly service offered by Amazon Web Services (AWS). The main goal of Lightsail is to provide an easy way for individuals, startups, and small businesses to launch and manage virtual private servers (VPS) and other cloud services without any manual handling.
Users or organizations use VPS (Virtual Private Server) instances, which are virtual machines that can be quickly created. Users can choose from different instance sizes and operating systems, including Linux and Windows. which overall reduces the time and effort required to deploy any application.