---
title: "Create a Bucket"
sidebar_label: "Create a Bucket"
description: "How to create a bucket in S3"
sidebar_position: 1
---

import Formbricks from '@theme/MDXComponents/Formbricks'

# Create a bucket

1. In the [control panel](https://my.selectel.ru/storage/), from the top menu, click **Products** and select **S3**.

2. Go to the **Buckets** section.

3. Click **Create bucket**.

4. Enter a bucket name. For S3 API compatibility, the bucket name must meet the following conditions:

   * be unique among the buckets of all users who use the storage via the S3 API and are located in the same [pool](/infrastructure/locations.mdx#pool);
   * comply with Amazon S3 bucket naming rules — contain only numbers, Latin letters, dots ., and `-`; see the [Bucket naming rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html) in the Amazon documentation for more details.

5. Select the [region and pool](/infrastructure/locations.mdx) where the bucket will be created.

6. In the **Configuration** block:

   6.1. Select the bucket type:

   * private — for storing backups and other data accessible via login and password or an authorization token;
   * public — for hosting website or web application content; accessible without authorization.

   6.2. Select the [storage class](/s3/about/payment.mdx#storage-types):

   * standard storage — for storing and serving frequently requested data;
   * cold storage — for storing rarely requested data;
   * glacier storage — for storing very rarely requested data. Available only in the ru-3 pool.

   The storage class only affects resource costs; technically and in terms of speed, the classes are identical. Once a bucket is created, the storage class cannot be changed.

   6.3. Select the [addressing type](/s3/buckets/addressing-types.mdx). We recommend choosing vHosted addressing for S3 API operations. You cannot change the addressing type to Path-Style after the bucket is created.

7. Optional: in the **Data protection** block:

   7.1. To store previous [versions](/s3/buckets/versioning.mdx) of objects, enable versioning.

   7.2. To protect objects from deletion, enable Object Lock. Enabling [Object Lock](/s3/buckets/object-lock.mdx) does not lock objects automatically — you will be able to [manage object locking](/s3/objects/manage-object-lock.mdx) after the bucket is created. Object Lock requires versioning: if it is not enabled, it will be enabled automatically.

8. Click **Create bucket**.

<Formbricks />
