Monorepo? Fine.
Shuttle supports cargo workspaces: one Shuttle service per workspace, shared crates next to it, and Secrets.toml and Shuttle.toml at the root.
3
109
Build Backends. Fast.
Shuttle turns your Rust function signature into infrastructure: a database, secrets or a vector store is one annotation on main, and shuttle deploy ships it.
Your own domain, in two steps.
Point a DNS record at your project, then run shuttle certificate add <domain> and HTTPS traffic starts flowing. Root domains and subdomains both work, next to the default shuttle.app address.
Scale with one word.
#[shuttle_runtime::main(instance_size = "m")]
Six sizes, from xs (0.25 vCPU, 0.5 GB) up to xxl (8 vCPU, 16 GB). Vertical scaling as Infrastructure from Code: change the value, deploy again. No console to click through.
What actually happens when you type shuttle deploy?
✳ Every source file in your workspace that isn't ignored is zipped and uploaded. Curious? shuttle deploy --output-archive deployment.zip writes the archive to disk.
✳ The build runs on AWS CodeBuild in a cargo-chef based image, so dependency layers are cached and redeploys are fast. Arm64 by default, with the wasm32 target ready for Rust frontends.
✳ Your binary lands in a slim Debian 12 runtime image and starts on AWS ECS with Fargate.
✳ Rolling deployment: the new version runs next to the old one until it's healthy. If it fails, it's retried 3 times while the old one keeps serving.
✳ HTTPS traffic arrives on your project's subdomain and any custom domain, with X-Forwarded-For set.
All of that, from one command.
shuttle run.
Your app builds and runs locally the way the platform runs it, and any database you asked for starts in a local Docker container.
Add --external to open it from your phone on the local network, or --bacon to live reload on every save.
Secrets, from a file.
Put keys in Secrets.toml, keep a Secrets.dev.toml for local runs, and read them at runtime with SecretStore. Add Secrets*.toml to .gitignore and they stay out of your repo.
104
Pick the type, skip the boilerplate.
Ask Shuttle for Postgres and choose what comes back: a plain connection string, an sqlx PgPool or an async Diesel connection. Same annotation, your library.
86
Build Backends. Fast.
Here's a Rust backend on Shuttle, from an empty folder to a live URL:
⊳ cargo install cargo-shuttle, then shuttle init. Pick your framework, and the boilerplate is already there.
⊳ Need Postgres? Add one argument to main: #[shuttle_shared_db::Postgres] pool: PgPool. That is the whole setup.
⊳ API keys go in Secrets.toml, and a SecretStore hands them to your code at runtime.
⊳ shuttle run starts it locally the way the platform runs it, with your database in a local Docker container.
⊳ shuttle deploy ships it. shuttle logs --latest shows you what it is doing.
No infrastructure files to write. Just Rust.
100






