Deployment.io

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. The repository has a Dockerfile at its root, which Deployment.io builds. Leave Dockerfile Path empty.
  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.

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