350 likes | 476 Views
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 …
E N D
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… • Key elements of deploy automation (PowerShell and Workflow Code) • Create self-service portal over automation (JavaScript and REST Code) • Party
Demo Environment VM Host • Admin Client • Where IT pro does their work • Deploys Management server and Machines • Ongoing Management Connects to Management Server • Infrastructure Server • AD • DHCP • DNS • Web Servers • Machines for demo app (website) • Management Server • PowerShell WebService (O’Data) • VM Management Cmdlets
Observation one • Customer experience is king Site-up is queen
Observation two • Scale “great and terrible”Systems failSystems change
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
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
Change • Business requires change • Internet businesses require rapid change • Change is the root cause of most site-downs • Hmmm…
Change – embrace it “…“In the last week there were 67 deploys of 496 changes by 18 people” – Flickr Dev Blog.…”
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
DevOps success… • CultureAutomationMeasurementSharing
DevOps success… • CultureAutomationMeasurementSharing
Choices • DEVops or devOPS orDevOps
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
DevOps success… • CultureAutomationMeasurementSharing
“Hindsight is a Jerk”... • The trigger for this event was a network configuration change • We will audit our change process and increase the automationto prevent this mistake from happening in the future • …we focus on building software and services to survive failures http://aws.amazon.com/message/65648/ Quote: Daniel Hansen
DevOps implementation success… • CultureIdempotent automationMeasurementSharing
Idempotent automation • Wikipedia: “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
Microsoft “service”... • Customer agent tried to fix something, but made it worse • PM (program manager) fixed automation to be idempotent
Demo Environment VM Host • Admin Client • Where IT pro does their work • Deploys Management server and Machines • Ongoing Management Connects to Management Server • Infrastructure Server • AD • DHCP • DNS • Web Servers • Machines for demo app (website) • Management Server • PowerShell WebService (O’Data) • VM Management Cmdlets
Not too hard (For that much benefit) Workflow Reboot Parallel Cmdlets Scripting Standards (not demoed)
Automating the environment • Step one: Create task oriented objects and cmdlets • Step two: Automate deployment • Step three: Automate Self service • Step four: …
Summary • Site-up is queen • Systems fail, systems change • Think DevOps (CAMS) • Use automation We will keep investing and improving!!
PARTICIPATE IN DESIGN RESEARCH MICROSOFT DEVELOPER DIVISION DESIGN RESEARCH RETURN THE ENROLLMENT FORM TO: KARLM BY THE DOOR (OR) FILL IT ONLINE AT http://bit.ly/x6dtHt
Resources • Follow us on Twitter @WindowsAzure • Get Started: www.windowsazure.com/build Please submit session evals on the Build Windows 8 App or at http://aka.ms/BuildSessions
Related sessions • 3-007 DevOps: Integrating development and operations for the last mile velocity • Please submit session evals on the Build Windows 8 App or at http://aka.ms/BuildSessions
DevOps success… • Site-up focusMulti-disciplineBusiness focused innovation