Skip to content

dfberry/rust-azd-aca-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Axum App Deployment with AZD

This is a simple Rust Axum server that can be deployed to Azure Container Apps using Azure Developer CLI (azd).

Prerequisites

  • Azure CLI
  • Azure Developer CLI (azd)
  • Docker CLI
  • An Azure subscription

Deployment Steps

  1. Login to Azure:
az login
  1. Initialize Azure Developer CLI with your subscription and location:
azd auth login
azd init
  1. Provision and deploy the application:
azd up

This 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

Environment Variables

The application prints all environment variables to the console and listens on the port specified by the PORT environment variable (defaults to 3000).

Infrastructure

The application is deployed as a Container App with managed identity support and connected to Application Insights for monitoring.

About

A Rust Axum server deployed to Azure Container Apps using Azure Developer CLI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published