https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Session 3
AZ-104: Microsoft Azure
Administrator
1
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
AzureTalk Core Team
2
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Today’s Session Speaker
Niraj Kumar
AzureTalk Founder
Enterprise Architect, MCT
3
Ram Murti Kumar,
AzureTalk Core Team
Member, Architect, MCT
Vipin Jha
AzureTalk Core Team
Member, Consultant, MCT
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
AZ-104: Skills Measured
• Manage Azure identities and governance (15-20%)
• Deploy and manage Azure compute resources (25-30%)
• Implement and manage storage (10-15%)
• Configure and manage virtual networking (30-35%)
• Monitor and back up Azure resources (10-15%)
4
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Agenda
5
• Virtual Machine Planning
• Creating Virtual Machines
• Virtual Machine Availability
• Virtual Machine Extensions
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Prerequisites
6
Understanding of
• Operating systems
• Virtualization
• Network configuration
• Active Directory
• Resilience and disaster recovery
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Virtual Machine Planning
7
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Checklist
8
• Start with the network
• Name the VM
• Decide the location for the
VM
• Determine VM size
• Pricing model
• Storage for the VM
• Select an operating system
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
VM Network
9
• VNet and Subnet
• Server communicate with
• Which ports are open
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
VM Name
10
Based On Example
Environment Dev, Test, Stage, Prod
Location East US, Central India
Instance 01, 02, 03, 04
Product or Service Service
Role DC, DB, Web, Application
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
VM Location
11
Reference : Microsoft Docs
• Each region has different
hardware available
• Some configurations are not
available in all regions.
• Price differences between
locations
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
VM Size
12
Reference : Microsoft Docs
Type Sizes Description
General purpose B, Dsv3, Dv3, Dasv4, Dav4,
DSv2, Dv2, Av2, DC, DCv2, Dv4,
Dsv4, Ddv4, Ddsv4
Balanced CPU-to-memory ratio
testing and development
Compute optimized F, Fs, Fsv2 High CPU-to-memory ratio
Memory optimized Esv3, Ev3, Easv4, Eav4, Ev4,
Esv4, Edv4, Edsv4, Mv2, M,
DSv2, Dv2
High memory-to-CPU ratio
relational database servers
Storage optimized Lsv2 High disk throughput and IO
Big Data, SQL, NoSQL
databases, data warehousing
GPU NC, NCv2, NCv3, ND, NDv2
(Preview), NV, NVv3, NVv4
heavy graphic rendering and
video editing, deep learning
High performance compute HB, HBv2, HC, H fastest and most powerful CPU
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Pricing model
13
• Compute costs
• Storage costs
Payment options for compute costs
• Pay as you go
• Reserved Virtual Machine Instances
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Azure VM Storage
14
• Standard
• Premium
Manage relationship between the
storage account and each VHD
• Unmanaged disks
• Managed disks
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Select Operating System
15
• Variety of OS images
• Several versions of Windows and flavors of Linux
• Marketplace image and install the entire stack
• Create your disk image
• Only supports 64-bit OS
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
VM Connection RDP
16
• RDP for Windows Machine
• Need to allow port on NSGs
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
VM Connection SSH
17
• SSH for Linux Machine
• Need to allow port on NSGs
• Connect using password or
Private Key
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
VM Connection Bastion
18
Reference : Microsoft Docs
• RDP/SSH from Azure portal
• Remote Session over TLS and
firewall traversal for RDP/SSH
• No Public IP required for VM
• No hassle of managing NSGs
• Protection against port scanning
• Protect against zero-day exploits
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Creating Virtual Machines
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Creating virtual machine
20
• Portal
• PowerShell
• Azure CLI
• ARM template
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
VM creation in Azure Portal
21
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
VM creation in PowerShell
22
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
VM creation in AzureCLI
23
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
VM creation with ARM template
24
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Question 1
If your workload is running on Azure VM for 24X7,
which paying option will help you saving cost?
a) Reserved Virtual Machine Instances
b) Pay as you go
c) All paying option has same cost
d) None
25
https://q.azureezy.com/1
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Question 1
If your workload is running on Azure VM 24X7, which
paying option will help you saving cost?
a) Reserved Virtual Machine Instances
b) Pay as you go
c) All paying option has same cost
d) None
26
https://q.azureezy.com/1
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Virtual Machine Availability
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Availability considerations
28
• Paired regions
• Availability sets
• scale sets
• Availability zones
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Maintenance for VM in Azure
29
Maintenance that doesn't require a reboot
Live migration
Azure platform starts live migration:
• Planned maintenance
• Hardware failure
• Allocation optimizations
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Maintenance for VM in Azure
30
Maintenance that requires a reboot
• Notified in advance
Planned maintenance phases:
• Self-service phase – 35 days
• Scheduled maintenance phase
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Availability Sets
31
• Fault Domain:
Clusters within a
region (Up to 3)
• Update Domains:
Updates and patches
to clusters (Up to 20)
Reference : Microsoft Docs
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Scale Up or Down - Vertical
32
• Increase or decrease
configuration of
same server
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Scale Out or In - Horizontal
33
Increase or decrease instance count
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Scale sets
34
• Group of identical VMs
• Automatically increase or decrease
Instances
• Centrally manage & configure a large
number of VM
• Support Azure load balancer & Azure
Application Gateway
• Max 1,000 VM instances or 600
custom image
Demand
Demand
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Availability Zones
35
Reference : Microsoft Docs
• Physically separate
locations within an Azure
region
• Minimum of three separate
zones in all enabled
regions
• Zone-redundant services
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Question 2
For Virtual machine Scale Set, Scale Out and Scale Up
are same things.
a) True
b) False
36
https://q.azureezy.com/2
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Question 2
For Virtual machine Scale Set, Scale Out and Scale Up
are same things.
a) True
b) False
37
https://q.azureezy.com/2
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Question 3
Deploying VM in Availability zone will provide
redundancy in case of datacenter failure ?
a) True
b) False
38
https://q.azureezy.com/3
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Question 3
Deploying VM in Availability zone will provide
redundancy in case of datacenter failure ?
a) True
b) False
39
https://q.azureezy.com/3
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Virtual Machine Extensions
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Azure VM Extension
41
• Provide post-deployment
configuration and automation
tasks
• choice of first and third party
extensions
• Custom Script extension
• PowerShell Desired State
Configuration (DSC)
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Break
42
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Demo
• Deploy virtual machine in Availability sets
• configure networking option like changing dynamic
IP to Static
• Adding additional data disk
• Install Extension and Custom Script option.
• Deploy zone-resilient Azure virtual machine scale
sets
• Scale out scale set based on CPU utilisation
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
Q & A
44
https://azureezy.com
© 2020 AzureEzy and AzureTalk. All rights reserved!
45
https://bharatguru.in
https://azureezy.com
https://cloudeasy.in
Thanks!
https://azureezy.com/az-900
https://t.me/AzureTalk
https://youtube/c/AzureTalk
https://www.linkedin.com/in/nirajkum/
https://www.linkedin.com/in/vipinkumarjha/
https://www.linkedin.com/in/rammurti

