Skip to main content
In a multi-regional project, you can create resources in different regions and manage them as one unit: with the same service accounts, groups, and access settings.
Multi-regional projects are in preview and available only for a limited number of tenants. If your tenant does not have access, you cannot use regions other than the project’s region.
During the preview, all projects are created as single-region. If your tenant has access, you can migrate a project to multi-regional.

How to migrate a project

You can migrate a project only in the web console. To do this, you must be in a group that has the admin role within the tenant or the project; for example, the default admins group. If your tenant has access, the Migrate button is displayed next to single-region projects in the list of projects. To migrate a project, do one of the following:
  • Expand the list of projects and click Migrate next to the name of the project that you want to migrate.
  • Select the project that you want to migrate. On the project page that opens, click Migrate project next to the project name.
After migration:
  • Existing resources stay in their regions and keep their IDs.
  • The project’s region becomes its default region.
  • Requests that do not specify a region keep working with resources in the default region.
  • list and get-by-name commands that do not specify a region only return resources from the default region. For details, see How to work with resources in a multi-regional project.

Single-region and multi-regional projects

A project is either single-region or multi-regional:
  • In a single-region project, all resources are created in the project’s region. To work in several regions, you need a separate project for each region.
  • In a multi-regional project, the project itself is not tied to a region. The region is a property of each resource, and you can specify it when you create the resource.
Each multi-regional project still has a region, which is specified during the project creation. In a multi-regional project, this is the default region: if you do not specify a region, the resource is created in the default region, and commands work with resources in the default region. The following rules apply to resources in a multi-regional project:
  • You specify the region of a resource when you create it. You cannot move an existing resource to another region.
  • Resources that are used together must be in the same region. For example, the disks, shared filesystems, subnet, and GPU cluster of a virtual machine (VM) must be in the same region as the VM.
  • Resource names must be unique within a project and a region. Resources in different regions of the same project can have the same name.
  • Quotas apply to each region of the project separately.
  • Service accounts and groups belong to the project and apply to resources in all regions of the project.
  • The availability of services and platforms depends on the region of the resource. For details, see Availability of services per region.

How to work with resources in a multi-regional project

Supported services have an optional region parameter. When you get or list resources, the output includes the region of each resource. The examples below work with a Compute disk over the CLI. Other developer tools and resources of supported services work the same way.

Creating a resource

To create a resource in a specific region, add the --region parameter. If you omit it, the resource is created in the project’s default region. In a single-region project, the request fails with an error if --region is set to a region other than the project’s region. Single-region project, or the default region of a multi-regional project:
Specific region of a multi-regional project:

Getting a resource by name

get-by-name searches for a resource in one region: the region that you specify or, if you do not specify it, the default region. If the resource is in another region, get-by-name does not find it. Default region:
Specific region:
To get a resource by its ID, you do not need to specify the region.

Listing resources

list returns resources from one region: the region that you specify or, if you do not specify it, the default region. Resources in other regions are not returned. To list them, run list for each of their regions. Default region:
Specific region:

Backward compatibility

Existing scripts, Terraform configurations, and SDK code keep working after migration, as long as they do not specify a region: they work with resources in the default region. If you create a resource in a region other than the default one, code that does not specify a region does not find it. For example, list without a region does not return the resource, and get-by-name without a region returns an error. To find such resources, specify their region. In a single-region project, you can only use the project’s region. If you specify any other region in a request, the request fails with an error.