# Manage S3 buckets using the GUI

Using the GUI, you can:

* [Create a bucket](#create-a-bucket)
* [View a bucket details](#view-a-bucket-details)
* [Edit a bucket hard quota](#edit-a-bucket-hard-quota)
* [Edit a bucket policy](#edit-a-bucket-policy)
* [Remove a bucket](#remove-a-bucket)

## Create a bucket <a href="#create-a-bucket" id="create-a-bucket"></a>

**Procedure**

1. From the menu, select **Manage > Protocols**.
2. From the Protocols pane, select **S3**.
3. Select the **Buckets** tab.
4. Select  **+Create**.

![Buckets tab](https://1916840177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUYL9RLgSDAkF2U90csR%2Fuploads%2FjdtZwjobnwcCtd2mZsTb%2Fwmng_s3_create_bucket.png?alt=media\&token=5c317720-c7a8-49fa-9dc4-8c74fe6bf2db)

5\. In the Add S3 Bucket dialog, do the following:

* **Bucket Name:** Set a bucket name according to the naming conventions.
* **Filesystem:** Set the filesystem that will host the bucket.
* **Use Existing Directory:** If you want to expose an existing directory, set its path. Make sure that the directory is not below the hierarchy of the already configured S3 bucket.
* **Hard Quota:** Set the maximum capacity for the bucket. If you want to remove the hard quota setting, enter 0.
* **Bucket Policy:** Select the policy to attach to the bucket: none, download, upload, public, or custom. If you select a custom policy, add it in JSON format.

6\. Select **Save**.

![Add S3 Bucket](https://1916840177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUYL9RLgSDAkF2U90csR%2Fuploads%2FqSnUuIDA0oDMLRCtjIYk%2Fwmng_s3_create_bucket_dialog.png?alt=media\&token=a9d50c5d-813b-4049-8bc1-cda57af0521b)

## View a bucket details <a href="#view-a-bucket-details" id="view-a-bucket-details"></a>

You can view the details of the bucket.

**Procedure**

1. From the menu, select **Manage > Protocols**.
2. From the Protocols pane, select **S3**.
3. Select the **Buckets** tab.
4. Select the three dots of the bucket and select **View**.

<figure><img src="https://1916840177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUYL9RLgSDAkF2U90csR%2Fuploads%2FDqff6bV1ygPiSTqv2Sh4%2Fwmng_manage_s3_bucket_menu.png?alt=media&#x26;token=cb2215e8-de40-4c8a-bbb9-26fe10e7bb05" alt=""><figcaption><p>Manage a bucket menu</p></figcaption></figure>

<figure><img src="https://1916840177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUYL9RLgSDAkF2U90csR%2Fuploads%2FohgPP9siiwwD5lkYuaLg%2Fwmng_view_s3_bucket.png?alt=media&#x26;token=d91d00f5-d21d-4fbf-943d-de911356334f" alt=""><figcaption><p>View S3 Bucket</p></figcaption></figure>

## Edit a bucket hard quota <a href="#edit-a-bucket-hard-quota" id="edit-a-bucket-hard-quota"></a>

The hard quota determines the maximum capacity of the bucket. Initially, you can only set the hard quota for an empty bucket. If the hard quota of the bucket is already set, you can modify it or remove it.

**Procedure**

1. From the menu, select **Manage > Protocols**.
2. From the Protocols pane, select **S3**.
3. Select the **Buckets** tab.
4. Select the three dots of the bucket and select **Edit Hard Quota**.
5. Set the maximum capacity for the bucket. If you want to remove the hard quota setting, enter 0.

<figure><img src="https://1916840177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUYL9RLgSDAkF2U90csR%2Fuploads%2FA5OuLWOHRWzSjLDulwt0%2Fwmng_edit_s3_bucket_hard_quota.png?alt=media&#x26;token=1f695540-9604-47da-8cb5-2c7e56f2249d" alt=""><figcaption><p>Edit S3 Bucket Quota</p></figcaption></figure>

## Edit a bucket policy <a href="#edit-a-bucket-policy" id="edit-a-bucket-policy"></a>

You can edit the bucket policy according to your needs.

**Procedure**

1. From the menu, select **Manage > Protocols**.
2. From the Protocols pane, select **S3**.
3. Select the **Buckets** tab.
4. Select the three dots of the bucket you want to delete, and select **Edit Bucket Policy**.
5. Select the policy to attach to the bucket: none, download, upload, public, or custom. If you select a custom policy, add it in JSON format.

<figure><img src="https://1916840177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUYL9RLgSDAkF2U90csR%2Fuploads%2FVJeghmObb8GJufUCF7oD%2Fwmng_edit_s3_bucket_policy.png?alt=media&#x26;token=8fd21877-233a-448d-bb61-c110cdcb11d7" alt=""><figcaption><p>Edit S3 Bucket</p></figcaption></figure>

## Remove a bucket <a href="#remove-a-bucket" id="remove-a-bucket"></a>

When removing a bucket, it is deleted from the filesystem only if it is empty. If the bucket is not empty, you can keep the data on the filesystem and remove the bucket from the S3 configuration.

**Procedure**

1. From the menu, select **Manage > Protocols**.
2. From the Protocols pane, select **S3**.
3. Select the **Buckets** tab.
4. Select the three dots of the bucket you want to delete, and select **Remove**.

<figure><img src="https://1916840177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTUYL9RLgSDAkF2U90csR%2Fuploads%2FACcKeO0TcPJdYypkXD6R%2Fwmng_remove_bucket_message.png?alt=media&#x26;token=778c58d0-47f9-4bda-ba0f-ec1f322bde91" alt=""><figcaption><p>Remove Bucket</p></figcaption></figure>

5\. In the confirmation message, if the bucket is not empty, switch Keep Data to On.\
&#x20;   Then, select **Remove**.
