Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Virtual Private Cloud
  • Getting started
    • All guides
      • Creating a cloud network
      • Deleting a cloud network
      • Updating a cloud network
      • Getting information about a cloud network
      • Viewing a cloud network map
      • Moving a cloud network between folders
    • Enabling a software-accelerated network
    • Chart of network connections
    • Viewing operations with resources
  • DDoS Protection
  • Access management
  • Terraform reference
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • Examples
  • Cloud network in the current folder
  • Cloud network in a different folder
  1. Step-by-step guides
  2. Cloud network
  3. Moving a cloud network between folders

Moving a cloud network to a different folder

Written by
Yandex Cloud
Updated at May 5, 2025
  • Examples
    • Cloud network in the current folder
    • Cloud network in a different folder

You can move cloud resources between folders within a single cloud.

Management console
CLI
API

To move a cloud network to a different folder:

  1. In the management console, go to the folder where the cloud network is located.
  2. In the list of services, select Virtual Private Cloud.
  3. Click in the row of the network you need and select Move.
  4. In the window that opens, select the destination folder.
  5. Click Move.

Note

All the cloud network's subnets will be moved to the other folder as well.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

To move a cloud network to a different folder:

  1. View the description of the CLI move cloud network command:

    yc vpc network move --help
    
  2. Get the name or ID of the cloud network to move:

    yc vpc network list
    

    Result:

    +----------------------+-----------+
    |          ID          |   NAME    |
    +----------------------+-----------+
    | encb4ubvmief******** | default   |
    | enc39op1vq9m******** | network-1 |
    | enc772aa2rgq******** | network-2 |
    +----------------------+-----------+
    
  3. Get a list of available folders:

    yc resource-manager folder list
    

    Result:

    +----------------------+------------------------+--------+--------+
    |          ID          |          NAME          | LABELS | STATUS |
    +----------------------+------------------------+--------+--------+
    | b1cs8ie21pk1******** | default                |        | ACTIVE |
    | b1chgf288nvg******** | my-folder-1            |        | ACTIVE |
    | b1cu6g9ielh6******** | my-folder-2            |        | ACTIVE |
    +----------------------+------------------------+--------+--------+
    
  4. Move the network by specifying the name or ID of the network and destination folder:

    yc vpc network move <network_name_or_ID> \
      --destination-folder-name <destination_folder_name> \
      --destination-folder-id <destination_folder_ID>
    

    Use either --destination-folder-name or --destination-folder-id.

    If the network is not in the current folder (default folder), specify the source folder using --folder-name or --folder-id.

    Result:

    id: enc39op1vq9m********
     folder_id: b1chgf288nvg********
     created_at: "2022-10-06T14:54:48Z"
     name: network-1
     default_security_group_id: enc2ta63h3q2********
    

    For more information about the yc vpc network move command, see the CLI reference.

To move a cloud network to a different folder, use the move REST API method for the Network resource or the NetworkService/Move gRPC API call, and provide the following in the request:

  • ID of the cloud network you want to move, in the networkId parameter.

    To get the cloud network ID, use the list REST API method for the Network resource or the NetworkService/List gRPC API call and provide the folder ID in the folderId request parameter.

  • ID of the folder you want to move the cloud network to, in the destinationFolderId parameter.

    To learn how to find out the folder ID, see Getting the folder ID.

ExamplesExamples

Cloud network in the current folderCloud network in the current folder

Move a cloud network from the current folder by specifying the network name and destination folder name:

CLI
yc vpc network move network-1 \
  --destination-folder-name my-folder-1

Cloud network in a different folderCloud network in a different folder

Move a cloud network from a different folder. Specify the network ID and the source and destination folder IDs:

CLI
yc vpc network move enc39op1vq9m******** \
  --folder-id b1chgf288nvg******** \
  --destination-folder-id b1cs8ie21pk1********

Was the article helpful?

Previous
Viewing a cloud network map
Next
Creating a subnet
Yandex project
© 2025 Yandex.Cloud LLC