the microsoft devops vision_clean.pptx

38
The Microsoft DevOps Vision Donovan Brown

Upload: buikhue

Post on 14-Feb-2017

236 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: The Microsoft DevOps Vision_clean.pptx

The Microsoft DevOps VisionDonovan Brown

Page 2: The Microsoft DevOps Vision_clean.pptx

Session Objective(s): Show how Microsoft’s tools address DevOps practicesWe will tour the products but not full E2E demos that is my other session

Microsoft is a key player in the DevOps spaceOur tools enable teams regardless of the technology they use or the platform they target

Session Objectives And Takeaways

Page 3: The Microsoft DevOps Vision_clean.pptx

It’s DevOps!

It’s DevOps!

It’s DevOps!It’s DevOps!

Page 4: The Microsoft DevOps Vision_clean.pptx

“DevOps is the union of people, process, and products to enable continuous delivery of value to our end users.”Donovan Brown

http://bit.ly/WhatIs-DevOps

Page 5: The Microsoft DevOps Vision_clean.pptx

How we became agile and transformed a box software product into

a service…

Page 6: The Microsoft DevOps Vision_clean.pptx

The journey

TFS2008

TFS2010

TFS2012

TFS2013

TFS2005

TFS2015

TFSU1

TFSU2

TFSU3

TFSU4

TFSU5

Visual Studio

Page 7: The Microsoft DevOps Vision_clean.pptx

Our rolesProgram Manager – Responsible to ensure we’re building the right thing.

Engineer – Responsible to ensure we’re building products that are fast, reliable, and well engineered AND high quality and meets customers needs.

Page 8: The Microsoft DevOps Vision_clean.pptx

Our teamsProgram Management Engineering

Page 9: The Microsoft DevOps Vision_clean.pptx

Cross discipline10-12 peopleSelf managingAutonomous backlogIntact for 12-18 monthsPhysical team rooms

Teams

Page 10: The Microsoft DevOps Vision_clean.pptx

3 week sprints

3 weeks

Page 11: The Microsoft DevOps Vision_clean.pptx

3 week sprints

Week 1 Week 2 Week 3

Week 1 Week 2 Week 3Week 2 Week 3

Sprint 69Sprint 68 Sprint 70

Deployment

Sprint Planning Done!

Page 12: The Microsoft DevOps Vision_clean.pptx

What we accomplished

3 week sprints

Week 1 Week 2 Week 3

Week 1 Week 2 Week 3Week 2 Week 3

Sprint 86Sprint 85 Sprint 87

The sprint plan

Page 13: The Microsoft DevOps Vision_clean.pptx

Sprint mails

Plan Accomplished

Page 14: The Microsoft DevOps Vision_clean.pptx

Code Test & Stabilize Code Test & Stabilize

CodeComplete

Quality before

Page 15: The Microsoft DevOps Vision_clean.pptx

Quality before• Multi-year cycles• Milestones and stabilizations• Debt

Page 16: The Microsoft DevOps Vision_clean.pptx

Quality after

Page 17: The Microsoft DevOps Vision_clean.pptx

Bugs

Page 18: The Microsoft DevOps Vision_clean.pptx

Engineering scorecard

Page 19: The Microsoft DevOps Vision_clean.pptx

• Multi-year cycles → cloud cadence• Box → live site/DevOps• On-premises TFS → Visual Studio Team

Services• Dev and QA → engineer• Mostly functional tests → mostly unit• Accepting test failures → 100% reliability

and fast

Transform engineering

Page 20: The Microsoft DevOps Vision_clean.pptx

Deployment principlesNo down timeFully automatedJoint ownership between engineering and opsDecoupled services: clear contractsFeature flags

Page 21: The Microsoft DevOps Vision_clean.pptx

Feature flagsDecouples engineering and marketingControl exposureGranularControlled via PowerShellSupports early feedback, experimentationConferences, launches

Page 22: The Microsoft DevOps Vision_clean.pptx

Source control

Agile planningTest case

managementBuild automationContinuous deploymentRelease

managementLoad testing

Lab management

Our solutionVisual StudioTeam Services

Team Foundation

Server

Page 23: The Microsoft DevOps Vision_clean.pptx

Source control

Agile planningTest case

managementBuild automationContinuous deploymentRelease

managementLoad testing

Lab management

Our solution

Feedback managementTeam collaborationApplication

telemetry

Visual StudioTeam Services

Team Foundation

Server

Page 24: The Microsoft DevOps Vision_clean.pptx

Manage the full stack

Provision Environment Azure Resource Manager

