# 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="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FL9JrAhiSzlJeKT6B8iKU%2FAzure_Redis.png?alt=media&#x26;token=0e413dd9-8cdb-452a-96c4-c3ac9efeb7b8" 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="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fl4FiQb97L92oxv9cLyNa%2Fredis%2011.png?alt=media&#x26;token=7e734103-4477-4d28-af60-eb4ac81e3768" alt=""><figcaption><p><strong>Redis</strong> page in DuploCloud Portal</p></figcaption></figure>

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fxg1JpHsVMPRnjV6iFvWx%2Fredis1.png?alt=media&#x26;token=9826bebe-01e2-484f-849d-f718d1390899" alt=""><figcaption><p><strong>Alerts</strong> tab for Redis database instance</p></figcaption></figure>
