transform your it skills in a devops world

44

Upload: david-tesar

Post on 26-May-2015

195 views

Category:

Technology


1 download

DESCRIPTION

Tired of getting paged at 2:00am due to a bug in the developer’s code or infrastructure problems? Frustrated by Shadow IT and developers going around your back to publish applications? IT operations can play an important part working at every stage of the application lifecycle (ALM) and become an agent of DevOps transformation in your company, leading to accelerated delivery, optimized usage of resources, improved availability, and increased application quality. Learn to better understand your developer’s world and – on a technical level – see how to deploy applications and infrastructure as code to Microsoft Azure using PowerShell and resource group templates. Set up continuous deployments to Microsoft Azure with Visual Studio Online, and detect and fix problems earlier by monitoring your applications and infrastructure using Application Insights and System Center Operations Manager (SCOM). This session will be helpful if you are planning on starting a DevOps initiative inside your organization or looking for some guidance on where and how to get going. http://channel9.msdn.com/Events/TechEd/NorthAmerica/2014/DCIM-B222

TRANSCRIPT

Page 1: Transform your IT skills in a DevOps World
Page 2: Transform your IT skills in a DevOps World

Transform your IT Skills in a DevOps WorldDavid TesarTechnical EvangelistITProGuy.com @dtzar

DCIM-B222

Page 3: Transform your IT skills in a DevOps World

Understand “modern” role OPs could play throughout entire application lifecycleUnderstand Microsoft products related to DevOpsLeverage additional resources to learn more

Key takeaways

i

Page 4: Transform your IT skills in a DevOps World

Resolving issues without DevOps

Operations gets notified of application problem.

Customer finds problem with your application.DEV OPS

There is no problem with my code, you’re either deploying wrong or there is a problem with your infrastructure.

Infrastructure looks good, must be a code problem.

Page 5: Transform your IT skills in a DevOps World

Gartner Security Conference presentation "Operation Zero Downtime," D. Scott

OPERATIONS

People/Process is what % of downtime?

40%

• Change management• Overloaded• Weak problem

detection

APPLICATION FAILURE

• Hardware/OS• Network• Power and disaster

20%OTHER

• Forget something• Lack of procedures• Backup

errors/security40%

OPERATOR ERROR

PROCESS

Page 6: Transform your IT skills in a DevOps World

DevOps: the three stage conversation

3 Products2 Process1 People

Page 7: Transform your IT skills in a DevOps World

Optimize resources

Improve availability

Increase application quality

SLA

How can Operations help with DevOps?Accelerate delivery1 2 3 4

Do these…

Page 8: Transform your IT skills in a DevOps World

DevOps benefits

Source: https://puppetlabs.com/

Key findings:Organizations that implemented DevOps reported:

Improved quality of software deploymentsHigh performance and reliability

Ship code 30x fasterand complete those deployments 8,000 times faster than their peers.

Have 50% fewer failuresand restore service 12 times faster than their peers.

TOP 5 TOOLS USED TO SUPPORT DEVOPS INITIATIVES

VERSION CONTROL SYSTEMS84%

CONFIGURATION MANAGEMENT 78%

TICKETING SYSTEM 68%

RESOURCE MONITORING 60%

PROVISIONING 56%

ORGANIZATIONS THAT HAVE IMPLEMENTED DEVOPS SAW THESE BENEFITS:

IMPROVED QUALITY OF SOFTWARE DEPLOYMENTS 65%

MORE FREQUENT SOFTWARE RELEASES 63%

IMPROVED VISIBILITY INTO ITPROCESS AND REQUIREMENTS

61%

CULTURAL CHANGECOLLABORATION/COOPERATION

55%

MORE RESPONSIVENESS TO BUSINESS NEEDS

55%

MORE AGILE DEVELOPMENT 51%

MORE AGILE CHANGE MANAGEMENT PROCESS

45%

IMPROVED QUALITY OF CODE 38%

Page 9: Transform your IT skills in a DevOps World

Microsoft’s ALM framework

ProductionDevelopment

Operate + learnPlan

Develop + test Release

