Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Building and deploying cloud applications can be complex and time-consuming. Developers often face challenges such as setting up cloud infrastructure, configuring deployment pipelines, and ensuring best practices for security and scalability. Managing these tasks typically requires deep knowledge of Azure services, infrastructure as code, and DevOps processes, which can slow down development and increase the risk of errors.
The Azure Developer CLI (azd) is an open-source tool that accelerates provisioning and deploying app resources on Azure. azd provides best practice, developer-friendly commands that map to key stages in your development workflow, whether you're working in the terminal, an integrated development environment (IDE), or through CI/CD (continuous integration/continuous deployment) pipelines.
azd uses extensible blueprint templates that include everything you need to get an application up and running on Azure. These templates include:
- Reusable infrastructure as code assets to provision cloud resources services using Bicep or Terraform.
- Proof-of-concept or starter app code that can be customized or replaced with your own app code.
- Configuration files to handle deploying your app to the provisioned resources.
- Optionally, pipeline workflow files for GitHub Actions or Azure Pipelines to enable CI/CD integrations.
You can also create your own template or find one to customize and expand on from the Awesome AZD gallery.
A sample azd workflow
The following steps demonstrate the basics of a common azd workflow. Visit the installation and quickstart pages for more details on installing and getting started with azd.
You can install azd on common platforms using a single command:
After you install azd, provision and deploy app resources to Azure in only a few steps:
Select an Azure Developer CLI template such as the
hello-azddemo template that contains the app resources you want to provision and deploy.Run the
azd initcommand to initialize the template:azd init -t hello-azdRun the
azd upcommand to package, provision and deploy the app resources:azd upIterate on the application code and deploy changes as needed by running
azd deploy.Update Azure resources by modifying the template's Infrastructure as Code (IaC) and then running
azd provision.Note
Alternatively, you can also run
azd upwhenever you make a changes to your app code or infrastructure files, which handles both provisioning and deploying app resources. Visit the [reference page] for a complete list ofazdcommands.
Introductory video
Check out the following video for a demonstration of working with azd. More azd video content is available on the Microsoft Developer YouTube channel.
Next steps
- View supported languages and environments
- Install the Azure Developer CLI.
- Walk through the
azdquickstart to see Azure Developer CLI in action.