Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Router
    • All guides
    • Getting information about a routing instance
    • Getting a list of operations in a routing instance
    • Creating a routing instance
    • Updating parameters of a routing instance
    • Updating the list of IP prefixes in a routing instance
    • Deleting IP prefixes from a routing instance
    • Adding a private connection to a routing instance
    • Deleting a private connection from a routing instance
    • Deleting a routing instance
    • Cloud Interconnect tutorials
    • All use cases
    • On-premises without redundancy and one cloud network
    • On-premises without redundancy and multiple cloud networks
    • On-premises with redundancy and one cloud network
    • On-premises with redundancy and multiple cloud networks
    • Two separate route instances without on-premises redundancy
    • Even redistribution of on-premise traffic (Active-Active)
    • Prioritizing on-premise traffic based on direction (Active-Standby)
    • Reserving an on-premise connection via a VPN gateway (PRC)
    • Prioritizing a static VPC route over routes from PRC
    • Even traffic distribution for route 0.0.0.0/0
    • Prioritizing traffic by direction for route 0.0.0.0/0
    • Connectivity for two cloud networks
    • Connectivity for two cloud networks and on-premises
  • Access management
  • Release notes
  1. Step-by-step guides
  2. Creating a routing instance

Create a routing instance

Written by
Yandex Cloud
Updated at July 3, 2025

Warning

To request access to this function, contact support.

Note

You need the cloud-router.editor role to run this operation.

CLI
  1. See the description of the CLI command for creating a routing instance:

    yc cloudrouter routing-instance create --help
    
  2. Create a routing instance in the specified folder:

    Note

    To simplify maintenance, we recommend creating the routing instance in the same folder where the trunk and private connection were previously created.

    yc cloudrouter routing-instance create --name ri1 \
      --description "Routing instance 1" \ 
      --folder-id b1gqf**********jiz2w \
      --async
    

    Expected result:

    id: fokrf**********ml058
    description: routing instance create
    created_at: "2025-04-16T12:43:54.507531644Z"
    created_by: bfbud**********v7dfn
    modified_at: "2025-04-16T12:43:54.507531644Z"
    metadata:
      '@type': type.googleapis.com/yandex.cloud.cloudrouter.v1.CreateRoutingInstanceMetadata
      routing_instance_id: c3l87**********1dpin
    
  3. To check the result of creating a routing instance:

    yc cloudrouter routing-instance get c3l87**********1dpin
    id: c3l87**********1dpin
    name: ri1
    description: Routing instance 1
    folder_id: b1gqf**********jiz2w
    region_id: ru-central1
    status: ACTIVE
    created_at: "2025-04-16T12:43:55Z"
    

    Where:

    • id: Routing instance ID.
    • name: Routing instance name.
    • description: Routing instance description.
    • folder_id: ID of the cloud folder the routing instance was created in.
    • region_id: Cloud region the routing instance was created in.
    • status: Resource state. Target state: ACTIVE. When being created, it may be in the CREATING state.
    • created_at: Date and time of resource creation.
    • async: Running the operation in asynchronous mode. This is the recommended mode for all operations that involve changes to resources.

Was the article helpful?

Previous
Getting a list of operations in a routing instance
Next
Updating parameters of a routing instance
© 2025 Direct Cursus Technology L.L.C.