Skip to content

Commit 80518b0

Browse files
authored
Merge pull request #49536 from lootle1/MR77
Technical Review 1037285: Create a Windows virtual machine in Azure
2 parents 430b68d + bfa2ffd commit 80518b0

11 files changed

+39
-39
lines changed

learn-pr/azure/create-windows-virtual-machine-in-azure/1-introduction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Introduction
44
metadata:
55
title: Introduction
66
description: Introduction
7-
ms.date: 03/15/2024
7+
ms.date: 03/17/2025
88
author: ju-shim
99
ms.author: jushiman
1010
ms.topic: unit

learn-pr/azure/create-windows-virtual-machine-in-azure/2-create-a-windows-virtual-machine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Create a Windows virtual machine in Azure
44
metadata:
55
title: Create a Windows virtual machine in Azure
66
description: Create a Windows virtual machine in Azure
7-
ms.date: 03/15/2024
7+
ms.date: 03/17/2025
88
author: ju-shim
99
ms.author: jushiman
1010
ms.topic: unit

learn-pr/azure/create-windows-virtual-machine-in-azure/3-exercise-create-a-vm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Create a Windows virtual machine
44
metadata:
55
title: Exercise - Create a Windows virtual machine
66
description: Exercise - Create a Windows virtual machine
7-
ms.date: 03/15/2024
7+
ms.date: 03/17/2025
88
author: ju-shim
99
ms.author: jushiman
1010
ms.topic: unit

learn-pr/azure/create-windows-virtual-machine-in-azure/4-connect-to-a-windows-virtual-machine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Use RDP to connect to Windows Azure virtual machines
44
metadata:
55
title: Use RDP to connect to Windows Azure virtual machines
66
description: Use RDP to connect to Windows Azure virtual machines
7-
ms.date: 03/15/2024
7+
ms.date: 03/17/2025
88
author: ju-shim
99
ms.author: jushiman
1010
ms.topic: unit

learn-pr/azure/create-windows-virtual-machine-in-azure/5-exercise-connect-to-a-windows-vm-using-rdp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Connect to a Windows virtual machine using RDP
44
metadata:
55
title: Exercise - Connect to a Windows virtual machine using RDP
66
description: Exercise - Connect to a Windows virtual machine using RDP
7-
ms.date: 03/15/2024
7+
ms.date: 03/17/2025
88
author: ju-shim
99
ms.author: jushiman
1010
ms.topic: unit

learn-pr/azure/create-windows-virtual-machine-in-azure/6-manage-vm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Configure Azure virtual machine network settings
44
metadata:
55
title: Configure Azure virtual machine network settings
66
description: Configure Azure virtual machine network settings
7-
ms.date: 03/15/2024
7+
ms.date: 03/17/2025
88
author: ju-shim
99
ms.author: jushiman
1010
ms.topic: unit

learn-pr/azure/create-windows-virtual-machine-in-azure/8-summary.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Summary
44
metadata:
55
title: Summary
66
description: Summary
7-
ms.date: 03/15/2024
7+
ms.date: 03/17/2025
88
author: ju-shim
99
ms.author: jushiman
1010
ms.topic: unit
@@ -18,10 +18,10 @@ quiz:
1818
choices:
1919
- content: "HTTPS"
2020
isCorrect: false
21-
explanation: "The remote-desktop connection does not use the HTTPS protocol."
21+
explanation: "The remote-desktop connection doesn't use the HTTPS protocol."
2222
- content: "SSH (22)"
2323
isCorrect: false
24-
explanation: "The remote-desktop connection does not use SSH."
24+
explanation: "The remote-desktop connection doesn't use SSH."
2525
- content: "RDP (3389)"
2626
isCorrect: true
2727
explanation: "The Remote Desktop Protocol (RDP) uses port 3389 by default, so this port is the standard port you would open if you wanted to use an RDP client to administer your Windows virtual machines."
@@ -32,18 +32,18 @@ quiz:
3232
explanation: "You can store data files on the OS disk; however, you may want to optimize that disk for OS performance by selecting a Premium SSD type, which could be an expensive way to store your data."
3333
- content: "Temporary disk (D:)"
3434
isCorrect: false
35-
explanation: "The temporary disk is not persistent. You should not write important data to this disk."
35+
explanation: "The temporary disk isn't persistent. You shouldn't write important data to this disk."
3636
- content: "Attached data disk"
3737
isCorrect: true
3838
explanation: "Dedicated data disks are considered the best place to store application data files. They can be larger than OS disks and you can optimize them for the cost and performance characteristics appropriate for your data."
3939
- content: "What is the final rule that is applied in every Network Security Group?"
4040
choices:
4141
- content: "Allow All"
4242
isCorrect: false
43-
explanation: "This could allow unwanted traffic to gain access if your rules are not configured correctly."
43+
explanation: "This could allow unwanted traffic to gain access if your rules aren't configured correctly."
4444
- content: "Deny All"
4545
isCorrect: true
4646
explanation: "This is a safe choice. It blocks all traffic that you don't specifically allow."
4747
- content: "You configure the final rule to your needs."
4848
isCorrect: false
49-
explanation: "The final rule is added automatically when the security group is created, and you cannot change it."
49+
explanation: "The final rule is added automatically when the security group is created, and you can't change it."

