# PostgreSQL database

## Creating a Postgre database instance

1. In the DuploCloud Portal, navigate to **Cloud Services** -> **Database** -> **PostgreSQL.**
2. Click **Add**. The **Create PostgreSQL Instance** pane displays.
3. Provide **Name**, Database **Username**, and **Password** with **Service Tier** details to create a PostgreSQL database. DuploCloud provides a configuration to support backup retention for your database when you complete the other fields in the pane.
4. Click **Submit**.

<div align="left"><img src="/files/sC0UDfoUi33RJ34ePxkI" alt="Create PostgreSQL Instance pane"></div>

## Viewing database details

By selecting your database in DuploCloud from the **PostgreSQL** page, you can view the created database's **Name**, **Tier**, **Status**, and **Version**.

## Additional supported actions

You can reboot the database instance and configure Virtual Network and Firewall Rules from the **Actions** menu.


---

# 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/postgresql.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.
