Basic Lab (V2.0) Ahmed Abdelwahed Microsoft Certified Trainer Ahmed_abdulwahed@outlook.com
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 2 P a g e
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. 3 P a g e
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 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 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). 4 P a g e
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. 5 P a g e
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. 6 P a g e
5. Before start VM creation Azure validate your configuration 7 P a g e
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 8 P a g e
9 P a g e
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 10 P a g e
2- Select VM NIC 3- Select IP Configuration 11 P a g e
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. 12 P a g e
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. 13 P a g e
2- From azure portal, select VM you want to add data disk, and follow instructions that explained in the figures below. 14 P a g e
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 15 P a g e
4- Create container where your disk stored 16 P a g e
Save, now your disk is ready to initialize from disk management inside the VM. 17 P a g e
5- Initialize and format the new data disk, as explained in the figures below (instructions inside the VM) 18 P a g e
19 P a g e
20 P a g e
21 P a g e
6- Finally, your disk initialized and ready to store your data. 22 P a g e