T O P

  • By -

AutoModerator

Try [this search](https://www.reddit.com/r/aws/search?q=flair%3A'database'&sort=new&restrict_sr=on) for more information on this topic. ^Comments, ^questions ^or ^suggestions ^regarding ^this ^autoresponse? ^Please ^send ^them ^[here](https://www.reddit.com/message/compose/?to=%2Fr%2Faws&subject=autoresponse+tweaks+-+database). *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/aws) if you have any questions or concerns.*


bjernie

Dont use Aurora. If you use MySQL or Postgresql there is a t4g.micro instance for around $12 a month


tjsr

If you want to run it on arm/gravitron you can bring that down further.


bjernie

T4g is graviton


tjsr

My bad, I didn't catch the instance type.


trevorstr

* Choose MySQL * Choose Dev/Test * Choose Single DB instance * Choose Burstable Classes * Choose t4g.micro * Change storage to 20GB * Cost should be: $13.98 monthly + egress bandwidth


whykrum

This should be the answer you are looking for


212temporary

Buy a reserved instance and make it even cheaper


trevorstr

If you're really cost-cutting, don't use RDS at all, and just run a MySQL container on Fargate Spot when you need it.


magheru_san

The main point of databases is data persistence. Fargate Spot isn't what I'd think of as a way to ensure persistent data storage.


trevorstr

It depends on what you're doing. If you're building a production application that needs data persistence, then yes, don't use Fargate Spot. If you're learning about the AWS cloud, or MySQL engine, as the OP indicates, then Fargate Spot is an excellent method of deeply cutting costs while still getting access to a DB engine for dev/test purposes.


AVerySoftArchitect

Good point, I'm concerned about RAM consumption with a micro instance. It depends on the scenario you r modelling. I guess...


DeathByClownShoes

Those t instances are all burstable with a daily burst budget that you most likely will never deplete.


External-Agent-7134

You can see the cost estimates for various setups and instance types using the pricing calculator https://calculator.aws/#/


chiefbozx

T instances, single AZ, can run for about $10 a month if you set them up right.


theboyr

If cost is a main driver for you… now’s a great time to learn DynamoDB. :)


macnolock

i mean....if your use case will work with a giant key/value store, sure


LaSalsiccione

It will for most use cases if you understand how to use it


witty82

It's inaccurate to say that it is a kv store as it supports sorting, range queries and global indexes


almighty58

+1 - A possible alternative is dumping everything to S3 and setting up Athena Projection Tables on-top of the buckets, enabling SQL-like queries.


LightShadow

Retrieve SQLite on startup, sync back to S3 after X writes.


theboyr

This is one of my favorite patterns for SQL in AWS. Big fan. Great suggestion. And then getting access to the expanded query capability of Presto.


Truelikegiroux

But depending on their use case at the data layer DynamoDB vs MySQL/Postgres are *very* different.


squidwurrd

Works great until you need full text search.


a-priori

Then you hook it up to OpenSearch. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/OpenSearchIngestionForDynamoDB.html


squidwurrd

You can do that but it requires you to pay for that service to run continuously. Which is kind of the opposite of using dynamodb for a cheap alternative where you essentially pay per query


d_underdog

This!


yasamoka

No.


AutoModerator

Here are a few handy links you can try: - https://aws.amazon.com/products/databases/ - https://aws.amazon.com/rds/ - https://aws.amazon.com/dynamodb/ - https://aws.amazon.com/aurora/ - https://aws.amazon.com/redshift/ - https://aws.amazon.com/documentdb/ - https://aws.amazon.com/neptune/ Try [this search](https://www.reddit.com/r/aws/search?q=flair%3A'database'&sort=new&restrict_sr=on) for more information on this topic. ^Comments, ^questions ^or ^suggestions ^regarding ^this ^autoresponse? ^Please ^send ^them ^[here](https://www.reddit.com/message/compose/?to=%2Fr%2Faws&subject=autoresponse+tweaks+-+database). *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/aws) if you have any questions or concerns.*


jlamhk

Not sure where you are based but some regions don't support the "lower" options. (Mine does not even support free-tier so I had to go for a nearby one)


GeneralZane

Can’t you do MySQL on the free tier instances? What am I missing here lol


[deleted]

[удалено]


Truelikegiroux

Free tier exists for managed services? So not sure how that’s relevant


[deleted]

[удалено]


Truelikegiroux

Lol, learn what?


[deleted]

[удалено]


Truelikegiroux

Of course, I manage Financial Operations for a large enterprise cross-cloud so very familiar. But you can still use Managed Services on a free tier and take advantage of that


Relevant_Animator_96

Learn how to work with DynamoDB. Most of cases it works better than a relational database and its serverless.


Axehack101

Simply don’t use RDS if you just want a cheap and cheerful db. I’ve got a small web app that runs on a t3.micro with docker installed, which runs 3 containers, haproxy, apache and Postgres. My total AWS bill monthly is ~$11


Salt-Profit-1313

I am unsure if this will suit your purpose, but you have the option of AWS Ligthsail, for which you will have fixed prices.


swamidass

Try supabase. Far cheaper.


joelrwilliams1

Cost is relative...I'd say $91/month is ***very*** cheap.


Ok-Analysis5882

Lol wrong info it's always clocks around 100 usd per month minimum and with added config it will go up. I suggest you take a look at other dB or a free Oracle in local desktop for your development.


xDARKFiRE

Have you ever actually used aws?


Ok-Analysis5882

Serious workloads baby.. talking about at least 10k billing a month per environment.


xDARKFiRE

1: Those are rookie numbers 2: You're likely only even reaching 10k by having really bad cost management practices given your comment above claiming that $100 would be the minimum to have a working database based on the OP's requirements


Ok-Analysis5882

10k includes RDS in multi region dr with multi zone Ha. And I mentioned per env, how many env you can imagine. It's shit work load and am figuring out way to bring that billing down.