1. Home
  2. Training Library
  3. AWS Networking and Virtual Private Cloud (VPC) (ANS-C01)

Transit Gateway for Inter- and Intra-Regional Communication

Contents

keyboard_tab
VPC Fundamentals
2
What is a VPC?
PREVIEW2m 25s
VPC Security and Control
VPC Connectivity
VPC Sharing using the AWS Resource Access Manager
Feature Spotlight:

Instructor: Mike Brown

Transit Gateway for Inter- and Intra-Regional Communication

In this lesson we will discuss using Transit Gateway for Inter and Intra regional communication.

Transit Gateway is an alternative to VPC Peering. Instead of each VPC peering with other VPCs, each VPC attaches to a Transit Gateway. Transit Gateways act as a hub in a hub and spoke design. 

As well as allowing multiple VPCs to route to each other, transit gateways also allow attached VPCs to share a Site-to-Site VPN connection or a Direct Connect connection, as well as sharing a single route to the internet.

Transit Gateways are a regional service, VPCs in eu-west-2 must be attached to a Transit Gateway in eu-west-2. To connect VPCs in different regions, you can create a Transit Gateway in each region and then peer the two Transit Gateways. By peering the two Transit Gateways the VPCs in each region will be able to route to each other.  

Using Transit Gateways to connect you VPCs offers benefits and drawbacks when compared to VPC Peering.

Benefits of using Transit Gateway instead of VPC Peering include:

  • Shared connections to on-premises and the internet.

  • Increased scalability, when using VPC peering you can have 50 active VPC peers per VPC. When using a Transit Gateway you can have up to 5000 attachments per gateway.

  • Use of multiple route tables to control the flow of traffic through the Transit Gateways. Each attachment is associated with one route table, using multiple route tables means that we can control which VPCs can route to each other.

  • Support for Equal Cost Multi-Path routing (ECMP). ECMP allows you to use active-active connectivity to your on-premises networks, allowing you to make full use of all the bandwidth available to you.

  • Support for Software-Defined Wide Area Networks (SD-WAN) connectivity using AWS Transit Gateway Connect, and GRE simplifies connectivity between your offices. 

Drawbacks of using Transit Gateway instead of VPC Peering include:

Cost - Transit Gateway is more expensive than VPC Peering. When using Transit Gateway you are charged:

  • Per hour for each attachment to your transit gateway

  • A Price per GB of data processed 

Like VPC Peering, data flowing between VPCs attached to a Transit Gateway stays on the AWS backbone.

 

Difficulty
Advanced
Duration
2h 44m
Students
178
Ratings
5/5
starstarstarstarstar
Description

In this section of the AWS Certified Advanced Networking - Specialty learning path, we introduce you to the various networking and VPC services currently available in AWS that are relevant to the ANS-C01 exam.

Learning Objectives

  • Identify and describe the various networking services available in AWS
  • Describe how to configure an Amazon Virtual Private Cloud (VPC)
  • Understand how to control network traffic via Security Groups and Network Access Control Lists (NACLs)
  • Describe options for VPC connectivity, subnets, and routing
  • Understand how to share VPC resources using the AWS Resource Access Manager (RAM)
  • Identify how to evaluate the configuration of VPC resources using the VPC Reachability Analyzer

Prerequisites

The AWS Certified Advanced Networking - Specialty certification has been designed for anyone with experience designing, implementing, and operating complex AWS and hybrid networking architectures. Ideally, you’ll also have some exposure to the nuances of AWS networking, particularly regarding the integration of AWS services and AWS security best practices. Many exam questions will require advanced level knowledge of many AWS services, including AWS networking services. The AWS Cloud concepts introduced in this course will be explained and reinforced from the ground up.

About the Author
Students
207743
Labs
1
Courses
211
Learning Paths
163

Stuart has been working within the IT industry for two decades covering a huge range of topic areas and technologies, from data center and network infrastructure design, to cloud architecture and implementation.

To date, Stuart has created 150+ courses relating to Cloud reaching over 180,000 students, mostly within the AWS category and with a heavy focus on security and compliance.

Stuart is a member of the AWS Community Builders Program for his contributions towards AWS.

He is AWS certified and accredited in addition to being a published author covering topics across the AWS landscape.

In January 2016 Stuart was awarded ‘Expert of the Year Award 2015’ from Experts Exchange for his knowledge share within cloud services to the community.

Stuart enjoys writing about cloud technologies and you will find many of his articles within our blog pages.