> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to configure a storage class in Object Storage

A storage class is one of a bucket's characteristics. You set it when you [create a bucket](/object-storage/configure-storage-classes#for-a-new-bucket), [edit it](/object-storage/configure-storage-classes#for-an-existing-bucket) or [upload an object](/object-storage/configure-storage-classes#how-to-upload-an-object-to-a-storage-class) 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](/object-storage/storage-classes).

## 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](#how-to-upload-an-object-to-a-storage-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.

<Note>
  You can use the **Force storage class** (`--force-storage-class`) [bucket parameter](/object-storage/buckets/manage#bucket-parameters) to make the default storage class override the storage class that you explicitly select for any individual object uploaded to the bucket.
</Note>

### For a new bucket

<Tabs group="interfaces">
  <Tab title="Web console">
    1. In the sidebar, go to <Icon icon="https://mintcdn.com/nebius-ai-cloud/rOlLZ_MFvrheaI-h/_assets/sidebar/storage.svg?fit=max&auto=format&n=rOlLZ_MFvrheaI-h&q=85&s=f060b15cbd82c08f84599faeeeb07ece" width="16" height="16" data-path="_assets/sidebar/storage.svg" /> **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.
  </Tab>

  <Tab title="Nebius AI Cloud CLI">
    When you [create a bucket](/object-storage/buckets/manage#how-to-create-buckets), add the `--default-storage-class` parameter to set the default storage class:

    ```bash theme={null}
    nebius storage bucket create \
      --default-storage-class <STANDARD|ENHANCED_THROUGHPUT|INTELLIGENT> \
      ...
    ```
  </Tab>
</Tabs>

### For an existing bucket

<Tabs group="interfaces">
  <Tab title="Web console">
    1. In the sidebar, go to <Icon icon="https://mintcdn.com/nebius-ai-cloud/rOlLZ_MFvrheaI-h/_assets/sidebar/storage.svg?fit=max&auto=format&n=rOlLZ_MFvrheaI-h&q=85&s=f060b15cbd82c08f84599faeeeb07ece" width="16" height="16" data-path="_assets/sidebar/storage.svg" /> **Storage** → **Object Storage**.
    2. Select the bucket you need and switch to the **Settings** tab.
    3. Select the storage class and save the changes.
  </Tab>

  <Tab title="Nebius AI Cloud CLI">
    When you [modify a bucket](/object-storage/buckets/manage#how-to-modify-buckets), set the `--default-storage-class` parameter:

    ```bash theme={null}
    nebius storage bucket update \
      --default-storage-class <STANDARD|ENHANCED_THROUGHPUT|INTELLIGENT> \
      ...
    ```
  </Tab>
</Tabs>

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

<Warning>
  The [AWS CLI](/object-storage/interfaces/aws-cli) does not support uploading objects to a storage class that differs from the bucket's default. To do that, use [s5cmd](https://github.com/peak/s5cmd).
</Warning>

To [upload an object](/object-storage/objects/upload-download#uploading-a-single-file) to the desired storage class, set the `--storage-class` parameter in the upload command:

```bash s5cmd theme={null}
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:

```bash s5cmd theme={null}
s5cmd cp \
   --storage-class <STANDARD|ENHANCED_THROUGHPUT|INTELLIGENT> \
   ...
   s3://<bucket>/<path> s3://<bucket>/<path>
```
