LocalStack License Changed, CI First to Know

󰃭 2026-03-28

LocalStack is a great product. It’s basically an emulator for the AWS cloud that you can run locally. We rely on it for development and automated testing. However, nothing comes for free. Understandably, the company behind this amazing piece of software has some bills to pay. They changed the license to require a subscription to run their provided Docker images. If the license is not provided as an environment variable, the image simply fails to start. Normally, this would not be a problem if we pinned our versions properly. But surprise, we don’t!

CI started “randomly” failing in the middle of the day and annoying all the engineers. I consider myself the self-appointed CI shepherd, so it was my responsibility to find out what was going on. Initially I thought this was just a couple of flaky tests, but after it started failing constantly, it became obvious we had a real problem. We use testcontainers with the S3 LocalStack image, and all tests which used this setup were consistently failing.

The nice thing is that I was able to reproduce the problem locally, so then I just bumped the log levels to the max and looked for funny stuff. After some log spelunking, I noticed the failing image was localstack/localstack:s3-latest. From there it was easy to find out LocalStack’s latest blog post explaining their licensing changes.

The immediate fix was to pin the image to version 4.4.0. For example: change localstack/localstack:s3-latest to localstack/localstack:4.4.0.

I would say the main takeaway from all of this is to pin your versions. Then you always know what you get. Package manager dependencies, docker images, Github actions, anything! Always specify a deterministic version. Never use latest or similar. Oh, how I wish reproducible builds were more widespread in the software industry!

Back to the LocalStack topic, now I am actively on the lookout for a proper replacement. I only need a local S3-compatible emulator. I have tried MinIO but for some reason it doesn’t seem to be a drop-in replacement and also has some funny business going on with the licensing. floci also seems promising although it’s quite new. Please reach out if you have any recommendations!



More posts like this

Just switched to Ubuntu

󰃭 2013-05-28 | #linux #ramblings

I decided to replace the Arch Linux installation on my desktop (my main computer) with Ubuntu. Too bad I don’t get to feel 1337 for using Arch anymore. So far, so good, except I had a few issues when setting up Eclipse, but I always seem to get issues when installing Eclipse, no matter what platform… One of the main reasons why I decided to do this is because whenever I updated Arch, something would break.

Continue reading 


Publishing an App on F-Droid

󰃭 2021-08-03 | #android #f-droid #tips #tutorials

I made some small apps for Android and I wanted to distribute them. I also care a lot about software freedom, so F-Droid is the best place for me to publish my apps. Disclaimer! You are not able to sell your app on F-Droid. If you want to make money with it, you would need to allow users to pay through another method. Please see this StackExchange question if you’re interested in monetization.

Continue reading 