35
Bridging the DEV-OPS gap with Windows Server 2012 and Visual Studio 2012 Kenneth Hansen Principal Program Manager Hemant Mahawar Senior Program Manager 2-023

Bridging the DEV-OPS gap with Windows Server 2012 and Visual Studio 2012

  • Upload
    oberon

  • View
    66

  • Download
    0

Embed Size (px)

DESCRIPTION

Bridging the DEV-OPS gap with Windows Server 2012 and Visual Studio 2012. Kenneth Hansen Principal Program Manager Hemant Mahawar Senior Program Manager 2-023. Basic agenda. Deploy demo environment Philosophical moment on DevOps … - PowerPoint PPT Presentation

Citation preview

Page 1: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Bridging the DEV-OPS gap with Windows Server 2012 and Visual Studio 2012Kenneth Hansen Principal Program ManagerHemant Mahawar Senior Program Manager2-023

Page 2: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Basic agenda• Deploy demo environment• Philosophical moment on DevOps…• Key elements of deploy automation

(PowerShell and Workflow Code)• Create self-service portal over automation

(JavaScript and REST Code)• Party

Page 3: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

MICROSOFT CONF IDENTIAL – INTERNAL ONLY

Demo EnvironmentAdmin Client• Where IT pro does their work• Deploys Management server and

Machines• Ongoing Management Connects to

Management Server

Management Server• PowerShell WebService

(O’Data)• VM Management Cmdlets

Web Servers• Machines for demo app

(website)

Infrastructure Server• AD• DHCP• DNS

VM Host

Page 4: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Start deployment

Page 5: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Observation one

Customer experience is kingSite-up is queen

Page 6: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Observation two

Scale “great and terrible”Systems failSystems change

Page 7: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Netflix and Chaos Monkey

“…One of the first systems our engineers…is called the Chaos Monkey. The Chaos Monkey’s job is to randomly kill instances and services within our architecture. If we aren’t constantly testing our ability to succeed despite failure, then it isn’t likely to work when it matters most – in the event of an unexpected outage…”

http://techblog.netflix.com/2010/12/5-lessons-weve-learned-using-aws.html

Page 8: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Failure – embrace it

“…change our minds to assume that every machine can fail at any time without notice and that that’s OK and expected, not an OMG moment where you freak out trying to bring it back…”

Friend: Mir Rosenberg

Page 9: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Change

Business requires changeInternet businesses require rapid changeChange is the root cause of most site-downsHmmm…

Page 10: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Change – embrace it

“…“In the last week there were 67 deploys of 496 changes by 18 people” – Flickr Dev Blog.…”

Page 11: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Ok – How?

Page 12: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

DevOps - Born june 2009 at Velocity conference

John Allspaw & Paul Hammond“10 deploys per day; Dev & Ops cooperation at Flicker”

http://velocityconf.com/velocity2009/public/schedule/detail/7641

Page 13: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

DevOps success…

CultureAutomationMeasurementSharing

Page 14: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

DevOps success…

CultureAutomationMeasurementSharing

Page 15: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Choices

DEVops or devOPS orDevOps

Page 16: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

DevOps – frequent job posting

B.S. in computer science or engineering; X+ years professional experience in software development; work experience with system configuration and deployment automation technologies

Page 17: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Career: Opportunities and…

Page 18: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

DevOps success…

CultureAutomationMeasurementSharing

Page 19: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

“Hindsight is a Jerk”...The trigger for this event was a network configuration change

We will audit our change process and increase the automation to prevent this mistake from happening in the future

…we focus on building software and services to survive failures

Quote: Daniel Hansen

http://aws.amazon.com/message/65648/

Page 20: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

DevOps implementation success…

CultureIdempotent automationMeasurementSharing

Page 21: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Idempotent automationWikipedia: “Idempotence ( /ˌaɪdɨmˈpoʊtəns/ EYE-dəm-POH-təns) is the property of certain operations in mathematics and computer science, that they can be applied multiple times without changing the result beyond the initial application.…”

http://en.wikipedia.org/wiki/Idempotent

Page 22: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Microsoft “service”...Customer agent tried to fix something, but made it worse

PM (program manager) fixed automation to be idempotent

Page 23: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

MICROSOFT CONF IDENTIAL – INTERNAL ONLY

Demo EnvironmentAdmin Client• Where IT pro does their work• Deploys Management server and

Machines• Ongoing Management Connects to

Management Server

Management Server• PowerShell WebService

(O’Data)• VM Management Cmdlets

Web Servers• Machines for demo app

(website)

Infrastructure Server• AD• DHCP• DNS

VM Host

Page 24: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Automate deployment

Page 25: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Not too hard (For that much benefit)

WorkflowRebootParallelCmdletsScriptingStandards (not demoed)

Page 26: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Doing it right…makes it simpler

Page 27: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Automating the environmentStep one: Create task oriented objects and cmdletsStep two: Automate deploymentStep three: Automate Self serviceStep four: …

Page 28: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Automate self-service

Page 29: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

SummarySite-up is queenSystems fail, systems changeThink DevOps (CAMS)Use automation

We will keep investing and improving!!

Page 30: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

PARTICIPATE IN DESIGN RESEARCH

RETURN THE ENROLLMENT FORM TO: KARLM BY THE DOOR

MICROSOFT DEVELOPER DIVISION DESIGNRESEARCH

(OR) FILL IT ONLINE AThttp://bit.ly/x6dtHt

Page 31: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

• Follow us on Twitter @WindowsAzure

• Get Started: www.windowsazure.com/build

Resources

Please submit session evals on the Build Windows 8 App or at http://aka.ms/BuildSessions

Page 32: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

Page 33: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

Backup

Page 34: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

• 3-007 DevOps: Integrating development and operations for the last mile velocity

Related sessions

Please submit session evals on the Build Windows 8 App or at http://aka.ms/BuildSessions

Page 35: Bridging the DEV-OPS gap with Windows Server 2012 and  Visual  Studio 2012

DevOps success…

Site-up focusMulti-disciplineBusiness focused innovation