Skip to content

Command Line (AZD)

Article Audience

Cloud Architects: Working with Infrastructure and Software

Application Developer: Working with Services and Applications

DevOps Engineers: Automation and Deployment Customizations

The Azure Developer CLI (azd) simplifies deployment and management of Azure resources through intuitive commands and built-in best practices. The CLI enables rapid provisioning combined with management tasks via hook-executed scripts. Built-in environment management capabilities support isolated environments with automatic environment variable configuration.

Learning Opportunity

Learn more about the Azure Developer CLI (azd) and how to use it.

Supports Containers as an alternative for local workstation.

Open in GitHub Codespaces

Open in Remote - Containers

Instructions

  1. Clone the repository to your file system.

    git clone https://github.com/Azure/osdu-developer.git
    
  2. Authenticate and select the subscription.

    az login --scope https://graph.microsoft.com//.default
    azd auth login
    az account set --subscription <your_subscription_id>
    
  3. Enable required features.

    azd config set alpha.resourceGroupDeployments on
    
  4. Initialize the environment and enable any feature flags.

    azd init -e <your_env_name>
    azd env set <feature_flag> <value>
    
  5. Deploy the solution.

    azd provision
    

    Warning

    Deployment can exceed 1 hour. For timeouts execute azd provision again to continue.