Requirements

Collaboration

Page 10: Transform your IT skills in a DevOps World

Source Build

Test/issues Deployment Application

Operations

Process tools

ALM framework

Cloud

On-premises

Page 11: Transform your IT skills in a DevOps World

Source Build

Test/issues Deploy App

Ops

Process tools

Open Source EcosystemGitHubCodeplex

GradleGrunt

HudsonJenkins

Configuration

Gradle

Chef

Grunt

HudsonJenkins

Puppet Labs

Vagrant

Alerting

Monitor

Zabbix

Redmine JIRA

Public Cloud

On-premises

Microsoft Azure

Linux

Puppet Labs Eclipse

VisualStudio

Gradle Grunt

Page 12: Transform your IT skills in a DevOps World

Repository Build

Test Deploy App

Ops

Process tools

Microsoft Ecosystem

Team Foundation Server

Team Foundation Server

Microsoft Test Manager

Microsoft Monitoring Agent

Service Manager

PowerShell

xPlat CLI

WAML

Resource Groups

Visual Studio Online Application Insights

Team Foundation Server

Release Management for Visual Studio

Release Management for Visual Studio

ONE CONSISTENT PLATFORM

ON-PREMISES

SERVICE PROVIDER

Microsoft Azure

Release Management for Visual Studio

System CenterOperations Manager

OR

TFVC

GITAutomation Service

Page 13: Transform your IT skills in a DevOps World

START TO BE INVOLVED

When does application development start?Where is this app going to live eventually?Any sensitive information?What infrastructure is required through the phases?What kind of SLA & performance does business eventually desire?How much will it cost to run the infrastructure?

Some essential Qs for Ops in Plan phase

Page 14: Transform your IT skills in a DevOps World

Assistance Creating Dev/Test environmentsInfrastructure as CodeVisual Studio client images in AzureVPNs – Site to Site and Point to Site

Advanced Infrastructure ConsiderationsService Gateway, Traffic Manager, Auto-Scale

Load and Availability TestingOptimizing Costs

Some Tasks for OPs in Develop phase

PLA

N

OPERATE OPER

AT

ERELEASE RELE

AS

EDEVELOP DEV

ELO

P

Page 15: Transform your IT skills in a DevOps World

Source Repos

Test Case Management

Feedback Management

Build and Continuous Integration

Agile Planning

Team Rooms

Team Foundation Server

ALM your way

Page 16: Transform your IT skills in a DevOps World

Centralized & decentralized controlsCentralized

TFVCSubversionCVSVSS

DecentralizedGitMercurialBazaar

PLA

N

OPERATE OPER

AT

ERELEASE RELE

AS

EDEVELOP DEV

ELO

P

Page 17: Transform your IT skills in a DevOps World

Deployment

Source Build

Test/Issues Application

Operations

Build fundamentals

cspkg

Team Foundation Server

OR

TFVC

GIT

PaaS – Website

OR

PowerShell icon

Release Management for Visual Studio

Cloud Service

PLA

N

OPERATE OPER

AT

ERELEASE RELE

AS

EDEVELOP DEV

ELO

P

Page 18: Transform your IT skills in a DevOps World

BuildRepository

Test Deploy App

Ops

Deploy Azure Website using PS

PowerShell

PLA

N

OPERATE OPER

AT

ERELEASE RELE

AS

EDEVELOP DEV

ELO

P

PaaS – Website

cspkgcspkg

i

Page 19: Transform your IT skills in a DevOps World

Demo

Visual Studio Online Source Code &Deploying Azure Website + SQL using PowerShell

Cloud

Page 20: Transform your IT skills in a DevOps World

Azure Automation OptionsSERVICES POWERSHE

LLXPLAT-CLI WAML RESOURCE

GROUPChef, Puppet, Vagrant

Virtual Machine √ √ √ C P V

Cloud Service √ √ C P V

Website √ √ √ √

Network √ √ √ C P

Storage √ √ √ √ C P V

SQL Database √ √ √ √ P

Service Bus √ √ √

Store √ √

Scheduler √

Monitoring √ √

