Stopping and starting a GitLab instance
You can stop and restart a GitLab instance as needed. When stopped, an instance retains all its data.
While your instance is idle, you only pay for the stored instance data and the size of backups stored in Yandex Object Storage as per the pricing policy.
Stopping an instance
- Go to 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 by clicking Stop.
If you do not have the Yandex Cloud CLI yet, install and initialize it.
The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.
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 an instance
You can restart Stopped instances.
- Go to 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 yet, install and initialize it.
The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.
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.