Migrating an instance to a different availability zone
Note
This feature is at the Preview stage and is available upon request.
VMs with Managed Service for GitLab instances reside in Yandex Cloud availability zones. To change the availability zone:
-
If you do not have a subnet in the target availability zone, create one.
-
If the instance's security group is set up for a subnet in the source availability zone, recongifure the group for the new subnet. To do so, replace the source subnet CIDR with the new subnet CIDR in the security group rules.
-
Change the instance's availability zone:
Management console-
In the management console
, go to the folder page and select Managed Service for GitLab. -
Click the instance name and select the Migration tab.
-
If unable to use the migration functionality, request access to it.
When your request is approved, you will be notified by email. To continue, reload the page in your browser.
-
Specify the target availability zone and subnet.
-
Click Move instance.
The instance will start to upgrade. Wait for the instance to change its status back to
Running
. This will take a few minutes for a small instance or at least 30 minutes if the instance is over 200 GB in size. After a few more minutes, the GitLab instance will start. -
To test the instance's performance, select the
Overview tab and click the link in the Domain field. -
On the Migration tab:
- If the instance works properly, click Complete migration.
- If the instance is inoperable, click Cancel migration to move it back to the initial availability zone or contact support
.
-