Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI Studio
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Object Storage
    • All guides
      • Creating a bucket
      • Deleting a bucket
      • Limiting the maximum size of a bucket
      • Encrypting a bucket
      • Managing object lifecycles
      • Managing CORS configurations
      • Configuring access permissions using IAM
      • Editing a bucket's ACL
      • Managing access policies
      • Configuring public access to a bucket
      • Accessing a bucket using Security Token Service
      • Accessing a bucket using a service connection from VPC
      • Managing bucket versioning
      • Enabling logging
      • Managing object locks
      • Managing bucket labels
      • 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 June 9, 2025
  • 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 Object Storage from the list of services and go to the bucket in question.
  2. In the left-hand panel, select the appropriate section with bucket information.
    • 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 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.

  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******** | 0        | 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 Object Storage from the list of services and go to the bucket in question.

  2. In the left-hand panel, select Monitoring.

  3. 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 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.

  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******** | 0        | 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
Managing bucket labels
Next
Viewing bucket metrics
© 2025 Direct Cursus Technology L.L.C.