learn-pr/azure/create-windows-virtual-machine-in-azure/includes/2-create-a-windows-virtual-machine.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ The Azure Marketplace also provides preconfigured images that include both an OS
1616

1717
When creating a Windows VM in Azure, you also create resources to host the VM. These resources work together to virtualize a computer and run the Windows operating system. These must either exist (and be selected during VM creation), or they'll be created with the VM.
1818

19-
- A virtual machine that provides CPU and memory resources
20-
- An Azure Storage account to hold the virtual hard disks
21-
- Virtual disks to hold the OS, applications, and data
22-
- A virtual network (VNet) to connect the VM to other Azure services or your own on-premises hardware
23-
- A network interface to communicate with the VNet
24-
- A public IP address so you can access the VM (this is optional)
19+
- A virtual machine that provides CPU and memory resources.
20+
- An Azure Storage account to hold the virtual hard disks.
21+
- Virtual disks to hold the OS, applications, and data.
22+
- A virtual network (VNet) to connect the VM to other Azure services or your own on-premises hardware.
23+
- A network interface to communicate with the VNet.
24+
- A public IP address so you can access the VM (this is optional).
2525

2626
Like other Azure services, you'll need a **resource group** to contain the VM (and optionally group these resources together for administration). When you create a new VM, you can either use an existing resource group or create a new one.
2727

@@ -41,18 +41,18 @@ Just as a physical machine has a certain amount of memory and CPU power, so does
4141
> [!WARNING]
4242
> There are quota limits on each subscription that can impact VM creation. In the classic deployment model, you can't have more than 20 virtual *cores* across all VMs within a region. You can either split up VMs across regions or file an [online request](/azure/azure-supportability/resource-manager-core-quotas-request) to increase your limits.
4343
44-
VM sizes are grouped into categories, starting with the B-series for basic testing, and running up to the H-series for massive computing tasks. You should select the VM's size based on the workload you want to perform. It's possible to change a VM's size after it's been created, but the VM must be stopped first, so it's best to size it appropriately from the start if possible.
44+
VM sizes are grouped into categories, starting with the B-series for basic testing, and running up to the H-series for massive computing tasks. You should select the VM's size based on the workload you want to perform. It's possible to change a VM's size after it's been created, but the VM must be stopped first. So it's best to size it appropriately from the start if possible.
4545

46-
### Here are some guidelines based on the scenario you're targeting:
46+
### Here are some guidelines based on the scenario you're targeting
4747