Traffic Manager √

HDInsight √ √

Mobile Services √

Media Services √ √

Caching √ √

WAAD Auth √ √i

PLA

N

OPERATE OPER

AT

ERELEASE RELE

AS

EDEVELOP DEV

ELO

P

Page 21: Transform your IT skills in a DevOps World

Azure Resource Management

ADFS

AADCloud On-Premises

RESOURCE MANAGER

Tools

SERVICE MANAGEMENT API

RESOURCE PROVIDER CONTRACT

ProviderRest Points

Microsoft Azure Visual StudioCommand Line

i

PLA

N

OPERATE OPER

AT

ERELEASE RELE

AS

EDEVELOP DEV

ELO

P

Page 22: Transform your IT skills in a DevOps World

Repository

Build

Test Deploy App

Ops

Deploy Azure Website using ARM

PowerShell

Azure Resource Groups

PLA

N

OPERATE OPER

AT

ERELEASE RELE

AS

EDEVELOP DEV

ELO

P

PaaS – Website

i

Page 23: Transform your IT skills in a DevOps World

Demo

Deploy Azure Website + SQL DB using Azure Resource Group

Cloud

Page 24: Transform your IT skills in a DevOps World

Some Tasks for Ops in ReleaseDefine release processes

Release management overviewConfiguring release managementDefining Release PathsUsing DSC within workflows

Multiple environmentsMovement between environmentsResource cleanup/de-provisioning

Continuous DeliveryContinuous Integration (CI)Automated TestingContinuous Deployment (CD)

i

PLA

ND

EV

ELO

P OPERATE OPER

AT

ERELEASE RELE

AS

E

Page 25: Transform your IT skills in a DevOps World

Release Flow

DEV

Dev Servers

TEST PRE - PROD

i

PRODUCTION

Create SQL database

Configure services

Run .msi file

Stages

Environments

Actions

Approvers

Test Servers

Create SQL database

Configure services

Update .ini file

Pre-Prod Servers

Restore SQL database

Run SQL scrip

Configure services

Prod Servers

Run SQL script

Run .msi file

Run .msi file Run .msi file

Release Paths

PLA

ND

EV

ELO

P OPERATE OPER

AT

ERELEASE RELE

AS

E

Page 26: Transform your IT skills in a DevOps World

ApplicationDeployment

BuildSource

PLA

ND

EV

ELO

P

Test/Issues

Operations

CI & CD with Azure Websites OPERATE OPER

AT

ERELEASE RELE

AS

E

PaaS – Website

cspkgcspkg

i

Page 27: Transform your IT skills in a DevOps World

BuildSource

PLA

ND

EV

ELO

P

Test/Issues Deployment Application

Operations

Move Environments with Azure PaaS OPERATE OPER

AT

ERELEASE RELE

AS

E

cspkg

PaaS – Website

Staging

ProductionPaaS – Website

i

Page 28: Transform your IT skills in a DevOps World

Demo

Continuous Integration and Deployment with Azure Websites+Moving between Azure Deployment Slots

Cloud

Page 29: Transform your IT skills in a DevOps World

Some Tasks for OPs in OperateMonitor

Infrastructure - Discover all the owned assetsChanges - detect them and have a process to manage themProblems – detect them and resolve quickly

ScaleIncrease the capacity of the infrastructure to meet demand, business requirements, and SLAs

SecurityCore PlatformIdentity and AccessAuditing and Logging

Pass back learnings to development lifecycle

PLA

N

DEVELOPDEV

ELO

PRELEASERELE

AS

E OPERATE OPER

AT

E

Page 30: Transform your IT skills in a DevOps World

Cloud Based MonitoringOptions

Application InsightsAzure Management Console

Change configuration optionsPowerShell DSC (inside Azure VMs)3rd Party tools

Remediation toolsRollback via deployment slots or infrastructure as code + automationMicrosoft Monitoring AgentAzure Diagnostics (WAD)Intellitrace and profilerWebsite Diagnostics

PLA

N

DEVELOPDEV

ELO

PRELEASERELE

AS

