Show HN: Hiraeth – AWS Emulator (github.com)

by ozarkerD 13 comments 40 points
Read article View on HN

13 comments

[−] great_psy 29d ago
What kind of things would you use this to simulate ?

Is this to make sure services are wired up with permission and communicate properly before you deploy or what is the use case ?

Also, why not have a dev environment where you can test things on the real thing (ideally with smaller size instances to save $)

[−] giza182 29d ago
Intergration testing is one. You can run this in your ci/locally to speed up tests. Or just for local dev. We do this with localstack[1]

[1] https://www.localstack.cloud/

[−] ozarkerD 29d ago
Yep integration is my use case as well. It’s nice to not have to worry about setting up real infrastructure for testing client code, parallel execution if you’re on a team, clearing out state each run, etc…
[−] michalc 28d ago

> the rest will soon follow

If you’re looking for requests ;-), I would love an ECS (and specifically Fargate) emulator that actually ran Docker containers locally as though they were in ECS

[−] ozarkerD 25d ago
That's a great idea i've had floating around in my head too!
[−] MouadNos 26d ago
what compatibility surface is prioritized first for SQS edge cases
[−] ozarkerD 25d ago
Good question. I'm driving mostly off of my own use cases currently, so AWS SDK/CLI/Terraform compatibility. Response formats, codes, messages are best effort, there's a little work to be done there still. There's some gaps around request validation still too.

The idea is to build up a good suite of integration/regression tests as cases are identified by myself or the community (if there is one) through development.

[−] slava_vechir_2 27d ago
Works perfectly.
[−] ozarkerD 25d ago
Awesome, appreciate the feedback!
[−] Carrok 29d ago
Looks cool! Now add (simulated) billing. ;)
[−] ryanisnan 29d ago
Easy... $
[−] ozarkerD 25d ago
Maybe a cost explorer emulator would be a fun april fools joke someday :D
[−] leetrout 29d ago
Another SQS stand-in is smoothmq

https://github.com/poundifdef/smoothmq