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
1. On the **Basics** tab under **Cloud service configuration, package, and service definition**, add your package (.cspkg, .zip) file, configuration (.cscfg) file, and definition (.csdef) file for the deployment. You can add existing files from blob storage or upload the files from your local machine. If you upload the files from your local machine, the files are stored in a storage account in Azure.
44
+
1. On the **Basics** tab under **Cloud service configuration, package, and service definition**, add your package (.cspkg or .zip) file, configuration (.cscfg) file, and definition (.csdef) file for the deployment. You can add existing files from blob storage or upload the files from your local machine. If you upload the files from your local machine, the files are stored in a storage account in Azure.
45
45
46
46
:::image type="content" source="media/deploy-portal-4.png" alt-text="Screenshot that shows the section of the Basics tab where you upload files and select storage.":::
description: Deploy an Azure Cloud Service (extended support) using Azure PowerShell
3
+
description: Deploy Azure Cloud Services (extended support) by using Azure PowerShell.
4
4
ms.topic: quickstart
5
5
ms.service: cloud-services-extended-support
6
6
author: gachandw
7
7
ms.author: gachandw
8
8
ms.reviewer: mimckitt
9
-
ms.date: 10/13/2020
9
+
ms.date: 06/18/2024
10
10
ms.custom: devx-track-azurepowershell
11
11
---
12
12
13
-
# Deploy a Cloud Service (extended support) by using Azure PowerShell
13
+
# Deploy Cloud Services (extended support) by using Azure PowerShell
14
14
15
-
This article shows how to use the Az.CloudService Azure PowerShell module to create an Azure Cloud Services (extended support) deployment that has multiple roles (WebRole and WorkerRole).
15
+
This article shows you how to use the Az.CloudService Azure PowerShell module to create an Azure Cloud Services (extended support) deployment that has multiple roles (WebRole and WorkerRole).
16
16
17
17
## Prerequisites
18
18
@@ -32,7 +32,7 @@ Complete the following steps as prerequisites to creating your deployment by usi
1. Create a storage account and container in Azure to store the package (.cspkg) file and configuration (.cscfg) file for the Cloud Services (extended support) deployment. You must use a unique name for the storage account name. This step is optional if you use an existing storage account.
35
+
1. Create a storage account and container in Azure to store the package (.cspkg or .zip) file and configuration (.cscfg) file for the Cloud Services (extended support) deployment. You must use a unique name for the storage account name. This step is optional if you use an existing storage account.
@@ -45,7 +45,7 @@ Use any of the following Azure PowerShell cmdlets to deploy Cloud Services (exte
45
45
46
46
- Quick-create a deployment by using a [storage account](#quick-create-a-deployment-by-using-a-storage-account)
47
47
48
-
- This parameter set inputs the package (.cspkg) file, configuration (.cscfg) file, and definition (.csdef) file for the deployment as inputs with the storage account.
48
+
- This parameter set inputs the package (.cspkg or .zip) file, the configuration (.cscfg) file, and the definition (.csdef) file for the deployment as inputs with the storage account.
49
49
- The Cloud Services (extended support) role profile, network profile, and OS profile are created by the cmdlet with minimal input.
50
50
- To input a certificate, you must specify a key vault name. The certificate thumbprints in the key vault are validated against the certificates that you specify in the configuration (.cscfg) file for the deployment.
1. Create a key vault. The key vault stores certificates that are associated with Cloud Service (extended support) roles. The key vault must be in the same region and subscription as the Cloud Service (extended support) deployment and have a unique name. For more information, see [Use certificates with Azure Cloud Services (extended support)](certificates-and-key-vault.md).
155
+
1. Create a key vault. The key vault stores certificates that are associated with Cloud Services (extended support) roles. The key vault must be in the same region and subscription as the Cloud Services (extended support) deployment and have a unique name. For more information, see [Use certificates with Cloud Services (extended support)](certificates-and-key-vault.md).
1. In this example, you add a self-signed certificate to a key vault. You must add the certificate thumbprint via the deployment configuration (.cscfg) file for Cloud Services (extended support) roles.
174
+
1. Th following example adds a self-signed certificate to a key vault. You must add the certificate thumbprint via the configuration (.cscfg) file for Cloud Services (extended support) roles.
Copy file name to clipboardExpand all lines: articles/cloud-services-extended-support/deploy-prerequisite.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,16 +13,18 @@ ms.date: 06/16/2024
13
13
14
14
To help ensure a successful Azure Cloud Services (extended support) deployment, review the following steps. Complete each prerequisitive before you begin to create a deployment.
15
15
16
-
## Required service configuration (.cscfg) file updates
16
+
## Required configuration (.cscfg) file updates
17
+
18
+
Use the information in the following sections to make required updates to the configuration (.cscfg) file for your Cloud Services (extended support) deployment.
17
19
18
20
### Virtual network
19
21
20
-
Cloud Services (extended support) deployments must be in a virtual network. You can create a virtual network by using the [Azure portal](../virtual-network/quick-create-portal.md), [Azure PowerShell](../virtual-network/quick-create-powershell.md), the [Azure CLI](../virtual-network/quick-create-cli.md), or an [Azure Resource Manager template (ARM template)](../virtual-network/quick-create-template.md). The virtual network and subnets must be referenced in the [NetworkConfiguration](schema-cscfg-networkconfiguration.md) section of the .cscfg file.
22
+
Cloud Services (extended support) deployments must be in a virtual network. You can create a virtual network by using the [Azure portal](../virtual-network/quick-create-portal.md), [Azure PowerShell](../virtual-network/quick-create-powershell.md), the [Azure CLI](../virtual-network/quick-create-cli.md), or an [Azure Resource Manager template (ARM template)](../virtual-network/quick-create-template.md). The virtual network and subnets must be referenced in the [NetworkConfiguration](schema-cscfg-networkconfiguration.md) section of the configuration (.cscfg) file.
21
23
22
-
For a virtual network that is in the same resource group as the cloud service, referencing only the virtual network name in the .cscfg file is sufficient. If the virtual network and cloud service are in two different resource groups, specify the complete Azure Resource Manager ID of the virtual network in the .cscfg file.
24
+
For a virtual network that is in the same resource group as the cloud service, referencing only the virtual network name in the configuration (.cscfg) file is sufficient. If the virtual network and Cloud Services (extended support) are in two different resource groups, specify the complete Azure Resource Manager ID of the virtual network in the configuration (.cscfg) file.
23
25
24
26
> [!NOTE]
25
-
> If the virtual network and cloud service are located in different resource groups, you can't use Visual Studio 2019 for your deployment. For this scenario, consider using an ARM template or the Azure portal to create your deployment.
27
+
> If the virtual network and Cloud Services (extended support) are located in different resource groups, you can't use Visual Studio 2019 for your deployment. For this scenario, consider using an ARM template or the Azure portal to create your deployment.
26
28
27
29
#### Virtual network in the same resource group
28
30
@@ -52,7 +54,7 @@ For a virtual network that is in the same resource group as the cloud service, r
52
54
53
55
### Remove earlier versions of plugins
54
56
55
-
Remove earlier versions of remote desktop settings from the .cscfg file:
57
+
Remove earlier versions of remote desktop settings from the configuration (.cscfg) file:
> If you make changes to the service definition (.csdef) file, you must generate the package (.cspkg) file again. Build and repackage your .cspkg file after you make the following changes in the .csdef file to get the latest settings for your cloud service.
76
+
> If you make changes to the definition (.csdef) file, you must generate the package (.cspkg or .zip) file again. Build and repackage your package (.cspkg or .zip) file after you make the following changes in the definition (.csdef) file to get the latest settings for your cloud service.
75
77
76
78
### Virtual machine sizes
77
79
@@ -105,7 +107,7 @@ For example, `<WorkerRole name="WorkerRole1" vmsize="Medium">` becomes `<WorkerR
105
107
106
108
### Remove earlier versions of remote desktop plugins
107
109
108
-
For deployments that use earlier versions of remote desktop plugins, remove the modules from the .csdef file and from any associated certificates:
110
+
For deployments that use earlier versions of remote desktop plugins, remove the modules from the definition (.csdef) file and from any associated certificates:
109
111
110
112
```xml
111
113
<Imports>
@@ -114,19 +116,19 @@ For deployments that use earlier versions of remote desktop plugins, remove the
114
116
</Imports>
115
117
```
116
118
117
-
For deployments that use earlier versions of diagnostics plugins, remove the settings for each role from the .csdef file:
119
+
For deployments that use earlier versions of diagnostics plugins, remove the settings for each role from the definition (.csdef) file:
The subscription that contains networking resources must have [Network Contributor](../role-based-access-control/built-in-roles.md#network-contributor) or greater access for Cloud Services (extended support). For more information, see [RBAC built-in roles](../role-based-access-control/built-in-roles.md).
127
+
The subscription that contains networking resources must have the [Network Contributor](../role-based-access-control/built-in-roles.md#network-contributor) or greater role for Cloud Services (extended support). For more information, see [RBAC built-in roles](../role-based-access-control/built-in-roles.md).
126
128
127
129
## Key vault creation
128
130
129
-
Azure Key Vault is used to store certificates that are associated with Cloud Services (extended support). Add the certificates to Key Vault, and then reference the certificate thumbprints in your service configuration file. You also must enable the Key Vault access policy (in the portal) for *Azure Virtual Machines for deployment* so that the Cloud Services (extended support) resource can retrieve the certificate that's stored as secrets from Key Vault. You can create a key vault in the [Azure portal](../key-vault/general/quick-create-portal.md) or by using [PowerShell](../key-vault/general/quick-create-powershell.md). You must create the key vault in the same region and subscription as the cloud service. For more information, see [Use certificates with Azure Cloud Services (extended support)](certificates-and-key-vault.md).
131
+
Azure Key Vault stores certificates that are associated with Cloud Services (extended support). Add the certificates to a key vault, and then reference the certificate thumbprints in the configuration (.cscfg) file for your deployment. You also must enable the key vault access policy (in the portal) for **Azure Virtual Machines for deployment** so that the Cloud Services (extended support) resource can retrieve the certificate that's stored as secrets in the key vault. You can create a key vault in the [Azure portal](../key-vault/general/quick-create-portal.md) or by using [PowerShell](../key-vault/general/quick-create-powershell.md). You must create the key vault in the same region and subscription as the cloud service. For more information, see [Use certificates with Cloud Services (extended support)](certificates-and-key-vault.md).
0 commit comments