4848
| What are you doing? | Consider these sizes |
4949
|-------|------------------|
50-
| **General use computing/web**: Testing and development, small to medium databases, or low to medium traffic web servers | B, Dsv3, Dv3, DSv2, Dv2 |
51-
| **Heavy computational tasks**: Medium traffic web servers, network appliances, batch processes, and application servers | Fsv2, Fs, F |
50+
| **General use computing/web**: Testing and development, small to medium databases, or low to medium traffic web servers. | B, Dsv3, Dv3, DSv2, Dv2 |
51+
| **Heavy computational tasks**: Medium traffic web servers, network appliances, batch processes, and application servers. | Fsv2, Fs, F |
5252
| **Large memory usage**: Relational database servers, medium to large caches, and in-memory analytics. | Esv3, Ev3, M, GS, G, DSv2, Dv2 |
53-
| **Data storage and processing**: Big Data, SQL, and NoSQL databases, which need high disk throughput and IO | Ls |
54-
| **Heavy graphics rendering** or video editing, as well as model training and inferencing (ND) with deep learning | NV, NC, NCv2, NCv3, ND |
55-
| **High-performance computing (HPC)**: If you need the fastest and most powerful CPU virtual machines with optional high-throughput network interfaces | H |
53+
| **Data storage and processing**: Big Data, SQL, and NoSQL databases, which need high disk throughput and IO. | Ls |
54+
| **Heavy graphics rendering** or video editing, as well as model training and inferencing (ND) with deep learning. | NV, NC, NCv2, NCv3, ND |
55+
| **High-performance computing (HPC)**: If you need the fastest and most powerful CPU virtual machines with optional high-throughput network interfaces. | H |
5656

5757
## Choose storage options
5858

@@ -72,7 +72,7 @@ By default, two virtual hard disks (VHDs) will be created for your Windows VM:
7272
1. **A Temporary disk**: This provides temporary storage for the OS or any apps. It's configured as the D: drive by default and is sized based on the VM size, making it an ideal location for the Windows paging file.
7373

7474
> [!WARNING]
75-
> The temporary disk is not persistent. You should only write data to this disk that you're willing to lose at any time.
75+
> The temporary disk isn't persistent. You should only write data to this disk that you're willing to lose at any time.
7676
7777
#### What about data?
7878

