Establish Secure Connectivity Between Multi-cloud (AWS and GCP) Using BGP Over Site-to-Site VPN

Many organizations are moving towards multi-cloud deployments and moving away from traditional networks. In this article, I will cover how you can establish the site-to-site VPN tunnel configuration between AWS Managed VPN and Google Cloud Platform. This article will be helpful to those who are looking to incorporate multi- cloud architecture into a high-availability setup.


This content originally appeared on HackerNoon and was authored by hackernoon

If you're reading this article, you've probably heard of "multi-cloud," which involves connecting to more than one cloud provider. With the fast-paced shift, many organizations are moving towards multi-cloud deployments and moving away from traditional networks.

\ In this article, I will cover how you can establish the site-to-site VPN tunnel configuration between AWS Managed VPN and Google Cloud Platform (GCP) using the dynamic BGP routing protocol. This article will be helpful to those who are looking to incorporate multi-cloud architecture into a high-availability setup.

\ Prerequisite:

\

  • Configure VPC network and its firewall rules on Google Cloud Platform side.
  • Configure Virtual Private Cloud, subnets, and routing on AWS side.

\ Architecture:

\ \

\ \ While this can be implemented programmatically on both ends, I chose to use the console since it better helps understand the process easily.

\ Configuration on GCP side:

\

  1. Navigate to the “Hybrid connectivity” and create “Cloud router”.

\

\

  1. Navigate to the “Hybrid connectivity” and create “High-Availability VPN Gateway”.

\

\ Once, High-Availability VPN Gateway is created, we get two interface IPs (check below screenshot) which we can use them as customer gateway IPs on AWS side. Here, I am using only one interface IP: 35.x.x.x (External IP) as I am configuring single VPN connection on AWS side.

\

\ Configuration on AWS side:

\

  1. Create a Customer Gateway in the AWS VPC console.

\

\

  1. Create a Virtual Private gateway in the AWS VPC console

\

\

  1. Create a site-to-site VPN connection in the AWS console by specifying the Customer gateway (created in step 3) and Virtual private gateway (Created in step 4).

    \ Under “Advanced Options for Tunnel 1”, disabled ikev1 and enabled ikev2 with advanced encryption algorithms. Enabling advanced encryption algorithms is optional. You can disable some algorithms if you don’t want to us as I did in below screenshot.

\

  1. Download the generic VPN configuration file from AWS VPN console.

\

\ Return to GCP console and configure VPN Gateway using downloaded configuration file

\

  1. Configure VPN connection by creating a peer VPN Gateway on GCP Console

\

  1. Configure BGP on GCP side:

\

Tunnel and BGP status is UP on GCP side:

\

Tunnel and BGP UP on AWS Console:

\

\ Bi-directional Connectivity test

\ Ping test from GCP to AWS:

\

Ping test from AWS to GCP:

\

\ By following these steps, you can make your network more reliable and always available. Whether you’re new to multi-cloud setups or want to improve your current one, this guide will help you establish Site-to-Site VPN that will help you to achieve encrypted and secure connectivity between multi-cloud environment.

\ References:

[1] Getting started with AWS Site-to-Site VPN: https://docs.aws.amazon.com/vpn/latest/s2svpn/SetUpVPNConnections.html

[2] Connect HA VPN to AWS peer gateways: https://cloud.google.com/network-connectivity/docs/vpn/how-to/connect-ha-vpn-aws-peer-gateway


This content originally appeared on HackerNoon and was authored by hackernoon


Print Share Comment Cite Upload Translate Updates
APA

hackernoon | Sciencx (2024-08-05T15:50:44+00:00) Establish Secure Connectivity Between Multi-cloud (AWS and GCP) Using BGP Over Site-to-Site VPN. Retrieved from https://www.scien.cx/2024/08/05/establish-secure-connectivity-between-multi-cloud-aws-and-gcp-using-bgp-over-site-to-site-vpn/

MLA
" » Establish Secure Connectivity Between Multi-cloud (AWS and GCP) Using BGP Over Site-to-Site VPN." hackernoon | Sciencx - Monday August 5, 2024, https://www.scien.cx/2024/08/05/establish-secure-connectivity-between-multi-cloud-aws-and-gcp-using-bgp-over-site-to-site-vpn/
HARVARD
hackernoon | Sciencx Monday August 5, 2024 » Establish Secure Connectivity Between Multi-cloud (AWS and GCP) Using BGP Over Site-to-Site VPN., viewed ,<https://www.scien.cx/2024/08/05/establish-secure-connectivity-between-multi-cloud-aws-and-gcp-using-bgp-over-site-to-site-vpn/>
VANCOUVER
hackernoon | Sciencx - » Establish Secure Connectivity Between Multi-cloud (AWS and GCP) Using BGP Over Site-to-Site VPN. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/05/establish-secure-connectivity-between-multi-cloud-aws-and-gcp-using-bgp-over-site-to-site-vpn/
CHICAGO
" » Establish Secure Connectivity Between Multi-cloud (AWS and GCP) Using BGP Over Site-to-Site VPN." hackernoon | Sciencx - Accessed . https://www.scien.cx/2024/08/05/establish-secure-connectivity-between-multi-cloud-aws-and-gcp-using-bgp-over-site-to-site-vpn/
IEEE
" » Establish Secure Connectivity Between Multi-cloud (AWS and GCP) Using BGP Over Site-to-Site VPN." hackernoon | Sciencx [Online]. Available: https://www.scien.cx/2024/08/05/establish-secure-connectivity-between-multi-cloud-aws-and-gcp-using-bgp-over-site-to-site-vpn/. [Accessed: ]
rf:citation
» Establish Secure Connectivity Between Multi-cloud (AWS and GCP) Using BGP Over Site-to-Site VPN | hackernoon | Sciencx | https://www.scien.cx/2024/08/05/establish-secure-connectivity-between-multi-cloud-aws-and-gcp-using-bgp-over-site-to-site-vpn/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.