Apache ShardingSphere-Proxy is an open-source distributed SQL and data-sharding middleware that presents sharded backend databases as a single MySQL-compatible endpoint. This image runs ShardingSphere-Proxy 5.5 with a local MySQL backend on Ubuntu 24.04 LTS, hardened and fully patched, on port 3307 bound to loopback, with a unique per-VM password generated on first boot and data on a dedicated disk. Maintained by cloudimg.
## Apache ShardingSphere on Ubuntu 24.04 LTS
Apache ShardingSphere-Proxy is a database middleware that transparently shards, routes, and rewrites SQL across multiple backend databases while exposing a single MySQL/PostgreSQL wire-protocol endpoint to your application. This image is built and maintained by cloudimg on a hardened, fully patched Ubuntu 24.04 LTS base.
### What's included
### Getting started
Retrieve the generated password with `sudo cat /root/shardingsphere-credentials.txt`, then connect with any MySQL client: `mysql -h 127.0.0.1 -P 3307 -u root -p`. Run `SHOW DATABASES` and query the sharded demo table to see routing in action. The deployment guide on cloudimg.co.uk covers defining sharding rules and adding data nodes.