E OPERATE OPER

AT

E

Page 31: Transform your IT skills in a DevOps World

How to start getting insights into your applications?

Basic Availability

Embrace the advantages of the cloud at your own pace

Basic Performance

Application Usage

Custom Telemetry

Non-invasive

Code change

PLA

N

DEVELOPDEV

ELO

PRELEASERELE

AS

E OPERATE OPER

AT

E

Page 32: Transform your IT skills in a DevOps World

Application

Build

Test/Issues

PLA

N

Source

OPERATE OPER

AT

ERELEASE RELE

AS

EDEVELOP DEV

ELO

P

Deployment

Operations

APM with App Insights

Visual Studio Online Application Insights

Microsoft Monitoring Agent

PaaS – Website

i

Page 33: Transform your IT skills in a DevOps World

Operations

Application

Build

Test/Issues

Source

Deployment

Monitoring with App Insights

PaaS – Website

Global Service Monitor

Application Insights

PLA

N

DEVELOPDEV

ELO

PRELEASERELE

AS

E OPERATE OPER

AT

E

i

Page 34: Transform your IT skills in a DevOps World

Demo

Monitoring using Application Insights

Cloud

Page 35: Transform your IT skills in a DevOps World

Deploy App

Repository Build

Test App

Ops

Scaling Microsoft Azure

Learn

PaaS – WebsiteSouth East Asia

PaaS – WebsiteWest US

Service GatewayRules:

Users, Traffic %, Path

/Rep

orts

Traffic Manage

r

PLA

N

DEVELOPDEV

ELO

PRELEASERELE

AS

E OPERATE OPER

AT

E

Load Balancer

Auto Scale

i

Page 36: Transform your IT skills in a DevOps World

Continuous ImprovementMTTD, SLA

• SCOM + Application Insights - with APM and GSM

MTTR, SLA• SCVMM + SCO (scale), Release Manager (rollback+ CI/CD ), Azure AutoScale,

Traffic Manager (scale), Infrastructure as code and CI/CD (rollback)

MTTF/MTBF • As a result of working together early on and implementing various things talked

about

Continuous Delivery• Automated testing, Continuous integration, Continuous deployment• Faster, increased and more reliable software releases

Page 37: Transform your IT skills in a DevOps World

Resolving issues without DevOps

Operations gets notified of application problem.

Customer finds problem with your application.DEV OPS

There is no problem with my code, you’re either deploying wrong or there is a problem with your infrastructure.

Infrastructure looks good, must be a code problem.

Page 38: Transform your IT skills in a DevOps World

DEV OPSBUSINESS

Page 39: Transform your IT skills in a DevOps World

TechEd DevOps Sessions Post on my BlogITProguy.com

Channel 9 – Edge Showhttp://aka.ms/EdgeDevOps

TechNet DevOps Bloghttp://aka.ms/DevOpsBlog

Microsoft Virtual Academy

Related Content

Page 40: Transform your IT skills in a DevOps World

Come Visit Us in the Microsoft Solutions Experience!

Look for Datacenter and Infrastructure ManagementTechExpo Level 1 Hall CD

For More InformationWindows Server 2012 R2http://technet.microsoft.com/en-US/evalcenter/dn205286

Windows Server

Microsoft Azure

Microsoft Azurehttp://azure.microsoft.com/en-us/

System Center

System Center 2012 R2http://technet.microsoft.com/en-US/evalcenter/dn205295

Azure PackAzure Packhttp://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack

Page 41: Transform your IT skills in a DevOps World

Resources

Learning

Microsoft Certification & Training Resources

www.microsoft.com/learning

msdn

Resources for Developers

http://microsoft.com/msdn

TechNet

Resources for IT Professionals

http://microsoft.com/technet

Sessions on Demand

http://channel9.msdn.com/Events/TechEd

Page 42: Transform your IT skills in a DevOps World

Complete an evaluation and enter to win!

Page 43: Transform your IT skills in a DevOps World

Evaluate this session

Scan this QR code to evaluate this session.

Page 44: Transform your IT skills in a DevOps World

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.