> ## 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 Performance and Sizing

> Recommended instance types and measured encrypted throughput for Aviatrix Spoke and Transit Gateways on AWS and Azure, organized by Aviatrix standard gateway size.

Aviatrix gateways deliver encrypted, inspected network throughput on standard
cloud compute instances. Because capacity maps directly to instance families,
you size a gateway the same way you size any cloud workload: start with the
recommended size, measure, and resize or scale out without re-licensing or
redeploying. This page lists the instance type behind each Aviatrix standard
gateway size and the measured throughput you can expect from it.

For higher-throughput deployments, Aviatrix recommends the **AWS C6in** instance
family and the **Azure Dsv5** instance family. Both support High Performance
Encryption (HPE), which distributes traffic across multiple IPsec tunnels to
deliver encrypted throughput well beyond the roughly 1.25 Gbps limit of a single
IPsec tunnel.

> [!NOTE]
>
> All figures are the median encrypted throughput measured by Aviatrix across
> test runs. **Large Payload** uses full-size packets, the figure vendor
> datasheets commonly quote. **IMIX** is a blend of packet sizes that better
> reflects production traffic, so size for IMIX. Figures marked \* are burst
> performance when operating within burst credits; see [About Burst
> Performance](#about-burst-performance). Figures marked † used a different
> test methodology than the rest of this page, and figures marked ‡ were
> corroborated with an additional AES-256 test run; see the notes beside the
> figures where they appear. Treat these numbers as planning guidance, not a
> guarantee.

## Quick Sizing

IMIX throughput per Aviatrix standard size, by gateway role. For Spoke Gateways
with Distributed Cloud Firewall, see
[Performance with Distributed Cloud Firewall](#performance-with-distributed-cloud-firewall).
Use this table to find a starting size, then check the detailed tables below.

> [tab] AWS
>
> | Size | Transit Gateway | Spoke Gateway |
> | - | - | - |
> | X Small | 0.65 Gbps | 1.0 Gbps\* |
> | Small | 1.5 Gbps | 1.5 Gbps\* |
> | Medium | 2.9 Gbps | No such size |
> | Large | 5.4 Gbps | 2.3 Gbps |
> | X Large | 9.5 Gbps | 4.3 Gbps |
> | 2X Large | 15.3 Gbps | No such size |

> [tab] Azure
>
> | Size | Transit Gateway | Spoke Gateway |
> | - | - | - |
> | X Small | 0.85 Gbps\* | 0.80 Gbps\* |
> | Small | 1.8 Gbps | Not measured (see note) |
> | Medium | 6.2 Gbps | 3.0 Gbps |
> | Large | 10.5 Gbps | 5.3 Gbps |

A measured IMIX figure for the Azure Small Spoke Gateway exists in the
[detailed table](#spoke-gateway-performance) below. It is omitted from this
summary table because it was measured with a different IMIX packet blend than
the rest of this table, which would make Small look identical to X Small.

For more throughput than a single instance provides, scale out: Transit and
Spoke Gateways support up to 15 instances with ECMP load
balancing, so aggregate fabric capacity is not limited to the throughput of a
single instance.

## Choosing a Gateway Size

* **Spoke Gateways** serve the workloads of a single VPC/VNet. **Small** is the
  most commonly deployed production Spoke Gateway size across Aviatrix
  deployments.
* **Transit Gateways** are the hub of the fabric and terminate many spokes, so
  they need more headroom. **Medium** is the most common Transit Gateway size on
  AWS, and **Small** on Azure.
* The same instance type can map to different standard sizes by role. For
  example, on AWS a c6in.large is a Small Transit Gateway but a Large Spoke
  Gateway. The tables below show the size for each role.
* **X Small** sizes are for dev/test, not production.

> [!TIP]
>
> After deployment, let the platform do the sizing work.
> [Auto Right-Sizing](https://docs.aviatrix.com/docs/enterprise/8.2/concepts-architectures/architecture/sizing/auto-right-sizing-about.md)
> watches real gateway usage and recommends a cost-efficient size from the
> tables below.

> [!WARNING]
>
> Earlier versions of this guide recommended Azure B-series, Dv2-series, and
> Fsv2-series instance types. Microsoft has announced [retirement of these
> series in
> 2028](https://learn.microsoft.com/azure/virtual-machines/sizes/retirement/retired-sizes-list).
> Choose Dsv5-series sizes for all new production gateways; existing gateways on
> retiring series continue to run but should be migrated at the next resize.
> Dsv6-series instance types are supported beginning with Controller 10.1 and
> can offer better price/performance for cost-sensitive deployments. However,
> Aviatrix testing measured roughly 15-20% lower encrypted throughput on Dsv6
> than the equivalent Dsv5 size, so for throughput-driven sizing, Dsv5-series
> sizes remain the recommended choice.

## Transit Gateway Performance

Measured end to end through a Spoke-Transit-Spoke path.

> [tab] AWS
>
> | Size: Instance | Large Payload / IMIX (Gbps) | Approximate Burst Duration |
> | - | - | - |
> | X Small: t3.large (2 vCPU, 8 GiB) | 0.84 / 0.65 | No limit observed |
> | Small: c6in.large (2 vCPU, 4 GiB) | 4.8\* / 1.5 | \~60 min, then 3.1 Gbps |
> | **Medium** (most common): **c6in.xlarge** (4 vCPU, 8 GiB) | 9.9\* / 2.9 | \~60 min, then 6.1 Gbps |
> | Large: c6in.2xlarge (8 vCPU, 16 GiB) | 18.2\* / 5.4 | \~90 min, then 12.2 Gbps |
> | X Large: c6in.4xlarge (16 vCPU, 32 GiB) | 31.6 / 9.5 | No limit observed |
> | 2X Large: c6in.8xlarge (32 vCPU, 64 GiB) | 49.1 / 15.3 | No limit observed |

> [tab] Azure
>
> | Size: Instance | Large Payload / IMIX (Gbps) |
> | - | - |
> | X Small: Standard\_B2ms (2 vCPU, 8 GiB) (Non-HPE) | 0.90\* / 0.85\* |
> | **Small** (most common): **Standard\_D4s\_v5** (4 vCPU, 16 GiB) | 3.3 / 1.8 |
> | Small: Standard\_D8s\_v5 (8 vCPU, 32 GiB) | 6.5 / 3.7 |
> | Medium: Standard\_D16s\_v5 (16 vCPU, 64 GiB) | 11.3 / 6.2 |
> | Large: Standard\_D32s\_v5 (32 vCPU, 128 GiB) | 14.4 / 10.5 |
>
> Dsv5 throughput held steady for the full duration of every test, with no drop
> from burst to baseline.

## Spoke Gateway Performance

Measured Spoke Gateway to Spoke Gateway.

> [tab] AWS
>
> | Size: Instance | Large Payload / IMIX (Gbps) | Approximate Burst Duration |
> | - | - | - |
> | X Small: t3.micro (2 vCPU, 1 GiB) | 3.8\* / 1.0\* | \~7 min, then 0.04 Gbps |
> | **Small** (most common): **t3.medium** (2 vCPU, 4 GiB) | 4.3\* / 1.5\* | \~20 min, then 0.2 Gbps |
> | Small: t3.small (2 vCPU, 2 GiB) | 4.3\* / 1.4\* | \~15 min, then 0.1 Gbps |
> | Large: c6in.large (2 vCPU, 4 GiB) | 7.9\* / 2.3 | \~40 min, then 3.1 Gbps |
> | X Large: c6in.xlarge (4 vCPU, 8 GiB) | 15.2\* / 4.3 | \~45 min, then 6.1 Gbps |
> | Custom: c6in.2xlarge (8 vCPU, 16 GiB) | 26.0\* / 7.0 | \~50 min, then 12.3 Gbps |

> [tab] Azure
>
> | Size: Instance | Large Payload / IMIX (Gbps) |
> | - | - |
> | X Small: Standard\_B1ms (1 vCPU, 2 GiB) (Non-HPE) | 0.91\* / 0.80\* |
> | **Small** (most common): **Standard\_D2s\_v5** (2 vCPU, 8 GiB) | 2.6‡ / 0.8† |
> | Medium: Standard\_D4s\_v5 (4 vCPU, 16 GiB) | 5.7 / 3.0 |
> | Large: Standard\_D8s\_v5 (8 vCPU, 32 GiB) | 11.5 / 5.3 |
> | Custom: Standard\_D16s\_v5 (16 vCPU, 64 GiB) | 11.5 / 10.8 |
>
> † Measured with TCP over a single tunnel between two Spoke Gateways. IMIX uses a
> 7:4:1 blend of 64, 576, and 1436-byte packets (349-byte average), which is
> smaller on average than the IMIX profile used for the other figures on this
> page, so this IMIX figure is conservative by comparison.
>
> ‡ Corroborated across three test runs, including one using AES-256 instead of
> the AES-128 encryption used for the other figures on this page; results were
> consistent across all three.
>
> > [accordion] Azure burstable (B-series) sizes
> >
> > Burstable B-series instances are available at every size tier for dev/test and
> > low-throughput workloads:
> >
> > | Size: Instance | vCPU, Memory | Throughput (Gbps) |
> > | - | - | - |
> > | X Small: Standard\_B1ms | 1 vCPU, 2 GiB | 0.9 |
> > | Small: Standard\_B2s | 2 vCPU, 4 GiB | 0.9 |
> > | Medium: Standard\_B4ms | 4 vCPU, 16 GiB | 0.9 |
> > | Large: Standard\_B8ms | 8 vCPU, 32 GiB | 0.9 |
> >
> > B-series instances do not support accelerated networking or HPE, so encrypted
> > throughput stays at roughly 0.9 Gbps at every size. Choose a larger burstable
> > size for CPU and memory headroom (for example, Distributed Cloud Firewall
> > inspection requires 8 GiB of memory for IPS), not for bandwidth. The 2028
> > B-series retirement noted above applies to these sizes as well.

**Custom** rows are instance types outside the Aviatrix standard sizes for that
role, shown for reference.

## Performance with Distributed Cloud Firewall

Aviatrix inspects traffic on the gateway itself; there is no separate firewall
appliance to size, license, or hairpin traffic through. The following figures
are for a Spoke Gateway performing NAT on egress traffic, with traffic exiting
directly from the spoke (no transit in the path). **NAT Only** is the same
gateway with no Distributed Cloud Firewall policy applied. Each cell shows Large
Payload / IMIX throughput in Gbps.

### AWS

| Instance (Size) | NAT Only | L4 Policy | L7 SNI Filtering |
| - | - | - | - |
| t3.small (Small) | 2.6\* / 1.2\* | Not measured | Not measured |
| t3.medium (Small) | 2.5\* / 1.5\* | 2.3\* / 1.3\* | 2.4\* / 0.57\* |
| c6in.large (Large) | 4.6 / 2.3 | 3.5 / 2.1 | 4.0 / 0.75 |
| c6in.xlarge (X Large) | 8.9 / 4.4 | 6.9 / 4.2 | 7.9 / 1.5 |
| c6in.2xlarge (Custom) | 9.3 / 8.2 | 9.3 / 7.5 | 9.5 / 2.9 |

### Azure

| Instance (Size) | NAT Only | L4 Policy | L7 SNI Filtering |
| - | - | - | - |
| Standard\_B2ms | 0.9\* / Not measured | Not measured | 0.9\* / 0.4\* |
| Standard\_D4s\_v5 (Medium) | 8.6 / 3.9 | 8.5 / 3.1 | 8.4 / 0.82 |
| Standard\_D8s\_v5 (Large) | 11.8 / 7.5 | 11.7 / 5.5 | 11.9 / 1.8 |
| Standard\_D16s\_v5 (Custom) | 11.8 / 11.2 | 11.8 / 9.6 | 11.9 / 3.1 |

L7 inspection is packet-size sensitive: large-payload throughput stays close to
NAT-only numbers, while IMIX traffic pays a higher per-packet inspection cost.
Size egress gateways for your IMIX number, or scale out.

Distributed Cloud Firewall is supported on burstable sizes down to Standard\_B1ms
for L4-only policy, Standard\_B2s with external groups, and Standard\_B2ms with
IDS or IPS enabled. See&#x20;

[Minimum Spoke Gateway Sizing](https://docs.aviatrix.com/docs/enterprise/8.2/concepts-architectures/components/dcf/dcf-overview.md#minimum-spoke-gateway-sizing)
for the full matrix.

## FireNet

When you insert a third-party firewall through Transit FireNet, end-to-end
throughput is limited by the lower of the firewall appliance's inspection rate
and the Transit Gateway's forwarding rate. Size the Transit Gateway one standard
size larger than the size whose throughput matches your target, and consult your
firewall vendor's cloud datasheet for the appliance-side limit.

The following figures are for the Aviatrix side of the path (Spoke-Transit
FireNet-Spoke, end to end).

> [tab] AWS
>
> | Size: Instance | Large Payload / IMIX (Gbps) | Approximate Burst Duration |
> | - | - | - |
> | Medium: c6in.xlarge | 6.1\* / 1.9 | \~45 min, then 3.1 Gbps |
> | Large: c6in.2xlarge | 11.2\* / 2.9 | \~60 min, then 6.1 Gbps |
> | X Large: c6in.4xlarge | 20.4 / 5.3 | No limit observed |
> | 2X Large: c6in.8xlarge | 24.7 / 10.6 | No limit observed |

> [tab] Azure
>
> | Size: Instance | Large Payload / IMIX (Gbps) |
> | - | - |
> | Small: Standard\_D8s\_v5 | 4.9 / 2.3 |
> | Medium: Standard\_D16s\_v5 | 5.7 / 3.3 |
> | Large: Standard\_D32s\_v5 | 7.3 / 3.4 |

## About Burst Performance

Figures marked \* are burst performance when operating within burst credits. Two
kinds of AWS instance burst:

* **t3 instances** earn CPU credits while traffic is light and spend them during
  bursts.
* **c6in.large, c6in.xlarge, and c6in.2xlarge** earn AWS network burst credits
  the same way. IMIX traffic on these sizes stays below the baseline and is not
  affected. c6in.4xlarge and larger sustained full throughput for the entire
  test.

Most production gateways carry bursty traffic well below line rate and operate
within burst credits nearly all of the time. Under continuous full line-rate
load, credits run out after the time shown in **Approximate Burst Duration**,
and throughput drops to the rate shown there. For workloads that run at full
line rate for long periods, such as bulk data migration or backup, size for that
post-burst rate or choose c6in.4xlarge or larger.

Azure B-series instances are also burstable (marked \*). Dsv5 instances showed
no burst behavior in testing.

> [accordion] How these numbers were measured
>
> Aviatrix measured these figures on Controller versions 8.0 through 9.0 using
> AES-128 encryption with HPE enabled (except where marked Non-HPE, and except
> the Standard\_D2s\_v5 Spoke Gateway Large Payload figure, which also included
> an AES-256 test run; see the ‡ footnote where it appears), with
> CyPerf-generated traffic in a single region. Each figure is the median
> throughput across repeated test runs. Burst durations are the longest burst
> observed at full line rate starting with full credits; actual duration depends
> on the credit balance when a burst begins.

## Related Topics

* [Mapping Aviatrix Standard Gateway Sizes to VM Instance Sizes](https://docs.aviatrix.com/docs/enterprise/8.2/reference/gateways/auto-right-sizing/auto-right-sizing-standard-sizes.md)
* [About Auto Right-Sizing](https://docs.aviatrix.com/docs/enterprise/8.2/concepts-architectures/architecture/sizing/auto-right-sizing-about.md)
* [High Performance Encryption Benchmarks](https://docs.aviatrix.com/docs/enterprise/8.2/reference/gateways/hpe-perf-benchmark.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.