To deploy Apache Mesos and the pertinent components, we need servers where we can install these components. So, in this module, we will work on creating EC2 instances on AWS.
To deploy Mesos on AWS, we should have a Virtual Private Cloud (VPC), a subnet, in order to launch our instances inside different subnets as per our requirements, a route table where our instances can communicate with each other, and an internet gateway for public access, and then we will create the EC2 instances. After the creation of EC2 instances, we will deploy our Mesos software and their components.
Before we start with EC2 instances, let's understand the architecture of our system. The following diagram shows the architecture in which we are working on AWS and creating a VPC. Now we will create the EC2 instance, which will have two Marathon servers and three Mesos master...