Skip to main content

Requirements

  • Rust 1.99+ installed locally
  • Account on Vertra Cloud
  • Configured Cargo.toml

Project Structure

Configuration

Cargo.toml

vertracloud.config

Example: Actix-web Server

Deploy

  1. Compress the project into a .zip (folders like node_modules, venv and target are removed automatically) or push it to GitHub.
  2. In the dashboard, click New Project and upload the .zip or paste the repository URL.
  3. In Build, check the runtime (Rust), the main file (src/main.rs) and the memory. Start and build commands are under Advanced settings.
  4. Add your environment variables in Environment.
  5. In Network, turn on web publishing so the app gets a *.vertraweb.app address (512 MB of memory or more). The app must listen on port 80.
  6. Review and deploy. Follow the output in the Logs tab.
The full walkthrough is in First deploy.

Available Versions

Notes

  • Automatic compilation: Rust is compiled inside the container during deployment
  • Compilation time: May take 5-10 minutes depending on project size
  • Environment variables: Use std::env::var() to capture settings
  • Logging: Use the log crate for logs that appear in real-time
  • Memory: 512MB recommended during compilation, 256MB sufficient for runtime
  • Listen on 0.0.0.0 to accept external connections
Last modified on November 1, 2026