> For the complete documentation index, see [llms.txt](https://docs.console.zenlayer.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.console.zenlayer.com/welcome/cn/cloud-networking/get-started/validate-connection-in-public-cloud/google-cloud-configuration.md).

# Google Cloud 配置

如果您的公有云提供商是谷歌云，您需要首先在谷歌云控制台[**创建 VLAN 附件**](https://cloud.google.com/network-connectivity/docs/interconnect/how-to/partner/creating-vlan-attachments)，生成一个配对密钥并将其共享给 Zenlayer。有关更多详细信息，请参阅[**合作伙伴互连配置**](https://cloud.google.com/network-connectivity/docs/interconnect/how-to/partner/provisioning-overview)。一般步骤如下。

## **在谷歌云控制台**

{% hint style="info" %} <mark style="color:blue;">**注意**</mark>

<mark style="color:blue;">以下谷歌云地域目前不支持互连：</mark>

* <mark style="color:blue;">australia-southeast1 (悉尼)</mark>
* <mark style="color:blue;">australia-southeast2 (墨尔本)</mark>
* <mark style="color:blue;">asia-south1 (孟买)</mark>
* <mark style="color:blue;">asia-south2 (德里)</mark>
  {% endhint %}

1. 创建虚拟私有云。
2. 创建云路由器。
3. 添加 VLAN 附件并生成配对密钥。

   <figure><img src="https://2318250923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBWy7DFFtkhyEC9R4kE%2Fuploads%2Fgit-blob-20cc1ba44ae8ba82a81dfe2163c1f4aceb3f0b7c%2F%E5%9B%BE%E7%89%87%201%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

## **在 Zenlayer 控制台**

使用在谷歌云生成的配对密钥创建云连接。

* [二层网络连接](/welcome/cn/cloud-networking/get-started/create-a-layer-2-connection/select-a-public-cloud-as-access-point.md)
* [三层网络连接](/welcome/cn/cloud-networking/get-started/create-a-layer-3-connection/select-a-public-cloud-as-access-point.md)

## **返回谷歌云控制台**

[激活云连接](https://cloud.google.com/network-connectivity/docs/interconnect/how-to/partner/activating-connections)。

<figure><img src="https://2318250923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBWy7DFFtkhyEC9R4kE%2Fuploads%2Fgit-blob-e4992517c69fae19f7ccf1250fdb3c1457638176%2F%E5%9B%BE%E7%89%87%202.png?alt=media" alt=""><figcaption></figcaption></figure>
