AWS S3 local server for integration testing AWS S3 local server for integration testing jenkins jenkins

AWS S3 local server for integration testing


You can try installing minio server on your laptop/system, its open source & single static binary. Server is S3 compatible. Then you can try minio-java client library for all operations, following is basic operations example.

Installing minio server [GNU/Linux]

$ wget https://dl.minio.io/server/minio/release/linux-amd64/minio$ chmod 755 minio$ ./minio --help  

Hope it helpsDisclaimer: I work for Minio


Late answer, will be useful mostly for Docker users. There's a great S3 compatible storage software called Riak CS and there's docker-riak-cs image that allows to quickly launch the server.

I've been using it for nearly 2 years for local development and integration testing with great success. It has some limitations, but nothing major that comes in the way, see api / compatibility documentation.

If you need Docker-less solution, you can set it up locally for each build, all setup and configuration scripts are available in docker-riak-cs repository.


You can try localstack, which is an open source local AWS cloud stack made for testing. It provides implementations of several of AWS services, including S3.

It looks like a very popular open source project on GitHub.