transform your it skills in a devops world
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-B222TRANSCRIPT
Transform your IT Skills in a DevOps WorldDavid TesarTechnical EvangelistITProGuy.com @dtzar
DCIM-B222
Understand “modern” role OPs could play throughout entire application lifecycleUnderstand Microsoft products related to DevOpsLeverage additional resources to learn more
Key takeaways
i
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.
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
DevOps: the three stage conversation
3 Products2 Process1 People
Optimize resources
Improve availability
Increase application quality
SLA
How can Operations help with DevOps?Accelerate delivery1 2 3 4
Do these…
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%
Microsoft’s ALM framework
ProductionDevelopment
Operate + learnPlan
Develop + test Release
Requirements
Collaboration
Source Build
Test/issues Deployment Application
Operations
Process tools
ALM framework
Cloud
On-premises
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
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
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
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
Source Repos
Test Case Management
Feedback Management
Build and Continuous Integration
Agile Planning
Team Rooms
Team Foundation Server
ALM your way
Centralized & decentralized controlsCentralized
TFVCSubversionCVSVSS
DecentralizedGitMercurialBazaar
PLA
N
OPERATE OPER
AT
ERELEASE RELE
AS
EDEVELOP DEV
ELO
P
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
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
Demo
Visual Studio Online Source Code &Deploying Azure Website + SQL using PowerShell
Cloud
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
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
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
Demo
Deploy Azure Website + SQL DB using Azure Resource Group
Cloud
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
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
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
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
Demo
Continuous Integration and Deployment with Azure Websites+Moving between Azure Deployment Slots
Cloud
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
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
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
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
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
Demo
Monitoring using Application Insights
Cloud
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
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
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.
DEV OPSBUSINESS
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
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
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
Complete an evaluation and enter to win!
Evaluate this session
Scan this QR code to evaluate this session.
© 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.