Skip to content

Rust deploys

Deploy Rust applications to your own server

Take a Rust release binary from build to serving traffic on a server you control. Phelix compiles, deploys with health-gated cutover, supervises, and rolls back, from one CLI.

Released Phelix hosts: Linux and macOS. Builds Go and Rust with your host toolchain.

Build the release binary, versioned

Phelix compiles Rust stable directly on the host into an immutable, numbered build.

A Rust binary deployment tool should treat the compiled artifact as the unit of delivery. Phelix builds Rust stable applications natively, with no container required, and pairs every numbered build with a build report and an encrypted environment snapshot.

What Phelix is and how the build fits the wider lifecycle is covered in the overview and build and lifecycle docs.

phelix · build
phelix build
built edge v5 rust-stable linux/arm64
report cache 88% regressions 0
env encrypted snapshot saved

Ship it without dropping traffic

Choose a deployment strategy, and let health checks gate the cutover.

Phelix offers classic, blue-green, rolling, and canary deployments, detailed in deployment strategies. On proxy-based strategies it starts the new version, health-checks it, and switches the host-local proxy only once it is ready.

Classic deployment is a stop then start and can have brief downtime; the proxy strategies avoid it. The full approach for a Rust or Go service is walked through in zero-downtime deployment for Go, and it applies the same way to Rust.

phelix · deploy
phelix deploy edge --rolling
replica 1/3 v5 healthy
replica 2/3 v5 healthy
replica 3/3 v5 healthy
rollout complete

Supervise, observe, and roll back

After deploy, Phelix keeps the process healthy and one command from a known-good version.

Phelix supervises the running process per host, streams metrics and redacted logs to an optional dashboard, and can roll back to any retained version through the current deployment topology. Released hosts run on Linux and macOS, and Phelix operates on infrastructure you already control rather than provisioning it.

Environment values are encrypted at rest with AES-256-GCM using a local key: encrypted local storage, not a remote vault. The details are in environment and security.

One binary between git push and production.

Install the CLI, verify the host, and follow the quick start to build your first application.

Read the docs