Stopping and starting a GitLab instance
If necessary, you can stop and restart a GitLab instance. When the instance is stopped, all its data is saved.
You are not charged while your instance is stopped: you continue to pay only for the data stored by the instance and the size of backups stored in Yandex Object Storage based on the pricing policy.
Stopping a instance
- Navigate to the folder dashboard
and select Managed Service for GitLab. - Find the instance in the list, click
, and select Stop. - In the dialog box that opens, confirm that you want to stop the instance, then click Stop.
If you do not have the Yandex Cloud CLI installed yet, install and initialize it.
By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID>
command. You can also set a different folder for any specific command using the --folder-name
or --folder-id
parameter.
To stop a GitLab instance, run this command:
yc managed-gitlab instance stop <instance_name_or_ID>
You can request the instance ID or name with the list of instances in the folder.
Result:
done (20s)
id: c17ab1ehdfag********
folder_id: b1gmm82dtdb3********
created_at: "2024-01-29T16:11:45.859Z"
updated_at: "2025-06-25T20:38:41.325Z"
name: inst-gitlab
resource_preset_id: s2.micro
disk_size: "32212254720"
status: STOPPED
admin_login: <admin_login>
admin_email: <email>
domain: example.gitlab.yandexcloud.net
subnet_id: e9bp8qmchqh2********
backup_retain_period_days: "7"
approval_rules_id: NONE
gitlab_version: 17.11.4
For more information about this command, see the CLI reference.
Use the Stop REST API method for the Instance resource or the InstanceService/Stop gRPC API call.
Starting a instance
You can restart your Stopped instance.
- Navigate to the folder dashboard
and select Managed Service for GitLab. - Find the stopped instance in the list, click
, and select Start. - In the dialog box that opens, confirm that you want to start the instance by clicking Start.
If you do not have the Yandex Cloud CLI installed yet, install and initialize it.
By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID>
command. You can also set a different folder for any specific command using the --folder-name
or --folder-id
parameter.
To start a GitLab instance, run this command:
yc managed-gitlab instance start <instance_name_or_ID>
You can request the instance ID or name with the list of instances in the folder.
Result:
done (1m44s)
id: c17ab1ehdfag********
folder_id: b1gmm82dtdb3********
created_at: "2024-01-29T16:11:45.859Z"
updated_at: "2025-06-25T20:38:41.325Z"
name: inst-gitlab
resource_preset_id: s2.micro
disk_size: "32212254720"
status: RUNNING
admin_login: <admin_login>
admin_email: <email>
domain: example.gitlab.yandexcloud.net
subnet_id: e9bp8qmchqh2********
backup_retain_period_days: "7"
approval_rules_id: NONE
gitlab_version: 17.11.4
For more information about this command, see the CLI reference.
Use the Start REST API method for the Instance resource or the InstanceService/Start gRPC API call.