Configure Environment Desired State Configuration

Tracking Work TFS / VSTS

Planning Work TFS / VSTS

Install Application NuGet, WebDeploy, etc

Configure Application Tokenization

Create Test Data BacPac with SSDT

Automated Tests Coded UI, Web, Load

Manual Tests Microsoft Test Manager

Notify Approvers Release Management

Notify Approvers Release ManagementPl

anIn

fraAp

pTe

stAp

prov

e

Performance Application Insights

Diagnostics Application Insights

Telemetry Application Insights

Mon

itor/

Lear

n

Page 25: The Microsoft DevOps Vision_clean.pptx

MICROSOFT CONF IDENT IAL – INTERNAL ONLY

TFS

01

Deve

lop Developer Workstation

Team Collaboration

02

Build

& Te

st Build/CI

Test

Release Management for Visual Studio

Microsoft Test Manager

03

Depl

oy

Release Management for Visual Studio

Release

Automation Service

Azure Resource Management

PowerShell | WAML

xPlat Command Line

04

Mon

itor &

Le

arnMonitor

MicrosoftEcosystem

Application Insights

People | Process | Tools

Workstations - On-Premises | Hybrid | Cloud Monitoring - On-Premises | Hybrid | CloudALM Services - On-Premises | Hybrid | Cloud

DEV TEST QA

Environments - On-Premises | Hybrid | Cloud

TFS / VSTS

TFS / VSTS

TFS / VSTS

VSTS

Page 26: The Microsoft DevOps Vision_clean.pptx

01

Deve

lop Developer Workstation

Team Collaboration

02

Build

& Te

st Build/CI

Test

03

Depl

oy Configuration 04

Mon

itor &

Le

arnMonitor

This graphic shows OSS and partner products that are integrated with the Microsoft DevOps solution

MixedEcosystem

Release

People | Process | Tools

Page 27: The Microsoft DevOps Vision_clean.pptx

List of DevOps Practices• Infrastructure as Code (IaC)• Continuous Integration• Automated Testing• Continuous Deployment• Release Management• App Performance Monitoring• Load Testing & Auto-Scale

• Availability Monitoring• Capacity Management• Change/Configuration Management• Feature Flags• Automated Environment De-Provisioning• Self Service Environments• Automated Recovery (Rollback & Roll-

Forward)• Hypothesis Driven Development

• Testing in Production• Fault Injection• Usage Monitoring / User Telemetry

http://www.itproguy.com/devops-practices/

Page 28: The Microsoft DevOps Vision_clean.pptx

Plan1 Monitor +

Learn

Release

Develop + Test2

Development

Production

4

3

DevOps

Page 29: The Microsoft DevOps Vision_clean.pptx

It starts with an idea – and a plan how to turn this idea into reality …

Manage work

Develop + Test

1

PlanProject starts

PlanTrack progress

Page 30: The Microsoft DevOps Vision_clean.pptx

Kanban

Page 31: The Microsoft DevOps Vision_clean.pptx

Write Code

Unit Testing

2

Build

Version Control

Build Verification

Release

Once the iteration starts, developers turn great ideas into features …

Develop + Test

Page 32: The Microsoft DevOps Vision_clean.pptx

Source Build

Continuous Integration

Value• Accelerate Delivery• Repeatability • Optimized Resources

Measure• More frequent releases• MTTR• MTTD

cspkg

Test

DEV OPSOPS

Page 33: The Microsoft DevOps Vision_clean.pptx

Continuous Integration

Page 34: The Microsoft DevOps Vision_clean.pptx

CloudLoad

TestingIntegration testing

environment

Automated functional testing environment

3

Pre-production environment

Stagingenvironment

Monitor + Learn

When all tests pass, the build is deployed to testing environments for each stage in the release process

Release

Page 35: The Microsoft DevOps Vision_clean.pptx

SOURCE REPO DEV

Release Management

Value• Optimized Resources• Accelerate Delivery

Measure• Deployment Rate• MTTR• Availability

STAGE

PRODUCTIONDEV OPS

Page 36: The Microsoft DevOps Vision_clean.pptx

Continuous Deployment & Release Management

Page 37: The Microsoft DevOps Vision_clean.pptx

Learn and understand how users use your app, how it reacts and quickly fix issues and bugs

Monitor + Learn

4

Monitor

Feedback

Plan the next iteration

Page 38: The Microsoft DevOps Vision_clean.pptx

Monitor and LearnTesting in Production

PRODUCTION A PRODUCTION B

90% 10%

TelemetryPRODUCTIO

N

Fault Injection

X

X X

X