Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e962f6e

Browse files
committedApr 14, 2025
Merge
2 parents 7f31762 + 9b2a786 commit e962f6e

22 files changed

+1210
-557
lines changed
 

‎.openpublishing.redirection.json

+4
Original file line numberDiff line numberDiff line change
@@ -1816,6 +1816,10 @@
18161816
{
18171817
"source_path": "articles/ansible/aks-configure-kubenet-networking.md",
18181818
"redirect_url": "/azure/developer/ansible/aks-configure-cni-networking"
1819+
},
1820+
{
1821+
"source_path": "articles/java/spring-framework/spring-messaging-support.md",
1822+
"redirect_url": "/azure/developer/java/spring-framework/spring-messaging-event-hubs-support"
18191823
}
18201824
]
18211825
}

‎articles/azure-developer-cli/TOC.yml

+6
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,18 @@
1111
href: install-azd.md
1212
- name: Quickstart - Deploy an azd template
1313
href: get-started.md
14+
- name: Quickstart - Explore and customize a template
15+
href: get-started.md
1416
- name: What are Azure Developer CLI commands?
1517
href: azd-commands.md
1618
- name: What are Azure Developer CLI templates?
1719
href: azd-templates.md
1820
- name: Supported languages and environments
1921
href: supported-languages-environments.md
22+
- name: Azure Developer CLI vs Azure CLI
23+
href: azure-developer-cli-vs-azure-cli.md
24+
- name: Explore the template galleries
25+
href: azd-template-galleries.md
2026
- name: Deployment
2127
items:
2228
- name: Configure deployment pipeline
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
---
2+
title: Explore Azure Developer CLI Template Galleries
3+
description: Learn about Azure Developer CLI templates and the available template galleries, including Awesome AZD and the AI Template Gallery.
4+
author: alexwolfmsft
5+
ms.author: alexwolf
6+
ms.date: 04/10/2025
7+
ms.service: azure-dev-cli
8+
ms.topic: conceptual
9+
ms.custom: devx-track-azdevcli
10+
---
11+
12+
# Explore the Azure Developer CLI template galleries
13+
14+
Azure Developer CLI (`azd`) templates simplify the process of building, provisioning, and deploying applications on Azure. This document explores what these templates are, their purpose, and the available galleries, including [Awesome AZD](#awesome-azd) and the [AI Template Gallery](#the-ai-app-templates-gallery).
15+
16+
## What are Azure Developer CLI templates?
17+
18+
[Azure Developer CLI templates](/azure/developer/azure-developer-cli/azd-templates) are standardized project structures that include application code, infrastructure as code (IaC) files, and deployment configurations. These templates are designed to help developers quickly set up and deploy full-stack applications on Azure. They provide a starting point for common application architectures and integrate seamlessly with Azure services.
19+
20+
Key features of Azure Developer CLI templates:
21+
22+
- Include infrastructure as code to create app resources like Azure App Service or Azure OpenAI
23+
- Define deployment configurations to package and deploy apps built with various languages
24+
- Enable simplified, automated workflows for provisioning resources and deploying applications
25+
- Provide starting points or architectural examples for building cloud-native apps
26+
27+
For more detailed information on `azd` templates, visit the [templates overview](/azure/developer/azure-developer-cli/azd-templates) page.
28+
29+
## What are template galleries?
30+
31+
Template galleries offer curated collections of reusable `azd` templates to help you get started with building and deploying applications on Azure. They provide developers with various ready-to-use templates for different use cases, such as web applications, AI-powered solutions, and microservices architectures.
32+
33+
These galleries help developers:
34+
35+
- Quickly prototype and deploy applications
36+
- Explore sample architectures for specific scenarios
37+
- Learn best practices for Azure app development
38+
- Share and build on community-contributed templates
39+
40+
## Explore the galleries
41+
42+
You can explore templates from different galleries using a local editor like Visual Studio Code, or directly in the browser with GitHub Codespaces. The following sections highlight two key galleries that showcase different types of templates for various use cases.
43+
44+
### Awesome AZD
45+
46+
[**Awesome AZD**](https://azure.github.io/awesome-azd/) is a community-driven collection of Azure Developer CLI templates, tools, and resources. It includes templates for various application types, contributed by both Microsoft and the developer community. The gallery is designed to showcase best practices and innovative use cases for `azd`.
47+
48+
:::image type="content" source="media/get-started/awesome-azd.png" alt-text="A screenshot showing the home page of the Awesome AZD template gallery.":::
49+
50+
Key highlights of Awesome AZD:
51+
52+
- Templates for web apps, APIs, microservices, and more
53+
- Community-contributed examples for real-world scenarios
54+
- Resources for extending and customizing Azure Developer CLI workflows
55+
56+
To learn more or contribute to the Awesome AZD gallery, visit the [Awesome AZD GitHub repository](https://github.com/Azure/awesome-azd).
57+
58+
### The AI App Templates gallery
59+
60+
The [**AI App Templates**](https://azure.github.io/ai-app-templates/) gallery is a specialized collection of Azure Developer CLI templates focused on AI-powered applications. These templates help developers quickly build intelligent solutions by integrating with Azure AI services such as Azure OpenAI and Azure AI Foundry.
61+
62+
:::image type="content" source="media/get-started/ai-template-gallery.png" alt-text="A screenshot showing the home page of the AI App Template gallery.":::
63+
64+
Key highlights of the AI Template Gallery:
65+
66+
- Templates for chatbots, recommendation systems, and other AI use cases.
67+
- Preconfigured infrastructure for integrating Azure AI services.
68+
- Examples of how to use AI capabilities in cloud-native applications.
69+
70+
The AI Template Gallery simplifies the process of building and deploying AI-driven applications by providing ready-to-use templates and best practices.
71+
72+
### Add your own custom template sources
73+
74+
In addition to using the predefined galleries, you can also [add your own template sources](/azure/developer/azure-developer-cli/configure-template-sources) to customize your development workflow. This allows you to create and share templates tailored to your specific needs or organization.
75+
76+
To add a custom template source:
77+
78+
1. Create a repository containing your templates. Each template should follow the Azure Developer CLI template structure, including application code, infrastructure as code files, and deployment configurations.
79+
80+
1. Use the `azd template` command to add your repository as a source. For example:
81+
82+
```bash
83+
azd template add --source <repository-url>
84+
```
85+
86+
1. Once added, you can list and use your custom templates just like the predefined ones:
87+
88+
```bash
89+
azd template list
90+
```
91+
92+
By adding your own template sources, you can extend the capabilities of the Azure Developer CLI and streamline development for your team or projects.
93+
94+
## Conclusion
95+
96+
Azure Developer CLI template galleries, such as Awesome AZD and the AI Template Gallery, provide developers with powerful starting points for building and deploying applications on Azure. Whether you're creating a web app, exploring AI capabilities, or learning best practices, these galleries offer valuable resources to accelerate your development process.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
---
2+
title: Azure Developer CLI vs Azure CLI Overview
3+
description: Understand the differences between the Azure Developer CLI and the Azure CLI
4+
author: alexwolfmsft
5+
ms.author: alexwolf
6+
ms.date: 04/10/2025
7+
ms.service: azure-dev-cli
8+
ms.topic: conceptual
9+
ms.custom: devx-track-azdevcli
10+
---
11+
12+
# Azure Developer CLI vs Azure CLI overview
13+
14+
Azure provides multiple command-line tools to help users interact with cloud services. Two of the most commonly used tools are the [Azure Developer CLI](/azure/developer/azure-developer-cli/overview) and the [Azure CLI](/cli/azure/what-is-azure-cli). While both options enable users to manage and deploy resources on Azure, they're designed for different audiences and use cases. The following sections provide an overview of each tool, highlight their differences, and offer comparisons to help you select the best tool for different situations.
15+
16+
## What is the Azure Developer CLI?
17+
18+
The Azure Developer CLI (`azd`) is a developer-focused command-line tool designed to streamline the process of building, provisioning, deploying, and managing full-stack apps on Azure. Key features include:
19+
20+
- High-level commands oriented around app lifecycle stages, such as provisioning and deployment
21+
- A template system to define infrastructure as code and deployment configurations for your app
22+
- Automated provisioning and deployment of app resources
23+
- Built-in CI/CD pipeline setup for GitHub Actions or Azure Pipelines
24+
- Galleries of starter app templates for common app architectures
25+
26+
## What is the Azure CLI?
27+
28+
The Azure CLI (`az`) is a general-purpose command-line interface for managing Azure resources. It provides a comprehensive set of commands to create, configure, delete, and monitor resources programmatically or interactively. Key features include:
29+
30+
- Granular administrative control over Azure resources
31+
- Support for scripting and task automation
32+
- Integration with a wide range of Azure services and tools
33+
- Resource management across many tenants, subscriptions, and environments
34+
35+
## How are the tools different?
36+
37+
While both the Azure Developer CLI and Azure CLI provide command-line interfaces for Azure, they serve different purposes and audiences:
38+
39+
- **Azure Developer CLI**: Focuses on simplifying the developer experience by providing an opinionated workflow for building and deploying applications. It abstracts much of the complexity of resource management and is tailored for application-centric tasks.
40+
- **Azure CLI**: Offers granular control over Azure resources and is designed for a broader audience, including IT administrators, DevOps engineers, and developers. It provides flexibility for managing individual resources but requires knowledge of specific Azure services.
41+
42+
### Compare commands
43+
44+
You can print the available commands for both CLI tools to visualize these differences. For example, run the Azure Developer CLI command `azd help` to view information about the tool and available commands:
45+
46+
```output
47+
Usage
48+
azd [command]
49+
50+
Commands
51+
Configure and develop your app
52+
auth : Authenticate with Azure.
53+
config : Manage azd configurations (ex: default Azure subscription, location).
54+
hooks : Develop, test and run hooks for an application. (Beta)
55+
init : Initialize a new application.
56+
restore : Restores the application's dependencies. (Beta)
57+
template : Find and view template details. (Beta)
58+
59+
Manage Azure resources and app deployments
60+
deploy : Deploy the application's code to Azure.
61+
down : Delete Azure resources for an application.
62+
env : Manage environments.
63+
package : Packages the application's code to be deployed to Azure. (Beta)
64+
provision : Provision the Azure resources for an application.
65+
up : Provision Azure resources, and deploy your project with a single command.
66+
67+
Monitor, test and release your app
68+
monitor : Monitor a deployed application. (Beta)
69+
pipeline : Manage and configure your deployment pipelines. (Beta)
70+
show : Display information about your app and its resources.
71+
```
72+
73+
The commands in the preceding output map to high level development workflow concerns, such as managing app deployments, app configuration, and monitoring.
74+
75+
However, if you run the `az help` command for the Azure CLI, you see output that resembles the following output:
76+
77+
```output
78+
Group
79+
az
80+
81+
Subgroups:
82+
account : Manage Azure subscription information.
83+
acr : Manage private registries with Azure Container Registries.
84+
ad : Manage Microsoft Entra ID (formerly known as Azure Active
85+
Directory, Azure AD, AAD) entities needed for Azure role-based
86+
access control (Azure RBAC) through Microsoft Graph API.
87+
advisor : Manage Azure Advisor.
88+
afd : Manage Azure Front Door Standard/Premium.
89+
aks : Manage Azure Kubernetes Services.
90+
ams : Manage Azure Media Services resources.
91+
apim : Manage Azure API Management services.
92+
appconfig : Manage App Configurations.
93+
appservice : Manage App Service plans.
94+
aro : Manage Azure Red Hat OpenShift clusters.
95+
backup : Manage Azure Backups.
96+
batch : Manage Azure Batch.
97+
bicep : Bicep CLI command group.
98+
billing : Manage Azure Billing.
99+
bot : Manage Microsoft Azure Bot Service.
100+
cache : Commands to manage CLI objects cached using the `--defer`
101+
102+
(omitted for brevity...)
103+
```
104+
105+
In the preceding output, all of the commands focus on managing configurations for specific Azure resources, such as Azure Container Registries or Azure Billing services.
106+
107+
### Compare features
108+
109+
The following table highlights the key differences between the Azure Developer CLI and the Azure CLI in more detail:
110+
111+
| Functionality | Azure Developer CLI (`azd`) | Azure CLI (`az`) |
112+
|-------------------------|---------------------------------------------------------|----------------------------------------------------|
113+
| **Primary audience** | Developers focused on building cloud-native apps | Developers, IT admins, and DevOps engineers |
114+
| **Primary use case** | End-to-end app lifecycle management | Azure resource administration & management |
115+
| **Type of tasks** | Provisioning and deploying app resources, CI/CD pipeline setup | Resource administration and scripting |
116+
| **Command behavior** | Opinionated, high-level commands for common workflows | Flexible, low-level commands for granular control |
117+
| **Template support** | Includes predefined templates for common architectures | No templates; requires manual resource configuration |
118+
| **IaC support** | Native support for IaC tools like Bicep and Terraform | Requires separate IaC setup and integration |
119+
| **CI/CD Integration** | Automates pipeline setup for GitHub Actions or Azure Pipelines | No built-in CI/CD automation |
120+
121+
### Compare use cases
122+
123+
Choosing the right tool depends on your specific needs and the tasks you want to accomplish. Below are examples of scenarios where each tool excels to help you decide which one to use for your workflow.
124+
125+
#### When to Use the Azure Developer CLI
126+
127+
The Azure Developer CLI is best suited for scenarios where you need to manage the end-to-end workflow for application development and deployment. Example use cases include:
128+
129+
- Packaging, provisioning and deploying full-stack cloud-native apps in a portable, repeatable way
130+
- Quickly provisioning sample app architectures using predefined templates for rapid prototyping
131+
- Setting up CI/CD pipelines for GitHub Actions or Azure Pipelines with minimal effort
132+
133+
#### When to Use the Azure CLI
134+
135+
The Azure CLI is ideal for scenarios that require granular control over individual Azure resources or advanced scripting capabilities. Example use cases include:
136+
137+
- Creating, configuring, or deleting Azure resources
138+
- Automating resource management using custom scripts
139+
- Monitoring and troubleshooting Azure resources
140+
- Integrating resource management into broader DevOps workflows
141+
142+
By understanding these use cases, you can determine which tool is better suited for your specific needs or use both tools in combination to maximize efficiency.
143+
144+
## Conclusion
145+
146+
The Azure Developer CLI and Azure CLI are complementary tools designed for different audiences and use cases. The Azure Developer CLI simplifies app packaging, provisioning, and deployment for developers, while the Azure CLI provides granular control for administrative tasks. Depending on your role and requirements, you can use one or both tools to achieve your goals on Azure.
Loading
Loading
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Failed to load comments.