40

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

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

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
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
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

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

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

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

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

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

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

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

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

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

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

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

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

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

• 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

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

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

• 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

• 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

• 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

• 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

• 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

• 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

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

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

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

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

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

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

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

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

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

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

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
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

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

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
Page 40: 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

55

www.ordina.nl

@wouterdekort

[email protected]

http://wouterdekort.blogger.com