SlideShare una empresa de Scribd logo
1 de 18
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!

Más contenido relacionado

La actualidad más candente

Introduction to Azure DevOps
Introduction to Azure DevOpsIntroduction to Azure DevOps
Introduction to Azure DevOpsLorenzo Barbieri
 
PostgreSQLのパラレル化に向けた取り組み@第30回(仮名)PostgreSQL勉強会
PostgreSQLのパラレル化に向けた取り組み@第30回(仮名)PostgreSQL勉強会PostgreSQLのパラレル化に向けた取り組み@第30回(仮名)PostgreSQL勉強会
PostgreSQLのパラレル化に向けた取り組み@第30回(仮名)PostgreSQL勉強会Shigeru Hanada
 
Cloud Migration.pdf
Cloud Migration.pdfCloud Migration.pdf
Cloud Migration.pdfZen Bit Tech
 
chaos-engineering-Knolx
chaos-engineering-Knolxchaos-engineering-Knolx
chaos-engineering-KnolxKnoldus Inc.
 
Six Signs You Need Platform Engineering
Six Signs You Need Platform EngineeringSix Signs You Need Platform Engineering
Six Signs You Need Platform EngineeringWeaveworks
 
[JAZUG Tohoku Azure DevOps] Azure DevOps
[JAZUG Tohoku Azure DevOps] Azure DevOps[JAZUG Tohoku Azure DevOps] Azure DevOps
[JAZUG Tohoku Azure DevOps] Azure DevOpsNaoki (Neo) SATO
 
DevOps - Overview - One of the Top Trends in IT Industry
DevOps - Overview - One of the Top Trends in IT IndustryDevOps - Overview - One of the Top Trends in IT Industry
DevOps - Overview - One of the Top Trends in IT IndustryRahul Tilloo
 
Networking deep dive
Networking deep diveNetworking deep dive
Networking deep diveJeroen Niesen
 
DevOps: princípios e práticas para a Entrega Contínua
DevOps: princípios e práticas para a Entrega ContínuaDevOps: princípios e práticas para a Entrega Contínua
DevOps: princípios e práticas para a Entrega ContínuaOtávio Calaça Xavier
 
Azure Boards.pptx
Azure Boards.pptxAzure Boards.pptx
Azure Boards.pptxNitin Sethi
 
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 | EdurekaEdureka!
 
The Power of Azure DevOps
The Power of Azure DevOpsThe Power of Azure DevOps
The Power of Azure DevOpsJeff Bramwell
 

La actualidad más candente (20)

Azure Governance
Azure GovernanceAzure Governance
Azure Governance
 
Introduction to Azure DevOps
Introduction to Azure DevOpsIntroduction to Azure DevOps
Introduction to Azure DevOps
 
PostgreSQLのパラレル化に向けた取り組み@第30回(仮名)PostgreSQL勉強会
PostgreSQLのパラレル化に向けた取り組み@第30回(仮名)PostgreSQL勉強会PostgreSQLのパラレル化に向けた取り組み@第30回(仮名)PostgreSQL勉強会
PostgreSQLのパラレル化に向けた取り組み@第30回(仮名)PostgreSQL勉強会
 
Cloud Migration.pdf
Cloud Migration.pdfCloud Migration.pdf
Cloud Migration.pdf
 
[ServiceNow] Now Create
[ServiceNow] Now Create[ServiceNow] Now Create
[ServiceNow] Now Create
 
AWS Service Catalog
AWS Service CatalogAWS Service Catalog
AWS Service Catalog
 
chaos-engineering-Knolx
chaos-engineering-Knolxchaos-engineering-Knolx
chaos-engineering-Knolx
 
Six Signs You Need Platform Engineering
Six Signs You Need Platform EngineeringSix Signs You Need Platform Engineering
Six Signs You Need Platform Engineering
 
Azure DevOps
Azure DevOpsAzure DevOps
Azure DevOps
 
