How to find out what exactly is causing the cost for my RDS instance
amazon web services - AWS RDS Pricing - Stack Overflow
AWS rds pricing help.
Confused about RDS pricing
Yes. On the pricing page (https://aws.amazon.com/rds/mysql/pricing/) it's listed as General Purpose or Provisioned IOPS (SSD), or Magnetic Storage. For Provisioned you also pay for IOPS. You also pay to store backups and for bandwidth in some cases.
More on reddit.comVideos
Hello,
I am running a db.t3.micro rds for my discord bot, and the average monthly costs are $20. It seems a bit much, as there is max maybe a couple of interactions per hour with the bot and, therefore, the rds instance.
Is there a good way to check what exactly is causing the cost?
I also see that the db.Transactions.xact_commit.avg value is constantly on 2.7~ even when there are no interactions with the bot for multiple hours.
The simple answer is that you're charged for every hour your RDS instance is running, and (broadly) not how much you actually use it. There may be some small charges for large volumes of queries, but keeping the instance running is the main cost.
However if you're a new customer you can have a small RDS instance free for a year. Look for 'free-tier eligible' on the management console.
AWS has detailed pricing category for different DB which should be clear enough. Taking mysql "On-Demand DB Instances" as an example, it charges based on the type and duration, however for RDS T3 DB instances which uses unlimited mode it may involve extra fees if your average CPU usage exceed baseline.
Can someone shed some light on how RDS pricing works?
There seems to be 3 components here - the instance, storage and iops. Instance and storage are fixed and you can calculate for a month.
But what about iops? IIUC I'll be charged every time I read/write to the tables with increased cost if I hit a spike in traffic or run some queries on very big tables?
https://aws.amazon.com/ebs/pricing/
This link says gp3 has 3000 iops free. How do I estimate my iops?
Then there seems to be a separate charge for throughput? 125MB/s and then an additional charge per MB/s-month. Not sure how to calculate this. What happens if I had a sudden spike where I went to 500 MB/s for an hour. How would that get converted to MB/s-month.
All this seems like a recipe to get hit by an unexpected large bill. Would it be better to go with a managed db on lightsail which has a fixed monthly cost?
Thanks.