Microsoft Ignite NZ October 2016 SKYCITY, Auckland

Slides:



Advertisements
Similar presentations
Automating Operational and Management Tasks in Microsoft Operations Management Suite and Azure
Advertisements

Windows Azure Virtual Machines Anton Boyko. A Continuous Offering From Private to Public Cloud.
Build on Dev frameworks Build on Infrastructure Preview GA The Azure Application Platform “App Creators” DevelopersAnalysts Microsoft Azure LOB SaaS.
Microsoft Build /9/2017 5:00 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
11/19/2017 9:41 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
12/29/2017 3:36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
1/27/2018 5:13 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Run Azure Services in your datacenter
4/12/2018 1:04 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Building ARM IaaS Application Environment
4/24/ :07 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
From IT Pros to IT Heroes - with Azure DevTest Labs
Ed OMS Team 5/29/2018 1:05 PM PowerShell as a Service Managing clouds, Windows, Linux, on-premises or public with Microsoft Operations.
Hybrid Management and Security
6/11/2018 8:14 AM THR2175 Building and deploying existing ASP.NET applications using VSTS and Docker on Windows Marcel de Vries CTO, Xpirit © Microsoft.
Developing Hybrid Apps on Microsoft Azure Stack
Migrating your IaaS infrastructure from ASM to ARM without downtime
Introducing Azure Functions
ADF & SSIS: New Capabilities for Data Integration in the Cloud
Azure Functions and Automation: The SQL Agent in the Cloud
7/17/2018 3:31 AM BRK3313 Plan, orchestrate and tune large resource deployments on Azure infrastructure IaaS Igal Figlin Principal PM Manager – Azure Compute.
Planned Maintenance for Virtual Machines
Configuration Management with Azure Automation DSC
ASP.NET in Linux and Windows containers
Autoscale your applications with VM Scale Sets
Service Fabric Patterns & Best Practices
Azure Primed Randy Pagels Sr. Developer Technology Specialist
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
9/20/ :55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Microsoft Virtual Academy
Microsoft Build /8/2018 5:15 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Azure Container Instances
Microsoft /12/2018 8:06 AM BRK2103 Deliver more features faster with a modern development and test solution Claude Remillard Group Program Manager.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Introduction to Windows Azure Web Sites
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Microsoft Build /16/2018 8:43 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Intro to Docker Containers and Orchestration in the Cloud
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Developing for the cloud with Visual Studio
Microsoft Virtual Academy
Modern cloud PaaS for mobile apps, web sites, API's and business logic apps
Learn. Imagine. Build. .NET Conf
Microsoft Virtual Academy
12/8/ :07 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
12/26/2018 1:44 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
1/2/2019 5:18 PM THR3016 Customer stories: Plan and orchestrate large resource deployments on Azure infrastructure Igal Figlin Principal PM Manager – Azure.
Microsoft Virtual Academy
1/3/2019 9:40 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Microsoft Build /14/2019 8:42 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Virtual Academy
Serverless Architecture in the Cloud
2/24/2019 6:15 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
MDC-B203 Deploying Applications in Microsoft System Center Virtual Machine Manager Using Services John Messec Program Manager Microsoft.
5 Azure Services Every .NET Developer Needs to Know
TechEd /23/2019 9:23 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Build /4/ :50 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Service Template Creation from the Ground Up
Service Template Creation from the Ground Up
Day 2, Session 2 Connecting System Center to the Public Cloud
Microsoft Virtual Academy
A DevOps process for deploying R to production
Azure App Service Web App for Containers
Productive + Hybrid + Intelligent + Trusted
Ready Pre-day Azure Monitoring Workshop
Containers on Azure Peter Lasne Sr. Software Development Engineer
Alex Karcher 5 tips for production ready Azure Functions
Microsoft Virtual Academy
Presentation transcript:

Microsoft Ignite NZ 25-28 October 2016 SKYCITY, Auckland 11/28/2018 5:22 AM Microsoft Ignite NZ 25-28 October 2016 SKYCITY, Auckland © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Hear about Azure VM ScaleSets Microsoft Ignite 2016 11/28/2018 5:22 AM Hear about Azure VM ScaleSets Session Code: M378 Rick Claus Sr. Program Manager Azure Compute Team © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

