Deploy Rust Rocket Web Server on AWS


You can use this as a starting point for deploying a Rust Rocket server on AWS using Deployment.io.

Deployment

  1. Fork deployment-io/rocket-rust-hello-world on GitHub.
  2. Create new Web Service on Deployment.io.
  3. Connect and add the forked repository.
  4. Select Rust as the runtime.
  5. Input port number as 8000 since our server runs on that port. Change it according to your code.
  6. Input health check path as / . Change it according to your code.
  7. We autodetect the Build and Start commands using NixPacks so you can ignore them.

Your Rust Rocket web server will be available on your AWS ALB URL in the dashboard as soon as the build finishes.