Before you can create a connection to Google Cloud, you need to create a Partner Interconnect attachment in Google Cloud Console or gcloud CLI. As part of the attachment creation, you are provided a pairing key that contains the Google connection details.
- Create a Partner Interconnect attachment in Google Cloud Console or gcloud CLI Create a Partner Interconnect attachment in Google Cloud Console or gcloud CLI. Copy the pairing key that is provided as part of the attachment creation. For additional details, see the Google documentation on Google Partner Interconnects.
- Validate the Google pairing key When ordering a Google Cloud service, use the pairing key and ensure there is a free port for a connection. Google requires that the bandwidth on the VXC matches one of the predefined bandwidths in the list returned by the pairing key lookup.
- Create and deploy a VXC With the validated pairing key and port details, create the VXC to Google Cloud from the MVE. Configuration details are specified in the Body of the request.
Validate the Google pairing key
Use the API to validate a Google Cloud pairing key. The response includes details of the associated ports and peers. You need the port details to create the VXC. In the API response, available ports are listed as"vxc":null and ports with an assigned value are not available.
Google requires that the bandwidth on the VXC matches one of the predefined bandwidths in the list returned by the pairing key lookup.
To validate the pairing key
-
Use the GET Look Up Google Pairing Key API to look up Google Cloud location details with the pairing key:
Create and deploy a VXC to a specific vNIC
With the validated pairing key and port details, create the VXC to Google Cloud from the MVE. You specify the configuration details in the Body of the request. The firstproductUididentifies the MVE ID and the bEnd: productUid identifies the Google Cloud location from the pairing key. You also need to provide your Google pairing key in the request. Only the aEnd innerVlan needs to be specified.
To create a VXC
-
Create a request with the POST Create VXC to Google Cloud (v3) endpoint:
-
Update the Body of the request with the
productUidof the MVE, the name of the VXC, theproductUidof the Google Cloud port, set thevNicIndexto 2 (interface 3), and the pairing key.
The vNIC number relates to the following MVE interfaces:
- vNIC 0 = interface 1 on the MVE
- vNIC 1 = interface 2 on the MVE
- vNIC 2 = interface 3 on the MVE
- vNIC 3 = interface 4 on the MVE
- vNIC 4 = interface 5 on the MVE