SlideShare a Scribd company logo
Riwut Libinuko
Welcome to the Singapore
Hands On Lab
LAB B : Azure DevOps Deployment Groups
Hands On Lab
Azure DevOps Deployment Group
Synopsis
In this hands-on lab, you will learn how to deploy an application to multiple servers. The Windows PowerShell
remoting had to be enabled manually, the required ports opened, and the deployment agent installed on each
of the servers. The pipeline had to be managed manually if a roll-out deployment was required.
All of above challenges have been handled seamlessly with the introduction of the Deployment Groups.
The Deployment Group installs a deployment agent on each of the target servers in the configured group and
instruct the Release Pipeline to gradually deploy the application to all these servers that belong to the
Deployment Group. Multiple pipeline can be created for the roll-out deployments so that the latest version of
the application could be provided in a phased manner to the multiple user groups for validating the newly
introduced features.
Hands On Lab
Azure DevOps Deployment Group
Prerequisites
1. Microsoft Azure Account – you will need a valid and active Azure account. If you do not have one, please
sign up for a free trial here (https://azure.microsoft.com/en-us/free/)
2. Azure DevOps account – you will need a valid and active Azure DevOps account. If you do not have one,
please sign up for free here (https://azure.microsoft.com/en-us/services/devops/ )
3. Sample Azure DevOps Project – use Azure DevOps Demo generator to create team project on your Azure
DevOps Organization with sample content that include source code, work items, iterations, service
endpoints, build and release definition. Click here
(https://azuredevopsdemogenerator.azurewebsites.net/?TemplateId=77368&Name=deploymentgroups )
to provision sample project.
What is Deployment Group
• Deployment group is a logical set of deployment target machines that have agents installed on each one.
Deployment groups represent the physical environments; for example “Dev”, “Test”, “UAT” and “Production”
Web Server
SQL Server
Web Server
SQL Server
RELEASE
package
RELEASE pipelines (DEV) RELEASE pipelines (PROD)
DEV deployment group PROD deployment group
A deployment agent must be installed in each machine
How to install deployment agent?
Manually run script in each machine
Install Azure Pipelines Agent Azure VM extension in each machine
Use Azure Resource Group Deployment task in release pipeline
Hands On Lab
Azure DevOps Deployment Group
Step – 1 Ensure all prerequsites are met
1. Microsoft Azure Account – you will need a valid and active Azure account. If you do not have one, please
sign up for a free trial here (https://azure.microsoft.com/en-us/free/)
2. Azure DevOps account – you will need a valid and active Azure DevOps account. If you do not have one,
please sign up for free here (https://azure.microsoft.com/en-us/services/devops/ )
3. Sample Azure DevOps Project – use Azure DevOps Demo generator to create team project on your Azure
DevOps Organization with sample content that include source code, work items, iterations, service
endpoints, build and release definition. Click here
(https://azuredevopsdemogenerator.azurewebsites.net/?TemplateId=77368&Name=deploymentgroups )
to provision sample project.
Template : DeploymentGroups
Hands On Lab
Azure DevOps Deployment Group
Step – 2 Create target machines for deployment group target
1. In this step following resources will be provisioned on Azure using an ARM template:
• 6 virtual machines (VM) web servers with IIS configured
• 1 virtual machine (VM) SQL server
• 1 azure network load balancer
2. Launch following URL
(https://portal.azure.com/#create/Microsoft.Template/uri/http%3A%2F%2
Fbit.ly%2Fgab2019-tmpl )
http%3A%2F%2Fbit.ly%2Fgab2019-tmpl  http://bit.ly/gab2019-tmpl
https://bit.ly/2PyzXPU
Hands On Lab
Azure DevOps Deployment Group
Step – 2 Create target machines for deployment group target
1. In this step following resources will be provisioined on Azure using
an ARM template:
• 6 virtual machines (VM) web servers with IIS configured
• 1 virtual machine (VM) SQL server
• 1 azure network load balancer
2. Launch following URL
(https://portal.azure.com/#create/Microsoft.Template/uri/http%3A
%2F%2Fbit.ly%2Fgab2019-tmpl )
3. Complete the custom deployment settings, create GAB2019
resource group
4. Notes the settings for the rest of HOL.
5. Notes DNS name of SQL server and Web Server after resources
creation
(https://portal.azure.com/#create/Microsoft.Template/uri/
http%3A%2F%2Fbit.ly%2Fgab2019-tmpl )
Hands On Lab
Azure DevOps Deployment Group
Step – 3 Add Azure Resource Manager service connection
1. In AzureDevOps – click Project Settings -> Pipelines -> Service
Connections
2. Click “New service connection” -> Azure Resource Manager
3. On “Add an Azure Resource Manager service connection” dialog,
select Service Principal Authentication.
4. Select from available Subscription
5. Type Connection name and click OK.
Hands On Lab
Azure DevOps Deployment Group
Step – 4 Create Personal Access Token in AzureDevOps
1. In profile name, select “Security”
Hands On Lab
Azure DevOps Deployment Group
Step – 4 Create Personal Access Token in AzureDevOps
1. In profile name, select “Security”
2. In Personal Access Token page, click New
3. Type Name, select Organization, and expiration.
4. Select following scopes:
• Work Items – Read & Write
• Code – Read
• Build – Read & Execute
• Release – Read, write , execute & manage
• Test Management – Read & write
• Deployment Groups – Read & manage
Click “Show all scopes” if you can not see the scope in dialog.
5. Important, keep PAT token in secure place until we
complete this HOL.
Hands On Lab
Azure DevOps Deployment Group
Step – 4 Add Azure Repos/Team Foundation Server service connection
1. In AzureDevOps – click Project Settings -> Pipelines -> Service
Connections
2. Click “New service connection” -> Azure Repos/Team Foundation
Server
3. On “Add Azure Repos/Team Foundation service connection” dialog,
select Token Based Authentication.
4. On Connection URL, type Azure Repos/Team Foundation server url
from Step-1.
5. Type Connection name and click OK.
6. Type PAT from Step-4 and click Verify connection.
7. Click OK
Hands On Lab
Azure DevOps Deployment Group
Step – 5 Create Deployment Groups
1. In AzureDevOps – click Pipelines -> Deployment groups
2. Click Add a deployment group
3. Type the name
Hands On Lab
Azure DevOps Deployment Group
Step – 6 Configure Release pipeline
1. In AzureDevOps – click Pipelines -> Releases
2. Click Edit
Hands On Lab
Azure DevOps Deployment Group
Step – 6 Configure Release pipeline
1. In AzureDevOps – click Pipelines -> Releases
2. Click Edit
3. On edit pipeline, click Task -> Dev
Hands On Lab
Azure DevOps Deployment Group
Step – 6 Configure Release pipeline
1. In AzureDevOps – click Pipelines -> Releases
2. Click Edit
3. On edit pipeline, click Task -> Dev
4. Modify task what requires settings attention (use
information from previous steps)
Hands On Lab
Azure DevOps Deployment Group
Step – 6 Configure Release pipeline
1. In AzureDevOps – click Pipelines -> Releases
2. Click Edit
3. On edit pipeline, click Task -> Dev
4. Modify task what requires settings attention (use
information from previous steps)
5. Click Variables, and modify
DefaultConnectionString with the SQL DNS
6. Save and create new Release.
A BIG thank you to the 2019 Global Sponsors!

More Related Content

What's hot

DevSecOps: Key Controls to Modern Security Success
DevSecOps: Key Controls to Modern Security SuccessDevSecOps: Key Controls to Modern Security Success
DevSecOps: Key Controls to Modern Security Success
Puma Security, LLC
 
Azure DevOps Presentation
Azure DevOps PresentationAzure DevOps Presentation
Azure DevOps Presentation
InCycleSoftware
 
Azure Pipeline Tutorial | Azure DevOps Tutorial | Edureka
Azure Pipeline Tutorial | Azure DevOps Tutorial | EdurekaAzure Pipeline Tutorial | Azure DevOps Tutorial | Edureka
Azure Pipeline Tutorial | Azure DevOps Tutorial | Edureka
Edureka!
 
Leveraging Azure DevOps across the Enterprise
Leveraging Azure DevOps across the EnterpriseLeveraging Azure DevOps across the Enterprise
Leveraging Azure DevOps across the Enterprise
Andrew Kelleher
 
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Janusz Nowak
 
Getting Started with Azure Artifacts
Getting Started with Azure ArtifactsGetting Started with Azure Artifacts
Getting Started with Azure Artifacts
Callon Campbell
 
Devops maturity model
Devops maturity modelDevops maturity model
Azure DevOps
Azure DevOpsAzure DevOps
Azure DevOps
Juan Fabian
 
Azure DevOps Best Practices Webinar
Azure DevOps Best Practices WebinarAzure DevOps Best Practices Webinar
Azure DevOps Best Practices Webinar
Cambay Digital
 
DevSecOps
DevSecOpsDevSecOps
DevSecOps
Cheah Eng Soon
 
A New View of Your Application Security Program with Snyk and ThreadFix
A New View of Your Application Security Program with Snyk and ThreadFixA New View of Your Application Security Program with Snyk and ThreadFix
A New View of Your Application Security Program with Snyk and ThreadFix
Denim Group
 
AWS CognitoからAuth0への移行パターン4つ
AWS CognitoからAuth0への移行パターン4つAWS CognitoからAuth0への移行パターン4つ
AWS CognitoからAuth0への移行パターン4つ
株式会社スタジオメッシュ
 
AWS Instance Schedulerは、ぜひ使うべきなのか?
AWS Instance Schedulerは、ぜひ使うべきなのか?AWS Instance Schedulerは、ぜひ使うべきなのか?
AWS Instance Schedulerは、ぜひ使うべきなのか?
株式会社クライム
 
Microsoft cloud migration and modernization playbook 031819 (1) (2)
Microsoft cloud migration and modernization playbook 031819 (1) (2)Microsoft cloud migration and modernization playbook 031819 (1) (2)
Microsoft cloud migration and modernization playbook 031819 (1) (2)
didicadoida
 
Shift Left Security
Shift Left SecurityShift Left Security
Shift Left Security
BATbern
 
How to implement DevSecOps on AWS for startups
How to implement DevSecOps on AWS for startupsHow to implement DevSecOps on AWS for startups
How to implement DevSecOps on AWS for startups
Aleksandr Maklakov
 
Drive business outcomes using Azure Devops
Drive business outcomes using Azure DevopsDrive business outcomes using Azure Devops
Drive business outcomes using Azure Devops
Belatrix Software
 
Demystifying DevSecOps
Demystifying DevSecOpsDemystifying DevSecOps
Demystifying DevSecOps
Archana Joshi
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
sharmaparish
 
Cypress - Best Practices
Cypress - Best PracticesCypress - Best Practices
Cypress - Best Practices
Brian Mann
 

What's hot (20)

DevSecOps: Key Controls to Modern Security Success
DevSecOps: Key Controls to Modern Security SuccessDevSecOps: Key Controls to Modern Security Success
DevSecOps: Key Controls to Modern Security Success
 
Azure DevOps Presentation
Azure DevOps PresentationAzure DevOps Presentation
Azure DevOps Presentation
 
Azure Pipeline Tutorial | Azure DevOps Tutorial | Edureka
Azure Pipeline Tutorial | Azure DevOps Tutorial | EdurekaAzure Pipeline Tutorial | Azure DevOps Tutorial | Edureka
Azure Pipeline Tutorial | Azure DevOps Tutorial | Edureka
 
Leveraging Azure DevOps across the Enterprise
Leveraging Azure DevOps across the EnterpriseLeveraging Azure DevOps across the Enterprise
Leveraging Azure DevOps across the Enterprise
 
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
 
Getting Started with Azure Artifacts
Getting Started with Azure ArtifactsGetting Started with Azure Artifacts
Getting Started with Azure Artifacts
 
Devops maturity model
Devops maturity modelDevops maturity model
Devops maturity model
 
Azure DevOps
Azure DevOpsAzure DevOps
Azure DevOps
 
Azure DevOps Best Practices Webinar
Azure DevOps Best Practices WebinarAzure DevOps Best Practices Webinar
Azure DevOps Best Practices Webinar
 
DevSecOps
DevSecOpsDevSecOps
DevSecOps
 
A New View of Your Application Security Program with Snyk and ThreadFix
A New View of Your Application Security Program with Snyk and ThreadFixA New View of Your Application Security Program with Snyk and ThreadFix
A New View of Your Application Security Program with Snyk and ThreadFix
 
AWS CognitoからAuth0への移行パターン4つ
AWS CognitoからAuth0への移行パターン4つAWS CognitoからAuth0への移行パターン4つ
AWS CognitoからAuth0への移行パターン4つ
 
AWS Instance Schedulerは、ぜひ使うべきなのか?
AWS Instance Schedulerは、ぜひ使うべきなのか?AWS Instance Schedulerは、ぜひ使うべきなのか?
AWS Instance Schedulerは、ぜひ使うべきなのか?
 
Microsoft cloud migration and modernization playbook 031819 (1) (2)
Microsoft cloud migration and modernization playbook 031819 (1) (2)Microsoft cloud migration and modernization playbook 031819 (1) (2)
Microsoft cloud migration and modernization playbook 031819 (1) (2)
 
Shift Left Security
Shift Left SecurityShift Left Security
Shift Left Security
 
How to implement DevSecOps on AWS for startups
How to implement DevSecOps on AWS for startupsHow to implement DevSecOps on AWS for startups
How to implement DevSecOps on AWS for startups
 
Drive business outcomes using Azure Devops
Drive business outcomes using Azure DevopsDrive business outcomes using Azure Devops
Drive business outcomes using Azure Devops
 
Demystifying DevSecOps
Demystifying DevSecOpsDemystifying DevSecOps
Demystifying DevSecOps
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Cypress - Best Practices
Cypress - Best PracticesCypress - Best Practices
Cypress - Best Practices
 

Similar to Azure DevOps Deployment Group

Azure DevOps for JavaScript Developers
Azure DevOps for JavaScript DevelopersAzure DevOps for JavaScript Developers
Azure DevOps for JavaScript Developers
Sarah Dutkiewicz
 
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
Amazon Web Services
 
Continuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWSContinuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWS
Amazon Web Services
 
Azure Powershell. Azure Automation
Azure Powershell. Azure AutomationAzure Powershell. Azure Automation
Azure Powershell. Azure Automation
Alexander Feschenko
 
HDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite ActivityHDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite Activity
Idan Tohami
 
18CSC311J WEB DESIGN AND DEVELOPMENT UNIT-4
18CSC311J WEB DESIGN AND DEVELOPMENT UNIT-418CSC311J WEB DESIGN AND DEVELOPMENT UNIT-4
18CSC311J WEB DESIGN AND DEVELOPMENT UNIT-4
sivakumarmcs
 
Zure Azure PaaS Zero to Hero - DevOps training day
Zure Azure PaaS Zero to Hero - DevOps training dayZure Azure PaaS Zero to Hero - DevOps training day
Zure Azure PaaS Zero to Hero - DevOps training day
Okko Oulasvirta
 
Tour of Azure DevOps
Tour of Azure DevOpsTour of Azure DevOps
Tour of Azure DevOps
Callon Campbell
 
Becoming the master of disaster... with asr
Becoming the master of disaster... with asrBecoming the master of disaster... with asr
Becoming the master of disaster... with asr
nj-azure
 
Azure DevOps for QA Automation
Azure DevOps for QA AutomationAzure DevOps for QA Automation
Azure DevOps for QA Automation
Evgeny Popovich
 
Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...
Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...
Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...
VMware Tanzu
 
Microsoft DevOps AZ-400 Real Dumps 2023
Microsoft DevOps AZ-400 Real Dumps 2023Microsoft DevOps AZ-400 Real Dumps 2023
Microsoft DevOps AZ-400 Real Dumps 2023
VictoriaMeisel
 
PVS-Studio in the Clouds: Travis CI
PVS-Studio in the Clouds: Travis CIPVS-Studio in the Clouds: Travis CI
PVS-Studio in the Clouds: Travis CI
Andrey Karpov
 
Dev ops & laas fundamental
Dev ops & laas fundamentalDev ops & laas fundamental
Dev ops & laas fundamental
Kanin Kearpimy
 
DevOps Pipeline for Liferay Application
DevOps Pipeline for Liferay ApplicationDevOps Pipeline for Liferay Application
DevOps Pipeline for Liferay Application
Maruti Gollapudi
 
Building a Continuous Delivery Pipeline With Visual Studio
Building a Continuous Delivery Pipeline With Visual StudioBuilding a Continuous Delivery Pipeline With Visual Studio
Building a Continuous Delivery Pipeline With Visual Studio
Kasun Kodagoda
 
Managing Azure Components Using Azure PowerShell
Managing Azure Components Using Azure PowerShellManaging Azure Components Using Azure PowerShell
Managing Azure Components Using Azure PowerShell
Nitesh Luharuka
 
Leveraging Microsoft Azure for Next Gen App Development
Leveraging Microsoft Azure for Next Gen App DevelopmentLeveraging Microsoft Azure for Next Gen App Development
Leveraging Microsoft Azure for Next Gen App Development
WinWire Technologies Inc
 
Continuous Testing and New Tools for Automation - Presentation from StarWest ...
Continuous Testing and New Tools for Automation - Presentation from StarWest ...Continuous Testing and New Tools for Automation - Presentation from StarWest ...
Continuous Testing and New Tools for Automation - Presentation from StarWest ...
Sauce Labs
 
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
Jitendra Bafna
 

Similar to Azure DevOps Deployment Group (20)

Azure DevOps for JavaScript Developers
Azure DevOps for JavaScript DevelopersAzure DevOps for JavaScript Developers
Azure DevOps for JavaScript Developers
 
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
DevOps on Windows: How to Deploy Complex Windows Workloads | AWS Public Secto...
 
Continuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWSContinuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWS
 
Azure Powershell. Azure Automation
Azure Powershell. Azure AutomationAzure Powershell. Azure Automation
Azure Powershell. Azure Automation
 
HDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite ActivityHDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite Activity
 
18CSC311J WEB DESIGN AND DEVELOPMENT UNIT-4
18CSC311J WEB DESIGN AND DEVELOPMENT UNIT-418CSC311J WEB DESIGN AND DEVELOPMENT UNIT-4
18CSC311J WEB DESIGN AND DEVELOPMENT UNIT-4
 
Zure Azure PaaS Zero to Hero - DevOps training day
Zure Azure PaaS Zero to Hero - DevOps training dayZure Azure PaaS Zero to Hero - DevOps training day
Zure Azure PaaS Zero to Hero - DevOps training day
 
Tour of Azure DevOps
Tour of Azure DevOpsTour of Azure DevOps
Tour of Azure DevOps
 
Becoming the master of disaster... with asr
Becoming the master of disaster... with asrBecoming the master of disaster... with asr
Becoming the master of disaster... with asr
 
Azure DevOps for QA Automation
Azure DevOps for QA AutomationAzure DevOps for QA Automation
Azure DevOps for QA Automation
 
Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...
Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...
Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...
 
Microsoft DevOps AZ-400 Real Dumps 2023
Microsoft DevOps AZ-400 Real Dumps 2023Microsoft DevOps AZ-400 Real Dumps 2023
Microsoft DevOps AZ-400 Real Dumps 2023
 
PVS-Studio in the Clouds: Travis CI
PVS-Studio in the Clouds: Travis CIPVS-Studio in the Clouds: Travis CI
PVS-Studio in the Clouds: Travis CI
 
Dev ops & laas fundamental
Dev ops & laas fundamentalDev ops & laas fundamental
Dev ops & laas fundamental
 
DevOps Pipeline for Liferay Application
DevOps Pipeline for Liferay ApplicationDevOps Pipeline for Liferay Application
DevOps Pipeline for Liferay Application
 
Building a Continuous Delivery Pipeline With Visual Studio
Building a Continuous Delivery Pipeline With Visual StudioBuilding a Continuous Delivery Pipeline With Visual Studio
Building a Continuous Delivery Pipeline With Visual Studio
 
Managing Azure Components Using Azure PowerShell
Managing Azure Components Using Azure PowerShellManaging Azure Components Using Azure PowerShell
Managing Azure Components Using Azure PowerShell
 
Leveraging Microsoft Azure for Next Gen App Development
Leveraging Microsoft Azure for Next Gen App DevelopmentLeveraging Microsoft Azure for Next Gen App Development
Leveraging Microsoft Azure for Next Gen App Development
 
Continuous Testing and New Tools for Automation - Presentation from StarWest ...
Continuous Testing and New Tools for Automation - Presentation from StarWest ...Continuous Testing and New Tools for Automation - Presentation from StarWest ...
Continuous Testing and New Tools for Automation - Presentation from StarWest ...
 
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
 

More from Riwut Libinuko

Prototyping Office AddIns using ScriptLab
Prototyping Office AddIns using ScriptLabPrototyping Office AddIns using ScriptLab
Prototyping Office AddIns using ScriptLab
Riwut Libinuko
 
Global Office 365 Developer Bootcamp 2018 - SPFx jQuery Hands On Lab
Global Office 365 Developer Bootcamp 2018 - SPFx jQuery Hands On LabGlobal Office 365 Developer Bootcamp 2018 - SPFx jQuery Hands On Lab
Global Office 365 Developer Bootcamp 2018 - SPFx jQuery Hands On Lab
Riwut Libinuko
 
Azure automation for SharePoint SelfHosted CI/CD
Azure automation for SharePoint SelfHosted CI/CDAzure automation for SharePoint SelfHosted CI/CD
Azure automation for SharePoint SelfHosted CI/CD
Riwut Libinuko
 
GAB2017 - Azure function to build serverless SharePoint apps
GAB2017 - Azure function to build serverless SharePoint appsGAB2017 - Azure function to build serverless SharePoint apps
GAB2017 - Azure function to build serverless SharePoint apps
Riwut Libinuko
 
Global Azure Bootcamp 216 - Azure Rights Management
Global Azure Bootcamp 216 - Azure Rights ManagementGlobal Azure Bootcamp 216 - Azure Rights Management
Global Azure Bootcamp 216 - Azure Rights Management
Riwut Libinuko
 
O365 Saturday - Deepdive SharePoint Client Side Rendering
O365 Saturday - Deepdive SharePoint Client Side RenderingO365 Saturday - Deepdive SharePoint Client Side Rendering
O365 Saturday - Deepdive SharePoint Client Side Rendering
Riwut Libinuko
 
SSAS Azure RemoteApp
SSAS Azure RemoteAppSSAS Azure RemoteApp
SSAS Azure RemoteApp
Riwut Libinuko
 
Pesan kegembiraan dan ajakan rekonsiliasi pasukan bodrex
Pesan kegembiraan dan ajakan rekonsiliasi pasukan bodrexPesan kegembiraan dan ajakan rekonsiliasi pasukan bodrex
Pesan kegembiraan dan ajakan rekonsiliasi pasukan bodrexRiwut Libinuko
 

More from Riwut Libinuko (8)

Prototyping Office AddIns using ScriptLab
Prototyping Office AddIns using ScriptLabPrototyping Office AddIns using ScriptLab
Prototyping Office AddIns using ScriptLab
 
Global Office 365 Developer Bootcamp 2018 - SPFx jQuery Hands On Lab
Global Office 365 Developer Bootcamp 2018 - SPFx jQuery Hands On LabGlobal Office 365 Developer Bootcamp 2018 - SPFx jQuery Hands On Lab
Global Office 365 Developer Bootcamp 2018 - SPFx jQuery Hands On Lab
 
Azure automation for SharePoint SelfHosted CI/CD
Azure automation for SharePoint SelfHosted CI/CDAzure automation for SharePoint SelfHosted CI/CD
Azure automation for SharePoint SelfHosted CI/CD
 
GAB2017 - Azure function to build serverless SharePoint apps
GAB2017 - Azure function to build serverless SharePoint appsGAB2017 - Azure function to build serverless SharePoint apps
GAB2017 - Azure function to build serverless SharePoint apps
 
Global Azure Bootcamp 216 - Azure Rights Management
Global Azure Bootcamp 216 - Azure Rights ManagementGlobal Azure Bootcamp 216 - Azure Rights Management
Global Azure Bootcamp 216 - Azure Rights Management
 
O365 Saturday - Deepdive SharePoint Client Side Rendering
O365 Saturday - Deepdive SharePoint Client Side RenderingO365 Saturday - Deepdive SharePoint Client Side Rendering
O365 Saturday - Deepdive SharePoint Client Side Rendering
 
SSAS Azure RemoteApp
SSAS Azure RemoteAppSSAS Azure RemoteApp
SSAS Azure RemoteApp
 
Pesan kegembiraan dan ajakan rekonsiliasi pasukan bodrex
Pesan kegembiraan dan ajakan rekonsiliasi pasukan bodrexPesan kegembiraan dan ajakan rekonsiliasi pasukan bodrex
Pesan kegembiraan dan ajakan rekonsiliasi pasukan bodrex
 

Recently uploaded

openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
abdulrafaychaudhry
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 

Recently uploaded (20)

openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 

Azure DevOps Deployment Group

  • 1. Riwut Libinuko Welcome to the Singapore Hands On Lab LAB B : Azure DevOps Deployment Groups
  • 2. Hands On Lab Azure DevOps Deployment Group Synopsis In this hands-on lab, you will learn how to deploy an application to multiple servers. The Windows PowerShell remoting had to be enabled manually, the required ports opened, and the deployment agent installed on each of the servers. The pipeline had to be managed manually if a roll-out deployment was required. All of above challenges have been handled seamlessly with the introduction of the Deployment Groups. The Deployment Group installs a deployment agent on each of the target servers in the configured group and instruct the Release Pipeline to gradually deploy the application to all these servers that belong to the Deployment Group. Multiple pipeline can be created for the roll-out deployments so that the latest version of the application could be provided in a phased manner to the multiple user groups for validating the newly introduced features.
  • 3. Hands On Lab Azure DevOps Deployment Group Prerequisites 1. Microsoft Azure Account – you will need a valid and active Azure account. If you do not have one, please sign up for a free trial here (https://azure.microsoft.com/en-us/free/) 2. Azure DevOps account – you will need a valid and active Azure DevOps account. If you do not have one, please sign up for free here (https://azure.microsoft.com/en-us/services/devops/ ) 3. Sample Azure DevOps Project – use Azure DevOps Demo generator to create team project on your Azure DevOps Organization with sample content that include source code, work items, iterations, service endpoints, build and release definition. Click here (https://azuredevopsdemogenerator.azurewebsites.net/?TemplateId=77368&Name=deploymentgroups ) to provision sample project.
  • 4. What is Deployment Group • Deployment group is a logical set of deployment target machines that have agents installed on each one. Deployment groups represent the physical environments; for example “Dev”, “Test”, “UAT” and “Production” Web Server SQL Server Web Server SQL Server RELEASE package RELEASE pipelines (DEV) RELEASE pipelines (PROD) DEV deployment group PROD deployment group A deployment agent must be installed in each machine
  • 5. How to install deployment agent? Manually run script in each machine Install Azure Pipelines Agent Azure VM extension in each machine Use Azure Resource Group Deployment task in release pipeline
  • 6. Hands On Lab Azure DevOps Deployment Group Step – 1 Ensure all prerequsites are met 1. Microsoft Azure Account – you will need a valid and active Azure account. If you do not have one, please sign up for a free trial here (https://azure.microsoft.com/en-us/free/) 2. Azure DevOps account – you will need a valid and active Azure DevOps account. If you do not have one, please sign up for free here (https://azure.microsoft.com/en-us/services/devops/ ) 3. Sample Azure DevOps Project – use Azure DevOps Demo generator to create team project on your Azure DevOps Organization with sample content that include source code, work items, iterations, service endpoints, build and release definition. Click here (https://azuredevopsdemogenerator.azurewebsites.net/?TemplateId=77368&Name=deploymentgroups ) to provision sample project. Template : DeploymentGroups
  • 7. Hands On Lab Azure DevOps Deployment Group Step – 2 Create target machines for deployment group target 1. In this step following resources will be provisioned on Azure using an ARM template: • 6 virtual machines (VM) web servers with IIS configured • 1 virtual machine (VM) SQL server • 1 azure network load balancer 2. Launch following URL (https://portal.azure.com/#create/Microsoft.Template/uri/http%3A%2F%2 Fbit.ly%2Fgab2019-tmpl ) http%3A%2F%2Fbit.ly%2Fgab2019-tmpl  http://bit.ly/gab2019-tmpl https://bit.ly/2PyzXPU
  • 8. Hands On Lab Azure DevOps Deployment Group Step – 2 Create target machines for deployment group target 1. In this step following resources will be provisioined on Azure using an ARM template: • 6 virtual machines (VM) web servers with IIS configured • 1 virtual machine (VM) SQL server • 1 azure network load balancer 2. Launch following URL (https://portal.azure.com/#create/Microsoft.Template/uri/http%3A %2F%2Fbit.ly%2Fgab2019-tmpl ) 3. Complete the custom deployment settings, create GAB2019 resource group 4. Notes the settings for the rest of HOL. 5. Notes DNS name of SQL server and Web Server after resources creation (https://portal.azure.com/#create/Microsoft.Template/uri/ http%3A%2F%2Fbit.ly%2Fgab2019-tmpl )
  • 9. Hands On Lab Azure DevOps Deployment Group Step – 3 Add Azure Resource Manager service connection 1. In AzureDevOps – click Project Settings -> Pipelines -> Service Connections 2. Click “New service connection” -> Azure Resource Manager 3. On “Add an Azure Resource Manager service connection” dialog, select Service Principal Authentication. 4. Select from available Subscription 5. Type Connection name and click OK.
  • 10. Hands On Lab Azure DevOps Deployment Group Step – 4 Create Personal Access Token in AzureDevOps 1. In profile name, select “Security”
  • 11. Hands On Lab Azure DevOps Deployment Group Step – 4 Create Personal Access Token in AzureDevOps 1. In profile name, select “Security” 2. In Personal Access Token page, click New 3. Type Name, select Organization, and expiration. 4. Select following scopes: • Work Items – Read & Write • Code – Read • Build – Read & Execute • Release – Read, write , execute & manage • Test Management – Read & write • Deployment Groups – Read & manage Click “Show all scopes” if you can not see the scope in dialog. 5. Important, keep PAT token in secure place until we complete this HOL.
  • 12. Hands On Lab Azure DevOps Deployment Group Step – 4 Add Azure Repos/Team Foundation Server service connection 1. In AzureDevOps – click Project Settings -> Pipelines -> Service Connections 2. Click “New service connection” -> Azure Repos/Team Foundation Server 3. On “Add Azure Repos/Team Foundation service connection” dialog, select Token Based Authentication. 4. On Connection URL, type Azure Repos/Team Foundation server url from Step-1. 5. Type Connection name and click OK. 6. Type PAT from Step-4 and click Verify connection. 7. Click OK
  • 13. Hands On Lab Azure DevOps Deployment Group Step – 5 Create Deployment Groups 1. In AzureDevOps – click Pipelines -> Deployment groups 2. Click Add a deployment group 3. Type the name
  • 14. Hands On Lab Azure DevOps Deployment Group Step – 6 Configure Release pipeline 1. In AzureDevOps – click Pipelines -> Releases 2. Click Edit
  • 15. Hands On Lab Azure DevOps Deployment Group Step – 6 Configure Release pipeline 1. In AzureDevOps – click Pipelines -> Releases 2. Click Edit 3. On edit pipeline, click Task -> Dev
  • 16. Hands On Lab Azure DevOps Deployment Group Step – 6 Configure Release pipeline 1. In AzureDevOps – click Pipelines -> Releases 2. Click Edit 3. On edit pipeline, click Task -> Dev 4. Modify task what requires settings attention (use information from previous steps)
  • 17. Hands On Lab Azure DevOps Deployment Group Step – 6 Configure Release pipeline 1. In AzureDevOps – click Pipelines -> Releases 2. Click Edit 3. On edit pipeline, click Task -> Dev 4. Modify task what requires settings attention (use information from previous steps) 5. Click Variables, and modify DefaultConnectionString with the SQL DNS 6. Save and create new Release.
  • 18. A BIG thank you to the 2019 Global Sponsors!

Editor's Notes

  1. Sqladmin P2ssw0rd@123