# Create storages

## 1. Preparation before storage creation"

* <mark style="color:red;">Prior tasks</mark> are required to create a storage.  Please refer to [this place](https://cocktailcloud.gitbook.io/cocktail-cloud-online-en/backup-restore/storages)

## 2. Access the storage creation page

1. Select the \[Backup/Restore] - \[Storages] section.

   <figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2F0n3TIWDb7RYEff4O5ult%2Fimage.png?alt=media&#x26;token=2dcea5d4-0ca1-4429-afc1-480e3e5e824b" alt=""><figcaption><p>[Screen] Access to Storage Page</p></figcaption></figure>
2. Click the "+ Create" button.

   <figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FTjOCxF9kfPqDlnnnnrsQ%2Fimage.png?alt=media&#x26;token=3cf6805f-270c-4216-a187-5f8ab5decb10" alt=""><figcaption><p>[Screen] Access to Storage Creation Page</p></figcaption></figure>
3. Select the provider.

   <figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FaETbUaoD734bgQrUv60e%2Fimage.png?alt=media&#x26;token=09ab68f5-294a-4ca4-b43d-44e6c37a3cc6" alt=""><figcaption><p>[Screen] Selecting a Provider</p></figcaption></figure>

## 3.Enter storage information

{% hint style="info" %}
The required information to be entered varies based on the selected provider. Please double-check and enter the details accurately.
{% endhint %}

### 3.1 Common

<table><thead><tr><th width="209">Item (* is required)</th><th>Content</th></tr></thead><tbody><tr><td>Name*</td><td><ul><li>Storage Name</li><li>Non-overlapping</li></ul></td></tr><tr><td>Cluster*</td><td><ul><li>AS-IS cluster to back up is set to ReadWrite</li><li>The TO-BE cluster to be transferred should be set to Read Only</li><li>When performing backup and migration operations within the same cluster, set it to Read-Write</li></ul></td></tr><tr><td>Bucket*</td><td><ul><li>Bucket of Storage</li></ul></td></tr><tr><td>prefix</td><td><ul><li>Prefix of the bucket</li><li>Enter a specific path if there is any for the bucket in the storage</li></ul></td></tr><tr><td>Authentication Information*</td><td><ul><li>Enter Server IP information for the storage</li><li>The format varies depending on the provider (refer below)</li></ul></td></tr></tbody></table>

### 3.2 AWS

<figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2F2eaecXZOmZ1K7dGYykRA%2Fimage.png?alt=media&#x26;token=c330832e-4732-410a-861d-abb371cfb382" alt=""><figcaption><p>[screen] Enter AWS Storage Information</p></figcaption></figure>

<table><thead><tr><th width="209">Item (* is required)</th><th>Content</th></tr></thead><tbody><tr><td>Authentication information*</td><td><ul><li>Enter authentication information with AWS storage permissions</li><li>Example<br><code>[default]</code><br><code>aws_access_key_id = aws_secret_access_key =</code><br><code># Optional - role_arn</code><br><code>role_arn=</code></li></ul></td></tr><tr><td>Region*</td><td><ul><li>Enter the region information for AWS storage</li></ul></td></tr><tr><td>Encryption Algorithm*</td><td><ul><li>the server-side encryption type for AWS</li><li>You can choose between<code>SSE-S3</code> and <code>SSE-KMS,</code>If selecting <code>SSE-KMS</code>, you must additionally provide the <code>KMS key</code></li></ul></td></tr><tr><td>KMS Key</td><td><ul><li>the KMS key ID generated in AWS KMS</li><li>This is mandatory when selecting SSE-KMS in the encryption algorithm field</li><li>Input the <code>&#x3C;key-id></code> from the AWS KMS key ARN.</li><li><p>ARN Format</p><p><code>arn:aws:kms:&#x3C;region>:&#x3C;account-ID>:key/&#x3C;key-id></code></p></li></ul></td></tr><tr><td>profile</td><td><ul><li>Enter the AWS profile configured in the <code>authentication information</code> section</li></ul></td></tr></tbody></table>

### 3.3 GCP

<figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FhaE7lIARi1My4OrCuWxq%2Fimage.png?alt=media&#x26;token=cfa215bc-d351-4868-86a1-dc8cf0ba8825" alt=""><figcaption><p>[Screen] Enter GCP Storage Information</p></figcaption></figure>

<table><thead><tr><th width="209">Item (* is required)</th><th>Content</th></tr></thead><tbody><tr><td>Authentication information*</td><td>Service Account Key Json</td></tr><tr><td>KMS Key</td><td><ul><li>The Cloud KMS key name to be used for backup encryption</li></ul></td></tr></tbody></table>

### 3.4 Azure

<figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FB1rRu9Y28ruVS1wd0am0%2Fimage.png?alt=media&#x26;token=b891ef70-4f8d-4ff5-99e4-4a6ce534d8be" alt=""><figcaption><p>[Screen] Enter Azure Storage Information</p></figcaption></figure>

<table><thead><tr><th width="209">Item (* is required)</th><th>Content</th></tr></thead><tbody><tr><td>Authentication information*</td><td>AZURE_SUBSCRIPTION_ID= AZURE_TENANT_ID= AZURE_CLIENT_ID= AZURE_CLIENT_SECRET= AZURE_CLOUD_NAME=AzurePublicCloud AZURE_ENVIRONMENT=AzurePublicCloud</td></tr><tr><td>Resource group name*</td><td><ul><li>The name of the resource group containing the storage account</li></ul></td></tr><tr><td>Storage account name*</td><td><ul><li>The name of the storage account</li></ul></td></tr><tr><td>Block size (Byte)</td><td><ul><li>The block size to be used when uploading objects</li></ul></td></tr></tbody></table>

### 3.5 MinIO

<figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FfsbrEkWDIzcuQrJqS2Ez%2Fimage.png?alt=media&#x26;token=dc57fe90-1045-4522-a2c2-bc1dbd1200f6" alt=""><figcaption><p>[Screen] Enter MinIO Storage Information</p></figcaption></figure>

<table><thead><tr><th width="209">Item (* is required)</th><th>Content</th></tr></thead><tbody><tr><td>Authentication information*</td><td><p>[default]</p><p>aws_access_key_id = aws_secret_access_key =</p></td></tr><tr><td>s3Url*</td><td><ul><li>Object storage API URL</li></ul></td></tr><tr><td>publicUrl*</td><td><ul><li>Object storage API URL accessible from external sources</li></ul></td></tr><tr><td>Skip TLS certificate</td><td><ul><li>Use of TLS certificate</li></ul></td></tr></tbody></table>

## 3.6 Save storage information

1. Click the "Save" button.

   <figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FrYam1K1yrWsvt7AnMzps%2Fimage.png?alt=media&#x26;token=a3bb0e54-64d2-4b18-ac15-7d3fece24b9c" alt=""><figcaption><p>[Screen] Save Storage Information</p></figcaption></figure>
2. Click the "OK" button.

   <figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FhG1rk75ogHdRWTHxjtkY%2Fimage.png?alt=media&#x26;token=0b428410-2365-4c56-9bc0-9225f4011d92" alt=""><figcaption><p>[Screen] Save Storage Information</p></figcaption></figure>

## 3.7 Verify the storage

1. Verify if the storage has been successfully created.

   <figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FCwKyexntKU62TVoX5Mjn%2Fimage.png?alt=media&#x26;token=407efe81-96f3-456d-a41b-1bfd89b11c50" alt=""><figcaption><p>[Screen] Storage List</p></figcaption></figure>

2. You can click on the name to view detailed information.

   <figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FWYIiDcZClustTlx11Gjv%2Fimage.png?alt=media&#x26;token=36103eb4-fc15-4969-8b35-1be31d7dd917" alt=""><figcaption><p>[Screen] Storage List</p></figcaption></figure>

   <figure><img src="https://4196990571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL5As9l8R3RbLkQd6XsfL%2Fuploads%2FoO4npgbreAvf3p8m8n2C%2Fimage.png?alt=media&#x26;token=f628a98d-e744-4120-9c7e-911bf8a25f3c" alt=""><figcaption><p>[Screen] Storage Details</p></figcaption></figure>
