Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex BareMetal
    • All guides
      • Creating a VRF
      • Creating a private subnet
      • Configuring DNS in a private subnet
      • Ordering a dedicated public subnet
      • Deleting a dedicated public subnet
      • Creating a private connection to cloud networks
      • Creating a static route
    • Overview
    • Integrations with other Yandex Cloud services
      • Overview
      • Stock server configurations
      • Custom server configuration
      • On-request server configuration
      • Overview
      • Extend: Virtualization
      • Extend: Yandex Cloud Stackland
      • Extend: Managed Service for Kubernetes®
      • Overview
      • Public network
      • Private network
      • DHCP
      • DNS in a private network
      • MC-LAG
      • Restrictions in BareMetal networks
      • Overview
      • Images
      • Access management
      • Additional server settings
      • Management console
      • Monitoring metrics
    • Quotas and limits
  • Pricing policy
  • Release notes
  • FAQ
  1. Step-by-step guides
  2. Network
  3. Creating a private connection to cloud networks

Creating a private connection to cloud networks

Written by
Yandex Cloud
Updated at November 24, 2026
View as Markdown

With Yandex Cloud Interconnect, you can create a private connection between BareMetal subnets and Yandex Virtual Private Cloud subnets.

Note

Before creating a private connection, make sure your folder contains a VRF segment with at least one routable BareMetal subnet and a routing instance with at least one announced private VPC subnet prefix. To order a routing instance, please contact support.

To create a private connection:

Management console
API
  1. In the management console, select the folder where you want to create your private connection.

  2. Navigate to BareMetal.

  3. In the left-hand panel, select VRF and then select the virtual network segment you need.

  4. Under Private connection to cloud networks, click Configure connection, and in the window that opens:

    1. In the Setup method field, select Enter ID and paste the Routing Instance virtual router ID into the Virtual router ID field.

      You can also select the Choose from folder option. In this case, select the Routing Instance you need from the list that opens.

      The form will now display the CIDRs of the Virtual Private Cloud subnets that will be announced in Cloud Interconnect.

      Warning

      To successfully configure network connectivity between BareMetal subnets and on-premise or VPC subnets, their CIDR address ranges must not match or overlap.

    2. To create a private connection for the specified CIDR subnets, click Save.

As a result, the VRF information page will display the newly created connection ID and its status under Private connection to cloud networks.

To create a private connection with a virtual router, use the PrivateCloudConnection.Create REST API method or the PrivateCloudConnectionService/Create gRPC API call.

Run this query:

curl -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <IAM_token>" \
  -d '{
    "routingInstanceId":"fokrf2in3c7********",
    "vrfId":"ly5uyq2gbxu2********"
    }' \
  "https://baremetal.api.cloud.yandex.net/baremetal/v1alpha/privateCloudConnections"

Where:

  • routingInstanceId: Routing instance ID in Cloud Router.
  • vrfId: ID of the VRF you are connecting to the Routing Instance. To get the VRF ID, use the VrfService.List method.

Result:

{
  "done": false,
  "id": "arpas4mne3********",
  "description": "Create private cloud connection",
  "createdAt": "2024-01-01T12:00:00Z",
  "createdBy": "user-id",
  "modifiedAt": "2024-01-01T12:00:00Z",
  "metadata": {
    "privateCloudConnectionId": "kor4msi1aqq********"
  }
}

The operation of creating a private connection is performed asynchronously. Follow the status of the operation by the done field.

Note

Setting up a private connection may take up to two business days. During this period, the connection status will display as Creating. Once the connection is created, its status will change to Ready.

Private cloud netweork connections may show one of the following statuses:

  • CREATING: Connection creation in progress.
  • READY: Connection is up and ready to use.
  • ERROR: Connection failure. Contact support.
  • DELETING: Connection deletion in progress.
  • UPDATING: Connection settings update in progress.

Was the article helpful?

Previous
Deleting a dedicated public subnet
Next
Creating a static route
© 2026 Direct Cursus Technology L.L.C.