> 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/pricing.md).

# Pricing

Predicting the bill is sometimes complicated on AWS. Be careful with what resources you are spinning up.

![The cheapest production-ready Postgres on RDS.](/files/-LrF2J7Dea4zWQXmUw2g)

In this tutorial, we assume the app will run in production and use the best resources available to make our app scalable and reliable.

### How much will it cost?

This is the break down of the cost of the resources we will use:

* **Route 53:**
  * $12 per year for the domain
  * $0.40 per 1,000,000 queries for the first 1 Billion queries
  * $0.50 per month per Hosted Zone for the first 25 Hosted Zones
* **NAT Gateway**: \~$35 per month + $0.048 per GB Data Processed
* **Aurora Serverless**: \~$45 per month

The other resource should fall under the "Free tier".

{% hint style="info" %}
If you're running a low traffic/non-critical app, have a look at [Amazon Lightsail](https://aws.amazon.com/lightsail/pricing/). You can get a small instance for $3.50/m and managed database for $15. As your needs expand, you can easily migrate to EC2 later.

There are also alternatives where you can get 2 load balanced instances and a Postgres database. Have a look at [Heroku](https://www.heroku.com/pricing) ($100) or [DigitalOcean](https://www.digitalocean.com/pricing/) ($40).
{% endhint %}


---

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