Skip to main content
A storage class is one of a bucket’s characteristics. You set it when you create a bucket, edit it or upload an object to this bucket. Object Storage supports three classes: Enhanced Throughput, Intelligent and Standard. They differ in price and performance. For more information, see Storage classes in Object Storage.

How to set a default storage class for a bucket

Each bucket has a default storage class. All new objects are uploaded into this class unless you explicitly define the class. By default, new buckets use the Standard storage class. You can change the default storage class both when you create a bucket and for an existing bucket. The new default storage class does not affect objects that are already in storage in the bucket.
You can use the Force storage class (--force-storage-class) bucket parameter to make the default storage class override the storage class that you explicitly select for any individual object uploaded to the bucket.

For a new 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. Click Create bucket.
  3. Select the storage class in the bucket creation form.
  4. Configure the other settings and create the bucket.

For an existing 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. Select the bucket you need and switch to the Settings tab.
  3. Select the storage class and save the changes.

How to upload an object to a storage class

If you need to store an object in a different storage class than the default one for the bucket, set the storage class during upload.
The AWS CLI does not support uploading objects to a storage class that differs from the bucket’s default. To do that, use s5cmd.
To upload an object to the desired storage class, set the --storage-class parameter in the upload command:
s5cmd
s5cmd cp \
   --storage-class <STANDARD|ENHANCED_THROUGHPUT|INTELLIGENT> \
   ...
   <local_path> s3://<bucket>/<path>
To change the storage class of an object after you upload it, make a copy-object request that moves the object between storage classes:
s5cmd
s5cmd cp \
   --storage-class <STANDARD|ENHANCED_THROUGHPUT|INTELLIGENT> \
   ...
   s3://<bucket>/<path> s3://<bucket>/<path>