Prerequisites
Below are prerequisites for the AWS CLI and Nebius AI Cloud CLI. Other interfaces do not have any prerequisites.
- AWS CLI offers simple commands for bucket management, such as
aws s3 mbto create buckets andaws s3 rbto delete them. For more advanced management, useaws s3apicommands. - 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.
nebius), the ID of the parent project (--parent-id) is not included because it is expected to be set in the CLI profile:
nebius storage bucket create --parent-id <project_ID> ...
For more information on installation and configuration, see the following guides:
- How to get started with Object Storage: Create your first bucket
- How to install Nebius AI Cloud CLI
- Working with Object Storage buckets and objects using the AWS CLI
How to create buckets
- Web console
- Nebius AI Cloud CLI
- AWS CLI
-
In the sidebar, go to
Storage → Object Storage.
-
Click
Create bucket.
- (Optional) Specify the bucket name. The bucket name must be unique across the region. For more information, see Naming.
- Set the bucket parameters.
- Click Create bucket.
How to modify buckets
- Web console
- Nebius AI Cloud CLI
- In the sidebar, go to
Storage → Object Storage.
- Open the page of the required bucket.
- Go to the Settings tab.
- Modify the bucket parameters.
- Click Save changes.
Bucket parameters
When creating or modifying a bucket, you can set the following parameters for it:- Web console
- Nebius AI Cloud CLI
- 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
adminrole 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
- Web console
- Nebius AI Cloud CLI
- AWS CLI
- In the sidebar, go to
Storage → Object Storage.
- Find the bucket and then click
→ Delete.
- 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.- Web console
- Nebius AI Cloud CLI
-
In the sidebar, go to
Storage → Object Storage.
-
Locate the bucket and then click
→ Delete.
-
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.
- For the Delete later option, specify for how long Object Storage should postpone the bucket deletion.
- Confirm the deletion.
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:- Web console
- Nebius AI Cloud CLI
- In the web console, go to
Storage → Object Storage.
- Locate the bucket and then click
→ Delete now.
- Confirm the bucket deletion.
How to restore buckets
If you scheduled a bucket for deletion and you want to restore it, do the following:- Web console
- Nebius AI Cloud CLI
- In the sidebar, go to
Storage → Object Storage.
- Locate the bucket and then click Restore.
- Confirm the bucket restoration.
Examples
- Nebius AI Cloud CLI
-
Creating a bucket with total objects size limited to 250 GiB (268,435,456,000 bytes):
-
Creating a bucket with an object lifecycle rule that deletes objects 90 days after their creation:
-
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: