4 ms·
If your use case fits S3 (eventually consistent updates are okay, no complex query model), you should almost always prefer it to RDS. S3 is usually cheaper than
by lostcolony 9y ago
If your use case fits S3 (eventually consistent updates are okay, no complex query model), you should almost always prefer it to RDS. S3 is usually cheaper than RDS (lots of updates may negate this, but storage costs and then usage based billing = most cases are cheaper. If your DB load is so low that you can reuse it between projects, and your query model is sufficiently simple that S3 could serve it up, you might try running some numbers). It also scales transparently, and infinitely. RDS requires downtime to scale horizontally, and goes only so far.
The general suggestion, from AWS themselves, is to try and fit things into S3 first, and only go for RDS (or DynamoDB) if it makes sense to. Barring a clear indicator, S3 will almost always be cheaper, and has no scaling concerns. That's also been our experience; defaulting to S3 has been the cheapest, and required the least maintenance from us, and only when we come up with a good reason (need for complex or high performance queries, generally) did it ever make sense for us to reach for RDS or DynamoDB.
- meritt 9y agoThey are running MySQL on an m4.xlarge server. He's asking why they aren't using RDS instead. What does S3 have to do with his question?
- lostcolony 9y agoI also saw they were using S3; I thought that was what the OP question was in relation to.
- hamandcheese 9y agoIs this satire? There is so much utility in having a (relational) database that comparing it to S3, on the pretense cost savings, is ludicrous.
- lostcolony 9y ago-If you benefit from it-. Utility only matters if you're using it; otherwise, why pay for it?