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

# Managing buckets

Gcore Object Storage organizes files into buckets. The built-in file manager handles uploading and organizing files, with controls for public access and lifecycle policies.

## Bucket creation

<Steps>
  <Step title="Open the bucket list">
    Navigate to the [Gcore Customer Portal](https://portal.gcore.com) > **Storage** > **Object Storage** and click the relevant storage name. Alternatively, open the storage's three-dot menu and select **Buckets**.

    <Frame>
      <img src="https://mintcdn.com/gcore/HOl6ulpSUL7zQi4s/images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-10.png?fit=max&auto=format&n=HOl6ulpSUL7zQi4s&q=85&s=a5ac5540aaa47e174d315470d4a3eb95" alt="Object Storage list with storage rows" width="1369" height="591" data-path="images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-10.png" />
    </Frame>
  </Step>

  <Step title="Click Add new bucket">
    <Frame>
      <img src="https://mintcdn.com/gcore/HOl6ulpSUL7zQi4s/images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-20.png?fit=max&auto=format&n=HOl6ulpSUL7zQi4s&q=85&s=a5e1586a155ae4c3f0371d92719a67d3" alt="Bucket list with Add new bucket button" width="1368" height="386" data-path="images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-20.png" />
    </Frame>
  </Step>

  <Step title="Name the bucket">
    In the dialog that appears, enter a name that meets the following criteria:

    * Between 3 and 63 characters.
    * Lowercase only.
    * No underscores, trailing dashes, consecutive dots, or a mix of dots and dashes — these conflict with DNS notation rules.
    * Unique across the entire Gcore Object Storage system. A `This bucket name already exists. Please use a different name` error appears if the name is taken.
  </Step>

  <Step title="Click Create" />
</Steps>

<Note>Avoid using sensitive information in the bucket name. The bucket name appears in object URLs and is publicly visible.</Note>

The new bucket appears in the list once created. The following sections cover how to upload and manage files, control public access, and configure lifecycle policies.

## File manager

The file manager is a browser-based interface for managing files in a bucket. Two setup steps are required before use: configuring CORS and authenticating with S3 credentials.

### CORS setup

To access the file manager, add `https://portal.gcore.com` to the bucket's CORS policy. This is a one-time setup per bucket.

Click the bucket name to open the access settings dialog, then click **Override CORS**.

<Note>Configure CORS individually for each bucket.</Note>

<Frame>
  <img src="https://mintcdn.com/gcore/HOl6ulpSUL7zQi4s/images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-30.png?fit=max&auto=format&n=HOl6ulpSUL7zQi4s&q=85&s=710f41651f872a1a7c658ee649759955" alt="Override CORS dialog" width="745" height="652" data-path="images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-30.png" />
</Frame>

The [API](/api-reference/storage/storage/create-s3-bucket-cors) also supports multiple allowed origins beyond `https://portal.gcore.com`.

### Authorization

To authorize, click the bucket name, enter the Access key and Secret key, then click **Auth**.

<Frame>
  <img src="https://mintcdn.com/gcore/HOl6ulpSUL7zQi4s/images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-40.png?fit=max&auto=format&n=HOl6ulpSUL7zQi4s&q=85&s=c606f175eeae6038dd513c4201aa7b4a" alt="Authorization form for the file manager" width="809" height="665" data-path="images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-40.png" />
</Frame>

Alternatively, access the file manager from the bucket's three-dot menu by selecting **File manager**.

<Accordion title="Access key and Secret key features">
  <Note>Keys entered during a session remain active for that session. Each new session requires entering them again.</Note>

  To avoid re-entering keys manually, save them using the browser's credential manager.

  Storage creation generates the Access key and Secret key. Gcore does not store these values. To regenerate lost keys, click **Generate new keys** in the **Object Storage** list using the three-dot menu.

  <Frame>
    <img src="https://mintcdn.com/gcore/HOl6ulpSUL7zQi4s/images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-60.png?fit=max&auto=format&n=HOl6ulpSUL7zQi4s&q=85&s=22d89a7c829337a99981b05d2bf0007a" alt="Object storage three-dot menu with the Generate new keys option" width="1104" height="592" data-path="images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-60.png" />
  </Frame>
</Accordion>

### Adding folders

After [authorizing](/storage/manage-object-storage/manage-buckets-via-the-control-panel#authorization), click **Add folder**. Enter a name in the field and click **Create**.

<Frame>
  <img src="https://mintcdn.com/gcore/HOl6ulpSUL7zQi4s/images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-70.png?fit=max&auto=format&n=HOl6ulpSUL7zQi4s&q=85&s=46c5470dd870bbde55e645ca6f419ffd" alt="Add folder dialog" width="776" height="604" data-path="images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-70.png" />
</Frame>

Each folder displays its last modification date. Click a folder name to open it.

### Uploading files

To upload files, [authorize](/storage/manage-object-storage/manage-buckets-via-the-control-panel#authorization) and click **Select and upload file(s)** either in the bucket root or within a specific folder. Then, follow the standard upload process.

<Frame>
  <img src="https://mintcdn.com/gcore/HOl6ulpSUL7zQi4s/images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-80.png?fit=max&auto=format&n=HOl6ulpSUL7zQi4s&q=85&s=6b0d14a87de879b79acb65c14bd35c88" alt="File manager with uploaded file and folder" width="1367" height="433" data-path="images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-80.png" />
</Frame>

### Deleting folders and files

To delete folders or files, [authorize](/storage/manage-object-storage/manage-buckets-via-the-control-panel#authorization) and click **Delete** next to the desired object. Alternatively, select the checkboxes next to the object names and click **Delete selected**.

<Frame>
  <img src="https://mintcdn.com/gcore/HOl6ulpSUL7zQi4s/images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-90.png?fit=max&auto=format&n=HOl6ulpSUL7zQi4s&q=85&s=927adcb18ec50eccea76146e7bca63b6" alt="Delete confirmation dialog" width="763" height="603" data-path="images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-90.png" />
</Frame>

<Note>Deleting a folder removes all files nested within it.</Note>

### Copying file URLs

To copy file URLs, [authorize](/storage/manage-object-storage/manage-buckets-via-the-control-panel#authorization), select objects, and click the relevant button: **Copy S3 URL** or **Copy URL**.

<Frame>
  <img src="https://mintcdn.com/gcore/HOl6ulpSUL7zQi4s/images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-100.png?fit=max&auto=format&n=HOl6ulpSUL7zQi4s&q=85&s=1bcd946c1a863fbcd2c47bf76ec96dff" alt="Copy S3 URL and Copy URL buttons visible for a selected file" width="1440" height="501" data-path="images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-100.png" />
</Frame>

The links for the file `image 3972.png` look like this:

* `s3://s-ed1.cloud.gcore.lu/000-sample-for-articles/test/image%203972.png`
* `https://s-ed1.cloud.gcore.lu/000-sample-for-articles/test/image%203972.png`

<Note>Without public HTTP access enabled, the direct file URL returns a 403 error.</Note>

## Managing access

Enable public HTTP access to make files directly accessible by URL or to use the bucket as a [CDN origin](/storage/use-storage-as-the-origin-for-your-cdn-resource). Click the three-dot menu on the bucket row, select **Public access to all files**, and confirm by clicking **Apply**.

<Frame>
  <img src="https://mintcdn.com/gcore/HOl6ulpSUL7zQi4s/images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/http-access-s3-bucket.png?fit=max&auto=format&n=HOl6ulpSUL7zQi4s&q=85&s=a639ba60c09d45e10dcd4fbb2ef8097c" alt="Confirmation dialog for enabling public HTTP access to all files in the bucket" width="764" height="373" data-path="images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/http-access-s3-bucket.png" />
</Frame>

To revert to private access, click the three-dot menu on the bucket row and click **Default access to all files**.

<Frame>
  <img src="https://mintcdn.com/gcore/HOl6ulpSUL7zQi4s/images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/default-access-s3-bucket.png?fit=max&auto=format&n=HOl6ulpSUL7zQi4s&q=85&s=31ba869fa9f447a09c921bb3279f9feb" alt="Confirmation dialog for reverting the bucket to default private access" width="706" height="409" data-path="images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/default-access-s3-bucket.png" />
</Frame>

## Adding lifecycle policy (for S3 in Luxembourg only)

Click the three-dot menu on the bucket row and select **Lifecycle Management**. Set the retention period and click **Save changes**.

<Frame>
  <img src="https://mintcdn.com/gcore/HOl6ulpSUL7zQi4s/images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-120.png?fit=max&auto=format&n=HOl6ulpSUL7zQi4s&q=85&s=911e1e60ea1cc775f6f5558ef9a529e5" alt="Lifecycle policy configuration dialog" width="762" height="743" data-path="images/docs/storage/manage-object-storage/manage-buckets-via-the-control-panel/manage-buckets-cp-120.png" />
</Frame>

To remove an existing policy, click **Cancel policy**.

For other storage locations, configure lifecycle policies with the [AWS CLI](/storage/manage-object-storage/configure-aws-sli-s3cmd-and-aws-javascript-sdk/remove-objects-from-a-bucket-automatically-with-aws-cli).
