[Yandex Cloud documentation](../../index.md) > [Yandex Virtual Private Cloud](../index.md) > [Tutorials](index.md) > Cloud Interconnect > Creating a new partner trunk and a public connection in it

# Creating a partner trunk and a public connection in it

Yandex Cloud Interconnect activation follows these logical steps:

1. [Setting up a partner trunk](#trunk-create).
1. [Setting up a public connection in the new trunk](#pub-create).

## Creating a new partner trunk

### Getting started {#trunk-prep}

* See our [guides](../../interconnect/concepts/index.md) to learn how this service works.
* Contact your Yandex Cloud manager to choose your pricing plan and [connection capacity](../../interconnect/pricing.md).
* Using [this list](../../interconnect/concepts/partners.md#list), find a partner that can set up a trunk at your selected [point of presence](../../interconnect/concepts/pops.md) with the required [capacity](../../interconnect/concepts/partners.md#list). To **ensure fault tolerance**, we recommend setting up trunk links at two points of presence.
* If you work with a Yandex Cloud solution architect, discuss with them and agree on a Yandex Cloud Interconnect service setup plan.

### Contacting support for a new partner trunk {#partner-trunk-ticket}

Create a new partner trunk [support ticket](https://center.yandex.cloud/support).


Follow this request format:

```text
Subject: [CIC] Creating a new partner trunk.

Request text:

Please set up a new Cloud Interconnect partner trunk 
with the following settings:

client: My Business LLC 
folder-id: b1g28j9359gi********
partner: RETN
point of presence: M9
connection capacity: 250mbps
```

Where:

* `client`: Company name.
* `folder-id`: [ID of the folder](../../resource-manager/operations/folder/get-id.md) that will receive Cloud Interconnect monitoring metrics.
* `partner`: Name of your Cloud Interconnect [partner](../../interconnect/concepts/partners.md#list).
* `Point of presence`: Code of the point of presence where your [partner](../../interconnect/concepts/partners.md#list) can provide connections to Yandex Cloud.
* `Connection capacity`: [Bandwidth](../../interconnect/pricing.md) in Mbps.


### Support team’s response to your ticket {#partner-trunk-ticket-resp}

Once the trunk setup has been completed, the support team will provide you the following information:
* `trunk_id`: Trunk ID
* `service_key`: Trunk service key
* `capacity`: [Trunk capacity](../../interconnect/concepts/capacity.md)

Here is an example of the support response to the request for a new partner trunk (for reference only):

```s
trunk_id: euus5dfgchu2********
service_key: euuq3f6g1zk8********
capacity: 500mbps
```

Once the partner trunk has been created, the support team will provide your partner the following information:
`partner_joint_id`, `partner_vlan_id`, `capacity`, and `service_key`.

### Requesting the partner to configure the new partner trunk {#client-req-partner}

Once you have received the Yandex Cloud support response, you should request your partner to activate and configure their side of the partner trunk. In your request, provide the `service_key` you got in the previous step.

Once your partner has processed your request, they will notify you, following which you should coordinate with your partner and establish a connection between your respective endpoints.

To communicate with your partner, you can arrange a mutually convenient means, such as email.


{% note info %}

Currently, [we do not provide](../../interconnect/concepts/monitoring.md#notes) monitoring metrics for partner trunks.
For private and public connections, we provide the monitoring metrics service [in full](../../interconnect/concepts/monitoring.md#private-metrics).

{% endnote %}

## Setting up a public connection {#pub-create}

To add a public connection to an existing trunk, create a [new support ticket](https://center.yandex.cloud/support).

### Contacting support for a public connection {#pub-ticket}

Follow this request format:
```s
Subject: [CIC] Add a public connection to an existing trunk.

Request text:
Please add a public connection to an existing trunk.
Connection settings:

trunk_id: euus5dfgchu2********
vlan_id: 101
ipv4_peering:
  peer_bgp_asn: 65001
  #cloud_bgp_asn: 200350
allowed-public-services:
  - storage.yandexcloud.net
  - transcribe.api.cloud.yandex.net
is_nat_extra_ip_required: false
```

Where:

* `trunk_id`: Trunk ID you got from support in the previous step.
* `vlan_id`: Public trunk connection 802.1Q `VLAN-ID`. This value is selected by the customer. It must be different from the `VLAN-ID` values of other private connections in this trunk.
* `peer_bgp_asn`: Customer endpoint [BGP ASN](../../interconnect/concepts/priv-con.md#bgp-asn) in ASPlain format. This value is selected by the customer.
* `allowed-public-services`: `FQDN API Endpoints` of [services](../../interconnect/concepts/pub-con.md#svc-list) you want to access through this public connection.
* `is_nat_extra_ip_required`: Indicates whether the customer needs a `/32` subnet prefix (in addition to the point-to-point `/31` subnet prefix) to implement [NAT](../../interconnect/concepts/pub-con.md#svc-nat). By default, this value is `false`, which means no additional subnet prefix is allocated.
* `folder_id` (optional): Folder to store public connection monitoring metrics. If left empty, monitoring metrics will be stored in the folder you specified when creating the trunk.

### Support team's response to your ticket {#pub-ticket-resp}

Once the new public connection has been added, the support team will message you its ID.

Here is an example of the support response to a request for a new public connection (for reference only):
```s
id: cf3qdug4fsf7********
ipv4_peering:
  peering_subnet: 178.210.118.46/31
  peer_ip: 178.210.118.46
  cloud_ip: 178.210.118.47
  peer_bgp_asn: 65001
  #cloud_bgp_asn: 200350
allowed-public-services:
  - storage.yandexcloud.net
  - transcribe.api.cloud.yandex.net
```
Where:

* `id`: Public connection ID.
* `peering_subnet`: [Point-to-point](../../interconnect/concepts/pub-con.md#pub-address) BGP peering subnet prefix from the Yandex Cloud [address pool](../concepts/ips.md).
* `peer_ip`: Customer endpoint IP address on the point to point BGP peering subnet assigned by Yandex Cloud.
* `cloud_ip`: Yandex Cloud endpoint on the point to point BGP peering subnet assigned by Yandex Cloud.
* `nat_subnet`: Additional Yandex Cloud pool subnet prefix to implement [NAT](../../interconnect/concepts/pub-con.md#pub-nat).
* `allowed-public-services`: `FQDN API Endpoints` of services accessible through the new public connection.

### Public connection status monitoring {#pub-check}

* Use the [monitoring](../../interconnect/concepts/monitoring.md#private-mon) service to see when your public connection BGP session starts on the Yandex Cloud endpoint.
* The support team will notify you once they provide access to the requested Yandex Cloud services. The configuration process usually takes up to one business day.
* Check whether the Yandex Cloud services are accessible from your endpoint through the new public connection and inform the support team about the results.
* If there are any IP connectivity issues, contact support for diagnostics and troubleshooting.