Creating backup
What if your server goes down? To avoid that, we will create few more instances in another subnet to have high availability. This is how you can make sure your application is highly available and reliable.
Let's start by creating remaining three servers on another availability zone. This can be done by clicking on Launch Instance, and selecting the AMI from AWS Marketplace. This will be the same that we created earlier, which is CentOS7. Here, we will select t2.micro instances, just as before. We will now need three instances. Select our VPC but with another subnet that we created. We will select the Enable auto-assign Public IP option this time so that we'll have the auto-assigned IP address. Now we will change the Volume ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access