# What falls under 'usage' for AWS RDS database instances?

**URL:** <https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406>\
**Category:** Databases\
**Tags:** rds\
**Created:** [October 31, 2023, 11:55pm UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406 "2023-10-31T23:55:11Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![charmilliona1re](https://awshq.com/letter_avatar_proxy/v4/letter/c/c6cbf5/32.png) [@charmilliona1re](https://awshq.com/u/charmilliona1re)\
**Post date:** [October 31, 2023, 11:55pm UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/1 "2023-10-31T23:55:11Z")

</div>

This is my first time learning about creating databases, so excuse my ignorance if I am asking dumb questions. I’m building a webapp that integrates with a postgress db. I originally just had my DB on my local machine, but I want it available 24/7.

So I started learning about how to deploy my DB to a server, and went with AWS RDS. I am on a free tier, with the 20gb/750 hrs /month usage limits. I understand that I wont go over the 750 hrs as long as I only have 1 instance running (which I do). I got a notification this morning saying I crossed 85% of my current usage for: "20.0 GB-Mo for free for 12 months as part of AWS Free Usage Tier (Global-RDS:StorageUsage) ". I’m currently at 17GB.

I don’t understand why that number is so high since i’ve barely been testing with my db, and with a small dataset. I pulled up pgAdmin, connected to my RDS DB instance, and viewed the statistics to see how much data I was storing, and it’s only 8.15mb!

I’m trying to figure out why in the world my current usage would be at 17gb. How can I view what is causing this? Are there tools to view these stats? Like, would this be from my front end querying my DB?

Thanks for your help

---

<div class="post-metadata">

**Author:** ![dghah](https://awshq.com/letter_avatar_proxy/v4/letter/d/f6c823/32.png) [@dghah](https://awshq.com/u/dghah)\
**Post date:** [November 1, 2023, 12:07am UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/4 "2023-11-01T00:07:12Z")

</div>

Check AWS Cost Explorer for details but here are a few thoughts:

- AWS does not charge you for what you _ **consume** _, AWS charges you for what you _ **provision** _ so it does not matter if you have only 8MB in your database, if you provisioned the database with 20GB of backing storage then you are paying for the 20GB of provisioned storage
- Another thing to look into is automatic RDS snapshots which are often turned on by default. I don’t think this is your case but if you are sensitive to cost and storage in RDS you need to have a handle on if/how backups and snapshots are being created because there are RDS deployment methods where daily snapshot backups are turned on by default

Gut feeling is you are looking at fees related to the size of the database you provisioned

---

<div class="post-metadata">

**Author:** ![inphinitfx](https://awshq.com/letter_avatar_proxy/v4/letter/i/dec6dc/32.png) [@inphinitfx](https://awshq.com/u/inphinitfx)\
**Post date:** [November 1, 2023, 12:08am UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/5 "2023-11-01T00:08:26Z")

</div>

Storage allocated counts as usage, so for the free tier which allows 20GB-month, if you allocate more than 20GB to your instance you will essentially pay for the extra.

Actual data on the storage is irrelevant for RDS usage, just allocated volume.

---

<div class="post-metadata">

**Author:** ![spif](https://awshq.com/letter_avatar_proxy/v4/letter/s/b9bd4f/32.png) [@spif](https://awshq.com/u/spif)\
**Post date:** [November 1, 2023, 12:43am UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/6 "2023-11-01T00:43:17Z")

</div>

Yeah, I wouldn’t use RDS for learning unless you’re specifically trying to learn RDS. If you just want to learn postgres either use a free tier ec2 instance or just run it in a local VM.

---

<div class="post-metadata">

**Author:** ![charmilliona1re](https://awshq.com/letter_avatar_proxy/v4/letter/c/c6cbf5/32.png) [@charmilliona1re](https://awshq.com/u/charmilliona1re)\
**Post date:** [November 1, 2023, 12:46am UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/7 "2023-11-01T00:46:06Z")

</div>

> [@spif](#):
>
> Yeah, I wouldn’t use RDS for learning unless you’re specifically trying to learn RDS. If you just want to learn postgres either use a free tier ec2 instance or just run it in a local VM.

Cool will give that a read.

Yeah I’m just learning how to make it so my db is available 24/7, not just when I have my local machine running. I’m open to exploring whatever hosting is the easiest

---

<div class="post-metadata">

**Author:** ![charmilliona1re](https://awshq.com/letter_avatar_proxy/v4/letter/c/c6cbf5/32.png) [@charmilliona1re](https://awshq.com/u/charmilliona1re)\
**Post date:** [November 1, 2023, 12:48am UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/8 "2023-11-01T00:48:21Z")

</div>

> [@inphinitfx](#):
>
> Storage allocated counts as usage, so for the free tier which allows 20GB-month, if you allocate more than 20GB to your instance you will essentially pay for the extra. Actual data on the storage is irrelevant for RDS …

Hm I see. Is there a way to view what is contributing to my 17gb of used storage? Trying to figure out what is causing that. I think it may be the automatic back ups/snap shots

---

<div class="post-metadata">

**Author:** ![inphinitfx](https://awshq.com/letter_avatar_proxy/v4/letter/i/dec6dc/32.png) [@inphinitfx](https://awshq.com/u/inphinitfx)\
**Post date:** [November 1, 2023, 1:17am UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/9 "2023-11-01T01:17:23Z")

</div>

> [@charmilliona1re](#):
>
> Hm I see. Is there a way to view what is contributing to my 17gb of used storage? Trying to figure out what is causing that. I think it may be the automatic back ups/snap shots

How much storage did you allocate to the rds instance, and was it about 25 days ago?

---

<div class="post-metadata">

**Author:** ![charmilliona1re](https://awshq.com/letter_avatar_proxy/v4/letter/c/c6cbf5/32.png) [@charmilliona1re](https://awshq.com/u/charmilliona1re)\
**Post date:** [November 1, 2023, 2:12am UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/10 "2023-11-01T02:12:22Z")

</div>

> [@inphinitfx](#):
>
> How much storage did you allocate to the rds instance, and was it about 25 days ago?

Hmm I believe it was 20gb, whatever the default/minimum for the free tier but I’d have to double check

---

<div class="post-metadata">

**Author:** ![charmilliona1re](https://awshq.com/letter_avatar_proxy/v4/letter/c/c6cbf5/32.png) [@charmilliona1re](https://awshq.com/u/charmilliona1re)\
**Post date:** [November 1, 2023, 3:15am UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/11 "2023-11-01T03:15:25Z")

</div>

> [@dghah](#):
>
> Check AWS Cost Explorer for details but here are a few thoughts: \* AWS does not charge you for what you _ **consume** _, AWS charges you for what you _ **provision** _ so it does not matter if you have only 8MB in your …

Hm I checked the cost explorer, and it’s empty (thankfully lol). I haven’t gone over my limits for the free tier.

Im just trying to wrap my head around what caused me to use 17gb of my 20gb of storage. But i’m tracking the rest of your comment, and i’m thinking its because of the daily automatic backups/snapshots I had set up.

In my front end app, I use prisma to query my DB. Would running an unnecessary high amount of DB queries cause my RDS storage to increase? That wouldnt make sense tho right?

Cheers and thanks for the help

---

<div class="post-metadata">

**Author:** ![charmilliona1re](https://awshq.com/letter_avatar_proxy/v4/letter/c/c6cbf5/32.png) [@charmilliona1re](https://awshq.com/u/charmilliona1re)\
**Post date:** [November 1, 2023, 3:16am UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/12 "2023-11-01T03:16:32Z")

</div>

> [@charmilliona1re](#):
>
> Hm I checked the cost explorer, and it’s empty (thankfully lol). I haven’t gone over my limits for the free tier. Im just trying to wrap my head around what caused me to use 17gb of my 20gb of storage. But i’m tracking …

Regarding the 17gb usage, i’m trying to find out exactly what caused this. Wish there was a display or something for this…

---

<div class="post-metadata">

**Author:** ![inphinitfx](https://awshq.com/letter_avatar_proxy/v4/letter/i/dec6dc/32.png) [@inphinitfx](https://awshq.com/u/inphinitfx)\
**Post date:** [November 1, 2023, 5:44am UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/13 "2023-11-01T05:44:59Z")

</div>

> [@charmilliona1re](#):
>
> Hmm I believe it was 20gb, whatever the default/minimum for the free tier but I’d have to double check

Well if you allocated 20gb ~25 days ago, that’s about 17gb-mo so far.

---

<div class="post-metadata">

**Author:** ![spif](https://awshq.com/letter_avatar_proxy/v4/letter/s/b9bd4f/32.png) [@spif](https://awshq.com/u/spif)\
**Post date:** [November 1, 2023, 6:38am UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/14 "2023-11-01T06:38:40Z")

</div>

> [@charmilliona1re](#):
>
> Cool will give that a read. Yeah I’m just learning how to make it so my db is available 24/7, not just when I have my local machine running. I’m open to exploring whatever hosting is the easiest

Also check out Lightsail and DigitalOcean. DO has single node setups starting at $15. I have used DO for a personal server for years and it’s been very good especially considering the pricing.

---

<div class="post-metadata">

**Author:** ![CptSupermrkt](https://awshq.com/letter_avatar_proxy/v4/letter/c/fbc32d/32.png) [@CptSupermrkt](https://awshq.com/u/CptSupermrkt)\
**Post date:** [November 1, 2023, 2:01pm UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/15 "2023-11-01T14:01:00Z")

</div>

> [@charmilliona1re](#):
>
> Hmm I believe it was 20gb, whatever the default/minimum for the free tier but I’d have to double check

As mentioned by the other user, if you allocated 20 GB about 25 days ago, that’s about 17 GB used for the month. This concept is very confusing. Imagine round numbers, say 30 days in a month and you allocated 30 GB to a single instance, and to keep the numbers clean imagine the free tier usage was 30 GB for the month, not 20. If you ran that instance for 24 hours, then deleted it, you would have used 1 GB of the 30 GB for the month. That’s the concept at play here.

---

<div class="post-metadata">

**Author:** ![charmilliona1re](https://awshq.com/letter_avatar_proxy/v4/letter/c/c6cbf5/32.png) [@charmilliona1re](https://awshq.com/u/charmilliona1re)\
**Post date:** [November 1, 2023, 2:04pm UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/16 "2023-11-01T14:04:33Z")

</div>

> [@CptSupermrkt](#):
>
> As mentioned by the other user, if you allocated 20 GB about 25 days ago, that’s about 17 GB used for the month. This concept is very confusing. Imagine round numbers, say 30 days in a month and you allocated 30 GB to a …

Hmm okay I think I understand. That would make more sense then, considering I’ve been testing with a very small data set and didn’t think I was doing a lot

Cheers and thanks for the answer!

---

<div class="post-metadata">

**Author:** ![Flakmaster92](https://awshq.com/letter_avatar_proxy/v4/letter/f/a88e4f/32.png) [@Flakmaster92](https://awshq.com/u/Flakmaster92)\
**Post date:** [November 1, 2023, 2:06pm UTC](https://awshq.com/t/what-falls-under-usage-for-aws-rds-database-instances/17406/17 "2023-11-01T14:06:02Z")

</div>

> [@charmilliona1re](#):
>
> Regarding the 17gb usage, i’m trying to find out exactly what caused this. Wish there was a display or something for this…

You didn’t actually read his comment. If you have consumed 17 of your 20gb of storage then it’s because you launched the instance with 17GB of provisioned storage.
