You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/devops-project/azure-devops-project-cosmos-db.md
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,21 @@
1
1
---
2
-
title: 'Tutorial: Deploy Node.js apps powered by Azure Cosmos DB with Azure DevOps Projects'
3
-
description: Azure DevOps Projects makes it easy to get started on Azure. With DevOps Projects, you can deploy your Node.js app that's powered by Azure Cosmos DB to Windows Web App in a few quick steps.
2
+
title: 'Tutorial: Deploy Node.js apps powered by Azure Cosmos DB with Azure DevOps Starter'
3
+
description: Azure DevOps Starter makes it easy to get started on Azure. With DevOps Starter, you can deploy your Node.js app that's powered by Azure Cosmos DB to Windows Web App in a few quick steps.
4
4
ms.author: mlearned
5
5
ms.manager: gwallace
6
6
ms.prod: devops
7
7
ms.technology: devops-cicd
8
8
ms.topic: tutorial
9
-
ms.date: 07/11/2019
9
+
ms.date: 03/24/2020
10
10
author: mlearned
11
11
monikerRange: 'vsts'
12
12
---
13
13
14
-
# Deploy Node.js apps powered by Azure Cosmos DB with DevOps Projects
14
+
# Deploy Node.js apps powered by Azure Cosmos DB with DevOps Starter
15
15
16
-
Azure DevOps Projects offers a streamlined experience where you can create a continuous integration (CI) and continuous deployment (CD) pipeline to Azure. You do this by using your existing code and Git repository (repo) or by selecting a sample application.
16
+
Azure DevOps Starter offers a streamlined experience where you can create a continuous integration (CI) and continuous deployment (CD) pipeline to Azure. You do this by using your existing code and Git repository (repo) or by selecting a sample application.
17
17
18
-
DevOps Projects also:
18
+
DevOps Starter also:
19
19
20
20
* Automatically creates Azure resources, such as Azure Cosmos DB, Azure Application Insights, Azure App Service, and App Service plans
21
21
@@ -24,7 +24,7 @@ DevOps Projects also:
24
24
In this tutorial, you will:
25
25
26
26
> [!div class="checklist"]
27
-
> * Use DevOps Projects to deploy a Node.js app powered by Azure Cosmos DB
27
+
> * Use DevOps Starter to deploy a Node.js app powered by Azure Cosmos DB
28
28
> * Configure Azure DevOps and an Azure subscription
29
29
> * Examine Azure Cosmos DB
30
30
> * Examine the CI pipeline
@@ -36,25 +36,25 @@ In this tutorial, you will:
36
36
37
37
You need an Azure subscription, which you can get through [Visual Studio Dev Essentials](https://visualstudio.microsoft.com/dev-essentials/) for free.
38
38
39
-
## Use DevOps Projects to deploy Node.js app
39
+
## Use DevOps Starter to deploy Node.js app
40
40
41
-
DevOps Projects creates a CI/CD pipeline in Azure Pipelines. You can create a new Azure DevOps organization or use an existing organization. DevOps Projects also creates Azure resources, such as Azure Cosmos DB, Application Insights, App Service, and App Service plans, in the Azure subscription of your choice.
41
+
DevOps Starter creates a CI/CD pipeline in Azure Pipelines. You can create a new Azure DevOps organization or use an existing organization. DevOps Starter also creates Azure resources, such as Azure Cosmos DB, Application Insights, App Service, and App Service plans, in the Azure subscription of your choice.
42
42
43
43
1. Sign in to the [Azure portal](https://portal.azure.com).
44
44
45
45
1. In the left pane, select **Create a resource**.
46
46
47
-
1. In the search box, enter**DevOps Projects**, and then select**Add**.
47
+
1. In the search box, type**DevOps Starter**, and then select. Click on **Add** to create a new one.
1. Select **Node.js** as the runtime, and then select **Next**. Under **Choose an application framework**, select **Express.js**.
52
52
53
53
1. Enable the section **Add a database** for **Cosmos DB**, and then select **Next**.
54
54
55
55

56
56
57
-
Azure DevOps Projects supports various application frameworks, such as **Express.js**, **Sample Node.js app**, and **Sail.js**. In this tutorial, we use **Express.js**.
57
+
Azure DevOps Starter supports various application frameworks, such as **Express.js**, **Sample Node.js app**, and **Sail.js**. In this tutorial, we use **Express.js**.
58
58
59
59
1. Select an Azure service to deploy the application, and then select **Next**. Your options include Windows Web App, Azure Kubernetes Service, and Azure Web App for Containers. In this tutorial, we use **Windows Web App**.
60
60
@@ -72,15 +72,15 @@ DevOps Projects creates a CI/CD pipeline in Azure Pipelines. You can create a ne
72
72
73
73
1. The process finishes after a few minutes. A sample Node.js app is set up in a Git repo in your Azure DevOps organization. Then, Azure Cosmos DB, App Service, App Service plan, and Application Insights resources are created, as well as a CI/CD pipeline. Your app is then deployed to Azure.
74
74
75
-
After all these processes finish, the Azure DevOps Project dashboard displays in the Azure portal. You can also go to the DevOps Projects dashboard directly from **All resources** in the Azure portal.
75
+
After all these processes finish, the Azure DevOps Starter dashboard displays in the Azure portal. You can also go to the DevOps Starter dashboard directly from **All resources** in the Azure portal.
76
76
77
77
This dashboard provides visibility into your Azure DevOps code repository, your CI/CD pipeline, and your Azure Cosmos DB database. You can configure additional CI/CD options in your Azure DevOps pipeline. On the right side of the dashboard, select **Azure Cosmos DB** to view these options.
78
78
79
79
## Examine Azure Cosmos DB
80
80
81
-
DevOps Projects automatically configures Azure Cosmos DB, which you can explore and customize. To familiarize yourself with Azure Cosmos DB, do the following:
81
+
DevOps Starter automatically configures Azure Cosmos DB, which you can explore and customize. To familiarize yourself with Azure Cosmos DB, do the following:
@@ -90,17 +90,17 @@ DevOps Projects automatically configures Azure Cosmos DB, which you can explore
90
90
91
91
## Examine the CI pipeline
92
92
93
-
DevOps Projects automatically configures a CI/CD pipeline in your Azure DevOps organization. You can explore and customize the pipeline. To familiarize yourself with it, do the following:
93
+
DevOps Starter automatically configures a CI/CD pipeline in your Azure DevOps organization. You can explore and customize the pipeline. To familiarize yourself with it, do the following:
94
94
95
-
1. Go to the DevOps Projects dashboard.
95
+
1. Go to the DevOps Starter dashboard.
96
96
97
97
1. Select the hyperlink under **Build**. A browser tab displays the build pipeline for your new project.
1. Select **Edit**. In this pane, you can examine the various tasks for your build pipeline. The build performs various tasks, such as fetching source code from the Git repo, building the application, running unit tests, and publishing outputs that are used for deployments.
102
102
103
-
1. Select **Triggers**. DevOps Projects automatically creates a CI trigger, and every commit to the repo starts a new build. You can choose to include or exclude branches from the CI process.
103
+
1. Select **Triggers**. DevOps Starter automatically creates a CI trigger, and every commit to the repo starts a new build. You can choose to include or exclude branches from the CI process.
104
104
105
105
1. Select **Retention**. Depending on your scenario, you can specify policies to keep or remove a certain number of builds.
106
106
@@ -112,7 +112,7 @@ DevOps Projects automatically configures a CI/CD pipeline in your Azure DevOps o
112
112
113
113
## Examine the CD release pipeline
114
114
115
-
DevOps Projects automatically creates and configures the necessary steps to deploy from your Azure DevOps organization to your Azure subscription. These steps include configuring an Azure service connection to authenticate Azure DevOps to your Azure subscription. The automation also creates a release pipeline, which provides the CD to Azure. To learn more about the release pipeline, do the following:
115
+
DevOps Starter automatically creates and configures the necessary steps to deploy from your Azure DevOps organization to your Azure subscription. These steps include configuring an Azure service connection to authenticate Azure DevOps to your Azure subscription. The automation also creates a release pipeline, which provides the CD to Azure. To learn more about the release pipeline, do the following:
116
116
117
117
1. Go to **Pipelines** and select **Releases**.
118
118
@@ -145,18 +145,18 @@ You're now ready to collaborate with a team on your app by using a CI/CD process
145
145
146
146
1. In the upper-right corner, select **Commit**, and then select **Commit** again to push your change.
147
147
148
-
After a few seconds, a build starts in Azure DevOps and a release executes to deploy the changes. Monitor the build status on the DevOps Projects dashboard or in the browser with your Azure DevOps organization.
148
+
After a few seconds, a build starts in Azure DevOps and a release executes to deploy the changes. Monitor the build status on the DevOps Starter dashboard or in the browser with your Azure DevOps organization.
149
149
150
150
## Clean up resources
151
151
152
-
Delete the related resources you've created when you don't need them anymore. Use the **Delete** functionality on the DevOps Projects dashboard.
152
+
Delete the related resources you've created when you don't need them anymore. Use the **Delete** functionality on the DevOps Starter dashboard.
153
153
154
154
## Next steps
155
155
156
156
You can modify these build and release pipelines to meet the needs of your team. You can also use this CI/CD pattern as a template for your other pipelines. In this tutorial, you learned how to:
157
157
158
158
> [!div class="checklist"]
159
-
> * Use DevOps Projects to deploy a Node.js app powered by Azure Cosmos DB
159
+
> * Use DevOps Starter to deploy a Node.js app powered by Azure Cosmos DB
160
160
> * Configure Azure DevOps and an Azure subscription
0 commit comments