Creating a Windows
Virtual Machine in
Microsoft Azure
Richard Oertle
NetCom Learning
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
AGENDA
Virtual Machine Planning
Creating Virtual Machines
Virtual Machine Availability
Virtual Machine Extensions
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
VIRTUAL MACHINE PLANNING OVERVIEW
• IaaS Cloud Services
• Planning Checklist
• Location and Pricing
• Virtual Machine Sizing
• Virtual Machine Disks
• Storage Options
• Supported Operating Systems
• Virtual Machine Connections
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
IAAS CLOUD SERVICES
• Test and development, website hosting, storage, backup, recovery, high-performance
computing, big data analysis, and extended data center
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
PLANNING CHECKLIST
• Start with the network
• Name the VM
• Decide the location for the VM
• Determine the size of the VM
• Understand the pricing model
• Consider storage for the VM
• Select an operating system
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
PHYSICAL LOCATION AND PRICING
• Location
o Each region has different hardware and service capabilities
o Locate virtual machines as close as possible to your users
o Locate virtual machines to ensure compliance and legal obligations
• Pricing
o Compute costs
o Storage costs (consumption-based and reserved instances)
55+ Azure regions
Available in 140 countries
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
LOGICAL LOCATION
• Tennant
• Subscription
• Resource Group
• Virtual Network
• Subnet
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
VIRTUAL MACHINE SIZING
VM Type Sizes Purpose
B, Dsv3, Dv3, Dasv4,
General Balanced CPU-to-memory ratio. Ideal for testing and development,
Dav4, DSv2, Dv2, Av2,
Purpose small to medium databases, and low to medium traffic web servers.
DC
Compute High CPU-to-memory ratio. Good for medium traffic web servers,
Fsv2
Optimized network appliances, batch processes, and application servers.
Memory Esv3, Ev3, Easv4, Eav4, High memory-to-CPU ratio. Great for relational database servers,
Optimized Mv2, M, DSv2, Dv2 medium to large caches, and in-memory analytics.
Storage High disk throughput and IO ideal for Big Data, SQL, NoSQL
Lsv2
Optimized databases, data warehousing and large transactional databases.
NC, NCv2, NCv3, ND, Specialized virtual machines targeted for heavy graphic rendering
GPU NDv2 (Preview), NV, and video editing, as well as model training and inferencing (ND)
NVv3, NVv4 (Preview) with deep learning. Available with single or multiple GPUs.
High
Our fastest and most powerful CPU virtual machines with optional
Performance HB, HC, H
high-throughput network interfaces (RDMA).
Compute
https://azure.microsoft.com/en-us/pricing/details/virtual-machines/series/
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
VIRTUAL MACHINE DISKS
• Operating System Disks are SATA drives, labeled as C:
o Blob storage (page)
• Temporary Disks provides short term storage, labeled as D:
• Data Disks are SCSI drives and depend on your virtual machine type
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
STORAGE OPTIONS
• Premium storage offers high-performance, low-latency SSD disk support
o Up to 160,000 IOPS
• Use premium storage for virtual machines with input/output (I/O)-intensive
workloads
• Two types of disks: Unmanaged and Managed
o Unmanaged disks require you to manage the storage accounts and VHDs
✓ 20,000 IOPS per 500TB Storage Account
o Managed disks are maintained by Azure (recommended)
✓ No IOPS restriction.
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
SUPPORTED OPERATING SYSTEMS
• Windows Server includes many common products,
requires a license, doesn’t support OS upgrades
o Extend On-prem EA to create at no additional charge
• Linux distributions are supported, upgrade of the OS is
supported
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
VIRTUAL MACHINE CONNECTIONS
Bastion Subnet
• Remote Desktop Protocol for Windows- SSL
based virtual machines (Port 3389)
• Secure Shell Protocol for Linux based virtual
machines (Port 22)
• Bastion Subnet for RDP/SSH through the
Private IP
Portal over SSL SSL Remote protocol
• VPN is the recommended connection
method
RDP
SSH
VM Subnet
< VNet >
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
CREATING VIRTUAL MACHINES OVERVIEW
• Creating Virtual Machines in the Portal
• Windows Virtual Machines
• Windows VM Connections
• Linux Virtual Machines
• Linux VM Connections
• Deploy virtual machines featuring up to 416 vCPUs and 12 TB of memory. Get up to 3.7
million local storage IOPS per VM. Take advantage of up to 30 Gbps Ethernet and
cloud’s first deployment of 200 Gbps InfiniBand NICs.
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
CREATING VIRTUAL MACHINES IN THE PORTAL
• Basic (required) - Project details, Administrator account, Inbound
port rules
• Disks - OS disk type, data disks
• Networking - Virtual networks, load balancing
• Management - Monitoring, Auto-shutdown, Backup
• Guest config - Add additional configuration, agents, scripts or
applications
• Templates in GitHub and Azure Marketplace
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
WINDOWS VIRTUAL MACHINES
• Unique hybrid capabilities
• Advanced multi-layer security
• Faster innovation for applications
• Unprecedented hyper-converged infrastructure
• Using .JSON templates
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
WINDOWS VM CONNECTIONS
• Remote Desktop Protocol (RDP) creates a GUI session and
accepts inbound traffic on TCP port 3389
• WinRM creates a command-line session so can run scripts
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
LINUX VIRTUAL MACHINES
• Hundreds of community-built images in the Azure Marketplace
• Linux has the same deployment options as for Windows VMs
• Manage Linux VMs with many popular open-source DevOps tools
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
LINUX VM CONNECTIONS
• Authenticate with a SSH public key or password
• SSH is an encrypted connection protocol that allows secure logins over unsecured
connections
• There are public and private keys
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
VIRTUAL MACHINE AVAILABILITY OVERVIEW
• Maintenance and Downtime
• Availability Sets
• Update and Fault Domains
• Availability Zones
• Scaling Concepts
• Scale Sets
• Implementing Scale Sets
• Autoscale
• Implementing Autoscale
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
MAINTENANCE VS. DOWNTIME
• When the platform predicts a failure, it will issue an unplanned hardware maintenance
event. Action: Live migration.
• Unexpected Downtime is when a virtual machine fails unexpectedly. Action:
Automatically migrate (heal).
• Planned Maintenance events are periodic updates made to the Azure platform. Action:
No action.
• https://docs.microsoft.com/en-us/azure/virtual-machines/windows/manage-
availability
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
AVAILABILITY SETS
Two or more instances in
two or more availability
Sets = 99.95% SLA
• Configure multiple virtual machines in an Availability Set
• Configure each application tier into separate Availability Sets
• Combine a Load Balancer with Availability Sets
• Use managed disks with the virtual machines
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
UPDATE AND FAULT DOMAINS
• Update domains allows Azure to perform incremental or rolling upgrades across a
deployment (Azure Infrastructure). During planned maintenance, only one update
domain is rebooted at a time.
• Fault Domains are a group of virtual machines that share a common set of hardware,
switches, that share a single point of failure. VMs in an availability set are placed in at
least two fault domains.
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
AVAILABILITY ZONES
• Unique physical locations in a region
• Includes datacenters with independent power,
cooling, and networking
• Protects from datacenter failures
• Combines update and fault domains
• Provides 99.99% SLA
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
SCALING CONCEPTS
Vertical scaling
• Vertical scaling (scale up and scale down) is the process of
increasing or decreasing power to a single instance of a
workload; usually manual (V1) or automatic (V2). Scaling
above the VM size limits requires a new VM, which requires
a reboot.
• Horizontal scaling (scale out and scale in) is the process of
increasing or decreasing power to a single instance of a Horizontal scaling
workload; frequently automated. No reboot required.
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
SCALE SETS
• Scale sets deploy a set of identical VMs
• No pre-provisioning of VMs is required
• As demand goes up VMs are added
• As demand goes down VM are removed
• The process can be manual, automated, or a combination of both
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
IMPLEMENTING SCALE SETS
• Instance count. Number of VMs in the scale
set (0 to 1000)
• Instance size. The size of each virtual machine
in the scale set
• Azure Spot Instance. Unused capacity at a
discounted rate
• Use managed disks
• Enable scaling beyond 100 instances
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
AUTOSCALE
• Define rules to automatically adjust capacity
• Scale out (increase) the number of VMs in the set
• Scale in (reduce) the number of VMs in the set
• Schedule events to increase or decrease at a fixed time
• Reduces monitoring and optimizes performance
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
IMPLEMENTING AUTOSCALE
• Define a minimum, maximum, and default
number of VM instances
• Create more advanced scale sets with scale out
and scale in parameters, such as those in
performance monitor
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
VIRTUAL MACHINE EXTENSIONS OVERVIEW
• Virtual Machine Extensions
• Custom Script Extensions
• Desired State Configuration
• Demonstration – Custom Script Extension
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
VIRTUAL MACHINE EXTENSIONS
• Extensions are small applications that provide
post-deployment VM configuration and
automation tasks
• Managed with Azure CLI, PowerShell, Azure
Resource Manager templates, and the Azure
portal
• Bundled with a new VM deployment or run
against any existing system
• Different for Windows and Linux machines
© 1998-2020 NetCom Learning www.netcomlearning.com | info@netcomlearning.com | 1-888-563-8266
RECORDED WEBINAR VIDEO
To watch the recorded webinar video for live demos, please access the link:
http://tiny.cc/1mmmmz
© 1998-2020 NetCom Learning www.netcomlearning.com || info@netcomlearning.com || 1-888-563-8266
ABOUT NETCOM LEARNING
100K+ 12K+ 3500
Professionals Corporate IT, Business &
trained clients Soft Skills courses
96% 8.6/9 20+ NetCom Learning is an award-winning
global leader in managed learning
Of customers Instructor Leadingvendors services, training and talent development.
recommend us to others evaluations recognitions
Founded : 1998
Headquarters : New YorkCity
Delivery Capability : Worldwide
Microsoft’s 80% Top20 CEO : RussellSarder
Worldwide training Trained of the ITTraining
partner of the year Fortune 100 Company
© 1998-2019
1998-2020NetCom
NetCom Learning
Learning www.netcomlearning.com
www.netcomlearning.com || info@netcomlearning.com || 1-888-563-8266
Training & certifications **exam in beta *
Role-based
Specialty
Technical skills Apps & Infra Data & AI Modern
Business Applications Deep technical skills
required to Workplace
perform a job managing industry solutions
Microsoft 365 Enterprise Azure for SAP
Azure Solutions Architect Power Apps + Dynamics 365 Solution Architect
Administrator Workloads
Azure DevOps
Engineer Dynamics 365: Finance and Operations Apps Solution Architect
Azure IoT
Expert Developer
Microsoft 365 Modern Dynamics 365 Sales Dynamics 365 Customer
Associate Azure Administrator Azure Data Scientist
Desktop Administrator Functional Consultant Service Functional Consultant
Microsoft 365 Teamwork Dynamics 365 Marketing Dynamics 365 Field Service
Azure Developer Azure AI Engineer
Administrator Functional Consultant Functional Consultant
Azure Security
Azure Data Engineer Microsoft 365 Messaging Dynamics 365 Finance Functional Consultant
Engineer
Administrator
Data Analyst** Dynamics 365 Supply Chain Management, Manufacturing
Microsoft 365 Security Functional Consultant
Administrator
Dynamics 365 Supply Chain Management Functional Consultant
Azure Database Microsoft 365 Teams
Administrator ** Administrator
Power Apps + Dynamics 365 Developer
Microsoft 365 Developer
Dynamics 365: Finance and Operations Apps Developer
Fundamentals Azure Fundamentals
Microsoft 365
Dynamics 365 Fundamentals
Power Platform
Fundamentals Fundamentals
Foundational
understanding
of technology
UPCOMING WEBINARS
• How to Pass the Project Management Professional (PMP®) Exam, 6th Edition
• Citrix Workspace: How to Architecture Microapps
• 5 Steps to Master Microsoft Excel: Workbooks
• Cisco Professionals: How to Add API Skills to Your Networking Toolbox
• Planning Microsoft Office 365 Workload and Application Deployment
• Working with Walls, Floors, and Roofs in Autodesk Revit
• Penetrating Networks for CompTIA PenTest+
• The Future of IT Service Management (ITSM) with ITIL® 4
• Analytics in the Cloud with Tableau on AWS
& More
© 1998-2019
1998-2020NetCom
NetCom Learning
Learning www.netcomlearning.com
www.netcomlearning.com || info@netcomlearning.com || 1-888-563-8266
PROMOTIONS
Save up to 60% on our Virtual Instructor-Led Training courses!
Get the most out of our Virtual Instructor-Led Training (vILT) deals and upskill at special discounts on individual
courses. With vILT, make your learning flexible, convenient, and immersive. View Offer
© 1998-2019
1998-2020NetCom
NetCom Learning
Learning www.netcomlearning.com
www.netcomlearning.com || info@netcomlearning.com || 1-888-563-8266
PROMOTIONS
Buy More to Save More!
Now fulfill all your training needs without disturbing your business funds. Choose from the bundle of our Learning
Saving Pass (LSP) pre-pay plans and get up to 100% value back on your investment. Unlock Now
© 1998-2019
1998-2020NetCom
NetCom Learning
Learning www.netcomlearning.com
www.netcomlearning.com || info@netcomlearning.com || 1-888-563-8266
PROMOTIONS
Worry-Free Training with Price Match Guarantee
Our Price Match Guarantee ensures that we'll match the offers of any other authorized training provider if you
succeed at finding anyone offering the same publicly scheduled class within 30 days of our schedule at a lower
regular price. Learn More
© 1998-2019
1998-2020NetCom
NetCom Learning
Learning www.netcomlearning.com
www.netcomlearning.com || info@netcomlearning.com || 1-888-563-8266
FOLLOW US ON
LinkedIn Instagram Twitter YouTube
© 1998-2019
1998-2020NetCom
NetCom Learning
Learning www.netcomlearning.com
www.netcomlearning.com || info@netcomlearning.com || 1-888-563-8266
BUILDING AN INNOVATIVE LEARNING ORG.
A NEW BOOK FROM RUSSELL
SARDER, CEO AT NETCOM
LEARNING
A framework to build a smarter
workforce, adapt to change and
drive growth.
DOWNLOAD e-book
© 1998-2019
1998-2020NetCom
NetCom Learning
Learning www.netcomlearning.com
www.netcomlearning.com || info@netcomlearning.com || 1-888-563-8266
Thank you
1998-2019 NetCom Learning
© 1998-2020 www.netcomlearning.com
www.netcomlearning.com || info@netcomlearning.com || 1-888-563-8266
|