--- title: "create-bucket" slug: "cli-objectstorage-api-level-create-bucket" updated: 2026-10-08T05:02:19Z published: 2026-10-08T05:02:19Z canonical: "cli.ncloud-docs.com/cli-objectstorage-api-level-create-bucket" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # create-bucket Available in Classic and VPC Create a bucket in Object Storage to store objects. ## Syntax The `create-bucket` syntax is as follows: ``` aws s3api create-bucket \ --bucket \ [--create-bucket-configuration ] \ [--object-lock-enabled-for-bucket | --no-object-lock-enabled-for-bucket] \ --endpoint-url ``` ## Options This section describes the options available when running `create-bucket`. ### Required options The following options are required for `create-bucket`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--bucket` | String | Required | Bucket name - Specify a unique name in the entire Region. - See [Bucket naming rules](https://guide.ncloud-docs.com/docs/en/ncloudstorage-use-bucket#%EB%B2%84%ED%82%B7%EC%9D%B4%EB%A6%84%EA%B7%9C%EC%B9%99). | ### Optional options These are the optional options for `create-bucket`. Options that are not specified will use their default values. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--create-bucket-configuration` | String | Optional | Bucket configuration information | | `--object-lock-enabled-for-bucket` | Boolean | Optional | Enables object lock when creating the bucket. - When enabled, versioning is also enabled. | | `--no-object-lock-enabled-for-bucket` | Boolean | Optional | Disables object lock when creating the bucket. | ### Common options For information about the options common to all `aws` subcommands, see [Object Storage options](/docs/en/guide-objectstorage#%EC%98%B5%EC%85%98). ## Examples If the bucket creation request is successful, the bucket is created, and no result is displayed. ### Command The command example is as follows: ``` aws s3api create-bucket --bucket my-temp-bucket \ --endpoint-url=https://kr.object.ncloudstorage.com ```