--- title: "get-bucket-location" slug: "get-bucket-location" updated: 2026-10-08T04:58:23Z published: 2026-10-08T04:58:23Z canonical: "cli.ncloud-docs.com/get-bucket-location" --- > ## 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. # get-bucket-location Available in Classic and VPC Get the Region information of a Ncloud Storage bucket. Note For a Sub Account user to execute this command, they must have the View/GetBucketLocation action permission. ## Syntax The `get-bucket-location` syntax is as follows: ``` aws s3api get-bucket-location \ --bucket \ --endpoint-url ``` ## Options This section describes the options available when running `get-bucket-location`. ### Required options The following options are required for `get-bucket-location`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--bucket` | String | Required | Bucket name | ### Common options For information about the options common to all `aws` subcommands, see [Ncloud Storage options](/docs/en/storage-ncloudstorage#%EC%98%B5%EC%85%98). ## Examples If the request to retrieve the bucket Region is successful, the Region where the bucket is located is returned. ### Command The command example is as follows: ``` aws s3api get-bucket-location --bucket my-test-bucket \ --endpoint-url=https://kr.ncloudstorage.com ``` ### Output The output example is as follows: ``` { "LocationConstraint": "kr" } ``` ## Related commands Related commands are as follows: - [get-object](/docs/en/get-object) - [create-bucket](/docs/en/create-bucket)