For AI agents: the complete documentation index is available at https://docs.ovhcloud.com/es/llms.txt, the full documentation bundle is available at https://docs.ovhcloud.com/es/llms-full.txt, and this page is available as Markdown at https://docs.ovhcloud.com/es/guides/network/ovhcloud-connect/occ-cross-cloud-gcp.md.

Set up OVHcloud Connect Cross Cloud with GCP

Ver como Markdown

Connect your Google Cloud network to OVHcloud through OVHcloud Connect Cross Cloud, using a Google Cloud Partner Interconnect pairing key

Objective

OVHcloud Connect Cross Cloud with GCP establishes a private Layer 3 connection between your Google Cloud network and your OVHcloud vRack, over Google Cloud Partner Interconnect. Traffic flows across a dedicated link instead of the public Internet. Unlike connections with other providers, the service key (called a pairing key in Google Cloud) is generated in the Google Cloud console, then submitted to OVHcloud to provision the connection.

In this guide, you will learn how to:

  • Create a Partner Interconnect VLAN attachment and generate a pairing key in Google Cloud.
  • Order the OVHcloud Connect service for a Google connection.
  • Attach your service to a vRack.
  • Provide the pairing key to OVHcloud so the connection can be provisioned.
  • Verify the resulting circuit, Point of Presence (PoP) configuration, and BGP session.

Requirements

  • An OVHcloud vRack
  • A Google Cloud project with an existing VPC network and a Cloud Router, in a region reachable from your target OVHcloud PoP
  • Access to the
  • Access to the Google Cloud console
  • If you submit the pairing key with the API: access to the , with credentials created by following the First Steps with the OVHcloud APIs guide

Introduction

OVHcloud Connect Cross Cloud with GCP is a provider-type OVHcloud Connect connection built on Google Cloud Partner Interconnect. On the Google side, the connection is a VLAN attachment on a Cloud Interconnect; on the OVHcloud side, it is delivered as a circuit into your vRack.

Two characteristics set it apart from a standard OVHcloud Connect Provider connection:

  • Its service key is a pairing key generated in Google Cloud. OVHcloud does not issue or email a service key for a Google connection.
  • It is always a Layer 3 (BGP) service. Layer 2 is not supported, and the PoP configuration is created automatically when OVHcloud consumes the pairing key — you do not add or remove it manually.

Instructions

Contents:

How it works

Your Google Cloud VPC reaches OVHcloud through a Cloud Router and a Partner Interconnect VLAN attachment. OVHcloud terminates that attachment on a PoP edge router, then delivers the traffic into your vRack and on to your OVHcloud services. BGP runs over the attachment: Google's Cloud Router manages the session on your behalf, and OVHcloud applies its side automatically.

flowchart LR
  subgraph GCP[Google Cloud]
    VPC[VPC network] --> CR[Cloud Router]
    CR --> VA[Partner Interconnect VLAN attachment]
  end
  VA -->|pairing key| POP[OVHcloud PoP edge router]
  subgraph OVH[OVHcloud]
    POP --> DCR[Datacenter router]
    DCR --> VR[vRack]
    VR --> SVC[OVHcloud region and services]
  end

The connection relies on the following fixed parameters:

ParameterValueNotes
Connection typeLayer 3 (BGP) onlyLayer 2 is not supported for a Google connection.
Google ASN16550The standard Google ASN for Partner Interconnect. Google runs the BGP session with this ASN.
OVHcloud ASN16276The ASN OVHcloud presents on the Google attachment.
Pairing key format{uuid}/{region}/{availabilityDomain}Generated by Google. See Step 1.
Oversubscription1:2OVHcloud adheres to Google's 1:2 oversubscription policy on the interconnect.
BGP maximum prefixes100Up to 100 prefixes can be announced per BGP session.

Step 1 — Create the VLAN attachment and pairing key in Google Cloud

In the Google Cloud console, create a Partner Interconnect VLAN attachment on your Cloud Router, in the region reachable from your target OVHcloud PoP. Google then generates a pairing key for the attachment. Tick the automatic activation option so that you do not have to return to the Google Cloud console once OVHcloud has provisioned the connection.

The pairing key uses the following format:

{uuid}/{region}/{availabilityDomain}

For example:

00000000-0000-0000-0000-000000000000/europe-west9/2
SegmentDescriptionExample
uuidThe pairing key identifier generated by Google.00000000-0000-0000-0000-000000000000
regionThe Google Cloud region of the VLAN attachment.europe-west9, us-central1
availabilityDomainThe Google availability domain index of the attachment.2
Warning

Create the VLAN attachment in the region and availability domain that match the OVHcloud PoP you intend to order in Step 2. A mismatch prevents the connection from being provisioned.

Step 2 — Order OVHcloud Connect for a Google connection

From the OVHcloud Connect product page, order an OVHcloud Connect Provider service and select Google as the provider. Only eligible PoPs appear for selection.

Info

OVHcloud does not issue any service key for connections with Google Cloud. Instead, the service is activated using the pairing key you generated in the previous step.

Step 3 — Attach a vRack to your service

