How to Run Gatling on AWS Using a Custom Docker Image and Kubernetes

Samuel Teixeira
Javarevisited
Published in
4 min readMay 6, 2024

--

The idea is to have a docker image with our simulations that we can use to do a load test in our application.

For that, we will use k8s to run multiple instances of our container (Gatling) to create the desired load.

I am running the k8s cluster in AWS and will send the reports to an S3 bucket when I finish each simulation.

The main concept here is to containerize our simulations, allowing us to run them more flexibly. So the k8s cluster can be in any other cloud…

--

--

Samuel Teixeira
Javarevisited

Developer (15+ years) | Staff Engineer at IAS | Master of Computer Science | Interests — Backend Dev , Machine Learn, Code performance, System Design