At 10:15 AM they managed to shut...
Transcript of At 10:15 AM they managed to shut...
![Page 1: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/1.jpg)
![Page 2: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/2.jpg)
![Page 3: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/3.jpg)
At 10:15 AM they
managed to shut down
the entire system.
![Page 4: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/4.jpg)
In 45 minutes Knight Capital
Group lost
dollars.
![Page 5: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/5.jpg)
What would be the impact in
your organization?
![Page 6: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/6.jpg)
Going DevOps on the Microsoft stack
Using Release Management with VSO and TFS
![Page 7: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/7.jpg)
Wouter de Kort
• ALM Ranger
• Author
• Developer
• Elise
• Groningen
• Lezen
Lead DevOps Consultant
![Page 8: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/8.jpg)
Agenda
• Basic recap
• Advanced features
• PowerShell DSC
• Future
![Page 9: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/9.jpg)
Release Management
![Page 10: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/10.jpg)
History
InRelease
Release Management
Visual Studio 2013 Update 3
vNext
![Page 11: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/11.jpg)
DEV QA INT PROD TFS
Full Traceability
![Page 12: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/12.jpg)
How does it work?
![Page 13: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/13.jpg)
TFS Drop Location
RM Desktop RM Web
QA
DEV
RM Server
Components
![Page 14: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/14.jpg)
DEMO A simple automated release
![Page 15: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/15.jpg)
Choices and features
![Page 16: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/16.jpg)
• Agent based fully supported through 2015
• Each have their Pros and Cons
Agent Based vs v.Next
![Page 17: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/17.jpg)
Any action that can be performed from PowerShell or a CLI
can be done during your release
PowerShell/CLI
![Page 18: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/18.jpg)
Tokenization
Multiple Copies
Transform Files
Tokens
![Page 19: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/19.jpg)
• Shadow Accounts
• Two-way Trusts
• Co-located Agents
Cross-Domain / Workgroup Mode
![Page 20: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/20.jpg)
• Release Management is highly secure
• Remove the Everyone group
• Supports
– Active Directory
– Team Foundation Server Groups
– Release Management Groups
• Supports Encryption
Security
![Page 21: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/21.jpg)
• Some actions require human intervention
• Still recorded in deployment log
• Can trigger a rollback
Manual Intervention
![Page 22: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/22.jpg)
• SSDT
• Care must be taken with Deployment Slots
• Have rollback strategy
Database Changes
![Page 23: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/23.jpg)
• RM Client
• Command Line
• REST API
Triggering Releases
![Page 24: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/24.jpg)
• Restore system after failed deployment
• Similar to Try, Catch, Finally
Rollbacks
![Page 25: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/25.jpg)
PowerShell DSC
![Page 26: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/26.jpg)
The Stage Stack
Manage the full stack
![Page 27: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/27.jpg)
Without DSC
Assumed State
Start with an Assumption of target Environment
Run a series of actions
Desired State
End with desired state (hopefully)
![Page 28: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/28.jpg)
With DSC
Desired State
Send a description of the desired state
DSC capability reaches the desired state
Get.Test.Set
“Make it so”
DSC Resources TFS
Config as Code Shared Gallery
![Page 29: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/29.jpg)
Desired State Configuration
Configuration InstallWebSite {
Node $AllNodes.NodeName {
WindowsFeature InstallIIS {
Ensure = "Present"
Name = "Web-Server"
}
}
}
InstallWebSite –ConfigurationData .\config.ps1
![Page 30: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/30.jpg)
config.ps1
$ConfigData = @{
AllNodes = @(
@{
NodeName = “localhost“
})
}
![Page 31: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/31.jpg)
The future
![Page 32: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/32.jpg)
Current issues
• Separate installation
• Desktop client
• Not cross platform
• Not fully integrated
• ‘Issues’
![Page 33: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/33.jpg)
Release Management vNext
• Web based
• Cross platform
• Easily extensible
![Page 34: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/34.jpg)
DEMO Release Management vNext
![Page 35: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/35.jpg)
And there is more!
• Azure Resource Manager
• Docker
• Chef
• Release validation
• Functional testing
• Load Test
• Test analysis
![Page 36: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/36.jpg)
![Page 37: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/37.jpg)
Thank you!
![Page 38: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/38.jpg)
Your feedback is important!
Scan the QR Code and let us know via the TechDays App.
Laat ons weten wat u van de sessie vindt via de TechDays App!
Scan de QR Code.
Bent u al lid van de Microsoft Virtual Academy?! Op MVA kunt u altijd
iets nieuws leren over de laatste technologie van Microsoft. Meld u
vandaag aan op de MVA Stand. MVA biedt 7/24 gratis online training
on-demand voor IT-Professionals en Ontwikkelaars.
![Page 39: At 10:15 AM they managed to shut downdownload.microsoft.com/download/A/F/5/AF55B18A-C143-40D8...Agent Based vs v.Next Any action that can be performed from PowerShell or a CLI can](https://reader034.fdocuments.in/reader034/viewer/2022043016/5f38f3206e46a12005557277/html5/thumbnails/39.jpg)