Before we start, we need to spin up two instances running Amazon Linux and put them in two availability zones. This way, we will demonstrate how to make an application highly available:

  1. We can follow the procedure to build an EC2 instance from the Building an EC2 instance in AWS section in Chapter 5, Managing Servers on AWS with Elastic Compute Cloud. Once created, we should see two instances running in two availability zones:
  1. We will also create a new security group to open port 80 on those instances, as we will be serving a simple HTTP site to show the server's name in the response:
  1. Choose Create Security Group, specify ...

Get AWS Certified SysOps Administrator - Associate Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.