# Create a Layer 3 Connection

If you need a Layer 3 network connection - the [**cloud router**](https://docs.console.zenlayer.com/welcome/overview/concepts#cloud-router), you can follow the steps as shown below.

## Prerequisites

* You have [**signed up an account**](https://docs.console.zenlayer.com/welcome/platform/account-management/create-an-account) with your email and sign in to [**zenConsole**](https://console.zenlayer.com/).
* If you need to connect to your cloud services, your public cloud provider should be one of the following: Amazon Web Service, Tencent Cloud, Google Cloud, Alibaba Cloud, and Microsoft Azure.\
  More public cloud providers will be supported soon.
* For VPC connection, instances in subnets with the same IP range can not communicate with each other. Please plan the IP ranges of your subnets reasonably in advance in case of abnormal connection.

## Procedures

On the upper left corner of zenConsole, go to **Products** > **Cloud Networking** > **Cloud Router L3** > [**Create Cloud Router**](https://console.zenlayer.com/sdn/router/create).\
The overall steps of creating a cloud router is shown below. For detailed operations, please refer to the links of specific chapters.

<div align="left"><figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2FwylMZ6trUcnVF59T8QxU%2Fimage.png?alt=media&#x26;token=c8ed2dce-feb9-4377-9c96-7829282b9117" alt="" width="482"><figcaption><p>Create a Layer 3 Cloud Router</p></figcaption></figure></div>

### 1. Label Your Cloud Router

Click <img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2FPbOWFGpdDjyxQJlIpjUK%2Fimage.png?alt=media&#x26;token=f4897209-0387-47af-b1f8-5199411cc1f5" alt="" data-size="line"> to modify the label name of your private connect. You can also click **Add Description** to give the private connect a note.

### 2. Add Access Points

You need to add at least 2 and at most 10 access points and configure routing and network information to get started. You will be able to make updates in the future.\
You may have the following options to add:

* [**Data Center**](https://docs.console.zenlayer.com/welcome/cloud-networking/get-started/create-a-layer-3-connection/select-a-data-center-as-access-point)
* [**Public Cloud**](https://docs.console.zenlayer.com/welcome/cloud-networking/get-started/create-a-layer-3-connection/select-a-public-cloud-as-access-point)
* [**Bare Metal**](https://docs.console.zenlayer.com/welcome/cloud-networking/get-started/create-a-layer-3-connection/select-a-vpc-as-access-point)
* [**Virtual Edge**](https://docs.console.zenlayer.com/welcome/cloud-networking/get-started/create-a-layer-3-connection/select-virtual-edge-as-access-point)
* [**Elastic Compute**](https://docs.console.zenlayer.com/welcome/cloud-networking/get-started/create-a-layer-3-connection/select-elastic-compute-as-access-point)

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

<mark style="color:blue;">You can add only one Alibaba Cloud access point into your Layer 3 cloud router temporarily.</mark>
{% endhint %}

### 3. Configure Routing

If you add access points like data centers, public clouds or virtual edges, you need to configure routing protocols to achieve network communication. If you add a VPC, go to configure access bandwidth directly.

You may have the following options, and if your device supports Border Gateway Protocol (BGP), we recommend using BGP to take care of network segment changes.

* [**BGP Routing**](https://docs.console.zenlayer.com/welcome/cloud-networking/get-started/configure-routing-information#bgp-routing)
* [**Static Routing**](https://docs.console.zenlayer.com/welcome/cloud-networking/get-started/configure-routing-information#static-routing)

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

<mark style="color:blue;">For virtual edge connection, you need to configure IPsec tunnel before configuring routing. See</mark> [<mark style="color:purple;">**IPsec Tunnel Configuration**</mark>](https://docs.console.zenlayer.com/welcome/cloud-networking/get-started/select-virtual-edge-as-access-point#ipsec-tunnel-configuration) <mark style="color:blue;">for more details.</mark>
{% endhint %}

### 4. Configure Access Bandwidth

[**Configure the access bandwidth**](https://docs.console.zenlayer.com/welcome/cloud-networking/get-started/create-a-layer-3-connection/configure-network-information) of each access point in your cloud router.

## What to Do Next

More operations offline or on the public cloud console.

### For the Public Cloud Point

[**Validate your cloud connect**](https://docs.console.zenlayer.com/welcome/cloud-networking/get-started/validate-connection-in-public-cloud) on the corresponding console of your public cloud provider.

### For the Data Center Point

Contact Zenlayer Support or your data center operator to establish a cross connect offline.

## Result

After your cross connect is established offline and your cloud connect is validated on the public cloud console, the states of corresponding points will change into **Active** and you will receive a notification email.

Once the states of all access points are **Active**, your cloud router state will become **Active**.

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

* <mark style="color:blue;">Billing for cloud router will not start until all access points are active, and your connection is active.</mark>
* <mark style="color:blue;">Billing for your port will start:</mark>
  * <mark style="color:blue;">when the port is active.</mark>
  * <mark style="color:blue;">15 days after you submit the order – whether or not your cloud router has been established.</mark>
* <mark style="color:blue;">Billing for your cloud connect will start:</mark>\ <mark style="color:blue;">Once you have validated your cloud connect on the public cloud console.</mark>
  {% endhint %}
