Book Image

AWS for System Administrators

By : Prashant Lakhera
Book Image

AWS for System Administrators

By: Prashant Lakhera

Overview of this book

Amazon Web Services (AWS) is one of the most popular and efficient cloud platforms for administering and deploying your applications to make them resilient and robust. AWS for System Administrators will help you to learn several advanced cloud administration concepts for deploying, managing, and operating highly available systems on AWS. Starting with the fundamentals of identity and access management (IAM) for securing your environment, this book will gradually take you through AWS networking and monitoring tools. As you make your way through the chapters, you’ll get to grips with VPC, EC2, load balancer, Auto Scaling, RDS database, and data management. The book will also show you how to initiate AWS automated backups and store and keep track of log files. Later, you’ll work with AWS APIs and understand how to use them along with CloudFormation, Python Boto3 Script, and Terraform to automate infrastructure. By the end of this AWS book, you’ll be ready to build your two-tier startup with all the necessary infrastructure, monitoring, and logging components in place.
Table of Contents (18 chapters)
1
Section 1: AWS Services and Tools
4
Section 2: Building the Infrastructure
7
Section 3: Adding Scalability and Elasticity to the Infrastructure
11
Section 4: The Monitoring, Metrics, and Backup Layers

Setting up two VPCs

Think of VPC as your data center in the cloud, but instead of spending months or years setting up that data center, it's now a matter of a few clicks (API calls).

VPC provides you with a logically isolated section in the cloud where you can launch your AWS resources inside the virtual network you provide. Network isolation offers you other advantages, such as choosing your IP address range, defining your subnets, and configuring the route table and gateways, which we will discuss in detail later in this chapter.

The architecture we will build in this chapter is as follows:

  • A VPC in two availability zones (us-west-2 Oregon) and (us-east-2 Ohio).
  • Each availability zone will have two subnets (Oregon: 10.0.1.0/24, 10.0.4.0/24 in us-west-2a, 10.0.2.0/24, 10.0.5.0/24 in us-west-2b, and 10.0.3.0/24, 10.0.6.0/24 in us-west-2c; Ohio: 172.16.1.0/24, 172.16.4.0/24 in us-east-2a, 172.16.2.0/24, 172.16.5.0/24 in us-east-2b, and 172.16.3.0/24, 172.16.6...