When your service shows as active, attach it to a vRack. Do this before you provide the pairing key: a Google connection cannot be associated with a key until a vRack is attached.

Log in to the . In the Bare Metal Cloud section, open OVHcloud Connect under Network and select your service.

Click the Attach a vRack button and select an existing vRack from the drop-down menu. A message confirms the association.

For more information, refer to the Installation of OVHcloud Connect Provider from the OVHcloud Control Panel guide.

Warning

Detaching the vRack later also removes the pairing key from the service.

Step 4 — Provide the pairing key to OVHcloud

Submit the pairing key so that the virtual circuit towards Google can be deployed. Copy the key exactly as Google issued it, keeping the full {uuid}/{region}/{availabilityDomain} string intact.

You can do this with the OVHcloud API or from the console >BETA_.

OVHcloud API
console >BETA_

Use the following API call:

ParameterDescription
serviceNameThe UUID of your OVHcloud Connect service.
pairingKeyThe pairing key generated in Google Cloud in Step 1.

The call returns a task.

Step 5 — OVHcloud provisions the connection

Once OVHcloud receives your pairing key, it provisions the connection automatically:

  1. The Google Cloud interconnect attachment is created and paired with your VLAN attachment.
  2. The circuit is created on the OVHcloud side.
  3. The Layer 3 PoP configuration is applied automatically, using ASN 16550 on the Google side and ASN 16276 on the OVHcloud side.

While provisioning is in progress, the service status is doing and the Circuit field of your service shows the pairing as in progress. When the circuit is provisioned, the status changes to active.

If your service reports that an action is required in the Google Cloud console, activate the VLAN attachment there. This is not needed if you ticked the automatic activation option in Step 1.

Review the PoP configuration

For a Google connection, the PoP configuration is Layer 3 and is created automatically when your pairing key is consumed. Review it, but do not add or delete it manually. Unlike a standard Provider connection, there is no service key to regenerate or resend.

Warning

Do not add or delete the PoP configuration of a Google connection manually, from either the Control Panel or the OVHcloud API. The configuration is managed automatically: it is removed when you dissociate the pairing key or cancel the connection — see Limitations.

Step 6 — Verify the BGP session and routing

Google's Cloud Router manages the BGP session (ASN 16550) with OVHcloud (ASN 16276). Verify that the session is established and that routes are exchanged on both sides.

CheckHowExpected result
Connection statusIn the OVHcloud Control Panel, open your OVHcloud Connect solution.Status is active.
VLAN attachmentIn the Google Cloud console, open the VLAN attachment.The attachment is up and the BGP session is established.
Routes receivedReview the routes advertised by OVHcloud on the Google Cloud side.Your OVHcloud prefixes are visible.
Routes advertisedReview the routes your VPC advertises to OVHcloud.Your Google Cloud prefixes are advertised within the BGP maximum prefixes limit.
ConnectivityPing an OVHcloud resource in the associated vRack from a Google Cloud instance.The resource replies over the private link.

For diagnostics from the OVHcloud Control Panel, see How to initiate a diagnostic for OVHcloud Connect from the OVHcloud Control Panel.

Limitations

LimitationDetails
Layer 3 onlyA Google connection supports Layer 3 (BGP) only. Layer 2 is not available.
Automatic PoP configurationExactly one PoP configuration is created per connection, automatically when the pairing key is consumed. It cannot be added or deleted manually from the Control Panel or the OVHcloud API.
Removing the PoP configurationThe PoP configuration is removed when you dissociate the pairing key (Dissociate the key in the console >BETA_) or when the connection is cancelled. Detaching the vRack also removes the key. The service itself is not terminated and can be associated with Google again.
Fixed ASNsThe Google side uses ASN 16550 and the OVHcloud side uses ASN 16276. These values are set by the provisioning flow and are not customisable.
BGP maximum prefixesUp to 100 prefixes can be announced per BGP session, as for any OVHcloud Connect Layer 3 connection.
OversubscriptionThe interconnect follows Google's 1:2 oversubscription policy.

For the full list of technical capabilities and limitations of OVHcloud Connect, see Technical capabilities and limitations.

Troubleshooting

IssuePossible causeSolution
Pairing key rejectedThe key does not match the {uuid}/{region}/{availabilityDomain} format, or was truncated when copied.Copy the full pairing key from the Google Cloud console again, keeping all three segments.
Connection stuck in doingThe VLAN attachment region or availability domain does not match the OVHcloud PoP, or the attachment is not ready on the Google side.Confirm the region and availability domain of the VLAN attachment, and that the attachment is created and pending pairing in Google Cloud.
BGP session not establishingThe attachment is provisioned but routing is not converged yet, or Cloud Router settings are incomplete.Verify the VLAN attachment and Cloud Router status in Google Cloud. The session uses ASN 16550 (Google) and 16276 (OVHcloud).
Some routes not learnedYour network advertises more than the 100 prefixes accepted per BGP session.Reduce the number of advertised prefixes. If your architecture requires more, contact our support team.

Go further

For training or technical assistance implementing our solutions, contact your sales representative or visit our Professional Services page to request a quote and have your project analysed by our experts.

Join our community of users.

¿Le ha resultado útil esta página?