# Redis database

## Prerequisites

To create a Redis with public network access, follow the steps below to configure public network access for databases before creating a Redis database instance. If your database does not need to be publicly accessible, skip this step, and proceed to [creating a Redis database instance](#creating-a-redis-database-instance).

### Configure public network access for databases (optional)

1. In the DuploCloud Portal, navigate to **Administrator** -> **Tenant**.
2. Select the Tenant where the Redis will be created from the **NAME** column .
3. Select the **Settings** tab, and click **Add**. The **Add Tenant Feature** pane displays.
4. From the **Select Feature** list box, select **Allow Public Network Access for Databases and Cache Servers**.
5. **Enable** the setting, and click **Add**. The **Allow Public Network Access for Databases and Cache Servers Tenant** setting value is **True**.

## Creating a Redis database instance

1. In the DuploCloud Portal, navigate to **Cloud Services** -> **Database** -> **Redis**. The **Create Redis Instance** pane displays.
2. Click **Add**.
3. Provide the database **Name.**
4. From the **Subnet** list box, select an available subnet you have defined in your Infrastructure.
5. Modify values for **Service Tier**, **Shards**, and **Non TLS Port**, as needed.
6. Click **Submit**.

<div align="left"><figure><img src="/files/MWTcgGw0RjuQb2EEzq1a" alt=""><figcaption><p><strong>Create Redis Instance</strong> pane</p></figcaption></figure></div>

### Viewing Database details

View **Alerts** by selecting the Redis instance you created, from the Redis page in the DuploCloud Portal.

<figure><img src="/files/YVqUx1EhgYMpYDJKCGiS" alt=""><figcaption><p><strong>Redis</strong> page in DuploCloud Portal</p></figcaption></figure>

<figure><img src="/files/BjOHxFAiIdNMS3awsGPV" alt=""><figcaption><p><strong>Alerts</strong> tab for Redis database instance</p></figcaption></figure>


---

# 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.duplocloud.com/docs/automation-platform/overview-2/azure-services/databases/redis-database.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.
