Insane Mode Encryption FAQ¶
This document discusses Aviatrix High Performance Transit Network and answers related questions.
Why is Transit VPC performance capped at 1.25Gbsp?¶
In the current Transit VPC solution, the throughput is capped at 1.25Gbps regardless if you have a 10Gbps Direct Connect (DX) link. The reason is that in the Transit VPC deployment there is an IPSEC session between VGW and Transit gateway and VGW has a performance limitation.
AWS VGW IPSEC has a published performance of 1.25Gbps. The truth is AWS is not alone, all cloud providers have that performance cap, in fact, all software based IPSEC VPN solutions have that performance cap.
Why is that?
Most virtual routers or software based routers are built with general purpose CPUs. Despite the vast CPU technology advancement, why doesn’t IPSEC performance scale further?
It turns out the problem lies in the nature of tunneling, a common technique in networking to connect two endpoints.
When two general purpose server or virtual machine based routes are connected by an IPSEC tunnel, there is one UDP or ESP session going between the two machines, as shown below.
In the above diagram, the virtual router has multiple CPU cores, but since there is only one tunnel established, the Ethernet Interface can only direct incoming packets to a single core, thus the performance is limited to one CPU core, regardless how many CPU cores and memory you provide.
This is true not only for IPSEC, but also for all tunneling protocols, such as GRE and IPIP.
What is Aviatrix high performance Insane Mode Encryption?¶
Aviatrix Insane Mode tunneling techniques establishes multiple tunnels between the two virtual routers, thus allowing all CPU cores to be used for performance scaling with the CPU resources, as shown below.
With Aviatrix Insane Mode tunneling, IPSEC encryption can achieve 10Gbps, 25Gbps and beyond, leveraging the multiple CPU cores in a single instance, VM or host.
What are the use cases for Insane Mode?¶
How can I deploy Aviatrix Insane Mode?¶
Aviatrix Insane mode is integrated into the Transit Network solution to provide 10Gbps performance between on-prem and Transit VPC with encryption. For VPC to VPC, Insane mode can achieve 25 - 30Gbps.
Insane mode can also be deployed in a flat (as opposed to Transit VPC) architecture for 10Gbps encryption.
The diagram below illustrates the high performance encryption between Transit VPC and on-prem, between Transit VPC and Spoke VPC.
What are the performance benchmarks?¶
Insane mode is available on AWS for C5 series and C5n series. It is also available on Azure. For more performance test results and how to tune your environment to get the best performance, check out this document.
How does Insane Mode work?¶
When a gateway is launched with Insane Mode enabled, a new /26 public subnet is created where the Insane Mode gateway is launched on.
Insane Mode builds high performance encryption tunnel over private network links. The private network links are Direct Connect (DX) and AWS Peering (PCX).
For Insane Mode between two gateways, between an Transit GW and a Spoke gateway, or between a Transit GW and a Transit GW (Transit Peering), the Aviatrix Controller automatically creates the underlying AWS Peering connection and builds the tunnels over it.
Since Insane Mode tunnels are over private network links, the VPC route architecture is described as below, where EC2 instances associated route entry to the remote site point to Aviatrix gateway, and the Aviatrix gateway instance associated route entry to remote site points to PCX or VGW.
What is the Aviatrix hardware appliance CloudN?¶
Aviatrix offers a 1U rack mountable hardware appliance deployed in the datacenter. It works with the Aviatrix gateway.
The Aviatrix appliance CloudN specification:
|Dimension||1U rack mount|
|Server||HPE ProLiant DL360 Gen10 Xeon Gold 6130|
|10/25Gbps Ethernet port||2 x SFP+||1 LAN port and 1 WAN port|
|1Gbps Ethernet port||RJ45||1 Management port|
More information on HPE ProLiant DL360 Gen10 Server can be found here.
What is the deployment logical diagram?¶
Datacenter deployment is shown in the diagram below with redundancy, where R1 and R2 are two edge routers that connected to VGW over DX. R3 and R4 are two routers connect to the inside of the datacenter. Aviatrix CloudN also runs a BGP session with R3 and R4 to collect datacenter routes. VGW is only used to terminate DX. Aviatrix gateway and on-prem appliance CloudN run a BGP session to propagate on-prem routes to the Transit VPC. IPSEC tunnels are also built between the two.
A logical deployment layout is described as below.
How to deploy Insane Mode for hybrid connectivity?¶
Follow the Insane Mode CloudN Deployment Checklist to deploy CloudN in your datacenter.
Do I need Direct Connect to use Insane Mode for On-prem?¶
Our InsaneMode high speed encryption feature works on top of your existing WAN link and it is agnostic to the type of connection used. As long as you have a pipe that’s large enough to alow for high throughput data transfer, using InsaneMode will offer superior performance to regular IPSec.
How to configure Insane Mode for Transit VPC?¶
At Step 1 Transit Network workflow select “Insane Mode Encryption”.
Can one CloudN appliance connect to multiple connections of Direct Connect or Express Route?¶
Yes. A CloudN appliance can build multiple InsaneMode tunnels to different Aviatrix Transit Gateways over multiple DX or Express Route, as shown in the diagram below.
What are the supported gateway sizes for GCP High-performance encryption (Insane mode)?¶
There are total 4 sizes: n1-highcpu-4, n1-highcpu-8, n1-highcpu-16, and n1-highcpu-32
What is the subnet prefix length for GCP High-performance encryption (Insane mode)?¶
Gateway subnet prefix length cannot be greater than /24. Moreover, Aviatrix highly suggests that customers utilize a subnet exclusively for deploying insane mode gateway without any other instances in the subnet.
What ActiveMesh version does GCP High-performance encryption (Insane mode) support?¶
GCP Insane mode supports only Transit Solution ActiveMesh 2.0
What is the MTU and MSS size for GCP High-performance encryption (Insane mode)?¶
MTU is 1460 and MSS is 1330 bytes
What are the features supported with GCP insane mode?¶
Because GCP network infrastructure/concept is different than AWS/Azure, Aviatrix GCP Insane mode behavior differs from AWS/Azure support in the following ways:
- Only Spoke and Transit gateway types are supported
- Only “Multi Cloud Transit functionality is supported with Insane mode gateways”; Encrypted peering is not supported
- Feature “Advertise Transit VPC Network CIDR(s)” is not supported with Insane mode gateway
- Will support Managed CloudN connecting to Aviatrix Transit Gateway in GCP soon; Standalone/unmannaged CloudN connecting to Aviatrix Transit Gateway is not supported in GCP