# Create a PostgreSQL instance

If you do not already have a PostgreSQL instance that you can reuse you must create a new one. For Taskforce.sh you can use the cheapest available which is the db.t3.micro instance (price between 15$ to 23$ depending on region).

![](/files/-Mi56ApV0N_JRWgXWO9Z)

![](/files/-Mi5Fp4Gxxwc2V0B8w0f)

![](/files/-Mi56Fghq676B-MF-PQI)

Magnetic storage and 5Gb will also be enough:

![](/files/-Mi5Lwopp09eOunJHnAc)

Specify that we want to create a new security group for this instance:

![](/files/-Mi5G0sQ7dJiSBbXM-uV)

In the Additional configuration you need to create an initial database:

![](/files/-Mi5LccC_VCpocRseeTu)

Create your database, and now make sure that the security group you created has a inbound rule that gives access to the EC2 instance running Taskforce.sh:

![](/files/-Mi5U6ZhaGqvOfpVvP9S)


---

# 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.taskforce.sh/on-premises/aws/configure-your-instance/create-a-postgresql-instance.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.
