Book Image

Designing AWS Environments

By : Mitesh Soni, Wayde Gilchrist
Book Image

Designing AWS Environments

By: Mitesh Soni, Wayde Gilchrist

Overview of this book

Amazon Web Services (AWS) provides trusted,cloud-based solutions to help you meet your business needs. Running your solutions in the AWS Cloud can help you get your applications up and running faster while providing the security to meet your compliance requirements. This book begins by familiarizing you with the key capabilities to architect and host applications, websites, and services on AWS. We explain the available options for AWS free tier with virtual instances and demonstrate how you can launch and connect them. Using practical examples, you’ll be able to design and deploy networking and hosting solutions for large deployments. Finally, the book focuses on security and important elements of scalability and high availability using AWS VPC, Elastic Load Balancing, and Auto scaling. By the end of this book, you will have handson experience of working with AWS instances,VPC, Elastic Load Balancing, and Auto scalingrelated tasks on Amazon Web Services.
Table of Contents (12 chapters)

Subnets and route tables


In the previous section, we learned about private, public, and Elastic IP addresses, and how they are assigned to the ENIs attached to an instance. Following are a few components that are important in the Amazon VPC:

In this section, we're going to discuss subnets and route tables, and how a route in the route table can make a subnet public or private. Then, we'll talk about NAT instances and NAT gateways, to give instances and private subnets access to the internet.

Note

Do you need to create a VPC the moment you create your account? The answer is, No. A default VPC is available on the Amazon VPC. If you delete the default VPC then you cannot restore it. You need to contact AWS Support.

What are subnets?

Subnets are separate portions of the VPC. EC2 instances must be launched into a subnet, so at least one subnet is required for a VPC. To create a subnet, you have to define a CIDR block for it, which is a subset of the VPC's CIDR block. Every subnet in a VPC has to have...