@@ -102,6 +102,6 @@ Virtual machines communicate with external resources using a virtual network (VN
102102

103103
When you create a new VM, you'll have the option of creating a new virtual network or using an existing VNet in your region.
104104

105-
Having Azure create the network together with the VM is simple, but it's likely not ideal for most scenarios. It's better to plan your network requirements *up front* for all the components in your architecture and create the VNet structure you'll need separately and then create the VMs and place them into the already-created VNets.
105+
Having Azure create the network together with the VM is simple, but it's likely not ideal for most scenarios. It's better to plan your network requirements *up front* for all the components in your architecture, and create the VNet structure you'll need separately. Then create the VMs, and place them into the already-created VNets.
106106

107107
We'll look more at virtual networks a bit later in this module. Let's apply some of this knowledge and create a VM in Azure.

learn-pr/azure/create-windows-virtual-machine-in-azure/includes/4-connect-to-a-windows-virtual-machine.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Now that you have a Windows VM in Azure, the next thing youll do is put your applications and data on those VMs to process our traffic videos.
1+
Now that you have a Windows VM in Azure, the next thing you'll do is put your applications and data on those VMs to process our traffic videos.
22

3-
However, unless youve set up a site-to-site VPN to Azure, your Azure VMs wont be accessible from your local network. If youre just getting started with Azure, its unlikely that you have a working site-to-site VPN, so how can you transfer files to Azure VMs? One easy way is to use Azures Remote Desktop Connections feature to share your local drives with your new Azure VMs.
3+
However, unless you've set up a site-to-site VPN to Azure, your Azure VMs won't be accessible from your local network. If you're just getting started with Azure, it's unlikely that you have a working site-to-site VPN. So how can you transfer files to Azure VMs? One easy way is to use Azure's Remote Desktop Connections feature to share your local drives with your new Azure VMs.
44

55
Now that we have a new Windows virtual machine, we need to install our custom software onto it. There are several options to choose from:
66

@@ -35,7 +35,7 @@ One thing to be aware of with public IP addresses in Azure is they're often dyna
3535

3636
### How do you connect to a VM in Azure using RDP?
3737

38-
Connecting to a VM in Azure using RDP is a simple process. In the Azure portal, you'll go to your VM's properties, and at the top, select **Connect**. This shows you the IP addresses assigned to the VM and give you the option to download a **preconfigured.rdp** file that Windows then opens in the RDP client. You can choose to connect over the public IP address of the VM in the RDP file. Instead, if you're connecting over VPN or ExpressRoute, you can select the internal IP address. You can also select the port number for the connection.
38+
Connecting to a VM in Azure using RDP is a simple process. In the Azure portal, you'll go to your VM's properties, and at the top, select **Connect**. This shows you the IP addresses assigned to the VM and gives you the option to download a **preconfigured.rdp** file that Windows then opens in the RDP client. You can choose to connect over the public IP address of the VM in the RDP file. Instead, if you're connecting over VPN or ExpressRoute, you can select the internal IP address. You can also select the port number for the connection.
3939

4040
If you're using a static public IP address for the VM, you can save the **.rdp** file to your desktop. If you're using dynamic IP addressing, the **.rdp** file only remains valid while the VM is running. If you stop and restart the VM, you must download another **.rdp** file.
4141

@@ -44,8 +44,8 @@ If you're using a static public IP address for the VM, you can save the **.rdp**
4444
4545
When you connect, you'll typically receive two warnings. These are:
4646

47-
- **Publisher warning**: caused by the **.rdp** file not being publicly signed
48-
- **Certificate warning**: caused by the machine certificate not being trusted
47+
- **Publisher warning**: caused by the **.rdp** file not being publicly signed.
48+
- **Certificate warning**: caused by the machine certificate not being trusted.
4949

5050
In test environments, you can ignore these warnings. In production environments, the **.rdp** file can be signed using **RDPSIGN.EXE** and the machine certificate placed in the client's **Trusted Root Certification Authorities** store.
5151

learn-pr/azure/create-windows-virtual-machine-in-azure/includes/5-exercise-connect-to-a-windows-vm-using-rdp.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
We have our Windows VM deployed and running, but it's not configured to do any work.
22

3-
Recall that our scenario is a video-processing system. Our platform receives files through FTP. The traffic cameras upload video clips to a known URL, which is mapped to a folder on the server. The custom software on each Windows VM runs as a service and watches the folder and processes each uploaded clip. It then passes the normalized video to our algorithms running on other Azure services.
3+
Recall that our scenario is a video-processing system. Our platform receives files through FTP. The traffic cameras upload video clips to a known URL, which is mapped to a folder on the server. The custom software on each Windows VM runs as a service, watches the folder, and processes each uploaded clip. It then passes the normalized video to our algorithms running on other Azure services.
44

55
There are a few things we'd need to configure to support this scenario:
66

7-
- Install FTP and open the ports it needs to communicate
8-
- Install the proprietary video codec unique to the city's camera system
9-
- Install our transcoding service that processes uploaded videos
7+
- Install FTP and open the ports it needs to communicate.
8+
- Install the proprietary video codec unique to the city's camera system.
9+
- Install our transcoding service that processes uploaded videos.
1010

1111
Many of these are typical administrative tasks we won't actually cover here, and we don't have software to install. Instead, we'll walk through the steps and show you how you *could* install custom or third-party software using Remote Desktop. Let's start by getting the connection information.
1212

@@ -17,7 +17,7 @@ To connect to an Azure VM with an RDP client, you'll need:
1717
- Public IP address of the VM (or private if the VM is configured to connect to your network)
1818
- Port number
1919

20-
You can enter this information into the RDP client, or download a pre-configured **RDP** file.
20+
You can enter this information into the RDP client, or download a preconfigured **RDP** file.
2121

2222
> [!NOTE]
2323
> An **RDP** file is a text file that contains a set of name/value pairs that define the connection parameters for an RDP client to connect to a remote computer using the Remote Desktop Protocol.
@@ -82,7 +82,7 @@ We have two approaches we can use to install software. First, this VM is connect
8282

8383
With access to your local drive, you can copy the files for the custom software onto the VM and install the software. We won't actually do that because it's just a simulated scenario, but you can imagine how it would work.
8484

85-
The more interesting thing to observe in the list of drives is what is *missing*. Notice that our **Data** drive is not present. Azure added a VHD, but didn't initialize it.
85+
The more interesting thing to observe in the list of drives is what is *missing*. Notice that our **Data** drive isn't present. Azure added a VHD, but didn't initialize it.
8686

8787
## Initialize data disks
8888

0 commit comments

Comments
 (0)