Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for GitLab
  • Getting started
    • All guides
    • Getting information about instances
    • Creating and activating an instance
    • Setting up security groups and access restrictions to an instance
    • Stopping and starting an instance
    • Editing instance settings
    • Managing backups
    • Migrating from a custom GitLab installation
    • Migrating to a different availability zone
    • Cleaning up full disk space
    • Deleting an instance
    • Adding and removing users from a project
    • Setting up approval rules
    • Monitoring the instance status
    • Setting up OmniAuth
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • Getting a list of instances in a folder
  • Getting instance details
  • Viewing a list of operations in an instance
  • Getting operation details
  1. Step-by-step guides
  2. Getting information about instances

Getting information about instances

Written by
Yandex Cloud
Updated at August 11, 2025
  • Getting a list of instances in a folder
  • Getting instance details
  • Viewing a list of operations in an instance
  • Getting operation details

You can get detailed information about each GitLab instance you created in Yandex Cloud.

Getting a list of instances in a folderGetting a list of instances in a folder

Management console
CLI
API

Navigate to the folder dashboard and select Managed Service for GitLab.

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 get a list of available GitLab instances in the default folder, run this command:

yc managed-gitlab instance list

Result:

+----------------------+-------+-------------------------------+---------------------+---------------------+----------------+---------+
|          ID          | NAME  |            DOMAIN             |     CREATED AT      |     UPDATED AT      | GITLAB VERSION | STATUS  |
+----------------------+-------+-------------------------------+---------------------+---------------------+----------------+---------+
| c17gehgsk7gq******** | my-gl | domain.gitlab.yandexcloud.net | 2025-06-10 12:10:55 | 2025-06-10 12:10:55 | 17.11.2        | RUNNING |
+----------------------+-------+-------------------------------+---------------------+---------------------+----------------+---------+

Where:

  • ID: Instance ID.
  • NAME: Instance name.
  • DOMAIN: Instance address on the internet.
  • CREATED AT: Date and time when the instance was created.
  • UPDATED AT: Date and time when the instance was updated.
  • GITLAB VERSION: GitLab version.
  • STATUS: Instance status. Learn more about possible statuses here.

For more information about this command, see the CLI reference.

Use the List REST API method for the Instance resource or the InstanceService/List gRPC API call.

Getting instance detailsGetting instance details

Instance details include:

  • Domain.
  • Status.
  • Resources: RAM, vCPU, and disk size.
  • Admin's username and email address.
Management console
CLI
Terraform
API
  1. In the management console, select the folder where the GitLab instance is located.
  2. Select Managed Service for GitLab.
  3. Click the instance name.

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 get details for a GitLab instance, run this command:

yc managed-gitlab instance get <instance_name_or_ID>

Result:

id: c17gehgsk7gq********
folder_id: b1gutjgdvq50********
created_at: "2025-06-10T12:10:55.902Z"
updated_at: "2025-06-10T12:10:55.902Z"
name: my-gl
resource_preset_id: s2.micro
disk_size: "32212254720"
status: RUNNING
admin_login: my-login
admin_email: admin@mail.ru
domain: domain.gitlab.yandexcloud.net
subnet_id: e9bk8uu1lv1sg********
backup_retain_period_days: "7"
maintenance_delete_untagged: true
deletion_protection: true
approval_rules_id: NONE
gitlab_version: 17.11.2

Where:

  • id: Instance ID.
  • folder_id: ID of the folder containing the instance.
  • created_at: Date and time when the instance was created.
  • updated_at: Date and time when the instance was updated.
  • name: Instance name.
  • resource_preset_id: Instance type ID.
  • disk_size: Disk size.
  • status: Instance status. Learn more about possible statuses here.
  • admin_login: Administrator login.
  • admin_email: Administrator email.
  • domain: Instance address on the internet.
  • subnet_id: Subnet ID.
  • backup_retain_period_days: Backup retention in days.
  • maintenance_delete_untagged: Enables deletion of untagged images during maintenance. The possible values are true or false.
  • deletion_protection: Instance protection from accidental deletion by a user. The possible values are true or false.
  • approval_rules_id: Approval rules. Learn more about supported rule configurations.
  • gitlab_version: GitLab version.

