-
Navigate to .
-
Resources to create: VPC only
-
IPv4 CIDR block: Choose IPv4 CIDR manual input and enter an IPv4 CIDR for your VPC.
-
Click Create VPC.
The AWS dashboard shows the new VPC details.
-
Navigate to .
-
Click Create subnet.
-
Choose your VPC ID or IP address.
The AWS dashboard shows the Create subnet menu.
-
Configure subnet 1 of 2.
- Enter a Subnet name that indicates the VPC and whether this is the first or second subnet.
- Choose an Availability Zone.
- Enter an IPv4 subnet CIDR block that is within the VPC CDIR range and does not overlap with the IPv4 range of other subnets in the VPC.
-
Click Add a subnet. Repeat the above steps to configure subnet 2 of 2 with a different availability zone for high availability.
-
Click Create subnet.
The AWS dashboard shows the new subnets.
-
Click Transit gateways in the left navigation menu of the AWS VPC dashboard.
The AWS dashboard shows the transit gateway configuration menu.
-
Create a transit gateway with an Amazon-side Autonomous System Number (ASN).
Note
The Amazon side ASN is required for dynamic routing supported by Border Gateway Protocol (BGP) sessions. This example uses 64519. The range is from 64512 to 65534 for 16-bit ASNs. We recommend entering an ASN that is not already in use by other transit gateways in your Amazon VPC.
-
Click Create transit gateway.
Once the gateway Status is Available, create a transit gateway attachment between the transit gateway and the VPC.
-
Click Transit gateway attachments in the left navigation menu of the AWS VPC dashboard.
-
Click Create transit gateway attachment.
-
Select the Transit gateway ID of the gateway you just created.
-
Select the VPC ID of the VPC you created for Component 1.
-
Click Create transit gateway attachment.
-
In the left navigation menu of the AWS VPC dashboard, navigate to and click Customer gateways.
-
Click Create customer gateway.
-
Repeat these steps to create a second customer gateway with a different placeholder IP address. This example uses 209.165.200.241.
-
In the left navigation menu of the AWS VPC dashboard, navigate to and click Site-to-Site VPN connections.
-
Click Create VPN connection and configure the following:
- Target gateway type: Transit gateway
- Select the virtual private gateway that you created earlier.
- Customer gateway: Existing
- Select the first customer gateway that you created earlier.
- Routing options: Dynamic
- : Enter a size /30 IPv4 block from the 169.254.0.0/24 range.
Note
AWS allows inside CIDR addresses in the 169.254.0.0/16 range in which the network address is the first 16 bits, with 65,536 IP addresses in the range 169.254.0.0 to 169.254.255.255. Secure Access utilizes the 169.254.0.0/24 subnet range for BGP peer addresses, refer to Secure Access BGP Configuration.
- : Enter a passphrase. You will enter this in the Secure Access network tunnel group in the next step.
- : Edit tunnel 1 options.
- : Restart.
- : Start.
-
Repeat these steps for Tunnel 2 options with a different size /30 IPv4 block from the 169.254.0.0/24 range. Refer to the note above about the difference in CIDR range requirements between AWS and Secure Access.
-
Click Create VPN connection.
-
Repeat these steps to create a second VPN connection.
- Select the second customer gateway that you created earlier.
- Inside IPv4 CIDR for tunnels 1 and 2 should match the inside IP addresses you entered for tunnels 1 and 2 in the first S2S connection.
Confirm that both S2S VPN connections have an available State.
-
: Set Device Type to AWS.
-
: Each AWS customer gateway that you created in the previous step will have two tunnels, and each tunnel will have an outside IP address.
- : Enter the outside IP address of tunnel 1 for AWS S2S VPN connection 1.
Note
To find this IP address in AWS, navigate to , click the VPN ID of VPN connection 1, then navigate to .
- : Enter the outside IP address of tunnel 2 for AWS S2S VPN connection 1.
- : Enter the outside IP address of tunnel 1 for AWS S2S VPN connection 2.
- : Enter the outside IP address of tunnel 2 for AWS S2S VPN connection 2.
- : Enter the pre-shared key that you created for the tunnels in AWS.
-
: Enter the Amazon-side Autonomous System Number (ASN) configured for the Transit Gateway in AWS.
-
: Copy or download the primary and secondary tunnel IDs, data center (DC) IP addresses, and passphrase (pre-shared key). This is the only time your passphrase will be displayed.
-
Create two customer gateways using the same procedure that you followed for Component 3:
- In AWS VPC dashboard, navigate to and click Customer gateways.
- Click Create customer gateway.
- BGP ASN: Enter the Peer (Secure Access) BGP AS from the Secure Access network tunnel group.
- IP address: Enter the DC IP address for the Secure Access primary tunnel.
- Click Create customer gateway.
- Repeat these steps to create a secondary customer gateway with the DC IP address for the Secure Access secondary tunnel.
-
Modify the VPN connection in AWS. For more information, refer to Modify AWS Site-to-Site VPN connection options.
- In the left navigation menu of the AWS VPC dashboard, navigate to and click Site-to-Site VPN connections.
- Click the VPN ID of the first connection. Navigate to .
- Change Target customer gateway to the primary tunnel customer gateway created to replace the placeholder gateway.
- Click Save changes.
- Repeat these steps for the second VPN connection and the secondary tunnel customer gateway.
- Delete the placeholder customer gateway.
-
In Secure Access, navigate to and click the name of the network tunnel group to review the connection status with AWS.
-
Verify the IP address values under in Secure Access. The ID of Tunnel Group 1 should match the Outside IP Address of VPN connection 1, Tunnel 1 in AWS. The ID of Tunnel Group 2 in Secure Access should match VPN connection 1, Tunnel 2 in AWS.
-
Verify the IP address values under in Secure Access. The tunnel group IDs should match the tunnel addresses of VPN connection 2 in AWS.
When the tunnel group IDs in the Secure Access primary and secondary tunnel hubs match the tunnel addresses of AWS VPN connections 1 and 2, this confirms that the tunnel connection has been established between AWS and Secure Access DCs.
-
In AWS, navigate to .
- : Enter the value 0.0.0.0/0.
- : Transit Gateway, select your Transit Gateway ID.
- Click Save changes.
-
In Secure Access, navigate to .
- Click the name of the network tunnel group, then click a tunnel name to review Routing details.
- show routes advertised by Amazon to Secure Access via BGP.
- show routes advertised by Secure Access to Amazon via BGP.