Show HN: Hiraeth – AWS Emulator

Posted by ozarkerD 2 days ago

Counter38Comment8OpenOriginal

With the recent changes around Localstack pricing/licensing I've been hunting for alternatives. I decided that it might be a fun experiment to try rolling my own. SQS is a service I use heavily so I chose that as the first service to implement. I have more services planned and in development.

A few things I think are cool:

4MB Docker Image Size

Instant Startup

AWS Sigv4 Authentication

A little admin UI that can be helpful for development/troubleshooting

Most of the SQS API implemented, the rest will soon follow :)

Comments

Comment by michalc 13 hours 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

Comment by great_psy 2 days 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 $)

Comment by giza182 1 day 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/

Comment by ozarkerD 1 day 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…

Comment by slava_vechir_2 4 hours ago

Works perfectly.

Comment by Carrok 2 days ago

Looks cool! Now add (simulated) billing. ;)

Comment by ryanisnan 2 days ago

Easy... $<INSERT_VERY_LARGE_RANDOM_NUMBER_HERE>

Comment by leetrout 2 days ago

Another SQS stand-in is smoothmq

https://github.com/poundifdef/smoothmq