Toxiproxy on Ubuntu 24.04 LTS
by cloudimg
Toxiproxy resilience testing proxy on Ubuntu 24.04: inject latency, timeouts and drops, secure by default
Toxiproxy is a TCP proxy for deterministic resilience and chaos testing. It sits between your application and its upstream dependencies (databases, caches, queues, APIs) and injects controllable failures called toxics: latency, bandwidth limits, timeouts, connection resets and data slicing. Because the failures are deterministic and scriptable, you can reproduce a slow database or a flaky network in a test suite or a staging environment exactly, on demand, instead of waiting for it to happen in production. This cloudimg image runs Toxiproxy on Ubuntu 24.04 LTS as a hardened systemd service, security patched and kept current by unattended upgrades.
It ships a self contained demo out of the box: a small bundled upstream on the loopback interface, a demo proxy that forwards a public port to it, and a sample latency toxic already applied. So listing the proxies and sending a request through the demo port shows a real, working, failure injecting proxy on first boot. Point the demo proxy, or a new proxy, at your own dependency to reproduce network failures.
Security is built in. The Toxiproxy control API is unauthenticated by design and can create proxies to arbitrary destinations, so this image binds it to the loopback interface only. It is never exposed to the network: you drive it over SSH with the toxiproxy command line tool, or from within the virtual machine, and only the demo proxy's data port and SSH are opened. systemd manages the service for automatic restarts and clean logging.
Toxiproxy is distributed under the MIT license, free and open source with no per CPU or per deployment fee. cloudimg is not affiliated with or endorsed by Shopify or the Toxiproxy project; Toxiproxy is a mark of its owner. cloudimg provides packaging, the secure by default posture with the control API bound to loopback only, the self contained demo, security patching, and 24/7 support with a guaranteed 24 hour response SLA.