VPN Connection to Google Cloud
The Oracle Cloud Infrastructure (OCI) Site-to-Site VPN service offers a secure IPSec connection between an on-premises network and a Virtual Cloud Network (VCN). You can also use Site-to-Site VPN to connect OCI resources to other cloud service providers.
This topic provides a best practices configuration for an IPSec VPN tunnel between OCI and Google Cloud using the OCI Site-to-Site VPN service and the Google Cloud VPN service.
This document assumes you have already provisioned a Virtual Cloud Network (VCN) and Dynamic Routing Gateway (DRG) and also configured all VCN Route Tables and Security Lists required for this scenario and all equivalents in Google Cloud.
Routing Type: This scenario uses Border Gateway Protocol (BGP) to exchange routes between Google Cloud and OCI. BGP is preferred for Site-to-Site VPN whenever possible. Optionally, static routing can also be used between Google Cloud and OCI.
You can verify the Site-to-Site VPN version used by the IPSec connection under the IPSec Connection Information tab on an IPSec connection page.
For a vendor-neutral list of supported IPSec parameters for all OCI regions, see Supported IPSec Parameters.
- Cloud Router: Select the cloud router that was configured in the previous step.
- Associated Cloud VPN gateway IP: Match the CPE object IP address configured in OCI.
- Associated peer VPN Gateway interface: Match the Oracle VPN IP address of the OCI VPN tunnel. See OCI - Save Oracle VPN IP Address and Shared Secret.
- Name: Give the VPN tunnel a name.
- IKE version: Select IKEv2 (recommended). If using IKEv1, ensure IKEv1 is also configured for the VPN tunnel under the IPSec connection in OCI.
-
IKE pre-shared key: Match the shared secret of the VPN tunnel in the IPSec connection in OCI. See OCI - Save Oracle VPN IP Address and Shared Secret. Leave all other options as default.
When you finish configuring the VPN tunnel, select Create & Continue.
This step involves configuring the BGP session for an IPSec tunnel. The BGP settings need to match the OCI side of the configuration configured in OCI - Create IPSec Connection.
Browse to the IPSec connection in OCI and the Site-to-Site VPN connections in Google Cloud to verify status of the tunnel.
The OCI tunnel under IPSec connection displays Up for IPSec status to confirm an operational tunnel.
The IPv4 BGP Status also displays Up indicating an established BGP session.
Browse to the cloud VPN tunnels in the Google Cloud Console. Both VPN tunnel status and BGP session status should indicate Established.
A Monitoring service is also available from OCI to actively and passively monitor cloud resources. For information about monitoring for OCI Site-to-Site VPN, see Site-to-Site VPN Metrics .
If you have issues, see Site-to-Site VPN Troubleshooting.