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
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Virtual Private Cloud
  • Getting started
    • All guides
      • Reserving a static public IP address
      • Converting a dynamic public IP address to static
      • Converting a static public IP address to dynamic
      • Moving an address between folders
      • Getting information about an IP address
      • Deleting a static public IP address
    • 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
  • Address in the current folder
  • Address in a different folder
  1. Step-by-step guides
  2. IP address
  3. Moving an address between folders

Moving a public IP address to a different folder

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

You can move public IP addresses between folders within a single cloud.

Management console
CLI
API
  1. In the management console, go to the folder containing the address.
  2. In the list of services, select Virtual Private Cloud.
  3. In the left-hand panel, select IP addresses.
  4. Click in the row of the address to move and select Move.
  5. In the window that opens, select the destination folder.
  6. Click Move.

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.

  1. View the description of the CLI command for moving an address:

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

    yc vpc address list
    

    Result:

    +----------------------+------+---------------+----------+-------+
    |          ID          | NAME |    ADDRESS    | RESERVED | USED  |
    +----------------------+------+---------------+----------+-------+
    | e2l50m7qo8gp******** |      | 84.252.137.20 | true     | false |
    | e9b0qnmuh2cb******** |      | 51.250.65.244 | true     | false |
    | e9br252il3ce******** |      | 51.250.68.195 | false    | true  |
    +----------------------+------+---------------+----------+-------+
    
  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 address by specifying the name or ID of the address and destination folder:

    yc vpc address move <address_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 address is not in the current folder (default folder), specify the source folder using --folder-name or --folder-id.

    Result:

     id: e9br252il3ce********
     folder_id: b1chgf288nvg********
     created_at: "2022-10-10T05:38:43Z"
     external_ipv4_address:
       address: 51.250.68.195
       zone_id: ru-central1-a
       requirements: {}
     used: true
     type: EXTERNAL
     ip_version: IPV4
    

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

To move a public IP address to a different folder, use the move REST API method for the Address resource or the AddressService/Move gRPC API call, and provide the following in the request:

  • ID of the address you need to move in the addressId parameter.

    To get the address ID, use the list REST API method for the Address resource or the AddressService/List gRPC API call and provide the folder ID in the folderId request parameter.

  • ID of the folder the address will be moved to in the destinationFolderId parameter.

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

ExamplesExamples

Address in the current folderAddress in the current folder

Move an address from the current folder by specifying the address name and destination folder name:

CLI
yc vpc address move site-1 \
  --destination-folder-name my-folder-1

Address in a different folderAddress in a different folder

Move an address from a different folder. Specify the address ID and the source and destination folder IDs:

CLI
yc vpc address move e9br252il3ce******** \
  --folder-id b1chgf288nvg******** \
  --destination-folder-id b1cs8ie21pk1********

See alsoSee also

  • Reassigning a public IP address from one VM to another

Was the article helpful?

Previous
Converting a static public IP address to dynamic
Next
Getting information about an IP address
© 2025 Direct Cursus Technology L.L.C.