> For the complete documentation index, see [llms.txt](https://tutorial.specian.co.uk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tutorial.specian.co.uk/devops/aws/rds.md).

# RDS

We are going to use [Aurora Serverless](https://aws.amazon.com/rds/aurora/serverless/). We will pay only for the resources we use and it will scale up or down automatically.

Search for `RDS` in `Services`:

![](/files/-LrFQSG3FyLjHdUTopZL)

Click `Databases` and `Create database`:

![](/files/-LrFQq1LssU5CMYZi4xG)

Scroll down and you find the "Serverless" option:

![](/files/-LrFR-xsjV0FiNQlwl0K)

There are a few important limitations to the serverless version of Aurora:

* You can't give an Aurora Serverless DB cluster a public IP address. This means you can't access it from TablePlus (or similar) from your computer.
* The resources have to be in the same VPC to access the database (this is why we need the NAT).
* You can't turn on [Amazon RDS Performance Insights](https://docs.aws.amazon.com/en_pv/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights).
* It is compatible only with PostgreSQL version `10.7`. We need to reflect this to our local setup for development. `10.7` is not available on Docker Hub but `10` should work fine.\
  `docker run -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=bookapp -d -p 5432:5432 postgres:10`


---

# 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://tutorial.specian.co.uk/devops/aws/rds.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.
