vm fundamentals networking fundamentals troubleshooting vms azure resource manager & templates

34
Deploy Virtual Machines in the Cloud Part II

Upload: laurence-tucker

Post on 18-Jan-2016

237 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Deploy Virtual Machines in the Cloud Part II

Page 2: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Learn how to maximize Azure Virtual Machines Service to power your cloud solutions including,

Session objectives and takeaways

VM Fundamentals

Networking Fundamentals

Troubleshooting VMs

Azure Resource Manager & Templates

Page 3: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

IaaS Fundamentals

Page 4: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

New generationof D family VMs

DV2

SSD Storage Fast CPUs

D

Selecting the right VM size

35% faster than D

Intel E5-2673 v3 CPUs

NVIDIA GPUs

Remote visualization

Compute-intensive + RDMA

Highest value

A

Most memory fastest CPUs

G

>80,000 IOPsPremium Storage

GPU-enabled virtual machines

N

Highest value Largest scale-up

Page 5: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Highest value VM sizeGeneral purposeHigher memory options

A-series family

Page 6: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

A0 – A4Entry level VM sizesBasic and Standard sizes

Local storage: Magnetic

Standard_A0 – Standard_A4Basic_A0 – Basic_A4

Higher Memory: Standard_A5 – Standard A7

The A family

Page 7: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

A8 – A11High performance RDMAHigher performance CPUs

Local storage: Magnetic

Standard_A8 – Standard_A9Standard_A10 – Standard_A11

The A family

Page 8: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

60% faster CPU than A-Series

Up to 112 GB memory

Local Storage: SSD storage (1x800GB)

The Dv1 family

Dv1

Page 9: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

35% faster CPU than Dv1-Series

Up to 112 GB memory

Local Storage: SSD storage (1x800GB)

The Dv2 family

Dv2

Page 10: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Optimized for data workloads

Up to 32 “Haswell” CPU cores, 448 GB RAM, 6.5 TB local SSD

The G family

G

Page 11: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Premium storageOptimized for low latency or high bandwidthUp to 64,000 IOPS and 64Gbps per storage accountBilling based on provisioned size (not actual writes)Blobs only

Standard storageOptimized for general purpose storageUp to 20,000 IOPS and 20Gbps per storage accountBilling based on actual bytes written to storageBlobs, Files, Tables, and Queues support

Storage options

Premium

Standard

Page 12: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Premium Storage VMs

• Up to 64 TB of storage per VM• 80,000 IOPS per VM• 5,000 IOPS per disk• ~5ms read/write (no cache)• Less than 1ms read latency

(cache)

Virtual Machine

Uncached

Disk

CachedDisk

LocalDisk

Disk Provisioning

Disk Provisioning

SSD Provisioning

Premium Storage Blobs

VM/Network Provisioning ServerSSD

Cache HitCache Miss

5k IOPS, 200MB/s

5k IOPS, 200MB/s

4k IOPS, 32MB/s

3,200 IOPS, 32MB/s

Standard_DS1

Standard_DS1 with 2 P30 Disks

DS GS

Page 13: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Optimizing storage performance

• Premium storage disks• Read-only caching

General Purpose

Performance

• Premium storage disks• No caching

Database Logfiles

• Standard storage• Stripe for higher IOPS• No caching if >4 disks

Standard Performance

Page 14: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Demo: Scaling up a VM

Page 15: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

On-p

rem

ises

GW

VPN

Hybrid Connectivity

Define Subnets, Private IPs, DNS

SSL Based Connectivity

VPN Device Connectivity

Partner ExpressRoute

Page 16: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Network SecuritySegment network for

security5 tuple ACLs on both

directionsProtect internet and

internal trafficEnables DMZ subnetsAssociated to subnets or

VMsACLs can be updated

independent of VMsVirtual Network

Backend10.3/16

Mid-tier10.2/16

Frontend10.1/16

VPN GW

Internet

On Premises 10.0/16

ExpressRouteand VPNs

√ √

√ √

Page 17: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Demo: Multi-region networks

Page 18: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Virtual Machine Availability SetsUpdate Domains are honored by host OS updates

RackRack

Availability Set

IIS1 IIS2

SQL1 SQL2

UD #2

UD #2

UD #1

UD #1

Page 19: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Demos: HA DeploymentsVM Troubleshooting

Page 20: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Azure Resource Manager

Page 21: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Manage resources as a single unit

Role based access and control (RBAC) on groups or resources

Billing integrated tagging on groups or resources

Resource Groups

RESOURCE GROUP

Page 22: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Access Control: RBAC

What is RBAC•Allows secure access with granular permissions to resources

•Assignable to users, groups or service principals

•Built-in roles make it easy to get started

Role Definitions• Describes the set of permissions (e.g.

read actions)

• Can be used in multiple assignments

Role Assignments• Associate role definitions with an

identity (e.g. user/group) at a scope (e.g. resource group)

• Always inherited – subscription assignments apply to all resources

Page 23: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Role Based Access Control

Page 24: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Resource Tags• Name-value pairs assigned to resources

or groups• Subscription-wide taxonomy• Each resource can have up to 15 tags

Tagging Tips• Notes: Simple note for VM• Creator: track the “owner” of a VM• Department/Cost center: who pays• Environment: production vs. pre-production

vs. test

Page 25: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Tags and Billing Reports

Page 26: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Demo: Using RBAC and

Tags

Page 27: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Anatomy of a resource groupSubscription

Resource Group (MyGroup)

Resource (VNet)

Resource (NIC)

Resource (VM)

Resource (Public IP)

Resource (Load Balancer)

Reference

ARM Template• JSON document• Describes each resource• Supports child

deployments• Deployed to a Resource

Group

Page 28: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

clusterNodeCount

clusterName

DataStax on Azure Virtual Machines

Page 29: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Azure Marketplace Multi-VM Templates

Page 30: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Community Quick-Start Templates

>170 community templatesAvailable through GitHub or Azure.com

Page 31: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Demo: Resource Manager Templates

Page 32: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Template debuggingTemplate validationUse tool with JSON validation (Examples: Visual Studio, Atom w/ JSONLint, or others )Leverage Test-AzureResourceGroupTemplate

Resource group loggingPortal: Browse Resource Groups <Group> EventsPowerShell: Get-AzureResourceGroupLogAzure CLI: azure group log show

Azure Rest API ExplorerView individual resources as they are deployed: https://resources.azure.com

Page 33: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

Many size options

Premium storage for IO intensive workloads

What we discussed

VM (IaaS) Fundamentals

Network Fundamentals

Troubleshooting VMs

Azure Resource Manager & Templates

Hybrid options

Network security

Screenshots

Serial output

Reset password

RBAC

Tagging

Templates

Page 34: VM Fundamentals Networking Fundamentals Troubleshooting VMs Azure Resource Manager & Templates

© 2015 Microsoft Corporation. All rights reserved.