Skip to main content

Requirements

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

Project Structure

Configuration

Cargo.toml

vertracloud.config

Example: Actix-web Server

Deploy

  1. Make sure Cargo.toml and Cargo.lock are at root
  2. Compress into a ZIP file (without target folder)
  3. Access Dashboard → New Project → Application
  4. Select Rust language and upload
  5. Configure memory (512MB for compilation, 256MB for runtime)
  6. Click “Create Application”

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