> For the complete documentation index, see [llms.txt](https://docs.taskforce.sh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.taskforce.sh/on-premises/aws/configure-your-instance/create-a-postgresql-instance.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.taskforce.sh/on-premises/aws/configure-your-instance/create-a-postgresql-instance.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