[JAZUG Tohoku Azure DevOps] Azure DevOps
[JAZUG Tohoku Azure DevOps] Azure DevOps[JAZUG Tohoku Azure DevOps] Azure DevOps
[JAZUG Tohoku Azure DevOps] Azure DevOps
 
DevOps - Overview - One of the Top Trends in IT Industry
DevOps - Overview - One of the Top Trends in IT IndustryDevOps - Overview - One of the Top Trends in IT Industry
DevOps - Overview - One of the Top Trends in IT Industry
 
Networking deep dive
Networking deep diveNetworking deep dive
Networking deep dive
 
DevOps: princípios e práticas para a Entrega Contínua
DevOps: princípios e práticas para a Entrega ContínuaDevOps: princípios e práticas para a Entrega Contínua
DevOps: princípios e práticas para a Entrega Contínua
 
DevOps
DevOps DevOps
DevOps
 
Azure Boards.pptx
Azure Boards.pptxAzure Boards.pptx
Azure Boards.pptx
 
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
 
The Power of Azure DevOps
The Power of Azure DevOpsThe Power of Azure DevOps
The Power of Azure DevOps
 
Azure devops
Azure devopsAzure devops
Azure devops
 
Azure DevOps in Action
Azure DevOps in ActionAzure DevOps in Action
Azure DevOps in Action
 
SFScon15 - Thomas Lamprecht: "Proxmox Virtual Environment 4.0"
SFScon15 - Thomas Lamprecht: "Proxmox Virtual Environment 4.0"SFScon15 - Thomas Lamprecht: "Proxmox Virtual Environment 4.0"
SFScon15 - Thomas Lamprecht: "Proxmox Virtual Environment 4.0"
 

Similar a Azure DevOps Deployment Group

Azure DevOps for JavaScript Developers
Azure DevOps for JavaScript DevelopersAzure DevOps for JavaScript Developers
Azure DevOps for JavaScript DevelopersSarah 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 AWSAmazon Web Services
 
Azure Powershell. Azure Automation
Azure Powershell. Azure AutomationAzure Powershell. Azure Automation
Azure Powershell. Azure AutomationAlexander Feschenko
 
HDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite ActivityHDinsight Workshop - Prerequisite Activity
HDinsight Workshop - Prerequisite ActivityIdan Tohami
 
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 dayOkko Oulasvirta
 
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 asrnj-azure
 
Azure DevOps for QA Automation
Azure DevOps for QA AutomationAzure DevOps for QA Automation
Azure DevOps for QA AutomationEvgeny 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 2023VictoriaMeisel
 
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 CIAndrey Karpov
 
Dev ops & laas fundamental
Dev ops & laas fundamentalDev ops & laas fundamental
Dev ops & laas fundamentalKanin Kearpimy
 
DevOps Pipeline for Liferay Application
DevOps Pipeline for Liferay ApplicationDevOps Pipeline for Liferay Application
DevOps Pipeline for Liferay ApplicationMaruti 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 StudioKasun Kodagoda
 
Managing Azure Components Using Azure PowerShell
Managing Azure Components Using Azure PowerShellManaging Azure Components Using Azure PowerShell
Managing Azure Components Using Azure PowerShellNitesh 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 DevelopmentWinWire 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 a 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
 
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 ...
 
Welcome to Azure Devops
Welcome to Azure DevopsWelcome to Azure Devops
Welcome to Azure Devops
 

Más de Riwut Libinuko

Prototyping Office AddIns using ScriptLab
Prototyping Office AddIns using ScriptLabPrototyping Office AddIns using ScriptLab
Prototyping Office AddIns using ScriptLabRiwut 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 LabRiwut 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/CDRiwut 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 appsRiwut 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 ManagementRiwut 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 RenderingRiwut 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
 

Más de 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
 

Último

AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 

Último (20)

AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 

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!

Notas del editor

  1. Sqladmin P2ssw0rd@123