in this basic lab we will cover the following: 1. Create windows server 2016 VM on Microsoft Azure 2. How to access the VM 3. Configure the VM to use static IP address 4. Configure the VM to use specific DNS server 5. Add new permanent data disk to the VM 6. attach disks
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Create and Configure Windows Server 2016 VM in the Azure Step by Step
1. Create and Configure a VM in the Azure Step by Step
Basic Lab (V2.0)
Ahmed Abdelwahed
Microsoft Certified Trainer
Ahmed_abdulwahed@outlook.com
2. Create and Configure a VM in the Azure Step by Step
2 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Contents
Create Windows Server 2016 VM On Microsoft Azure.............................................................................................................3
Create Windows Server 2016 Data Center VM step by step ................................................................................................3
Access Azure VM ...................................................................................................................................................................8
Configure Windows Server 2016 VM on Azure.......................................................................................................................10
Network...............................................................................................................................................................................10
Assign static IP address for Azure VM.............................................................................................................................10
Configure DNS .................................................................................................................................................................12
Storage ................................................................................................................................................................................13
Create and attach data disk to Azure VM .......................................................................................................................13
3. Create and Configure a VM in the Azure Step by Step
3 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Install Windows Server 2016 VM On Microsoft Azure
Install Windows Server 2016 Data Center VM step by step
1. Login to Microsoft Azure Portal and follow steps as explained in the figures below.
4. Create and Configure a VM in the Azure Step by Step
4 | P a g e
http://www.mycertprofile.com/Profile/3992184764
2. Configure VM basic settings including:
1- VM Name (special characters not allowed)
2- Hard Disk type: SSD or HDD
3- Create a local account on the VM with strong password (used for sign in to the VM).
4- Select your subscription.
5- Use exiting resource group or create new one
6- Azure allows you to create resources, such as VMs, in geographic regions, so select
region where you want the VM to run (There are 34 geographic regions for Microsoft
Azure).
Resource group is logically group related resources such as storage
accounts, virtual networks, and virtual machines (VMs) to deploy, manage,
and maintain them as a single entity.
docs.microsoft.com
5. Create and Configure a VM in the Azure Step by Step
5 | P a g e
http://www.mycertprofile.com/Profile/3992184764
3. Select VM size that will determine VM configuration including RAM size, processor cores,
storage size which will affect estimated monthly cost. In this lab DS1_V2 Standard is our
selected VM size.
6. Create and Configure a VM in the Azure Step by Step
6 | P a g e
http://www.mycertprofile.com/Profile/3992184764
4. Configure optional features for example you can create virtual network and assign specific IP
addresses to it or you can leave this option by default and azure will configure this options for
you.
7. Create and Configure a VM in the Azure Step by Step
7 | P a g e
http://www.mycertprofile.com/Profile/3992184764
5. Before start VM creation Azure validate your configuration
8. Create and Configure a VM in the Azure Step by Step
8 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Access Azure VM
Once your VM is created Microsoft Azure assign public IP address to it so you can access your VM
through Remote Desktop with your local account credentials that you are created.
Now you can connect through remote desktop by click Connect tab as explained in the figures
below
9. Create and Configure a VM in the Azure Step by Step
9 | P a g e
http://www.mycertprofile.com/Profile/3992184764
10. Create and Configure a VM in the Azure Step by Step
10 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Finally, we sign in Windows Server 2016 VM which we created.
Configure Windows Server 2016 VM on Azure
Network
Assign static IP address for Azure VM
By default, there is two IP address assign dynamically to your VM one private and another is public, to
change private IP address for Azure VM you should finish it from Azure Portal, as explained in the figures
below:
1- Select your VM on azure portal, and select network interfaces
11. Create and Configure a VM in the Azure Step by Step
11 | P a g e
http://www.mycertprofile.com/Profile/3992184764
2- Select VM NIC
3- Select IP Configuration
12. Create and Configure a VM in the Azure Step by Step
12 | P a g e
http://www.mycertprofile.com/Profile/3992184764
4- select static and change your IP
5- after changing VM IP address restart the VM.
Configure DNS
Also, you can change DNS configuration as explained in the figures below.
13. Create and Configure a VM in the Azure Step by Step
13 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Now check your network configuration from VM
Storage
By default, azure VM come with two partition one for OS (formally C drive with maximum capacity 1023
GB) and another disk is temporary (only store data such as page files, and data on this partition will be
lost during reboot or maintenance), the virtual hard disks (VHDs) stored in an Azure storage account.
another type of VM disks called Data disk this disk working as permanent storage so you can store your
application data or any other data type you want to keep.
Create and attach data disk to Azure VM
1- OS and temporary partitions.
14. Create and Configure a VM in the Azure Step by Step
14 | P a g e
http://www.mycertprofile.com/Profile/3992184764
2- From azure portal, select VM you want to add data disk, and follow instructions that explained in
the figures below.
15. Create and Configure a VM in the Azure Step by Step
15 | P a g e
http://www.mycertprofile.com/Profile/3992184764
3- Follow the instructions below to add new data disk
1. Disk name, select friendly name
2. Source type, first option is new (empty disk) to create a new empty disk. Second option is
existing blob for attach existing disk
3. Select account type, premium which support SSD or standard which support HDD.
4. Disk size, maximum 1 GB
5. Storage container, browse to select storage account and container where the new disk stored.
You can select existing storage account or create new one.
6. Add new storage account, in our scenario we will create a new storage account
7. Storage account name
16. Create and Configure a VM in the Azure Step by Step
16 | P a g e
http://www.mycertprofile.com/Profile/3992184764
4- Create container where your disk stored
17. Create and Configure a VM in the Azure Step by Step
17 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Save, now your disk is ready to initialize from disk management inside the VM.
18. Create and Configure a VM in the Azure Step by Step
18 | P a g e
http://www.mycertprofile.com/Profile/3992184764
5- Initialize and format the new data disk, as explained in the figures below (instructions inside the
VM)
19. Create and Configure a VM in the Azure Step by Step
19 | P a g e
http://www.mycertprofile.com/Profile/3992184764
20. Create and Configure a VM in the Azure Step by Step
20 | P a g e
http://www.mycertprofile.com/Profile/3992184764
21. Create and Configure a VM in the Azure Step by Step
21 | P a g e
http://www.mycertprofile.com/Profile/3992184764
22. Create and Configure a VM in the Azure Step by Step
22 | P a g e
http://www.mycertprofile.com/Profile/3992184764
6- Finally, your disk initialized and ready to store your data.