# Create Data Store

This guide explains how to create a data store. By creating the data store user can organize and access their database easily.

* Go to the **RDBMS** page
* And then click **Create Data Store** button.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.1%20Data%20Stores%20Page.png" alt=""><figcaption><p>RDBMS Page</p></figcaption></figure>

* Select **Databases**, to specify the database vendor of the data store to be created. Available database vendors are as follows **MariaDB, MySQL, PostgreSQL, Redis, and Microsoft SQL Service.**

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.2%20Select%20Database.png" alt=""><figcaption><p>Create Data Store Form - Select a database</p></figcaption></figure>

* Fill in the Form **Creating configuration datastore.**

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.2.a%20Form%20Configuration%20.png" alt=""><figcaption><p>Create Data Store Form</p></figcaption></figure>

<table><thead><tr><th width="194">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Name</strong></td><td>Data Store Name</td></tr><tr><td><strong>Tags</strong></td><td>Tags make it easier for users to find the related data store they want to search for. Tags are optional to fill so users can leave the field blank.</td></tr><tr><td><strong>Configuration</strong></td><td>To define the configuration for the data store. In <strong>Master</strong>, users are allowed to read and write including deleting database contents, while <strong>Replicas</strong> users are only allowed to read database contents. The configurations that can be selected are as follows:<br>- Multi-Master<br>- Master/Replicas<br></td></tr><tr><td><strong>Number of Nodes</strong></td><td>Select nodes for the data store, the selected nodes can be one or three nodes.<br>If the user select <strong>Multi Master</strong> in <strong>Configuration</strong> then there are two options in the <strong>Number of Nodes</strong> that is<br>- <strong>1 master node</strong><br>- <strong>3 multi-masters node</strong>.<br>If the user select <strong>Master/Replicas</strong> in <strong>Configuration</strong> then there are two options in the <strong>Number of Nodes</strong> that is<br>- <strong>1 master node</strong><br>- <strong>1 master, 2 replicas</strong></td></tr></tbody></table>

* Fill in **Name your Database**

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.3%20Nama%20Database.png" alt=""><figcaption><p>Create Data Store Form - Name your database</p></figcaption></figure>

* Fill in **Tags** that are related to the data store separated by a comma. **For example**, tags that related to the **College** data store are subject, lecture, and student.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.4%20Tags.png" alt=""><figcaption><p>Create Data Store Form - Tags</p></figcaption></figure>

* Choose the **Configuration Multi Master.**

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.5%20Select%20Configuration%20Multi-Master.png" alt=""><figcaption><p>Create Data Store Form- Configuration Multi-Master</p></figcaption></figure>

* Select **Number of nodes 1 master node.**

<table><thead><tr><th width="295">Number of Nodes Multi-Master</th><th>Description</th></tr></thead><tbody><tr><td><strong>1 master node</strong></td><td>There is only one node that has read and write permissions on the database</td></tr><tr><td><strong>3 multi-masters will be deployed</strong></td><td>Three nodes have permissions to read and write to the database</td></tr></tbody></table>

If in **Configuration** section the user selects **Master/Replicas** then in **Number of nodes** section there are options that can be seen in Image Create Data Store Form - Configuration - Master/Replicas.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.5.a%20Select%20Configuration%20MasterReplicas.png" alt=""><figcaption><p>Create Data Store Form - Configuration - Master/Replicas</p></figcaption></figure>

<table><thead><tr><th width="318">Number of Nodes Master / Replicas</th><th>Description</th></tr></thead><tbody><tr><td><strong>1 master node</strong></td><td>There is only one node that has read and write permissions on the database</td></tr><tr><td><strong>1 master, 2 replicas</strong></td><td>There is one node that has read and write permissions on the database and two nodes only have read permissions on the database</td></tr></tbody></table>

* Then, click **Continue** button to go to the next form page

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.6%20Select%20Number%20of%20Nodes.png" alt=""><figcaption><p>Create Data Store Form - Number of Nodes</p></figcaption></figure>

* Then, click **Continue** button to go to the next form page.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.7%20Select%20Region.png" alt=""><figcaption><p>Create Data Store Form - Cloud Service</p></figcaption></figure>

* Fill in the form **Instances** datastore.

{% hint style="danger" %}
If the database is filled with more than 90% or more of the database storage space then you can only view the contents of the database without being able to change or add data to the database.
{% endhint %}

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.8.a%20Creating%20Instance%20Datastore.png" alt=""><figcaption><p>Create Data Store Form - Instances</p></figcaption></figure>

<table><thead><tr><th width="159"></th><th>Description</th></tr></thead><tbody><tr><td><strong>Instances</strong></td><td>Select the instance size for the data store. The instance sizes that can be selected according to user requirements are as follows:<br>- <strong>4VCPU, 8GB RAM</strong><br>- <strong>8VCPU, 8GB RAM</strong><br>- <strong>8VCPU, 32GB RAM</strong><br>- <strong>16VCPU, 32GB RAM</strong><br>- <strong>32VCPU, 128GB RAM</strong></td></tr><tr><td><strong>Storage</strong></td><td>Select the volume type, the type that can be selected is Standard or Premium</td></tr><tr><td><strong>Storage Size</strong></td><td>Select the volume size (GiB), the default volume size is 80 GiB</td></tr></tbody></table>

* Select **Instances.**

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.8%20Select%20Instance%20Size.png" alt=""><figcaption><p>Create Data Store Form - Select Instance Size</p></figcaption></figure>

* Select **Storage**

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.9%20Select%20Volume%20Type.png" alt=""><figcaption><p>Create Data Store Form - Select Storage</p></figcaption></figure>

<table><thead><tr><th width="233">Storage</th><th>Description</th></tr></thead><tbody><tr><td><strong>Standard</strong></td><td>Offers standard SSD storage types offered with input/output performance of 750 to 2500 IOPS</td></tr><tr><td><strong>Premium</strong></td><td>Offers premium SSD storage types offered with input/output performance of 2250 up to 4500 IOPS</td></tr></tbody></table>

* Enter **Storage Size.** Then, click **Continue** button to go to the next form page.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.10%20Volume%20Size.png" alt=""><figcaption><p>Form Create Data Store - Input Storage Size</p></figcaption></figure>

* Select the **Network Type Public**, the selected network type cannot be changed by the user. Then, click **Continue** button to go to the next page

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.11%20Select%20Network.png" alt=""><figcaption><p>Form Create Data Store - Select Network</p></figcaption></figure>

<table><thead><tr><th width="162">Network Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>Private</strong></td><td>A type of network that can only be accessed by certain people because it has restrictions and rules that limit access. If you select the Private network type, you must select the Availability Zone and VPC to be used.</td></tr><tr><td><strong>Public</strong></td><td>The type of network that anyone can access the network.</td></tr></tbody></table>

* On the **Preview** page there will be summary information of all forms that filled in before. Then, click **Finish** button.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.12%20Overview%20Page.png" alt=""><figcaption><p>Form Create Data Store - Preview Page (a)</p></figcaption></figure>

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.13%20Overview%20Page.png" alt=""><figcaption><p>Form Create Data Store - Preview Page (b)</p></figcaption></figure>

* If the status column is worth **deploying..** it means the data store is being processed

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.14%20Data%20Stores%20Page.png" alt=""><figcaption><p>Form Create Data Store - Deploy Data Store</p></figcaption></figure>

* Data store successfully created if the status column changes to **Available**

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/9rdbms/9.15%20Data%20Store%20Succesfully%20Created.png" alt=""><figcaption><p>Form Create Data Store - Data Store Successfully Created</p></figcaption></figure>
