This is a simple Rust Axum server that can be deployed to Azure Container Apps using Azure Developer CLI (azd).
- Azure CLI
- Azure Developer CLI (azd)
- Docker CLI
- An Azure subscription
- Login to Azure:
az login- Initialize Azure Developer CLI with your subscription and location:
azd auth login
azd init- Provision and deploy the application:
azd upThis will:
- Build the Docker container for your Rust application
- Push it to Azure Container Registry
- Deploy the container to Azure Container Apps
- Set up all required infrastructure
The application prints all environment variables to the console and listens on the port specified by the PORT environment variable (defaults to 3000).
The application is deployed as a Container App with managed identity support and connected to Application Insights for monitoring.