> 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/cloud-networking/get-started/validate-connection-in-public-cloud/microsoft-azure-cloud-configuration.md).

# Microsoft Azure Cloud Configuration

If your public cloud provider is Microsoft Azure Cloud, you need to [**Create an ExpressRoute Circuit**](https://learn.microsoft.com/en-us/azure/expressroute/expressroute-howto-circuit-portal-resource-manager?pivots=expressroute-current#create) first on Azure Cloud console, generate a **service key** and share it to Zenlayer. The general steps are listed below.

<div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2Fgit-blob-5f80609a585e80ca500111a414b53059e4e29fb5%2Fimage.png?alt=media" alt=""><figcaption><p>Azure ExpressRoute Connection via 3rd Party Provider</p></figcaption></figure></div>

## Prerequisites

1. Zenlayer support service providers like [**Equinix**](https://www.equinix.com/partners/microsoft-azure/) and [**Megaport**](https://www.megaport.com/services/microsoft-expressroute/). View [**available locations**](https://learn.microsoft.com/en-us/azure/expressroute/expressroute-locations#global-commercial-azure) supported by these providers.
2. Your ExpressRoute circuit is billed from the moment a service key is issued. Ensure that you perform this operation when the connectivity provider is ready to provision the circuit.

## **On Azure Cloud Console**

1. [**Create an ExpressRoute circuit**](https://learn.microsoft.com/en-us/azure/expressroute/expressroute-howto-circuit-portal-resource-manager?pivots=expressroute-current#create)
2. View the properties to find the **Service Key**.

<figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2Fgit-blob-9adb609f37e980b54825df953890dce795f1249f%2Fimage.png?alt=media" alt=""><figcaption><p>Service Key</p></figcaption></figure>

## **On Zenlayer Console**

Use the service key generated on Azure Cloud to create cloud connect.

* [**Layer 2 connection**](/welcome/cloud-networking/get-started/create-a-layer-2-connection/select-a-public-cloud-as-access-point.md)
* [**Layer 3 connection**](/welcome/cloud-networking/get-started/create-a-layer-3-connection/select-a-public-cloud-as-access-point.md)

## **Go Back to Azure Cloud Console**

1. [**Connect a virtual network to your ExpressRoute circuit**](https://learn.microsoft.com/en-us/azure/expressroute/expressroute-howto-linkvnet-portal-resource-manager?pivots=expressroute-current)
2. [**Configure a virtual network gateway for your ExpressRoute circuit**](https://learn.microsoft.com/en-us/azure/expressroute/expressroute-howto-add-gateway-portal-resource-manager)

<figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2Fgit-blob-837331b7b1e49a8d96642428c154ec8a7cf55b44%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
