# AWS Timestream database

DuploCloud supports the Amazon Timestream database in the DuploCloud Portal. AWS Timestream is a fast, scalable, and serverless time-series database service that makes it easier to store and analyze trillions of events per day at an accelerated speed.

Amazon Timestream automatically scales to adjust for capacity and performance, so you don’t have to manage the underlying infrastructure.

## Adding a Timestream database

1. In the DuploCloud Portal, navigate to **Cloud Services** -> **Database**.
2. From the **RDS** page, click the **Timestream** tab.<br>

   <figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fs1tu8OxYcuCV3W9NkPXF%2Fscreenshot-nimbusweb.me-2024.02.19-16_59_07.png?alt=media&#x26;token=24f46f61-55bc-43d9-ad72-7a6c11948ab6" alt=""><figcaption><p><strong>Timestream</strong> database page</p></figcaption></figure>
3. Click **Add**. The **Add Timestream Database** pane displays.<br>

   <div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FVWTURBnRWtT2oUJOjS4W%2FAWS_Add_Timestream_DB.png?alt=media&#x26;token=20df3a29-7672-4f3f-96d8-c591fee04d1b" alt=""><figcaption><p><strong>Add Timestream Database</strong> pane</p></figcaption></figure></div>
4. Enter the **DatabaseName.**
5. Select an **Encryption Key**, if required.
6. Click **Submit**. The Timestream database name displays on the **Timestream** tab.

## Adding Tables to a Timestream database

1. In the DuploCloud Portal, navigate to **Cloud Services** -> **Database**.
2. From the **RDS** page, click the **Timestream** tab.
3. Select the database from the **Name** column.
4. On the **Tables** tab, click **Add**. The **Add Timestream Table** pane displays.<br>

   <div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2F3KZEjwi1HWoio4uAE1I6%2FAWS_Add_Timestream_Table.png?alt=media&#x26;token=8eb9ae35-343d-4b2a-873d-915fddeb5d9e" alt=""><figcaption><p><strong>Add Timestream Table</strong> pane</p></figcaption></figure></div>
5. Enter the **Table Name** and other necessary information to size and create your table.
6. Click **Create**.

## Modifying and Running a Timestream database

1. In the DuploCloud Portal, navigate to **Cloud Services** -> **Database**.
2. From the **RDS** page, click the **Timestream** tab.
3. Select the database from the **Name** column.
4. On the Timestream page, click the database's **Action** menu to modify the **JSON** code or launch the **Console** in AWS. You can also select the database name in the **Name** column and, from the **Tables** tab, click the table's **Action** menu to modify the **JSON** code or launch the **Console** in AWS or **Delete** a table.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FVEObpvbVyshJm2oYXpnv%2Fscreenshot-nimbusweb.me-2024.02.19-17_01_57.png?alt=media&#x26;token=089fbd96-409f-4976-9f33-92c896411b92" alt=""><figcaption><p><strong>Actions</strong> menu for a <strong>Timestream</strong> database, <strong>Tables</strong> tab</p></figcaption></figure>
