logoalt Hacker News

hvb2 • today at 5:40 PM • 1 reply • view on HN

> Like S3 emulator, you could download one of many and test it but unless your test suite is extensive, the costs against S3 test bucket would probably cost you .03 cents

Not sure if your serious.

You picked the simplest service that isn't expensive at all to run. Have you tried with an RDS cluster for example, how does that work?

Does your integration test create a new cluster to use? That's slow to set up.

Does it use an existing one? Now you might have failures due to noisy neighbors and your cost will not be small.

And that's just RDS, as soon as it's not serverless, costs aren't trivial anymore.


Replies

stackskipton • today at 6:17 PM

I assume for RDS for integration testing, you could just use publicly available software. So stand up MySQL container if your RDS is MySQL. This is integration testing, not load testing so shared RDS in lowers would be fine as well. Noisy neighbors shouldn't be a big deal.

Again, while local cloud emulator is great for cost sensitive customers, at some point, you should test Dev against almost exact environment you will be running Prod on. If not, you are asking for eventual outage in Prod when some slightly different AWS thing bites you.