> 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/overview-1/create-ip-transit.md).

# Create Internet

This chapter guides users through the configurations of the Internet service via the console interface.

## Prerequisites

* **Data center port**: Internet runs on the Zenlayer backbone, so you need an active port on it. See [**Create a Port**](https://docs.console.zenlayer.com/welcome/cloud-networking/get-started/create-a-port.md) for more details.
* **Elastic Compute**: no data center port is needed, but you must first create a [**border gateway**](https://docs.console.zenlayer.com/welcome/elastic-compute/networking/border-gateway.md) in the target region.
* For BGP Routing Mode, please [**Authorize ASN or AS-SET**](https://docs.console.zenlayer.com/welcome/bare-metal/overview/global-bgp/authorize-asn.md) required for BGP interconnect first.

## Procedures

<figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2Fgit-blob-f9a1e6dde1f08b0d6a5e2042cc3a72a9f089ae13%2Fipt-creation-flow.svg?alt=media" alt=""><figcaption><p>Creating an Internet service</p></figcaption></figure>

{% stepper %}
{% step %}

#### **Choose how to attach it, and the basic configuration**

An Internet service can be attached in several ways. The form is derived from what you fill in — there is no separate option to pick:

<figure><img src="https://3201622183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9X3FDdkCL2HzhbPpPMFt%2Fuploads%2Fgit-blob-f1aa417ee865e07fb8ae1012641bcffba545cfa8%2Fipt-access-methods.svg?alt=media" alt=""><figcaption><p>How an Internet service is attached</p></figcaption></figure>

**Option 1: through a data center port**

1. Select a data center port\
   Select a port located in the data center where you want to access the public internet.
2. Configure the VLAN ID\
   The VLAN ID identifies the Layer 2 link between your port and the Internet service.
3. *(Optional)* Enable remote Internet\
   If you prefer not to purchase a new port at the target public internet access location, you can enable remote Internet to reach the internet in that region over our backbone.

**Option 2: through Elastic Compute (a border gateway)**

Enter the **data center of your border gateway**. Zenlayer attaches one end of the Internet to that [**border gateway**](https://docs.console.zenlayer.com/welcome/elastic-compute/networking/border-gateway.md), so resources in your Elastic Compute VPC advertise the Internet's public prefixes directly.

* The internal link on the border gateway side is built automatically, with a non-conflicting VLAN assigned for you — there is no VLAN ID to enter.
* That side always uses **BGP routing**, and the Zenlayer-side BGP ASN is fixed at `21859`, so you do not enter it.
* Once created, the public prefixes are registered on the Elastic Compute side and can be assigned to resources in the VPC.

**Option 3: through a key port**

A key port is used together with offline interconnection arrangements and is provided by Zenlayer during delivery, for cases where you cannot pick a port yourself.

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

* <mark style="color:blue;">The border gateway and the Internet service cannot be in the same city.</mark>
* <mark style="color:blue;">With Elastic Compute access, later changes to the public prefixes are synced to the Elastic Compute side. Release the addresses before deleting the instance or shrinking the prefix — the operation is rejected while resources still use them.</mark>
* <mark style="color:blue;">In the remote Internet scenario, backbone bandwidth charges will apply based on the configured bandwidth.</mark>
  {% endhint %}
  {% endstep %}

{% step %}

#### IP Address Configuration

Choose a desired delivery mode.

* [**Gateway Mode**](https://docs.console.zenlayer.com/welcome/cloud-networking/overview-1/create-ip-transit/gateway-mode-configuration.md)\
  You do not possess your own IP addresses and the gateway handles routing and network translation functions. Suitable for customers with **simpler network architectures** who do not require dynamic routing.
* [**Routing Mode - Static**](https://docs.console.zenlayer.com/welcome/cloud-networking/overview-1/create-ip-transit/static-routing-mode-configuration.md)\
  You do not possess your own IP addresses and operate relatively **simple or stable network architectures** without the need for dynamic route learning.
* [**Routing Mode - BGP**](https://docs.console.zenlayer.com/welcome/cloud-networking/overview-1/create-ip-transit/bgp-routing-mode-configuration.md)\
  You possess your own IP addresses and operate **complex and frequently changing network architectures** that requires support for dynamic routing.

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

* <mark style="color:blue;">Once the Internet service is created, the delivery mode cannot be changed. Please proceed with caution.</mark>
* <mark style="color:blue;">See</mark> [<mark style="color:purple;">Comparison of Internet Delivery Modes</mark>](https://docs.console.zenlayer.com/welcome/cloud-networking/overview-1/create-ip-transit/comparison-of-ip-transit-delivery-modes.md) <mark style="color:blue;">for detailed features of each mode.</mark>
  {% endhint %}
  {% endstep %}

{% step %}

#### Network Bandwidth Configuration

Configure the bandwidth of the Internet.

* [Flat Rate](https://docs.console.zenlayer.com/welcome/pricing/network-billing/flat-rate.md) with fixed bandwidth
* [Burstable 95th](https://docs.console.zenlayer.com/welcome/pricing/cloud-networking-pricing/burstable-95th.md) with commit rate and burst capacity

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

<mark style="color:blue;">In the remote Internet scenario, the configured network billing model applies to both backbone bandwidth and Internet bandwidth.</mark>
{% endhint %}
{% endstep %}

{% step %}

#### Internet Network Name and Resource Group

Label your Internet and select a resource group for better resource management.
{% endstep %}
{% endstepper %}

## What to Do Next

After Internet creation, you will view the customer and provider IPv4 addresses for interconnection on the Internet list page. Please configure your client device accordingly based on this information.
