# Microsoft Azure 云配置

## 微软 Azure 云配置

如果你的公有云提供商是微软 Azure 云，你需要首先在 Azure 云控制台[**创建 ExpressRoute 线路**](https://learn.microsoft.com/en-us/azure/expressroute/expressroute-howto-circuit-portal-resource-manager?pivots=expressroute-current#create)，生成一个**服务密钥**并将其共享给 Zenlayer。一般步骤如下。

<div align="left"><figure><img src="/files/Mh6Ztmto89k0XonA4hMc" alt=""><figcaption><p>通过第三方提供商连接 Azure ExpressRoute</p></figcaption></figure></div>

### 前提条件

1. Zenlayer 支持的服务提供商包括[**Equinix**](https://www.equinix.com/partners/microsoft-azure/)和[**Megaport**](https://www.megaport.com/services/microsoft-expressroute/)。查看这些提供商支持的[**可用位置**](https://learn.microsoft.com/en-us/azure/expressroute/expressroute-locations#global-commercial-azure)。
2. 你的 ExpressRoute 线路从服务密钥发放时开始计费。请确保在连接提供商准备好线路配置时再执行此操作。

### **在 Azure 云控制台**

1. [**创建 ExpressRoute 线路**](https://learn.microsoft.com/en-us/azure/expressroute/expressroute-howto-circuit-portal-resource-manager?pivots=expressroute-current#create)
2. 查看属性以找到**服务密钥**。

<figure><img src="/files/MTSsi3jwEViWsiocmArJ" alt=""><figcaption><p>服务密钥</p></figcaption></figure>

### **在 Zenlayer 控制台**

使用在 Azure 云生成的服务密钥创建云连接。

* [**二层网络**](/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)

### **返回 Azure 云控制台**

1. [**将虚拟网络连接到 ExpressRoute 线路**](https://learn.microsoft.com/en-us/azure/expressroute/expressroute-howto-linkvnet-portal-resource-manager?pivots=expressroute-current)
2. [**为 ExpressRoute 线路配置虚拟网络网关**](https://learn.microsoft.com/en-us/azure/expressroute/expressroute-howto-add-gateway-portal-resource-manager)

<figure><img src="/files/NvoGG6zPUqb9pI2ByL7C" alt=""><figcaption></figcaption></figure>

## /cloud-networking

Create an ExpressRoute Circuit -> 创建 ExpressRoute 线路 service key -> 服务密钥 Private connect -> 二层网络 Cloud router -> 三层网络

## /platform

Prerequisites -> 前提条件

## /platform

Service Key -> 服务密钥


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.console.zenlayer.com/welcome/cn/cloud-networking/get-started/validate-connection-in-public-cloud/microsoft-azure-cloud-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
