deterministic resilience and chaos testing for your services
Toxiproxy is a TCP proxy for deterministic resilience and chaos testing. It sits between an application and its upstream dependencies, databases, caches, queues and APIs, and injects controllable failures called toxics: latency, bandwidth limits, timeouts, connection resets and data slicing. Because the failures are deterministic and scriptable, a slow database or a flaky network can be reproduced exactly, on demand, in a test suite or a staging environment. This image runs Toxiproxy under systemd with a self-contained working demo live on first boot.
The cloudimg image installs the official Toxiproxy release binaries, pinned and checksum-verified, and runs them under systemd, so a working proxy is available within minutes of launch. The unauthenticated control API is bound to loopback only and fronted for remote use by an nginx TLS reverse proxy gated by an HTTP Basic credential that every instance generates uniquely at first boot and never bakes into the image. A self-contained demo proxy, upstream and sample latency toxic ship live on first boot, a paired step-by-step deployment guide is included, and every image is backed by 24/7 cloudimg support.
Real screenshots taken while testing this image against its deployment guide.
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
## Toxiproxy - Deterministic Resilience and Chaos Testing
Catch dependency failures before they reach production. Toxiproxy sits between your application and its upstream services - databases, caches, queues, and APIs - and injects controllable failures called toxics: latency, bandwidth limits, timeouts, connection resets, and data slicing. Because failures are deterministic and scriptable, you can reproduce a slow database or a flaky network in a test suite or staging environment exactly, on demand, instead of waiting for it to happen in production.
## Ready to Test in Minutes
This image delivers Toxiproxy fully installed and running under systemd, so a working proxy is available within minutes of launch with no manual compilation or configuration editing required.
Out-of-the-box demo included:
List the proxies or curl through the demo port and you immediately see a real, failure-injecting TCP proxy on first boot.
## Secure by Default
The Toxiproxy control API is unauthenticated by design and can create proxies to arbitrary destinations. This image addresses that risk with multiple layers:
## Use Cases
## Deploying on AWS
Deploy directly from AWS Marketplace onto any supported EC2 instance, alongside your existing VPC and security groups. After launch, retrieve your unique per-instance HTTP Basic credential over SSH from the root-only credentials file at /root/toxiproxy-credentials.txt, then point your application at the proxy ports instead of directly at your dependencies. Open only the ports your test clients need in the instance security group.
## 24/7 cloudimg Support Included
This product includes 24/7 technical support from cloudimg via email and live chat. The support team assists with deployment, control-API usage, toxic design for your specific failure modes, and security configuration.
## Licensing and Attribution
This is a repackaged open source software product with additional charges for cloudimg support services. Toxiproxy is distributed under the MIT license. cloudimg is not affiliated with or endorsed by Shopify or the Toxiproxy project. All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.