You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a customer gateway pointing to the Public IP Address of Azure VPN Gateway
IP address: Public IP Address of Azure VPN Gateway
Rest keep everything as default
Create the Virtual Private Gateway then attach to the VPC
Name: vpg-aws-azure
Create a site-to-site VPN Connection
Name: vpn-aws-azure
Target gateway type: Virtual private gateway (Select your Virtual private gateway created in 7)
Customer gateway: Existing (Select your VCustomer gateway created in 6)
Routing options: Static
Static IP prefixes: 172.10.1.0/24
Leave rest of them as default
Download the configuration file
Vendor: Generic
Platform: Generic
Software: Vendor Agnostic
In this configuration file you will note that there are the Shared Keys and the Public Ip Address for each of one of the two IPSec tunnels created by AWS.
Connecting Azure and AWS
Create the Local Network Gateway in Azure
Name: lng-azure-aws
Resource Group Name: rg-azure-aws
Region: East-US
IP address: Get the Outside IP address from the configuration file downloaded in 9.
Address Space(s): 10.10.0.0/16
Create the connection on the Virtual Network Gateway in Azure
Name: connection-azure-aws
Connection Type: Site-to-Site
Local Network Gateway: Select the Local Network Gateway which you created in 10.
Shared Key: Get the Shared Key from the configuration file downloaded in 9.
Wait till the Connection Status changes to - Connected
In the same way, check in AWS Console wheather the 1st tunnel of Virtual Private Gateway UP.
Create Internet Gateway and Attach it to VPC in AWS:\
Name: my-internet-gateway
Now let's edit the route table associated with our VPC
Add the route to Azure subnet through the Virtual Private Gateway
Destination: 172.10.1.0/24
Target: Virtual Private Gateway that we created.
also add,
Destination: 0.0.0.0/0
Target: Internet Gateway that we created in 12.
Create VMs in both Azure and AWS and Test the connection.