Skip to content

Commit 3a3a37c

Browse files
authored
Merge pull request #269695 from thophan-microsoft/docs-editor/quickstart-create-devcenter-an-1710967894
Create article quickstart-create-devcenter-and-project-arm
2 parents 860c5e5 + 4b2f095 commit 3a3a37c

File tree

4 files changed

+128
-0
lines changed

4 files changed

+128
-0
lines changed

articles/deployment-environments/overview-what-is-azure-deployment-environments.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,6 @@ Start using Azure Deployment Environments:
9191

9292
- [Key concepts for Azure Deployment Environments](./concept-environments-key-concepts.md)
9393
- [Azure Deployment Environments scenarios](./concept-environments-scenarios.md)
94+
- [Quickstart: Create dev center and project (Azure Resource Manager)](./quickstart-create-dev-center-project-azure-resource-manager.md)
9495
- [Quickstart: Create and configure a dev center](./quickstart-create-and-configure-devcenter.md)
9596
- [Quickstart: Create and access environments](./quickstart-create-access-environments.md)

articles/deployment-environments/quickstart-create-and-configure-devcenter.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ After you complete this quickstart, developers can use the [developer portal](qu
2222

2323
To learn more about the components of Azure Deployment Environments, see [Key concepts for Azure Deployment Environments](concept-environments-key-concepts.md).
2424

25+
You need to perform the steps in this quickstart and then [create a project](quickstart-create-and-configure-projects.md) before you can [create a deployment environment](quickstart-create-access-environments.md). Alternatively to creating these resources manually, you can also follow this quickstart to [deploy the dev center and project using an ARM template](./quickstart-create-dev-center-project-azure-resource-manager.md).
2526

2627
## Prerequisites
2728

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
---
2+
title: Create dev center and project for Azure Deployment Environment by using Azure Resource Manager template (ARM template)
3+
description: Learn how to create and configure Dev Center and Project for Azure Deployment Environment by using Azure Resource Manager template (ARM template).
4+
services: deployment-environments
5+
ms.service: deployment-environments
6+
author: thophan-microsoft
7+
ms.author: thophan
8+
ms.topic: quickstart-arm
9+
ms.custom: subject-armqs
10+
ms.date: 03/21/2024
11+
12+
# Customer intent: As an enterprise admin, I want a quick method to create and configure a Dev Center and Project resource to evaluate Deployment Environments.
13+
---
14+
15+
# Quickstart: Create dev center and project for Azure Deployment Environments by using ARM template
16+
17+
This quickstart describes how to use an Azure Resource Manager template (ARM template) to create and configure a dev center and project for creating an environment.
18+
19+
[!INCLUDE [About Azure Resource Manager](../../includes/resource-manager-quickstart-introduction.md)]
20+
21+
If your environment meets the prerequisites and you're familiar with using ARM templates, select the
22+
**Deploy to Azure** button. The template opens in the Azure portal.
23+
24+
:::image type="content" source="~/reusable-content/ce-skilling/azure/media/template-deployments/deploy-to-azure-button.svg" alt-text="Button to deploy the Resource Manager template to Azure." border="false" link="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.devcenter%2Fdeployment-environments%2Fazuredeploy.json":::
25+
26+
## Prerequisites
27+
28+
- If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
29+
- Owner or Contributor role on an Azure subscription or resource group.
30+
- Microsoft Entra AD. Your organization must use Microsoft Entra AD for identity and access management.
31+
- Microsoft Intune subscription. Your organization must use Microsoft Intune for device management.
32+
33+
## Review the template
34+
35+
The template used in this quickStart is from [Azure Quickstart Templates](/samples/azure/azure-quickstart-templates/deployment-environments/).
36+
37+
To view the template, see [azuredeploy.json](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.devcenter/deployment-environments/azuredeploy.json).
38+
39+
Azure resources defined in the template:
40+
41+
- [Microsoft.DevCenter/devcenters](/azure/templates/microsoft.devcenter/devcenters): create a dev center.
42+
- [Microsoft.DevCenter/devcenters/catalogs](/azure/templates/microsoft.devcenter/devcenters/catalogs): create a catalog.
43+
- [Microsoft.DevCenter/devcenters/environmentTypes](/azure/templates/microsoft.devcenter/devcenters/environmenttypes): create a dev center environment type.
44+
- [Microsoft.DevCenter/projects](/azure/templates/microsoft.devcenter/projects): create a project.
45+
- [Microsoft.Authorization/roleAssignments](/azure/templates/microsoft.authorization/roleassignments): create a role assignment.
46+
- [Microsoft.DevCenter/projects/environmentTypes](/azure/templates/microsoft.devcenter/projects/environmenttypes): create a project environment type.
47+
48+
## Deploy the template
49+
50+
1. Select **Open Cloud Shell** on either of the following code blocks and follow instructions to sign in to Azure.
51+
2. Wait until you see the prompt from the console, then ensure you're set to deploy to the subscription you want.
52+
3. If you want to continue deploying the template, select **Copy** on the code block, then right-click the shell console and select **Paste**.
53+
54+
1. If you want to use the default parameter values:
55+
56+
```azurepowershell-interactive
57+
$location = Read-Host "Please enter region name e.g. eastus"
58+
$templateUri = "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.devcenter/deployment-environments/azuredeploy.json"
59+
60+
Write-Host "Start provisioning..."
61+
62+
New-AzDeployment -Name (New-Guid) -Location $location -TemplateUri $templateUri
63+
64+
Write-Host "Provisioning completed."
65+
66+
```
67+
68+
2. If you want to input your own values:
69+
70+
```azurepowershell-interactive
71+
$resourceGroupName = Read-Host "Please enter resource group name: "
72+
$devCenterName = Read-Host "Please enter dev center name: "
73+
$projectName = Read-Host "Please enter project name: "
74+
$environmentTypeName = Read-Host "Please enter environment type name: "
75+
$userObjectId = Read-Host "Please enter your user object ID e.g. xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
76+
77+
$location = Read-Host "Please enter region name e.g. eastus"
78+
$templateUri = "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.devcenter/deployment-environments/azuredeploy.json"
79+
80+
Write-Host "Start provisioning..."
81+
82+
New-AzDeployment -Name (New-Guid) -Location $location -TemplateUri $templateUri -resourceGroupName $resourceGroupName -devCenterName $devCenterName -projectName $projectName -environmentTypeName $environmentTypeName -userObjectId $userObjectId
83+
84+
Write-Host "Provisioning completed."
85+
86+
```
87+
88+
It takes about 5 minutes to deploy the template.
89+
90+
Azure PowerShell is used to deploy the template. You can also use the Azure portal and Azure CLI. To learn other deployment methods, see [Deploy templates](../azure-resource-manager/templates/deploy-portal.md).
91+
92+
### Required parameters
93+
94+
- *Resource Group Name*: The name of the resource group where the dev center and project are located.
95+
- *Dev Center Name*: The name of the dev center.
96+
- *Project Name*: The name of the project that is associated with the dev center.
97+
- *Environment Type Name*: The name of the environment type for both the dev center and project.
98+
- *User Object ID*: The object ID of the user that is granted the *Deployment Environments User* role.
99+
100+
Alternatively, you can provide access to deployment environments project in the Azure portal. See [Provide user access to Azure Deployment Environments projects](./how-to-configure-deployment-environments-user.md).
101+
102+
## Review deployed resources
103+
104+
1. Sign in to the [Azure portal](https://portal.azure.com).
105+
2. Select **Resource groups** from the left pane.
106+
3. Select the resource group that you created in the previous section.
107+
108+
## Clean up resources
109+
110+
1. Delete any environments associated with the project either through the Azure portal or the developer portal.
111+
2. Delete the project resource.
112+
3. Delete the dev center resource.
113+
4. Delete the resource group.
114+
5. Remove the role assignments that you don't need anymore from the subscription.
115+
116+
## Next steps
117+
118+
In this quickstart, you created and configured a dev center and project. Advance to the next quickstart to learn how to create an environment.
119+
120+
> [!div class="nextstepaction"]
121+
> [Quickstart: Create and access an environment](./quickstart-create-access-environments.md)

articles/deployment-environments/toc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ items:
1313
items:
1414
- name: Create and configure a dev center
1515
href: quickstart-create-and-configure-devcenter.md
16+
- name: Create and configure a project
17+
href: quickstart-create-and-configure-projects.md
18+
- name: Create dev center and project (Azure Resource Manager)
19+
href: quickstart-create-dev-center-project-azure-resource-manager.md
20+
displayName: Azure Deployment Environments, ADE, environments, quickstart
1621
- name: Create and access an environment
1722
href: quickstart-create-access-environments.md
1823
- name: Concepts

0 commit comments

Comments
 (0)