Service Fabric Patterns & Best Practices

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Parallel Performance Tools in Visual Studio 2010.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
travel Suru Windows 7 Release NET 4.0 / Surface 2.0 Release Multi-Touch Controls Multi-Touch API Surface Multi-Touch Controls & API Surface.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Windows Azure Connect Name Title Microsoft Corporation.
A Windows Azure application runs multiple instances of each role A Windows Azure application behaves correctly when.
Yousef Khalidi Distinguished Engineer Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

1/27/2018 5:13 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
4/24/ :07 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
The Zen of Package Management
MIX 09 5/29/ :31 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
6/10/2018 4:48 AM THR2155 A/B Testing, Canary releases and dark launching: Implementing continuous delivery on Azure Marcel de Vries CTO, Xpirit © Microsoft.
Developing Hybrid Apps on Microsoft Azure Stack
6/17/ :27 AM BRK3341 Unlock extensibility by connecting your service to PowerApps and Microsoft Flow Theresa (Tessa) Palmer–Sr. Program Manager Sunay.
9/11/2018 4:10 AM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Microsoft Connect /26/2018 1:00 AM
Configuration Management with Azure Automation DSC
9/13/2018 1:41 AM Deep dive into implementing a Visual Studio Team Services DevOps pipeline - THR4004 Jeffrey Palermo Developer & CEO, Clear Measure, Inc.
Automate all things! Microsoft Azure continuous deployment
Building a Continuous Integration Pipeline using VSTS
Agile Planning with Visual Studio Team Services (VSTS)
Continuous Delivery of Windows Azure Cloud Services (DEV310)
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Microsoft Build /8/2018 5:15 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Confidence at speed: Visual Studio 2017 and your CI pipeline
Microsoft /12/2018 8:06 AM BRK2103 Deliver more features faster with a modern development and test solution Claude Remillard Group Program Manager.
DevOps Fundamentals Configuration Management
Continuous Delivery for Microsoft Azure
Microsoft Connect /16/2018 4:53 PM
持續的產出Windows Azure 雲端服務
TFS from on-prem to the cloud with Azure DevOps Services
Docker Workflows with Visual Studio
Build /2/ The future of Azure devops: Building and managing cloud applications lifecycle across your teams Bradley Millington Program.
TechEd /3/2018 8:11 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Virtual Academy
Introduction to Building Applications with Windows Azure
12/26/2018 1:44 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Release Management with Visual Studio Team Services
Welcome to Azure Notebooks
MDC-B203 Deploying Applications in Microsoft System Center Virtual Machine Manager Using Services John Messec Program Manager Microsoft.
Microsoft Connect /25/2019 1:20 PM
Introduction to VSTS Database Professional
Developing and Managing SharePoint Solutions with Visual Studio 2012
TechEd /7/2019 1:14 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
4/11/2019 6:29 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
HDInsight Tools for Visual Studio
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Microsoft Build /4/ :50 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Under the hood: Installation and updates for Metro style apps
5/1/2019 3:29 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Шитманов Дархан Қаражанұлы Тарих пәнінің
Inside the Windows 8 driver developer workflow
01 | A Lap Around Visual Studio Online
Microsoft Connect /29/2019 1:53 AM
Azure App Service Web App for Containers
Miao Jiang API Management: deep dive - Part 1
DevOps for Desktop Apps
Presentation transcript:

Service Fabric Patterns & Best Practices

Service Fabric Continuous Integration and Delivery Mikkel Mork Hegnhoj

11/12/2018 5:00 AM Problem How do I get on a path of being able to continuously integrate, validate and deliver my code changes in production? Source Control is usually a no-brainer Build can somehow be tricky with test and versioning How do I test and validate in the different stages? How do I do gradual roll-out my changes to Service Fabric? How do I handle settings and secrets across environments? Where do I even start? © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Best Practice Get those pipelines up and running before anything else 11/12/2018 5:00 AM Best Practice Get those pipelines up and running before anything else Hello World in Azure Expand with tests and approvals Expand with stages © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11/12/2018 5:00 AM Hello World in Azure Continuous Delivery for Service Fabric with Visual Studio Team Services for Windows © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Build and Release flow in VSTS 11/12/2018 5:00 AM Build and Release flow in VSTS Repo Commit Build Restore Package Publish Artifacts Release Environment A Deploy Environment B © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Setting up Continuous Delivery with VSTS 11/12/2018 5:00 AM Setting up Continuous Delivery with VSTS © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11/12/2018 5:00 AM Expand the Pipeline Better Continuous Delivery for Service Fabric with Visual Studio Team Services for Windows © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Build and Release flow in VSTS 11/12/2018 5:00 AM Build and Release flow in VSTS Building out the pipeline Repo Commit Build Restore Unit Tests Package Update Versions Publish Artifacts Release Environment A Deploy Run tests Approve Environment B © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Upgrade, Run Tests and Approvals 11/12/2018 5:00 AM Upgrade, Run Tests and Approvals © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Publish a Service Fabric Application 11/12/2018 5:00 AM Publish a Service Fabric Application Copy Application Package Register Application Application Type and Version Create Named Application Application Instance PowerShell and Runtime (FabricClient.ApplicationManagementClient) SDK  Publish-NewServiceFabricApplication.ps1 Visual Studio Project  Deploy-FabricApplication.ps1 Visual Studio Team Services  Deploy Service Fabric Application © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Multiple Environments 11/12/2018 5:00 AM Multiple Environments How to manage settings and secrets across multiple environments © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Settings in Service Fabric Services 11/12/2018 5:00 AM Settings in Service Fabric Services Visual Studio and Visual Studio Team Services Application Project Service Package Code Service.exe Config Settings.xml Application Manifest <Parameters> <ServiceManifestImport> <ConfigOverrides /> </ServiceManifestImport> Publish Profiles Local.xml Test.xml Production.xml Parameter Files Local.xml Test.xml Production.xml Publish Copy Register Create © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Secrets Management 11/12/2018 5:00 AM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Deploy an Application with Environment Specific Settings

Large Scale Development 11/12/2018 5:00 AM Large Scale Development SFNuget and Application Merging © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Sharing services and working with Applications across repos 11/12/2018 5:00 AM Sharing services and working with Applications across repos Binary Sharing Generic purpose service you run as part of your application SFNuget Runtime Sharing Services to be used in a larger application / system Merging Manifests © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

SFNuget Easily package Service Fabric services as NuGet packages Discover and use reusable services A Microservices ecosystem Compose services into applications

SFNuget Authoring, sharing and using reusable services

11/12/2018 5:00 AM Merging Manifests The master manifest can be used for inner loop or CI. The master manifest merges other applications, based on individual application manifests and drop locations. This is an opt-in model, where the current way of doing business can be combined at will. © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.