# How to create the new Bucket

## <mark style="color:green;">**Overview**</mark>  <a href="#overview" id="overview"></a>

As well as using pre-configured storage classes, you can set up your own S3 Buckets from scratch, configuring access policies, versioning, and lifecycle rules to suit your specific storage needs.

## <mark style="color:green;">**Procedure**</mark> <a href="#procedure" id="procedure"></a>

{% stepper %}
{% step %}
**Step 1:** Click on “Create Bucket”

<figure><img src="/files/Bpslsd7p4m2AVFhgyEco" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 2:** Fill in name of “Bucket”. Refer the rule for define the Name for Bucket in this [“**Link**”](/hi-gio-s3-storage/bucket-management.md)

<figure><img src="/files/sRHNSEE6MqZOGzjbTlFL" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step3:** Enable Object Lock (If needed)

* Object Lock is a feature that allows you to store objects using the write-once, read-many (WORM) model. ObjectLock can help prevent objects from being deleted or overwritten for a fixed period or indefinitely.
* The Object Lock feature is only used when creating a new Bucket. After selecting “Enable object lock” for a Bucket, all files/folders created/uploaded in that Bucket will be automatically set to the mode you selected in the next step.

<figure><img src="/files/l4qAUUp0EKyEjIP6YxYy" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 4:** Choose "**Governance mode**" or "**Compliance mode**" or “**NONE**“

* **Governance mode**: Use Governance mode if you want to protect objects from deletion by most users for a pre-set retention period but also want some users with special permissions to have the flexibility to change retention settings or delete objects. Users with the s3:BypassGovernance Retention permission can override or delete retention settings in governance mode.

<figure><img src="/files/kbTyFuAF5RuDYuPhEdX1" alt=""><figcaption></figcaption></figure>

* **Compliance mode**: Use Compliance mode if you have compliance data retention requirements. You should only use Compliance mode if you do not want any users to be able to delete objects within the preset retention period.

<figure><img src="/files/TEvJWZ0Y0nWssulPTHBG" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}

* After choosing 1 of 2 modes to lock the object, you have to choose the desired number of days in the "Retention period" section.\
  \&#xNAN;*Retention period: 90 days means that the Bucket and the objects in that Bucket are locked in the mode you choose for 90 days from the date the Bucket was created.*
* ***Retention period**:* Specify a fixed period of time during which the object is locked. During this period, your object is protected by WORM and cannot be overwritten or deleted. You can apply a retention period in days with a minimum of 1 day and no maximum.
  {% endhint %}

<figure><img src="/files/L4P8S0rsRkVHIkFTjxqF" alt=""><figcaption></figcaption></figure>

**NONE mode**: Use Veeam Backup mode to protect the backup file “immutable mode of Veeam”.
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.higiocloud.vn/hi-gio-s3-storage/bucket-management/how-to-create-the-new-bucket.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
