> 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.](https://2559875260-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LnRxZ2gbXvMdM70TAFz%2F-LrF1Q4Tvdyc3rTHHUpS%2F-LrF2J7Dea4zWQXmUw2g%2Fimage.png?alt=media\&token=b2ac05a9-c7bb-4098-9fd9-fe7c436a876c)

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 %}