Az 104 session 3 azure compute

  • 1.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Session 3 AZ-104: Microsoft Azure Administrator 1
  • 2.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! AzureTalk Core Team 2
  • 3.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Today’s Session Speaker Niraj Kumar AzureTalk Founder Enterprise Architect, MCT 3 Ram Murti Kumar, AzureTalk Core Team Member, Architect, MCT Vipin Jha AzureTalk Core Team Member, Consultant, MCT
  • 4.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! AZ-104: Skills Measured • Manage Azure identities and governance (15-20%) • Deploy and manage Azure compute resources (25-30%) • Implement and manage storage (10-15%) • Configure and manage virtual networking (30-35%) • Monitor and back up Azure resources (10-15%) 4
  • 5.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Agenda 5 • Virtual Machine Planning • Creating Virtual Machines • Virtual Machine Availability • Virtual Machine Extensions
  • 6.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Prerequisites 6 Understanding of • Operating systems • Virtualization • Network configuration • Active Directory • Resilience and disaster recovery
  • 7.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Virtual Machine Planning 7
  • 8.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Checklist 8 • Start with the network • Name the VM • Decide the location for the VM • Determine VM size • Pricing model • Storage for the VM • Select an operating system
  • 9.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! VM Network 9 • VNet and Subnet • Server communicate with • Which ports are open
  • 10.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! VM Name 10 Based On Example Environment Dev, Test, Stage, Prod Location East US, Central India Instance 01, 02, 03, 04 Product or Service Service Role DC, DB, Web, Application
  • 11.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! VM Location 11 Reference : Microsoft Docs • Each region has different hardware available • Some configurations are not available in all regions. • Price differences between locations
  • 12.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! VM Size 12 Reference : Microsoft Docs Type Sizes Description General purpose B, Dsv3, Dv3, Dasv4, Dav4, DSv2, Dv2, Av2, DC, DCv2, Dv4, Dsv4, Ddv4, Ddsv4 Balanced CPU-to-memory ratio testing and development Compute optimized F, Fs, Fsv2 High CPU-to-memory ratio Memory optimized Esv3, Ev3, Easv4, Eav4, Ev4, Esv4, Edv4, Edsv4, Mv2, M, DSv2, Dv2 High memory-to-CPU ratio relational database servers Storage optimized Lsv2 High disk throughput and IO Big Data, SQL, NoSQL databases, data warehousing GPU NC, NCv2, NCv3, ND, NDv2 (Preview), NV, NVv3, NVv4 heavy graphic rendering and video editing, deep learning High performance compute HB, HBv2, HC, H fastest and most powerful CPU
  • 13.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Pricing model 13 • Compute costs • Storage costs Payment options for compute costs • Pay as you go • Reserved Virtual Machine Instances
  • 14.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Azure VM Storage 14 • Standard • Premium Manage relationship between the storage account and each VHD • Unmanaged disks • Managed disks
  • 15.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Select Operating System 15 • Variety of OS images • Several versions of Windows and flavors of Linux • Marketplace image and install the entire stack • Create your disk image • Only supports 64-bit OS
  • 16.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! VM Connection RDP 16 • RDP for Windows Machine • Need to allow port on NSGs
  • 17.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! VM Connection SSH 17 • SSH for Linux Machine • Need to allow port on NSGs • Connect using password or Private Key
  • 18.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! VM Connection Bastion 18 Reference : Microsoft Docs • RDP/SSH from Azure portal • Remote Session over TLS and firewall traversal for RDP/SSH • No Public IP required for VM • No hassle of managing NSGs • Protection against port scanning • Protect against zero-day exploits
  • 19.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Creating Virtual Machines
  • 20.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Creating virtual machine 20 • Portal • PowerShell • Azure CLI • ARM template
  • 21.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! VM creation in Azure Portal 21
  • 22.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! VM creation in PowerShell 22
  • 23.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! VM creation in AzureCLI 23
  • 24.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! VM creation with ARM template 24
  • 25.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Question 1 If your workload is running on Azure VM for 24X7, which paying option will help you saving cost? a) Reserved Virtual Machine Instances b) Pay as you go c) All paying option has same cost d) None 25 https://q.azureezy.com/1
  • 26.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Question 1 If your workload is running on Azure VM 24X7, which paying option will help you saving cost? a) Reserved Virtual Machine Instances b) Pay as you go c) All paying option has same cost d) None 26 https://q.azureezy.com/1
  • 27.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Virtual Machine Availability
  • 28.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Availability considerations 28 • Paired regions • Availability sets • scale sets • Availability zones
  • 29.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Maintenance for VM in Azure 29 Maintenance that doesn't require a reboot Live migration Azure platform starts live migration: • Planned maintenance • Hardware failure • Allocation optimizations
  • 30.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Maintenance for VM in Azure 30 Maintenance that requires a reboot • Notified in advance Planned maintenance phases: • Self-service phase – 35 days • Scheduled maintenance phase
  • 31.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Availability Sets 31 • Fault Domain: Clusters within a region (Up to 3) • Update Domains: Updates and patches to clusters (Up to 20) Reference : Microsoft Docs
  • 32.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Scale Up or Down - Vertical 32 • Increase or decrease configuration of same server
  • 33.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Scale Out or In - Horizontal 33 Increase or decrease instance count
  • 34.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Scale sets 34 • Group of identical VMs • Automatically increase or decrease Instances • Centrally manage & configure a large number of VM • Support Azure load balancer & Azure Application Gateway • Max 1,000 VM instances or 600 custom image Demand Demand
  • 35.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Availability Zones 35 Reference : Microsoft Docs • Physically separate locations within an Azure region • Minimum of three separate zones in all enabled regions • Zone-redundant services
  • 36.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Question 2 For Virtual machine Scale Set, Scale Out and Scale Up are same things. a) True b) False 36 https://q.azureezy.com/2
  • 37.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Question 2 For Virtual machine Scale Set, Scale Out and Scale Up are same things. a) True b) False 37 https://q.azureezy.com/2
  • 38.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Question 3 Deploying VM in Availability zone will provide redundancy in case of datacenter failure ? a) True b) False 38 https://q.azureezy.com/3
  • 39.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Question 3 Deploying VM in Availability zone will provide redundancy in case of datacenter failure ? a) True b) False 39 https://q.azureezy.com/3
  • 40.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Virtual Machine Extensions
  • 41.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Azure VM Extension 41 • Provide post-deployment configuration and automation tasks • choice of first and third party extensions • Custom Script extension • PowerShell Desired State Configuration (DSC)
  • 42.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Break 42
  • 43.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Demo • Deploy virtual machine in Availability sets • configure networking option like changing dynamic IP to Static • Adding additional data disk • Install Extension and Custom Script option. • Deploy zone-resilient Azure virtual machine scale sets • Scale out scale set based on CPU utilisation
  • 44.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! Q & A 44
  • 45.
    https://azureezy.com © 2020 AzureEzyand AzureTalk. All rights reserved! 45 https://bharatguru.in https://azureezy.com https://cloudeasy.in Thanks! https://azureezy.com/az-900 https://t.me/AzureTalk https://youtube/c/AzureTalk https://www.linkedin.com/in/nirajkum/ https://www.linkedin.com/in/vipinkumarjha/ https://www.linkedin.com/in/rammurti