Skip to main content
This document provides instructions to build a hub-and-spoke network model across multiple clouds in a single-region with Aviatrix Spoke and Transit Gateways. The hub-and-spoke model consists of an Aviatrix Transit Gateway and a set of Spoke Gateways, as shown in the diagram below. The network traffic flows between the Spoke VPCs through the Transit VPC. Single-Region Multicloud Transit Network

Prerequisites

  1. If you have not launched an Aviatrix Controller, refer to the following Guides for your Cloud Service Provider:
If this is your first time using Aviatrix, make sure to go through the Controller onboarding process and create an Aviatrix account that corresponds to an IAM role.
  1. Identify a VPC or VNet in a region where you want to launch the Transit Gateway, and name it Transit VPC or VNet.
Aviatrix recommends using the Create a VPC tool with the option Transit + FireNet to create a Transit VPC/VNet that has all the necessary subnets and route tables fully populated.
For a Transit network in AWS, see Prerequisites for a Transit Network in AWS.
  1. Create a VGW or reuse an existing VGW.
The VGW should not be attached to the Transit VPC or VNet if you plan to launch Transit Gateway in the same VPC or VNet. This VGW can be attached to a different VPC or VNet if this VPC or VNet CIDR is different from the Transit VPC or VNet where the Transit Gateway is launched or in a different region and account. This VGW should be connected to on-premises either over Direct Connect or over the Internet.

Configuration Workflow

While the instructions below reference AWS, the workflow applies to any public cloud in which Aviatrix Transit Network is supported.
Follow these steps to build a single-region multicloud Transit Network:
  1. Create a Primary and Highly Available (HA) Transit Gateway.
  2. Create a Primary and Highly Available (HA) Spoke Gateway.
  3. Attach the Spoke Gateway to the Transit Gateway.

1. Creating a Transit Gateway

To create primary and Highly Available (HA) Transit Gateway instances, provide the Transit Gateway general details, then assign the subnet and IP addresses for the gateway instances.
1

Navigate to the Transit Gateways

In Aviatrix CoPilot, go to Cloud Fabric > Gateways > Transit Gateways.For quick access, at the top of the navigation panel, type Transit Gateways in the search bar.
2

Create a Transit Gateway

Click + Transit Gateway and provide the following general information.
3

Advanced Settings

In the Advanced Settings section, set the advanced gateway settings that may apply.
4

High Availability Instances

In the Instances section, assign the subnets and IP addresses for the Transit Gateway instances.To create a highly available (HA) gateway instance, click + Instance and assign the subnet and IP address.A Transit gateway supports up to 15 HA gateway instances.The gateway instances are created in active-active mode.
5

Resource Tags

In the Resource Tags section, you can add custom resource tags for the Transit Gateway.
  1. Click + Resource Tag.
  2. Enter a key to identify the resource and a value for the Key. The Key must be unique.
  3. Click the checkmark icon to add the key:value pair to the resource tags.
  4. Click the Tick button to save it.
6

Save the Transit Gateway

Click Save.
You can monitor the progress of the gateway creation by going to CoPilot > Monitor > Notifications > Tasks tab. Click the expand arrow next to the gateway name to see the progress.

2. Creating a Spoke Gateway

To create primary and Highly Available (HA) Spoke Gateway instances, provide the Spoke Gateway general details, then assign the subnet and IP addresses for the gateway instances.spoke vpc
1

Navigate to the Spoke Gateways

In Aviatrix CoPilot, go to Cloud Fabric > Gateways > Spoke Gateways.For quick access, at the top of the navigation panel, type Spoke Gateways in the search bar.
2

Create a Spoke Gateway

Click + Spoke Gateway and provide the following general information.
3

Advanced Settings

In the Advanced Settings section, set the advanced gateway settings that may apply.
4

High Availability Instances

In the Instances section, assign the subnet and IP address for the Spoke Gateway instances.To create a highly available (HA) gateway instance, click + Instance and designate the subnet and IP address of the gateway instance.A Spoke Gateway can have up to 15 HA gateway instances.All gateway instances are created in active-active mode.A BGP-enabled Spoke Gateway can have only two HA gateway instances.A Spoke Gateway with Site2Cloud or customized SNAT and DNAT enabled can have only two HA gateway instances.
5

Resource Tags

In the Resource Tags section, you can add custom resource tags for the Spoke Gateway.
  1. Click + Resource Tag.
  2. Enter a key to identify the resource and a value for the Key. The Key must be unique.
  3. Click the checkmark icon to add the key:value pair to the resource tags.
  4. Click Save.
6

Save the Spoke Gateway

Click Save.
You can monitor the progress of the gateway creation by going to CoPilot > Monitor > Notifications > Tasks tab. Click the expand arrow next to the gateway name to see the progress.

3. Creating a Spoke to Transit Attachment

To attach a Spoke Gateway to a Transit Gateway:
1

Navigate to the Spoke Gateways

In Aviatrix CoPilot, go to Cloud Fabric > Gateways > Spoke Gateways.
2

Manage Gateway Attachment Dialog

In the table, locate the Spoke Gateway you want to attach and click the Manage Gateway Attachment icon on the right side of its row.
3

Create a Spoke to Transit Attachment

In the Manage Gateway Attachment dialog, click the Transit Gateway tab and then click + Attachment and provide the following information.To attach this Spoke Gateway to another Transit Gateway, click + Attachment again and provide the attachment details.
4

Save the Spoke to Transit Attachment

Click Save.
A notification appears indicating that the Spoke Gateway is attached to the Transit Gateway.

View the Network Topology

You can view the network topology in CoPilot by going to Cloud Fabric > Topology. For more information about using the topology map, see Gaining Visibility into Your Network Topology.

View the Gateway’s Connections and Route Tables

You can view the Spoke and Transit Gateway connections and route table information.
1

Navigate to the Gateways

In Aviatrix CoPilot, go to Cloud Fabric > Gateways, and select the Spoke or Transit Gateway to open the gateway’s page.
2

View the Connections of the Gateway

Click the Attachments tab to view the gateway’s connections.
3

View the Route Tables of the Gateway

Click the VPC/VNet Route Tables tab, then from the Route Table dropdown menu, select a route table to view the routes.