Microsoft announced the public preview of Azure Developer CLI, an open-source tool that is designed to hasten the process of getting started with Azure. “The Azure Developer CLI provides developer-friendly commands that map to key stages in your workflow: code, build, deploy, monitor, repeat”.
With this tool in place, developers can easily create, provision, and deploy a new application with a single step as highlighted below:
azd up –template todo-nodejs-mongo
According to the blog post, “You can use the Azure Developer CLI with extensible templates that include everything you need to get an application up and running in Azure. The templates include best practices, application code and reusable infrastructure as code assets”
To get started with Azure Developer CLI, you will first need to have the prerequisites installed, then use the standalone Azure Developer CLI via the following command in your preferred terminal.
powershell -ExecutionPolicy AllSigned -c “irm ‘https://aka.ms/install-azd.ps1’ | iex”
curl -fsSL https://aka.ms/install-azd.sh | bash
Preview Azure Developer CLI is available for both Visual Studio Code and Visual Studio users. Install Visual Studio Code extension from the Visual Studio Code Marketplace, at this point you should be able to access all commands that the tool provides.
The tool is currently in preview as the development team continues to improve its usability. They are also intending to prioritize support for Java language templates, Azure Kubernetes Service templates, Azure Pipelines support, and Terraform support based on feedback that they get, Be sure to also check out the blog post as they explain how to make the most out of Azure Developer CLI.