330 likes | 343 Views
Learn how to effectively manage your cloud environment and application lifecycle using Azure Resource Manager and Visual Studio Online. Discover the benefits of resource groups and how they can simplify the deployment and management of your resources. Take advantage of Azure Dev/Test Lab for worry-free self-service provisioning and automated deployments.
E N D
Boris Scholl Principal PM Manager – Cloud Platform Tools Claude Remillard Principal Group PM Manager – Cloud Platform Tools Managing Cloud Environment and Application Lifecycle Using Azure Tools and Visual Studio Online 3-721
Agenda slide Azure RM Overview Demo Dev-Test Service announcement Demo Pipeline Integration
The Application Life Cycle Visual Studio IDE, Visual Studio Online, Team Foundation, Release Management, Azure • The key here is to: • Provide artifacts and common storage to be consumed throughout the pipeline • Ensure consistency at each stage
Individual resources • What is the problem with the view below? Hint: It’s not that I spend too much money! • Resource centric views! They all belong to one service
Individual Resources • Provision resources in isolation • Deployment becomes more complex • Management of app is challenging • Proper use of resources becomes more abstract • Isolation makes communication a challenge • What are the issues with individual resources?
Azure Resource Manager • What is it? • Application Lifecycle Container • Declarative solution for Deployment “Config as Code” • Imperative solution through CLI/PS • Consistent Management Layer • What is new? • Support for Virtual Machines (Preview) • Support for Virtual Network (Preview) • Support for Azure Storage • What is it and what is new?
Azure Resource Groups • What are resource groups • Tightly coupled containers of multiple resources of similar or different types • Every resource *must* exist in one and only one resource group • Resource groups can span regions • Why is that good? • You can provision all the resources through one template • All the resources are “linked” together through a resource group • What are resource groups?
“This is a freakin awesome resource! This will go a long way to boost my productivity”
“No more 0.5-1.5 days spent rebuilding my VM” “No more struggling with hardware that doesn't have enough RAM to adequately host VMs with reasonable perf”
“That’s cool stuff and very slick experience!” “This is awesome. so easy to get addicted to!” “Love how easy it is to create a VM”
Team 1 Team 2 Team 3 Team 4 Team 5 Team 6 Team 7 Team 8
Introducing Azure Dev/Test Lab
Automated Pipeline - Release Management Automates Deployments PROD INT DEV QA TFS
s Add tasks – Dev BudgetIT* Environments Artifacts(1) Variables Options History Azure Save draft Publish Release | Export All tasks (60) Azure (4) Test (8) Deploy (10) Other (30) Azure Resource Group Deployment Deploy a resource group in Azure | Microsoft Corporation Azure Powershell Run an Azure Powershell script | Microsoft Corporation Azure Cloud Application Deployment Deploy an Azure Cloud Application | Microsoft Corporation Azure Website Deployment Deploy an Azure Website | Microsoft Corporation BudgetIT Add Add Add Add Owner Lan … … … … … Add tasks… Add environments No tasks here. … ***.buildproj Solution … … Dev0 tasks 0 approvals ***.buildproj ***.buildproj Solution Solution MSBuild location MSBuild location MSBuild location Visual Studio Location Azure Dev/Test Lab Provisioning Provision a VM or Container in a Dev/Test Lab in Azure | Microsoft Corporation Visual Studio Location Visual Studio Location MSBuild arguments Add MSBuild arguments MSBuild arguments Platform $(platform) Platform Platform $(platform) $(platform) $(config) Configuration $(config) $(config) Configuration Configuration Clean $(forceClean) Clean Clean $(forceClean) $(forceClean) Restore NuGet packages Restore NuGet packages Restore NuGet packages Close
BudgetIT.Release* Environments Artifacts Variables Options Save Release BudgetIT.Release … Azure Deployment: … 1. Manage Azure Subscription Add tasks… Add environments Azure Dev/Test Lab Provisioning Provision VM in Azure Dev/Test Lab Resource Group Location North US Dev8 tasks 0 approvals 2. Resource Group Name Azure Resource Group Deploy… Azure Deployment: $(release.artifactsDirectory)\*.json Template 3. $(release.artifactsDirectory)\*.params.json Template Parameters Azure File Copy Copy file $(release.artifactsDirector Override Template Parameters Advanced Deployment Options 4. PowerShell on Target Machines.. PowerShell script on Refresh SAS Token Virtual Machine Credentials 5. Visual Studio Test Agent Deploy… Machine group: Username Password 6. Visual Studio Test Run using Test.. Test assemblies: **\*test*.dll PowerShell Deployment Ports Network Protocol WinRM Secure Certificate $(release.artifactsDirectory)\*.pfx Certificate Thumbprint Azure Key Vault Control Options Enabled Continue on Error Always Run Always Run
Call to action Download and Install the latest Azure SDK 2.6 Provide feedback for VS Azure Resource Manager tooling