IN THIS Session Why Scale sets? Getting started Monitoring & upgrading Scale & Autoscale preview

11/28/2018 5:22 AM Why Scale Sets? © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Compute requirements of a modern cloud app Transparent, automatic, rapid scale Simple manageability High availability Security - Patching / upgrades Load Balancing Compute nodes Control nodes Availability Set Availability Set Virtual Network

VM Scale Sets provide Scale - Deploy identical resources TechReady 23 11/28/2018 5:22 AM VM Scale Sets provide Scale - Deploy identical resources Easily Rapidly At scale.. 10s – 10,000s of cores Customization – PaaS-like ease of use with custom infrastructure requirements Availability - Roll out updates without service interruption Low cost - Dynamically increase/decrease compute power to optimize costs Elasticity - Automatically scale to changing demand https://azure.microsoft.com/en-us/documentation/services/virtual-machines-scale-sets/ © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

VM Scale Sets in Azure Resource Manager Resource Group VNet Subnet Scale Set VM VM VM VM … Scalable NIC Scalable Storage Extensions https://github.com/Azure/azure-quickstart-templates - *vmss*

11/28/2018 5:22 AM Getting Started © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Deploying a scale set Directly in the portal From the command line Use a template Launch from github, command, SDK etc. SDK/REST Consider in context of application...

App deployment #1: Marketplace

App deployment #2: VM Extensions Run custom scripts or off the shelf extensions Define with initial scale set deployment or add to existing infrastructure Roll out extension updates like OS updates

App deployment #3: customData/unattend Deployment script encapsulated directly in VMSS properties No dependency on external network connectivity

App deployment #4: Configuration Management VMs register as nodes with configuration management host Host maintains app consistency on nodes Config manager handles complex app deployment requirements (e.g. reboots, dependencies)

App deployment #5: Containerized Scale set is stable, scalable infrastructure App containers managed independently of infrastructure Application Orchestration Containers OS (Windows/Linux) Infrastructure - VMSS

App deployment #6a: custom image Trigger Build Dev checks in code Build app Test Stage Production Bake app into image Packer Reuse the same image across stages http://www.slideshare.net/LarryGuger/spinnaker-for-azure

App deployment #6b: custom image Dev checks in code BUILD RELEASE Test Stage Production Bake app into image PACKAGE Azure DevTest Labs Used as “Golden Image” Bakery Reuse the same “Golden Image” across stages https://azure.microsoft.com/en-us/services/devtest-lab/

VMSS app deployment models Microsoft Ignite 2016 11/28/2018 5:22 AM VMSS app deployment models When to use which? Model When to use Marketplace Off the shelf solutions. VM Extensions Full control over app lifecycle management. Custom data/unattend Install custom app independently of external network. Configuration manager Centrally managed app installation, credentials & maintenance. Containerized Abstract app management from infrastructure. Cloud/DC agnostic. Custom image Small self-contained apps. Fast deploy. Immutable build, test, deploy pipelines. © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

VMSS app deployment example On demand high perf MRI image reconstruction Real time imaging is compute intensive VMSS based bursting solution Capacity increased as new scans requested Add 8 nodes in ~3 mins Automatic shutdown timer capacity: 8->32 VMs Size: F16 (Compute optimized) VMSS VMSS VMSS D3_V2 VM Relay node VMSS MRI Load Balancing Custom VM images Custom script extension Docker container MRI host Virtual Network https://github.com/hansenms/azure_templates

11/28/2018 5:22 AM Monitoring © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Monitoring - portal

Upgrades and patches 11/28/2018 5:22 AM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

How do you update a scale set? Microsoft Build 2016 11/28/2018 5:22 AM How do you update a scale set? Application updates E.g. Configuration manager /container orchestrator In-guest updates E.g. Patch extension SKU Version Image URI VM size Extensions VM image updates Update image reference in model ... capacity Upgrade VMs © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11/28/2018 5:22 AM Scale © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Scaling VM Scale Sets Horizontal vs. vertical scale Change the “capacity” property of the scale set Redeploy New VMs are spread across UDs, FDs, storage accounts VM ID increases VMs deleted by highest ID first

