Skip to content

Commit 3518c10

Browse files
committed
ms.date and acrolinx
1 parent 601aa62 commit 3518c10

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

articles/cloud-services/cloud-services-connect-to-custom-domain.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Connect a Cloud Service (classic) to a custom Domain Controller | Microso
33
description: Learn how to connect your web/worker roles to a custom AD Domain using PowerShell and AD Domain Extension
44
ms.topic: article
55
ms.service: cloud-services
6-
ms.date: 02/21/2023
6+
ms.date: 07/23/2024
77
author: hirenshah1
88
ms.author: hirshah
99
ms.reviewer: mimckitt
@@ -14,22 +14,22 @@ ms.custom: compute-evergreen
1414

1515
[!INCLUDE [Cloud Services (classic) deprecation announcement](includes/deprecation-announcement.md)]
1616

17-
We will first set up a Virtual Network (VNet) in Azure. We will then add an Active Directory Domain Controller (hosted on an Azure Virtual Machine) to the VNet. Next, we will add existing cloud service roles to the pre-created VNet, then connect them to the Domain Controller.
17+
We first set up a virtual network in Azure. We then add an Active Directory Domain Controller (hosted on an Azure Virtual Machine) to the virtual network. Next, we add existing cloud service roles to the precreated virtual network, then connect them to the Domain Controller.
1818

1919
Before we get started, couple of things to keep in mind:
2020

2121
1. This tutorial uses PowerShell, so make sure you have Azure PowerShell installed and ready to go. To get help with setting up Azure PowerShell, see [How to install and configure Azure PowerShell](/powershell/azure/).
22-
2. Your AD Domain Controller and Web/Worker Role instances need to be in the VNet.
22+
2. Your AD Domain Controller and Web/Worker Role instances need to be in the virtual network.
2323

24-
Follow this step-by-step guide and if you run into any issues, leave us a comment at the end of the article. Someone will get back to you (yes, we do read comments).
24+
Follow this step-by-step guide and if you run into any issues, leave us a comment at the end of the article.
2525

2626
The network that is referenced by the cloud service must be a **classic virtual network**.
2727

28-
## Create a Virtual Network
29-
You can create a Virtual Network in Azure using the Azure portal or PowerShell. For this tutorial, PowerShell is used. To create a virtual network using the Azure portal, see [Create a virtual network](../virtual-network/quick-create-portal.md). The article covers creating a virtual network (Resource Manager), but you must create a virtual network (Classic) for cloud services. To do so, in the portal, select **Create a resource**, type *virtual network* in the **Search** box, and then press **Enter**. In the search results, under **Everything**, select **Virtual network**. Under **Select a deployment model**, select **Classic**, then select **Create**. You can then follow the steps in the article.
28+
## Create a virtual network
29+
You can create a virtual network in Azure using the Azure portal or PowerShell. For this tutorial, PowerShell is used. To create a virtual network using the Azure portal, see [Create a virtual network](../virtual-network/quick-create-portal.md). The article covers creating a virtual network (Resource Manager), but you must create a virtual network (Classic) for cloud services. To do so, in the portal, select **Create a resource**, type *virtual network* in the **Search** box, and then press **Enter**. In the search results, under **Everything**, select **virtual network**. Under **Select a deployment model**, select **Classic**, then select **Create**. You can then follow the steps in the article.
3030

3131
```powershell
32-
#Create Virtual Network
32+
#Create virtual network
3333
3434
$vnetStr =
3535
@"<?xml version="1.0" encoding="utf-8"?>
@@ -56,9 +56,9 @@ Set-AzureVNetConfig -ConfigurationPath $vnetConfigPath
5656
```
5757

5858
## Create a Virtual Machine
59-
Once you have completed setting up the Virtual Network, you will need to create an AD Domain Controller. For this tutorial, we will be setting up an AD Domain Controller on an Azure Virtual Machine.
59+
Once you complete setting up the virtual network, you need to create an AD Domain Controller. For this tutorial, we set up an AD Domain Controller on an Azure Virtual Machine (VM).
6060

61-
To do this, create a virtual machine through PowerShell using the following commands:
61+
Create a virtual machine through PowerShell using the following commands:
6262

6363
```powershell
6464
# Initialize variables
@@ -72,25 +72,25 @@ $username = '<your-username>'
7272
$password = '<your-password>'
7373
$affgrp = '<your- affgrp>'
7474
75-
# Create a VM and add it to the Virtual Network
75+
# Create a VM and add it to the virtual network
7676
7777
New-AzureQuickVM -Windows -ServiceName $vmsvc1 -Name $vm1 -ImageName $imgname -AdminUsername $username -Password $password -AffinityGroup $affgrp -SubnetNames $subnetname -VNetName $vnetname
7878
```
7979

8080
## Promote your Virtual Machine to a Domain Controller
81-
To configure the Virtual Machine as an AD Domain Controller, you will need to log in to the VM and configure it.
81+
To configure the Virtual Machine as an AD Domain Controller, you need to sign in to the VM and configure it.
8282

83-
To log in to the VM, you can get the RDP file through PowerShell, use the following commands:
83+
To sign in to the VM, you can get the remote desktop protocol (RDP) file through PowerShell, use the following commands:
8484

8585
```powershell
8686
# Get RDP file
8787
Get-AzureRemoteDesktopFile -ServiceName $vmsvc1 -Name $vm1 -LocalPath <rdp-file-path>
8888
```
8989

90-
Once you are signed in to the VM, set up your Virtual Machine as an AD Domain Controller by following the step-by-step guide on [How to set up your customer AD Domain Controller](https://social.technet.microsoft.com/wiki/contents/articles/12370.windows-server-2012-set-up-your-first-domain-controller-step-by-step.aspx).
90+
Once you sign into the VM, set up your Virtual Machine as an AD Domain Controller by following the step-by-step guide on [How to set up your customer AD Domain Controller](https://social.technet.microsoft.com/wiki/contents/articles/12370.windows-server-2012-set-up-your-first-domain-controller-step-by-step.aspx).
9191

92-
## Add your Cloud Service to the Virtual Network
93-
Next, you need to add your cloud service deployment to the new VNet. To do this, modify your cloud service cscfg by adding the relevant sections to your cscfg using Visual Studio or the editor of your choice.
92+
## Add your Cloud Service to the virtual network
93+
Next, you need to add your cloud service deployment to the new virtual network. To add your cloud service deployment, modify your cloud service cscfg by adding the relevant sections to your cscfg using Visual Studio or the editor of your choice.
9494

9595
```xml
9696
<ServiceConfiguration serviceName="[hosted-service-name]" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="[os-family]" osVersion="*">

0 commit comments

Comments
 (0)