You can request the instance name and ID with the list of instances in the folder.

For more information about this command, see the CLI reference.

With Terraform, you can quickly create a cloud infrastructure in Yandex Cloud and manage it using configuration files. These files store the infrastructure description written in HashiCorp Configuration Language (HCL). If you change the configuration files, Terraform automatically detects which part of your configuration is already deployed, and what should be added or removed.

Terraform is distributed under the Business Source License. The Yandex Cloud provider for Terraform is distributed under the MPL-2.0 license.

For more information about the provider resources, see the relevant documentation on the Terraform website or its mirror.

If you do not have Terraform yet, install it and configure the Yandex Cloud provider.

To get information about a GitLab instance using Terraform:

  1. Add the data and output sections to the Terraform configuration file:

    data "yandex_gitlab_instance" "gitlab_instance_by_id" {
      id = "<instance_ID>"
    }
    
    output "instance_domain" {
      value = data.yandex_gitlab_instance.gitlab_instance_by_id.domain
    }
    

    Where:

    • data "yandex_gitlab_instance": GitLab instance description as a data source:
      • id: GitLab instance ID.
    • output "instance_domain": Output variable that contains information about the domain:
      • value: Return value.

    You can replace domain with any other parameter to get the information you need. For more information about the gitlab_instance data source properties, see this Terraform provider article.

  2. Apply the configuration:

    1. In the terminal, go to the directory where you edited the configuration file.

    2. Make sure the configuration file is correct using this command:

      terraform validate
      

      If the configuration is correct, you will get this message:

      Success! The configuration is valid.
      
    3. Run this command:

      terraform plan
      

      You will see a detailed list of resources. No changes will be made at this step. If the configuration contains any errors, Terraform will show them.

    4. Apply the changes:

      terraform apply
      
    5. Type yes and press Enter to confirm the changes.

    Terraform will apply the configuration and display output variables in the terminal. To check the results, run this command:

    terraform output
    

    Result:

    instance_domain = example.gitlab.yandexcloud.net
    

Use the Get REST API method for the Instance resource or the InstanceService/Get gRPC API call.

Viewing a list of operations in an instanceViewing a list of operations in an instance

The list shows operations with instances and resources linked to them.

All actions with Managed Service for GitLab instances are logged as a list of operations. Each operation gets its own unique ID.

Management console

To get a list of operations for a specific instance:

  1. In the management console, open the folder with the cluster.

  2. Select Managed Service for GitLab.

  3. In the left-hand panel, select Instances.

  4. Select the instance you need.

  5. Go to the Operations panel for the selected cluster.

    You will see the list of operations with the selected instance.

Getting operation detailsGetting operation details

  1. Get a list of operations for an instance.

  2. Copy the operation ID.

  3. Get operation details:

    CLI
    API

    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.

    Run this command:

    yc operation get <operation_ID>
    

    Result:

    id: c17de7epmui********
    description: Create automatic GitLab backup
    created_at: "2025-07-24T22:01:24.352Z"
    created_by: yc.managed-gitlab.serviceAccount
    modified_at: "2025-07-25T03:07:17.092Z"
    done: true
    metadata:
      '@type': type.googleapis.com/google.protobuf.Empty
    value: {}
    response:
      '@type': type.googleapis.com/yandex.cloud.gitlab.v1.Instance
    ...
    

    Use the Get REST API method for the Operation resource or the OperationService/Get gRPC API call.

See alsoSee also

  • Working with operations

Was the article helpful?

Previous
All guides
Next
Creating and activating an instance
© 2025 Direct Cursus Technology L.L.C.