Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Object Storage
    • All guides
      • Creating a bucket
      • Deleting a bucket
      • Limiting the maximum bucket size
      • Configuring and disabling default encryption
      • Configuring object lifecycles
      • Configuring CORS
      • Configuring access permissions using IAM
      • Editing a bucket ACL
      • Managing an access policy
      • Enabling and disabling public access to a bucket
      • Disabling access with static keys
      • Accessing a bucket using Security Token Service
      • Gaining access to a bucket using an ephemeral access key
      • Configuring access to a bucket using a service connection from VPC
      • Searching for sensitive data in a bucket
      • Enabling and pausing bucket versioning
      • Logging bucket actions
      • Enabling and disabling object lock
      • Managing object metadata export
      • Managing bucket labels
      • Getting a list of buckets
      • Getting bucket information and statistics
      • Viewing bucket metrics
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Bucket logs
  • Release notes
  • FAQ

In this article:

  • Getting bucket information
  • Getting bucket statistics
  1. Step-by-step guides
  2. Buckets
  3. Getting bucket information and statistics

Getting bucket information and statistics

Written by
Yandex Cloud
Improved by
Tania L.
Updated at November 2, 2026
View in Markdown
  • Getting bucket information
  • Getting bucket statistics

Getting bucket informationGetting bucket information

To view full information about a bucket:

Management console
Yandex Cloud CLI
  1. In the management console, select the folder.
  2. Navigate to Object Storage.
  3. Select the bucket from the list.
  4. In the top panel, select the bucket information tab:
    • Objects: List of objects stored in the bucket.
    • Settings: Main bucket settings, information about website hosting in the bucket, versioning, logging, and lifecycles of bucket objects.
    • Security: Description of access permissions and policy in the bucket, information about HTTPS and CORS configurations, object locks and object encryption in the bucket.

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.

  1. See the description of the CLI command for getting bucket information:

    yc storage bucket get --help
    
  2. Get a list of buckets in the default folder:

    yc storage bucket list
    

    Result:

    +------------------+----------------------+-------------+-----------------------+---------------------+
    |       NAME       |      FOLDER ID       |  MAX SIZE   | DEFAULT STORAGE CLASS |     CREATED AT      |
    +------------------+----------------------+-------------+-----------------------+---------------------+
    | first-bucket     | b1gmit33ngp6******** | 53687091200 | STANDARD              | 2022-12-16 13:58:18 |
    +------------------+----------------------+-------------+-----------------------+---------------------+
    
  3. Save the name (from the NAME column) of the bucket you want to get information about.

  4. Get bucket info:

    yc storage bucket get <bucket_name> --full
    

    Result:

    name: first-bucket
    folder_id: b1gmit33ngp6********
    anonymous_access_flags:
      read: false
      list: false
      config_read: false
    default_storage_class: ICE
    versioning: VERSIONING_ENABLED
    max_size: "5368709120"
    acl:
      grants:
        - permission: PERMISSION_READ
          grant_type: GRANT_TYPE_ACCOUNT
          grantee_id: ajep03tkmqqr********
    created_at: "2023-04-10T19:41:30.266075Z"
    website_settings:
      index: index.html
      error: 404.html
      redirect_all_requests: {}
    

Getting bucket statisticsGetting bucket statistics

To view bucket statistics:

Management console
Yandex Cloud CLI
  1. In the management console, select the folder.

  2. Navigate to Object Storage.

  3. Select the bucket from the list.

  4. Navigate to the Monitoring tab.

  5. On the page that opens, you can view bucket statistics for a certain period:

    The page displays the following dashboards:

    • Read Requests: Number of GET, HEAD, LIST, and OPTIONS requests.
    • Modify Requests: Number of PUT, POST, and DELETE requests.
    • Traffic: Outgoing traffic size.
    • Objects counts: Number of bucket objects.
    • Space by object type: Used storage space by object type (single part objects, multipart objects, or object parts).
    • Space by storage type: Used storage space used by storage class.

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.

  1. See the description of the CLI command for getting bucket statistics:

    yc storage bucket stats --help
    
  2. Get a list of buckets in the default folder:

    yc storage bucket list
    

    Result:

    +------------------+----------------------+-------------+-----------------------+---------------------+
    |       NAME       |      FOLDER ID       |  MAX SIZE   | DEFAULT STORAGE CLASS |     CREATED AT      |
    +------------------+----------------------+-------------+-----------------------+---------------------+
    | first-bucket     | b1gmit33ngp6******** | 53687091200 | STANDARD              | 2022-12-16 13:58:18 |
    +------------------+----------------------+-------------+-----------------------+---------------------+
    
  3. Save the name (from the NAME column) of the bucket you want to get statistics on.

  4. Get bucket statistics:

    yc storage bucket stats <bucket_name>
    

    Result:

    name: first-bucket
    max_size: "5368709120"
    used_size: "621552"
    storage_class_used_sizes:
      - storage_class: STANDARD
        class_size: "607467"
      - storage_class: COLD
        class_size: "14085"
    storage_class_counters:
      - storage_class: STANDARD
        counters:
          simple_object_size: "607467"
          simple_object_count: "41"
      - storage_class: COLD
        counters:
          simple_object_size: "14085"
          simple_object_count: "16"
    default_storage_class: ICE
    anonymous_access_flags:
      read: false
      list: false
      config_read: false
    created_at: "2023-04-10T19:41:30.266075Z"
    updated_at: "2023-08-02T04:05:44.564924Z"
    

Was the article helpful?

Previous
Getting a list of buckets
Next
Viewing bucket metrics
© 2026 Direct Cursus Technology L.L.C.