> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aviatrix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Gateway Sizing Best Practices Guide

> Although Aviatrix supports a wide array of instance types and sizes in each cloud, this reference guide provides data about gateway sizing and common deployments by other Aviatrix customers to assist you with pre-deployment planning, as well as to help right-size current deployments to...

Although Aviatrix supports a wide array of instance types and sizes in each
cloud, this reference guide provides data about gateway sizing and common
deployments by other Aviatrix customers to assist you with pre-deployment
planning, as well as to help right-size current deployments to maximize cost
savings and efficiency.

This data is for guidance purposes only and is based on Aviatrix Controller
software version 7.2.4820. Every environment may perform differently.

<Warning>
  The information provided in this document is based on Aviatrix's internal testing of the Aviatrix solution. Your network will differ from the testing environment used by Aviatrix. Please use this guide as *reference only* to plan your deployment or drive efficiency in your current deployment.
</Warning>

## Gateway Size Distribution

The following data represents the real-world distribution of Transit Gateway
sizes across the Aviatrix customer base. The data is a representation of what
Aviatrix customers are using in their own production deployments and will not
necessarily reflect the best practice and choice for your network.

Transit Gateways are larger in size because it serves as the hub of
hub-and-spoke architecture, terminating multiple Spoke Gateways. That means that
Transit Gateways need more IPsec throughput and performance compared to Spoke
Gateways, which service only one VPC/VNET/VCN of workloads.

The following tables show data for AWS and Azure cloud.

### Transit Gateway

<img src="https://mintcdn.com/aviatrix-14b37c43/SLQZZmwp9yQQEWL0/images/reference/gateways/gw-sizing-transit.png?fit=max&auto=format&n=SLQZZmwp9yQQEWL0&q=85&s=e393d81fe26ffb8038dc63ef5d47e9fd" alt="Transit Gateway Sizing Distribution" width="802" height="475" data-path="images/reference/gateways/gw-sizing-transit.png" />

### Spoke Gateway

<img src="https://mintcdn.com/aviatrix-14b37c43/SLQZZmwp9yQQEWL0/images/reference/gateways/gw-sizing-spoke.png?fit=max&auto=format&n=SLQZZmwp9yQQEWL0&q=85&s=14737cea3f2b3eadb67f4cda68e4c839" alt="Spoke Gateway Sizing Distribution" width="950" height="501" data-path="images/reference/gateways/gw-sizing-spoke.png" />

## Bandwidth and Performance

This section focuses on the bandwidth and performance expectations of Transit
and Spoke Gateways based on their size.

All the performance numbers are based on Gateways with High Performance
Encryption (HPE) unless specified otherwise.

<Note>
  Gateway performance is impacted by packet size. In our internal testing, a best-case large payload number (which most vendors use) and an Internet Mix (iMix) number of varying packet sizes was used to reflect more real-world performance numbers.
</Note>

Use the graphs and tables below as a guideline to determine what gateway sizing
is most efficient based on your needs. Consider that the more Spoke Gateways
terminating to the same Transit Gateways will impact on the recommended Transit
Gateway size. Aviatrix recommends that you monitor the effects of sizing after
deploying a new gateway or resizing a current one prior to resizing again, to
ensure there will be no traffic impact.

The graphs are a visual representation of the data in the tables. Use the graphs
to visually compare the data in the tables to understand specific numbers.

### AWS Traffic and Deployments

#### Transit Gateway

<img src="https://mintcdn.com/aviatrix-14b37c43/SLQZZmwp9yQQEWL0/images/reference/gateways/gw-sizing-aws-spoke-transit.png?fit=max&auto=format&n=SLQZZmwp9yQQEWL0&q=85&s=f826a1d51cad2b68d242bffabc5f77b9" alt="AWS Transit Gateway Sizing" width="1166" height="234" data-path="images/reference/gateways/gw-sizing-aws-spoke-transit.png" />

<img src="https://mintcdn.com/aviatrix-14b37c43/qERZ79zkW46BYFbv/images/reference/gateways/gw-sizing-aws-spoke-transit-firenet.png?fit=max&auto=format&n=qERZ79zkW46BYFbv&q=85&s=1b6e64f642694abf0ede2ae0d0252a11" alt="AWS Transit Gateway Sizing with FireNet" width="1166" height="210" data-path="images/reference/gateways/gw-sizing-aws-spoke-transit-firenet.png" />

<img src="https://mintcdn.com/aviatrix-14b37c43/SLQZZmwp9yQQEWL0/images/reference/gateways/gw-sizing-aws-spoke-transit-table.png?fit=max&auto=format&n=SLQZZmwp9yQQEWL0&q=85&s=1b91bd98dc01f92eddc69ec470546652" alt="AWS Transit Gateway Sizing Table" width="1108" height="444" data-path="images/reference/gateways/gw-sizing-aws-spoke-transit-table.png" />

#### Spoke Gateway

<img src="https://mintcdn.com/aviatrix-14b37c43/qERZ79zkW46BYFbv/images/reference/gateways/gw-sizing-aws-spoke-spoke.png?fit=max&auto=format&n=qERZ79zkW46BYFbv&q=85&s=d0390e0a6b9755c81a1889f84aa78f78" alt="AWS Spoke Gateway Sizing" width="1150" height="234" data-path="images/reference/gateways/gw-sizing-aws-spoke-spoke.png" />

