Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Practical AWS Networking
  • Table Of Contents Toc
  • Feedback & Rating feedback
Practical AWS Networking

Practical AWS Networking

By : Mitesh Soni
2.7 (6)
close
close
Practical AWS Networking

Practical AWS Networking

2.7 (6)
By: Mitesh Soni

Overview of this book

Amazon Web Services (AWS) dominates the public cloud market by a huge margin and continues to be the first choice for many organizations. Networking has been an area of focus for all the leading cloud service providers. AWS has a suite of network-related products which help in performing network related task on AWS. This book initially covers the basics of networking in AWS. Then we use AWS VPC to create an isolated virtual cloud for performing network-related tasks. We then provide an overview of AWS Direct Connect after taking a deep dive into scalability and load balancing using the auto scaling feature, Elastic Load Balancing, and Amazon Route S3. Toward the end of the book, we cover troubleshooting tips and security best practices for your network. By the end of this book, you will have hands-on experience of working with network tasks on AWS.
Table of Contents (10 chapters)
close
close

Overview of networking services

In this section, we will have an overview of networking services and then we will cover them in detail in the coming chapters.

Let's start with Amazon Virtual Private Cloud.

Amazon Virtual Private Cloud

Amazon Virtual Private Cloud (Amazon VPC) is more secure because it allows you to create instances in a logically isolated virtual network.

The following screenshot shows few components that are important in the Amazon VPC:

AWS Account supports EC2 instances in VPC only. Now the question can be, do you need to create a VPC the moment you create your account?

The answer is no. Default VPC is available in the Amazon VPC. If you delete default VPC, then you cannot restore it. You need to contact AWS Support.

References: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/default-vpc.html

Default VPC contains the following:

  • VPC with a size /16 IPv4 CIDR block (172.31.0.0/16); it means 65,536 private IPv4 addresses. For more details on CIDR, visit: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing.
  • Default subnet /20 in each Availability Zone; it means 4,096 addresses per subnet.
  • One internet gateway.
  • A main route table for default VPC.
  • Default security group and associate it with your default VPC.
  • Default network access control list (ACL).
  1. Click on Your VPCs in the VPC Dashboard
  2. Verify the VPC ID, State, IPv4 CIDR, Route table, Network ACL, and so on

The subnet can be defined as a section of a VPC's IP address range where you can place groups of isolated compute resources.

Each subnet in default VPC has 4091 addresses available, and each subnet is created in the different Availability Zones.
  1. Click on Subnet on the left sidebar in VPC Dashboard. Below Subnets, we have Route tables, Internet Gateways, NAT Gateways, and Elastic IP addresses
  • Route Tables help us define subnets that need to be routed to the Internet Gateway, the virtual private gateway, or other instances.
  • Internet Gateway allows connection to the public internet from Amazon VPC.
  • NAT Gateway represents a highly available and managed Network Address Translation (NAT) service for resources in a private subnet to access the internet. NAT gateway is created in public subnet.
  • An Elastic IP address is a public static IPv4 address, so you can access the resource. If elastic IP address is not allocated with a running instance, then hourly charge has to be paid by the user.

In the next section, we will discuss Amazon CloudFront.

Amazon CloudFront

Amazon CloudFront is a CDN, a content delivery network service. It helps speedy content delivery to the user with the use of edge locations established by AWS.

Go to AWS Management Console | Services | Networking & Content Delivery | CloudFront:

The following sequence takes place when the user requests static or dynamic content:

  1. If the content is available in the edge location nearby the user, CloudFront delivers the content immediately
  2. If the content is not available in the edge location nearby the user, CloudFront requests content from the source, such as Amazon S3 bucket or an HTTP server, and deliver to the user

In the next section, we will discuss Amazon Route 53.

Amazon Route 53

Amazon Route 53 is a domain name or DNS service. It is a reliable and scalable service that has DNS servers distributed globally. It scales automatically to manage the spike in the DNS queries so services are robust.

Let's note down what services it provides to a user. The following things can be achieved using Amazon Route 53:

  • Highly available domain name system
  • Domain name registration
  • Health checks
  • Scalable domain name system

Go to AWS Management Console | Services | Networking & Content Delivery | Route 53:

In the next section, we will cover AWS Direct Connect in brief.

AWS Direct Connect

Can we connect to AWS from internal network of an organization without accessing the internet? The answer is yes!

It's quite simple! Connect the internal network to the AWS Direct Connect location using standard 1 Gigabit or 10 Gigabit Ethernet fiber-optic cable. Once this is achieved, you can create virtual interfaces to AWS services.

Go to AWS Management Console | Services | Networking & Content Delivery | Direct Connect:

In the next section, we will cover Elastic Load Balancing in brief.

Elastic Load Balancing

Elastic Load Balancing/Elastic Load Balancers (ELB) can be used to distribute traffic to multiple targets. ELB can be configured on Amazon VPC and Amazon Elastic Beanstalk. It distributes traffic to only healthy targets.

There are two types of load balancers that are supported by Elastic Load Balancing:

  • Application Load Balancers
  • Classic Load Balancers

Go to AWS Management Console | Services | EC2 | EC2 Dashboard | Load Balancing | Load Balancers:

In the next section, we will cover Auto Scaling in brief.

Auto Scaling

Auto scaling creates a scenario where you have an appropriate number of instances or targets to serve the traffic load based on certain conditions. Based on configured Auto Scaling policies, instances are increased and decreased on demand.

Go to AWS Management Console | Services | EC2 | EC2 Dashboard | Auto Scaling | Launch Configurations or Auto Scaling Groups:

In the next section, we will cover AWS Billing Dashboard.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Practical AWS Networking
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon