Professional Documents
Culture Documents
Azure Workshop
Azure Workshop
Azure Fundamentals
Instructor
• Mohd Mishal
• Clouds Solution Architect
• MCT since 2006
• MCSA, MCSE, MCITP, MCSA
• Azure, SCCM, O365
• Computer Engineer UIUC
Workshop Schedule
Day 1
Platform as a
Introduction to Compute Virtual The Basics of
service Virtual
Cloud Instances Networks Azure
Machines
Workshop Schedule
Day 2
A private cloud is a
A public cloud is an
privately owned and
infrastructure, platform, or
managed cloud that offers
application service that a
benefits similar to those
cloud service provider
of a public cloud, but is
delivers for access and
designed and secured for
consumption by the
use by a single
public
organization
Office 365,
Dynamics, VS
Microsoft Azure
Online,
Intune, etc.
Windows Server + System Microsoft
Windows Server + Hyper-V +
Center (Server Platform) Azure
* Preview Services
#70-533 @ITProGuru
Azure services
Fault
Domain
Storage
Region Subscription
account
Update
Domain
The Azure portal
DEMO
Navigating the Azure portals
Client tools
• No upfront costs
• No termination fees
• Pay only for what you use
• Per minute billing
Azure billing and support options
Pay-As-You-Go
Enterprise agreements
LAB
https://github.com/MicrosoftLearning/10979-MicrosoftAzureFundamentals/bl
ob/master/Instructions/10979D_LAB_01.md
A D Dv2 G Av2
Lowest Price SSD Storage New generation High memory and New A-Series
Fast CPUs of D family VMs Large SSDs
F N N H L SAP
C V
Compute Intensive NVIDIA GPUs NVIDIA GPUs Fastest CPU Large SSDs SAP Large Instances
K80 Compute M60 Visualization IB Connectivity
So So
So So o n on
o
Dv3
on n
ND NCv2 Ev3
• Azure PowerShell:
New-AzureRmResourceGroupDeployment
• Azure CLI:
az group deployment create
• Azure portal:
New > Compute > Template deployment
• GitHub (redirects to the Azure portal):
https://github.com/Azure/azure-quickstart-templates
DEMO
Creating a VM from an Azure Resource Manager
template
https://github.com/Azure/azure-quickstart-templates/tree/master/101-vm-simple-windows
Configuring VM availability
• Vertical scaling:
• Change individual VM size
• Horizontal scaling:
• Change number of VMs in the same availability set
• On demand or scheduled
• Azure Resource Manager model:
• VM scale sets: automatically provisioned VMs
• Classic model:
• Preprovisioned VMs
DEMO
Deploying VMs into an availability set by using the
Azure portal
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-availability-sets
Configuring an operating system by using VM extensions
• VM Agent:
• Included automatically in Marketplace images
• You can add it to your custom VM images
• VM extensions:
• Background Info extension (Windows)
• Azure VM Access extension for Windows and Linux
• Chef Client and Puppet Enterprise Agent (Windows and Linux)
• Custom Script extension for Windows and Linux
• DSC extension for Windows and Linux
• Azure Diagnostic extension for Windows and Linux
• Docker extension (Linux)
• Microsoft Antimalware extension (Windows)
Connecting to a VM
• Windows VMs:
• RDP:
• User based authentication
• Generate .rdp file from the portal or via Windows PowerShell
• Incoming connections:
• Allowed by default (when using the Azure Portal)
• Windows Firewall rule
• Network Security Group rule
• Linux VMs:
• SSH:
• User based or certificate based authentication
• Use an SSH client
• Incoming connections:
• Allowed by default (when using the Azure Portal)
• Network security group rule
DEMO
Connecting to a VM
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/connect-logon
Configuring disks
Azure VM
C:\ D:\ F:\Data disks
operating system disk
Temporary disk
(contents can be
lost)
Azure blob
Overview of managed disks
• Non-managed disks:
• Up to 200 Storage accounts per region
• Up to 40 disks per Standard storage account
• Storage accounts for VMs in the same availability set might
be in the same stamp
• A custom image in the same Storage account as VM disks
• Managed disks:
• Up to 10,000 disks per region
• Storage account performance limits not relevant
• Disks of VMs in the same availability set in different stamps
• A custom image in the same region
Azure VMs disk mobility
https://github.com/MicrosoftLearning/10979-MicrosoftAzureFundamentals/bl
ob/master/Instructions/10979D_LAB_03.md
• Deployment types:
• Cloud-only deployments
• Cross-premises deployments
• Deployments without virtual network dependency
• IP address allocation:
• Dynamic (default) — support for static IP address assignments
• Traffic routing:
• User defined routes and forced tunneling
• Traffic filtering:
• Network Security Groups
IP Addresses
• Use with
• Virtual machines (VM)
• Internet-facing load balancers
• VPN gateways
• Application gateway
https://docs.microsoft.com/en-us/azure/dns/dns-overview
Load balancing
Virtual network connectivity
• Developers
Secure point-to- • POC Efforts
site connectivity • Small scale
deployments
• Connect from
anywhere
• SMB, Enterprises
Secure site-to-site • Connect to Azure
VPN connectivity compute
• Public IP addresses
• Traffic Manager:
• DNS-based load balancing
• Any public, DNS-resolvable endpoint:
• Azure
• On-premises
• Third-party hosting providers
• Four routing algorithms:
• Performance
• Failover
• Weighted
• Geographic
Overview of Azure Load Balancer
443
LOAD BALANCER
VM VM VM
Creating an Azure load balancer
Backend pool
DEMO
Creating an Azure load balancer
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-get-started-ilb-arm-portal
LAB
https://github.com/MicrosoftLearning/10979-MicrosoftAzureFundamentals/bl
ob/master/Instructions/10979D_LAB_05.md
Worker
role
instances
PaaS
Web cloud
role service
instances
Creating and deploying a cloud service
PaaS
cloud
service
Package Configuration
file file
Visual Studio
Team Services
Visual Studio Azure portal
Scaling a cloud service
• Horizontal scaling:
• Changing the number of instances of a role
• Manual or automatic
• Automatic scaling based on combination of:
• Schedule
• Recurring
• Fixed date
• Performance
• Role instance (CPU, network I/O, disk I/O)
• Other Azure resources (for example, Azure Storage queue)
• Vertical scaling:
• Changing the size of instances of a role
• Requires modifying the .csdef file
DEMO
Creating, deploying, and scaling a cloud service
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-get-started-ilb-arm-portal
LAB
https://github.com/MicrosoftLearning/10979-MicrosoftAzureFundamentals/bl
ob/master/Instructions/10979D_LAB_04.md
Exercise 2
Estimated Time: 15 minutes