Scaling with PowerShell/CLI 11/28/2018 5:22 AM Scaling with PowerShell/CLI PowerShell $vmss = Get-AzureRmVmss -ResourceGroupName myvmss -VMScaleSetName myvmss $vmss.Sku.Capacity = 10 Update-AzureRmVmss -ResourceGroupName myvmss -Name myvmss -VirtualMachineScaleSet $vmss CLI user@myvm: azure vmss scale –g rgname –n vmssname –C 10 Note: Use any tool which edits VMSS model (e.g. Resource Explorer) Portal integration coming soon.. © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11/28/2018 5:22 AM Autoscale © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Autoscale: Why do I care? Microsoft Ignite 2016 11/28/2018 5:22 AM Autoscale: Why do I care? Load Time 3) Notifications 2) Reduced Cost 1) App Resiliency © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Autoscale: How do I get it? Portal: get started in a few clicks Resource Manager Template: have full control CLI, PowerShell, Resource Explorer, SDKs, etc. In-VM Agent Windows Azure Diagnostics agent Linux Azure Diagnostics agent

Autoscale VM VM VM Scale Set Scale action 6 3 Monitoring Service WAD WAD WAD capacity = n WAD metrics Scale action 6 3 Resource validations/checks Insights Storage Monitoring Service (Insights) Portal Insights REST API calls ARM/CSM Create/update AutoScale setting 2 1 4 Schedule AutoScale job (runs every 5 minutes) Insights SDK, PowerShell AutoScale service (background job) 5 Job collects metrics for AutoScale rules Log AutoScale trigger events Scale action (ask the Resource Provider to scale, via ARM) https://github.com/Azure/azure-quickstart-templates

Autoscale: What about complex scenarios? Simultaneously: Scale on a specific day Scale on a recurring schedule Scale on multiple resource metrics Defined in Microsoft.Insights Autoscale rules resource

Autoscale: Can I debug it? See scale events in the Activity Logs See the underlying data through the REST API Or Azure Storage Explorer (in-VM metrics only)

Autoscale: Can Azure notify me? Auto-email your ops team! Integrate with external APIs via Event Hooks Comes with basic payload Add your own payload

Autoscale: Can I build my own autoscale layer? Yes, using the REST API for Autoscale and Scale Sets

Autoscale: Is there tooling? 1st party integration Activity Logs Scale from the Azure Portal Modify autoscale configuration using Azure Resource Explorer 3rd party integration DataDog to show metrics and alerts for Azure VMs and scale sets Pager Duty to send alerts

11/28/2018 5:22 AM Preview © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Autoscale: What’s coming soon? Out of the box autoscale without diagnostics setup No configuring agents or reading data from a storage account Fast & reliable metrics, monitoring, and autoscale 1 min metrics autoscale every 5 min, soon to be 1 min Data retention for 30 days No In-VM Agent Improved reliability Simpler Many customers do not want MS agents inside their VMs

Preview – attached data drives TechReady 23 11/28/2018 5:22 AM Preview – attached data drives Custom images supported at scale No more pre-creating storage accounts Specify attached data drives in storageProfile Good for: Big data, HADOOP Stateful workloads Lift and shift   © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Roadmap Ongoing portal integration Larger scale sets Integrated rolling upgrades Networking enhancements PaaS and application runtime features

Additional Resources Reference Link Creating Virtual Machine Scale Sets using PowerShell cmdlets https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-vmss-powershell-creating/ Quickly create a scale set using the Azure CLI https://azure.microsoft.com/en-us/documentation/articles/virtual-machine-scale-sets-cli-quick-create/ Azure Autoscale Best Practices https://azure.microsoft.com/en-us/documentation/articles/insights-autoscale-best-practices/ Azure Autoscale Emails and Webhooks https://azure.microsoft.com/en-us/documentation/articles/insights-autoscale-to-webhook-email/ Integrate Pager Duty with Azure Resources https://www.pagerduty.com/docs/guides/azure-integration-guide/ For VMSS Editor see https://github.com/gbowerman/vmssdashboard

11/28/2018 5:22 AM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.