<img src="https://mintcdn.com/aviatrix-14b37c43/qERZ79zkW46BYFbv/images/reference/gateways/gw-sizing-aws-spoke-egress-nat.png?fit=max&auto=format&n=qERZ79zkW46BYFbv&q=85&s=3d1ccc8215d705f6ce0da07c94eec36f" alt="AWS Spoke Gateway Egress NAT" width="1154" height="238" data-path="images/reference/gateways/gw-sizing-aws-spoke-egress-nat.png" />

<img src="https://mintcdn.com/aviatrix-14b37c43/qERZ79zkW46BYFbv/images/reference/gateways/gw-sizing-aws-spoke-nat-dcf-domain.png?fit=max&auto=format&n=qERZ79zkW46BYFbv&q=85&s=07f1e425b953e672df207a807db4fffd" alt="AWS Spoke Gateway NAT DCF Domain" width="1150" height="242" data-path="images/reference/gateways/gw-sizing-aws-spoke-nat-dcf-domain.png" />

<img src="https://mintcdn.com/aviatrix-14b37c43/qERZ79zkW46BYFbv/images/reference/gateways/gw-sizing-aws-spoke-spoke-table.png?fit=max&auto=format&n=qERZ79zkW46BYFbv&q=85&s=1f847b907d9fa27364790ab4cfba0a69" alt="AWS Spoke Gateway Sizing Table" width="1136" height="588" data-path="images/reference/gateways/gw-sizing-aws-spoke-spoke-table.png" />

### Azure Traffic and Deployments

#### Transit Gateway

<img src="https://mintcdn.com/aviatrix-14b37c43/SLQZZmwp9yQQEWL0/images/reference/gateways/gw-sizing-azure-spoke-transit.png?fit=max&auto=format&n=SLQZZmwp9yQQEWL0&q=85&s=11ef2b89b24c053b0c3c73055bbc4dcc" alt="Azure Transit Gateway Sizing" width="1154" height="242" data-path="images/reference/gateways/gw-sizing-azure-spoke-transit.png" />

<img src="https://mintcdn.com/aviatrix-14b37c43/SLQZZmwp9yQQEWL0/images/reference/gateways/gw-sizing-azure-spoke-transit-firenet.png?fit=max&auto=format&n=SLQZZmwp9yQQEWL0&q=85&s=d2bf97ece13c1ee553c19ac96e9c0ec9" alt="Azure Transit Gateway Sizing with FireNet" width="1150" height="214" data-path="images/reference/gateways/gw-sizing-azure-spoke-transit-firenet.png" />

<img src="https://mintcdn.com/aviatrix-14b37c43/SLQZZmwp9yQQEWL0/images/reference/gateways/gw-sizing-azure-spoke-transit-table.png?fit=max&auto=format&n=SLQZZmwp9yQQEWL0&q=85&s=18181f8400492791aa1586b280c2d921" alt="Azure Transit Gateway Sizing Table" width="1064" height="544" data-path="images/reference/gateways/gw-sizing-azure-spoke-transit-table.png" />

#### Spoke Gateway

<img src="https://mintcdn.com/aviatrix-14b37c43/SLQZZmwp9yQQEWL0/images/reference/gateways/gw-sizing-azure-spoke-spoke.png?fit=max&auto=format&n=SLQZZmwp9yQQEWL0&q=85&s=b67e63e8896f3363535d4ea9ddb22076" alt="Azure Spoke Gateway Sizing" width="1146" height="230" data-path="images/reference/gateways/gw-sizing-azure-spoke-spoke.png" />

<img src="https://mintcdn.com/aviatrix-14b37c43/SLQZZmwp9yQQEWL0/images/reference/gateways/gw-sizing-azure-spoke-egress-nat.png?fit=max&auto=format&n=SLQZZmwp9yQQEWL0&q=85&s=14afc253dcbd5246ba52caf7fd5c351b" alt="Azure Spoke Gateway Egress NAT" width="1146" height="230" data-path="images/reference/gateways/gw-sizing-azure-spoke-egress-nat.png" />

<img src="https://mintcdn.com/aviatrix-14b37c43/SLQZZmwp9yQQEWL0/images/reference/gateways/gw-sizing-azure-spoke-nat-dcf-domain.png?fit=max&auto=format&n=SLQZZmwp9yQQEWL0&q=85&s=88a7fe019154b04e80433eee9376f56c" alt="Azure Spoke Gateway NAT DCF Domain" width="1146" height="238" data-path="images/reference/gateways/gw-sizing-azure-spoke-nat-dcf-domain.png" />

<img src="https://mintcdn.com/aviatrix-14b37c43/SLQZZmwp9yQQEWL0/images/reference/gateways/gw-sizing-azure-spoke-spoke-table.png?fit=max&auto=format&n=SLQZZmwp9yQQEWL0&q=85&s=1e825f202f7040c4f9a8f7175ff45c5a" alt="Azure Spoke Gateway Sizing Table" width="972" height="772" data-path="images/reference/gateways/gw-sizing-azure-spoke-spoke-table.png" />
