Skip to main content
In Object Storage, files are stored in containers called buckets. You can create, modify, delete or restore them.

Prerequisites

Below are prerequisites for the AWS CLI and Nebius AI Cloud CLI. Other interfaces do not have any prerequisites.
To manage buckets, install and configure at least one of the command line interfaces (CLIs) supported by Nebius AI Cloud:
  • AWS CLI offers simple commands for bucket management, such as aws s3 mb to create buckets and aws s3 rb to delete them. For more advanced management, use aws s3api commands.
  • Nebius AI Cloud CLI supports all Object Storage features, as well as other Nebius AI Cloud resources, such as virtual machines and Managed Service for Kubernetes® clusters.
For the commands in this guide to work, configure the CLIs to work with Nebius AI Cloud. For example, in Nebius AI Cloud CLI commands (nebius), the ID of the parent project (--parent-id) is not included because it is expected to be set in the CLI profile:
nebius config set parent-id <project_ID>
You can also provide the project ID explicitly to creation commands, for example, nebius storage bucket create --parent-id <project_ID> ... For more information on installation and configuration, see the following guides:

How to create buckets

  1. In the sidebar, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/storage.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=0a2dad6b48aea10e85f6f3e2343aee26 StorageObject Storage.
  2. Click https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/plus.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=7c9efc69d65fc58db0eb73702fd81aa1 Create bucket.
  3. (Optional) Specify the bucket name. The bucket name must be unique across the region. For more information, see Naming.
  4. Set the bucket parameters.
  5. Click Create bucket.

How to modify buckets

  1. In the sidebar, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/storage.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=0a2dad6b48aea10e85f6f3e2343aee26 StorageObject Storage.
  2. Open the page of the required bucket.
  3. Go to the Settings tab.
  4. Modify the bucket parameters.
  5. Click Save changes.

Bucket parameters

When creating or modifying a bucket, you can set the following parameters for it:
  • Bucket size: Specify the bucket’s maximum size or select Unlimited to have an unlimited capacity.
  • Storage class: Select Standard for low-cost unlimited capacity or Enhanced Throughput for storage that requires high bandwidth and low latency access. For more information, see Storage classes in Object Storage.
  • Force storage class: Overrides the storage class specified explicitly when you upload an object to this bucket.
  • Versioning: Allows you to track and record all object changes.
  • Data plane Audit Logs: Configures data plane logging for the bucket, in addition to always-on control plane logging. To manage this setting, you need the admin role for the bucket, its parent project or tenant.
After you enable versioning for an existing bucket for the first time, it may take up to 15 minutes to come into effect. We recommend waiting 15 minutes before performing any write operations (PUT or DELETE) to avoid issues with object visibility and version tracking. If you enable or suspend versioning when creating a bucket, it is available immediately with no waiting period.

How to delete buckets

Delete an empty bucket

  1. In the sidebar, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/storage.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=0a2dad6b48aea10e85f6f3e2343aee26 Storage → Object Storage.
  2. Find the bucket and then click https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/button-vellipsis.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e80b8e57c43bfd117679262e6a1334ad → Delete.
  3. Confirm the bucket deletion.

Delete a non-empty bucket after a delay

In the web console, you can delete a non-empty bucket immediately or after a delay. If you use other interfaces, you can delete a non-empty bucket only after a delay.
  1. In the sidebar, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/storage.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=0a2dad6b48aea10e85f6f3e2343aee26 Storage → Object Storage.
  2. Locate the bucket and then click https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/button-vellipsis.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e80b8e57c43bfd117679262e6a1334ad → Delete.
  3. In the window that opens, select whether you want to delete the bucket now or later:
    • If you delete the bucket now, you cannot restore its objects after that.
    • If you want to delete the bucket later, this allows you to restore the bucket before the time elapses. When it elapses, the service deletes the bucket.
  4. For the Delete later option, specify for how long Object Storage should postpone the bucket deletion.
  5. Confirm the deletion.
If you selected the Delete later option, the bucket status changes to To be deleted. When the bucket is in this status, you cannot use or update it. The bucket is not visible in the AWS CLI.
Nebius AI Cloud still charges you for the bucket in the To be deleted status.

Immediately delete a bucket scheduled for deletion

If you scheduled a bucket for deletion and you want to skip this schedule and delete the bucket immediately, do the following:
  1. In the web console, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/storage.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=0a2dad6b48aea10e85f6f3e2343aee26 Storage → Object Storage.
  2. Locate the bucket and then click https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/button-vellipsis.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e80b8e57c43bfd117679262e6a1334ad → Delete now.
  3. Confirm the bucket deletion.

How to restore buckets

If you scheduled a bucket for deletion and you want to restore it, do the following:
  1. In the sidebar, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/storage.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=0a2dad6b48aea10e85f6f3e2343aee26 Storage → Object Storage.
  2. Locate the bucket and then click Restore.
  3. Confirm the bucket restoration.

Examples

  • Creating a bucket with total objects size limited to 250 GiB (268,435,456,000 bytes):
    nebius storage bucket create --name <bucket_name> \
      --max-size-bytes 268435456000
    
  • Creating a bucket with an object lifecycle rule that deletes objects 90 days after their creation:
    nebius storage bucket create --name <bucket_name> \
      --lifecycle-configuration-rules '[{
        "id": "lifecycle-delete-90-days-objects",
        "status": "ENABLED",
        "filter": {
          "prefix": ""
        },
        "expiration": {
          "days": 90
        }
      }]'
    
  • Creating a bucket with a forced Standard default storage class that overrides the storage class that you select explicitly for any individual object uploaded to the bucket:
    nebius storage bucket create --name <bucket_name> \
      --default-storage-class standard \
      --force-storage-class