SlideShare una empresa de Scribd logo
1 de 49
Power of
Ahmad Ezzeir
Business Solutions Design & Development Manager
• Full stack developer
linkedin.com/in/ahmad-Ezzeir
1. DevOps core principles
2. CI/CD basics
3. Demo: CI/CD with asp.net core webapi and Angular app
4. IaC Why and What?
5. Demo: IaC using Azure & Azure DevOps “ARM”
6. (Containers) Docker why and what ?
7. Demo: Docker deployment using Azure & Azure DevOps
8. Kubernetes why and what ?
9. Demo: Kubernetes deployment using Azure & Azure DevOps
Agenda
What is the problem
Fundamentally, DevOps is the activity of
optimizing the development-to-operations
value stream by creating an increasingly
smooth, fast flow of application changes
from development into operations, with
little waste.
Definition of DevOps
DevOps is a software development
methodology that combines software
development (Dev) with information
technology operations (Ops).
The goal of DevOps is to shorten the
systems development life cycle while
also delivering features, fixes, and
updates frequently in close alignment
with business objectives.
Definition of DevOps
DevOps DevOps core principles
Customer-Centric
Action
“feedback loop”
Create with the end
Mind
“understanding
customers
needs”
End to End
responsibility
“fully accountable for the
products ”
Cross-Functional
Autonomous
Teams
Continuous
Improvement
“include minimizing waste
and optimizing speed, costs,
and ease of delivery.
”
Automate
Everything You
Can
“some joke 
hacker-scripts”
Continuous Integration
Continuous Integration elements
Version Control
System “Azure
Repos, git, apache
subversion, TFVC”
Automated Build
Process “Azure
DevOps , Gradle
”
Package
Management
System “Azure
Artifacts, NuGet,
NPM, Chocolatey
”
Continuous
Integration
System “Azure
DevOps, TeamCity,
Jenkins,”
• What is the difference between Continuous Delivery and Continuous
deployment ?
CD vs CD
code build test staging production
Someone or some
group need to approve
before deploy
Demo: CI/CD with asp.net core webapi and Angular app
https://dev.azure.com/nashmetech/DemoApp
Demo
IaC
Why this is Important ?
Business value is what organizations expect
from technology today and that value needs to
Be devolved quickly and efficiently
A new methodology is required that
embraces modern development and
operational practices
Why Infrastructure as Code
• Facilitates auditing by making it easier to trace what was deployed, when, and how (In
other words, improves Traceability).
• Provides consistent environments from release to release.
• Greater consistency across development, test, and production environments.
• Automates scale-up and scale-out processes.
• Allows configurations to be version controlled.
• Provides code review and unit-testing capabilities to help manage infrastructure changes.
• Treats infrastructure as a flexible resource.
• Its possible to perform blue/green deployments. This is a release methodology to minimize
downtime, where two identical environments exist, one is live and the other is not. Updates
are applied to the server that is not live, and when testing is verified and complete, it is
switched to become the live environment and the previous live environment is no longer
the live environment i.e. they are swapped. It can also be referred to as A/B deployment.
• Immutable means that the service is not updated. If a change is needed to an environment,
a new one is deployed and the old one taken down.
Modularization
Benefits of modularization
The following list are benefits of modularization:
• Easier to re-use components across different scenarios
• Easier to manage and maintain you code
• Easier for new team members to ramp up and understand how infrastructure and components relate and are used
• Easier to sub-divide up the work and responsibilities across teams and area owners
• Easier to troubleshoot
• Easier to extend and add to your existing infrastructure definitions
• Azure Resource Manager templates are written in JSON “class for
developers”.
A JSON document is essentially a collection of key-value pairs. Each key is a
string, that's value can be:
• string
• number
• Boolean expression
• list of values
• object (which is a collection of other key-value pairs)
ARM
ARM (Azure Resource Manager)
ARM Template
• Parameters : VM name, admin username, admin password domain name.
• Variables: network configurations, storage configurations,
• Functions: function to create unique name for each resource.
• Resources: template components “network card, storage, location ”
• Outputs: For example, you might want to receive your VM's IP address or fully qualified domain name (FQDN),
information you do not know until the deployment runs.
• https://dev.azure.com/nashmetech/IaC
• https://github.com/Azure/azure-quickstart-templates/tree/master/101-
vm-tags/
• Quick start templates: https://azure.microsoft.com/en-
us/resources/templates/101-vm-tags/
• show demo using ARM Template Viewer VS code ext
IaC Demos
• Chef
• Puppet
• Ansible
• Cloud-init with Azure
• Terraform with Azure
Third Party and Open Source Tool integration with Azure
• Install software process in any computer
• We can avoid this by using containers
Containers why? What is the problem ?
Download software
Run installer
Get some error during the
installation
Troubleshoot issue
Run installer
Get another error !
containers makes it really easy to install
and run software without worrying about
setup or dependencies
Another problem for non-containers env
Linux OS
P2
RAM
HD CPU
NT
CPUHDNTRAM
P1
RAM
HD CPU
NT
Kernel
When you start a
container, you start the
container process
Containers products
• Docker
• Apache Mesos
• Container Linux by CoreOS
• LXC
• Azure
• AWS
• IBM
What is Docker trying to Achieve ?
Windows
Liunx
MAC
It is following the build
once, run anywhere
approch
Any cloud
On-premises
Software is
written in any
development
language
• docker version
• docker run hello-world
• let us see diagrams
Hello Word from Docker
Image vs container
Create a new container process
• check diagram ” Create container”
• docker run hello-world
• docker run --name some-nginx -d -p 8080:80 nginx
• docker run -d --hostname my-rabbit --name some-rabbit -p
15672:15672 rabbitmq:3-management
Create docker from images
Container Registries
• Docker images can be stored locally
• Use container registries to share
images
• Docker Hub hosts public images
• - https://hub.docker.com/
- Also supports private image
hosting
• Azure Container Registry (ACR)
• - Store containers in Azure
• - Can build images automatically
• store image in docker hub
• docker login
• docker push image ..
• store image on Azure Container Registries (ACR)
• az acr login
• from Azure DevOps CI CD
Demo
Tip # 1: if you want really understand docker do not follow below courses
to understand docker
• Docker for nodejs developer
• Docker for .net developer
• Docker for java developer
Tip # 2: Linux commands essential (for sure not all now)
Tip # 3: you need to learn and do practices in real projects.
Advice to get started with docker
example
https://github.com/nitin27may/MEAN-With-Docker
Docker-compose
Docker Ecosystem
You can look to this
Kubernetes
Your application is music and K8s
(Kubernetes) is the orchestra maestro
• High availability: NO downtime
• scalability: high performance
• Disaster recovery
what feature do orchestration tools offer
high-level k8s overview
Application Architecture example
How is K8s is execute our order ?
K8s observe some part(s) of your application got low performance
K8s automatically perform the auto-scaling
K8s observe some part(s) of your application down
K8s automatically perform actions to reach the desired state
K8s works anywhere
K8s basic architecture
let us see diagrams
Power of Azure Devops

Más contenido relacionado

La actualidad más candente

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
 
Azure DevOps Tutorial | Developing CI/ CD Pipelines On Azure | Edureka
Azure DevOps Tutorial | Developing CI/ CD Pipelines On Azure | EdurekaAzure DevOps Tutorial | Developing CI/ CD Pipelines On Azure | Edureka
Azure DevOps Tutorial | Developing CI/ CD Pipelines On Azure | EdurekaEdureka!
 
[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
 
Azure DevOps Best Practices Webinar
Azure DevOps Best Practices WebinarAzure DevOps Best Practices Webinar
Azure DevOps Best Practices WebinarCambay Digital
 
Microsoft DevOps Solution - DevOps
Microsoft DevOps Solution - DevOps  Microsoft DevOps Solution - DevOps
Microsoft DevOps Solution - DevOps Chetan Gordhan
 
DevSecOps Basics with Azure Pipelines
DevSecOps Basics with Azure Pipelines DevSecOps Basics with Azure Pipelines
DevSecOps Basics with Azure Pipelines Abdul_Mujeeb
 
0 to hero with Azure DevOps
0 to hero with Azure DevOps0 to hero with Azure DevOps
0 to hero with Azure DevOpsChristos Matskas
 
DevOps Powerpoint Presentation Slides
DevOps Powerpoint Presentation SlidesDevOps Powerpoint Presentation Slides
DevOps Powerpoint Presentation SlidesSlideTeam
 
Devops Strategy Roadmap Lifecycle Ppt Powerpoint Presentation Slides Complete...
Devops Strategy Roadmap Lifecycle Ppt Powerpoint Presentation Slides Complete...Devops Strategy Roadmap Lifecycle Ppt Powerpoint Presentation Slides Complete...
Devops Strategy Roadmap Lifecycle Ppt Powerpoint Presentation Slides Complete...SlideTeam
 
Getting Started with Azure DevOps
Getting Started with Azure DevOpsGetting Started with Azure DevOps
Getting Started with Azure DevOpsJessica Deen
 
Modern CI/CD Pipeline Using Azure DevOps
Modern CI/CD Pipeline Using Azure DevOpsModern CI/CD Pipeline Using Azure DevOps
Modern CI/CD Pipeline Using Azure DevOpsGlobalLogic Ukraine
 
Build CICD Pipeline for Container Presentation Slides
Build CICD Pipeline for Container Presentation SlidesBuild CICD Pipeline for Container Presentation Slides
Build CICD Pipeline for Container Presentation SlidesAmazon Web Services
 

La actualidad más candente (20)

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...
 
Azure DevOps
Azure DevOpsAzure DevOps
Azure DevOps
 
Azure DevOps Tutorial | Developing CI/ CD Pipelines On Azure | Edureka
Azure DevOps Tutorial | Developing CI/ CD Pipelines On Azure | EdurekaAzure DevOps Tutorial | Developing CI/ CD Pipelines On Azure | Edureka
Azure DevOps Tutorial | Developing CI/ CD Pipelines On Azure | Edureka
 
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
 
Tour of Azure DevOps
Tour of Azure DevOpsTour of Azure DevOps
Tour of Azure DevOps
 
Azure DevOps
Azure DevOpsAzure DevOps
Azure DevOps
 
Intro to Azure DevOps
Intro to Azure DevOpsIntro to Azure DevOps
Intro to Azure DevOps
 
Azure DevOps Best Practices Webinar
Azure DevOps Best Practices WebinarAzure DevOps Best Practices Webinar
Azure DevOps Best Practices Webinar
 
Microsoft DevOps Solution - DevOps
Microsoft DevOps Solution - DevOps  Microsoft DevOps Solution - DevOps
Microsoft DevOps Solution - DevOps
 
DevSecOps Basics with Azure Pipelines
DevSecOps Basics with Azure Pipelines DevSecOps Basics with Azure Pipelines
DevSecOps Basics with Azure Pipelines
 
0 to hero with Azure DevOps
0 to hero with Azure DevOps0 to hero with Azure DevOps
0 to hero with Azure DevOps
 
Azure DevOps
Azure DevOpsAzure DevOps
Azure DevOps
 
Azure dev ops
Azure dev opsAzure dev ops
Azure dev ops
 
DevOps Powerpoint Presentation Slides
DevOps Powerpoint Presentation SlidesDevOps Powerpoint Presentation Slides
DevOps Powerpoint Presentation Slides
 
Devops Strategy Roadmap Lifecycle Ppt Powerpoint Presentation Slides Complete...
Devops Strategy Roadmap Lifecycle Ppt Powerpoint Presentation Slides Complete...Devops Strategy Roadmap Lifecycle Ppt Powerpoint Presentation Slides Complete...
Devops Strategy Roadmap Lifecycle Ppt Powerpoint Presentation Slides Complete...
 
Getting Started with Azure DevOps
Getting Started with Azure DevOpsGetting Started with Azure DevOps
Getting Started with Azure DevOps
 
DevOps - A Gentle Introduction
DevOps - A Gentle IntroductionDevOps - A Gentle Introduction
DevOps - A Gentle Introduction
 
Modern CI/CD Pipeline Using Azure DevOps
Modern CI/CD Pipeline Using Azure DevOpsModern CI/CD Pipeline Using Azure DevOps
Modern CI/CD Pipeline Using Azure DevOps
 
Build CICD Pipeline for Container Presentation Slides
Build CICD Pipeline for Container Presentation SlidesBuild CICD Pipeline for Container Presentation Slides
Build CICD Pipeline for Container Presentation Slides
 

Similar a Power of Azure Devops

AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)
AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)
AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)Amazon Web Services
 
Containers, microservices and serverless for realists
Containers, microservices and serverless for realistsContainers, microservices and serverless for realists
Containers, microservices and serverless for realistsKarthik Gaekwad
 
How (and why) to roll your own Docker SaaS
How (and why) to roll your own Docker SaaSHow (and why) to roll your own Docker SaaS
How (and why) to roll your own Docker SaaSRyan Crawford
 
AWS ECS Copilot DevOps Presentation
AWS ECS Copilot DevOps PresentationAWS ECS Copilot DevOps Presentation
AWS ECS Copilot DevOps PresentationVarun Manik
 
ECS and Docker at Okta
ECS and Docker at OktaECS and Docker at Okta
ECS and Docker at OktaJon Todd
 
SonarQube presentation.pptx
SonarQube presentation.pptxSonarQube presentation.pptx
SonarQube presentation.pptxVranceaAdrian
 
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB201904_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019Kumton Suttiraksiri
 
Containers and Microservices for Realists
Containers and Microservices for RealistsContainers and Microservices for Realists
Containers and Microservices for RealistsOracle Developers
 
Containers and microservices for realists
Containers and microservices for realistsContainers and microservices for realists
Containers and microservices for realistsKarthik Gaekwad
 
Containers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aciContainers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aciRajesh Kolla
 
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...Tokyo Azure Meetup
 
Reactive summit 2020 microsoft orleans the easy way
Reactive summit 2020   microsoft orleans the easy wayReactive summit 2020   microsoft orleans the easy way
Reactive summit 2020 microsoft orleans the easy wayJohn Azariah
 
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
 
Docker dev ops for cd meetup 12-14
Docker dev ops for cd meetup 12-14Docker dev ops for cd meetup 12-14
Docker dev ops for cd meetup 12-14Simon Storm
 
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
 
A curtain-raiser to the container world Docker & Kubernetes
A curtain-raiser to the container world Docker & KubernetesA curtain-raiser to the container world Docker & Kubernetes
A curtain-raiser to the container world Docker & KuberneteszekeLabs Technologies
 
Kubecon 2019 - Promoting Kubernetes CI/CD to the Next Level
Kubecon 2019 - Promoting Kubernetes CI/CD to the Next LevelKubecon 2019 - Promoting Kubernetes CI/CD to the Next Level
Kubecon 2019 - Promoting Kubernetes CI/CD to the Next LevelTim Pouyer
 
Secure Your Code Implement DevSecOps in Azure
Secure Your Code Implement DevSecOps in AzureSecure Your Code Implement DevSecOps in Azure
Secure Your Code Implement DevSecOps in Azurekloia
 
Container on azure
Container on azureContainer on azure
Container on azureVishwas N
 

Similar a Power of Azure Devops (20)

AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)
AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)
AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)
 
Containers, microservices and serverless for realists
Containers, microservices and serverless for realistsContainers, microservices and serverless for realists
Containers, microservices and serverless for realists
 
How (and why) to roll your own Docker SaaS
How (and why) to roll your own Docker SaaSHow (and why) to roll your own Docker SaaS
How (and why) to roll your own Docker SaaS
 
AWS ECS Copilot DevOps Presentation
AWS ECS Copilot DevOps PresentationAWS ECS Copilot DevOps Presentation
AWS ECS Copilot DevOps Presentation
 
End_to_End_DevOps.pptx
End_to_End_DevOps.pptxEnd_to_End_DevOps.pptx
End_to_End_DevOps.pptx
 
ECS and Docker at Okta
ECS and Docker at OktaECS and Docker at Okta
ECS and Docker at Okta
 
SonarQube presentation.pptx
SonarQube presentation.pptxSonarQube presentation.pptx
SonarQube presentation.pptx
 
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB201904_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
 
Containers and Microservices for Realists
Containers and Microservices for RealistsContainers and Microservices for Realists
Containers and Microservices for Realists
 
Containers and microservices for realists
Containers and microservices for realistsContainers and microservices for realists
Containers and microservices for realists
 
Containers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aciContainers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aci
 
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
 
Reactive summit 2020 microsoft orleans the easy way
Reactive summit 2020   microsoft orleans the easy wayReactive summit 2020   microsoft orleans the easy way
Reactive summit 2020 microsoft orleans the easy way
 
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
 
Docker dev ops for cd meetup 12-14
Docker dev ops for cd meetup 12-14Docker dev ops for cd meetup 12-14
Docker dev ops for cd meetup 12-14
 
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
 
A curtain-raiser to the container world Docker & Kubernetes
A curtain-raiser to the container world Docker & KubernetesA curtain-raiser to the container world Docker & Kubernetes
A curtain-raiser to the container world Docker & Kubernetes
 
Kubecon 2019 - Promoting Kubernetes CI/CD to the Next Level
Kubecon 2019 - Promoting Kubernetes CI/CD to the Next LevelKubecon 2019 - Promoting Kubernetes CI/CD to the Next Level
Kubecon 2019 - Promoting Kubernetes CI/CD to the Next Level
 
Secure Your Code Implement DevSecOps in Azure
Secure Your Code Implement DevSecOps in AzureSecure Your Code Implement DevSecOps in Azure
Secure Your Code Implement DevSecOps in Azure
 
Container on azure
Container on azureContainer on azure
Container on azure
 

Más de Azure Riyadh User Group (9)

Azure Logic Apps
Azure Logic AppsAzure Logic Apps
Azure Logic Apps
 
Azure Messaging Services 2
Azure Messaging Services 2Azure Messaging Services 2
Azure Messaging Services 2
 
Azure Messaging Services #1
Azure Messaging Services #1Azure Messaging Services #1
Azure Messaging Services #1
 
Azure Bot Service
Azure Bot ServiceAzure Bot Service
Azure Bot Service
 
Azure App Service Deep Dive
Azure App Service Deep DiveAzure App Service Deep Dive
Azure App Service Deep Dive
 
Azure Compute, Networking and Storage Overview
Azure Compute, Networking and Storage OverviewAzure Compute, Networking and Storage Overview
Azure Compute, Networking and Storage Overview
 
Azure App Services
Azure App ServicesAzure App Services
Azure App Services
 
Azure Big Picture
Azure Big PictureAzure Big Picture
Azure Big Picture
 
Cloud Fundamental
Cloud FundamentalCloud Fundamental
Cloud Fundamental
 

Último

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 

Último (20)

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 

Power of Azure Devops

  • 2. Ahmad Ezzeir Business Solutions Design & Development Manager • Full stack developer linkedin.com/in/ahmad-Ezzeir
  • 3. 1. DevOps core principles 2. CI/CD basics 3. Demo: CI/CD with asp.net core webapi and Angular app 4. IaC Why and What? 5. Demo: IaC using Azure & Azure DevOps “ARM” 6. (Containers) Docker why and what ? 7. Demo: Docker deployment using Azure & Azure DevOps 8. Kubernetes why and what ? 9. Demo: Kubernetes deployment using Azure & Azure DevOps Agenda
  • 4. What is the problem
  • 5. Fundamentally, DevOps is the activity of optimizing the development-to-operations value stream by creating an increasingly smooth, fast flow of application changes from development into operations, with little waste. Definition of DevOps
  • 6. DevOps is a software development methodology that combines software development (Dev) with information technology operations (Ops). The goal of DevOps is to shorten the systems development life cycle while also delivering features, fixes, and updates frequently in close alignment with business objectives. Definition of DevOps
  • 7. DevOps DevOps core principles Customer-Centric Action “feedback loop” Create with the end Mind “understanding customers needs” End to End responsibility “fully accountable for the products ” Cross-Functional Autonomous Teams Continuous Improvement “include minimizing waste and optimizing speed, costs, and ease of delivery. ” Automate Everything You Can “some joke  hacker-scripts”
  • 8. Continuous Integration Continuous Integration elements Version Control System “Azure Repos, git, apache subversion, TFVC” Automated Build Process “Azure DevOps , Gradle ” Package Management System “Azure Artifacts, NuGet, NPM, Chocolatey ” Continuous Integration System “Azure DevOps, TeamCity, Jenkins,”
  • 9. • What is the difference between Continuous Delivery and Continuous deployment ? CD vs CD code build test staging production Someone or some group need to approve before deploy
  • 10. Demo: CI/CD with asp.net core webapi and Angular app https://dev.azure.com/nashmetech/DemoApp Demo
  • 11.
  • 12. IaC
  • 13. Why this is Important ? Business value is what organizations expect from technology today and that value needs to Be devolved quickly and efficiently A new methodology is required that embraces modern development and operational practices
  • 14. Why Infrastructure as Code • Facilitates auditing by making it easier to trace what was deployed, when, and how (In other words, improves Traceability). • Provides consistent environments from release to release. • Greater consistency across development, test, and production environments. • Automates scale-up and scale-out processes. • Allows configurations to be version controlled. • Provides code review and unit-testing capabilities to help manage infrastructure changes. • Treats infrastructure as a flexible resource. • Its possible to perform blue/green deployments. This is a release methodology to minimize downtime, where two identical environments exist, one is live and the other is not. Updates are applied to the server that is not live, and when testing is verified and complete, it is switched to become the live environment and the previous live environment is no longer the live environment i.e. they are swapped. It can also be referred to as A/B deployment. • Immutable means that the service is not updated. If a change is needed to an environment, a new one is deployed and the old one taken down.
  • 15. Modularization Benefits of modularization The following list are benefits of modularization: • Easier to re-use components across different scenarios • Easier to manage and maintain you code • Easier for new team members to ramp up and understand how infrastructure and components relate and are used • Easier to sub-divide up the work and responsibilities across teams and area owners • Easier to troubleshoot • Easier to extend and add to your existing infrastructure definitions
  • 16. • Azure Resource Manager templates are written in JSON “class for developers”. A JSON document is essentially a collection of key-value pairs. Each key is a string, that's value can be: • string • number • Boolean expression • list of values • object (which is a collection of other key-value pairs) ARM
  • 18. ARM Template • Parameters : VM name, admin username, admin password domain name. • Variables: network configurations, storage configurations, • Functions: function to create unique name for each resource. • Resources: template components “network card, storage, location ” • Outputs: For example, you might want to receive your VM's IP address or fully qualified domain name (FQDN), information you do not know until the deployment runs.
  • 19. • https://dev.azure.com/nashmetech/IaC • https://github.com/Azure/azure-quickstart-templates/tree/master/101- vm-tags/ • Quick start templates: https://azure.microsoft.com/en- us/resources/templates/101-vm-tags/ • show demo using ARM Template Viewer VS code ext IaC Demos
  • 20. • Chef • Puppet • Ansible • Cloud-init with Azure • Terraform with Azure Third Party and Open Source Tool integration with Azure
  • 21.
  • 22. • Install software process in any computer • We can avoid this by using containers Containers why? What is the problem ? Download software Run installer Get some error during the installation Troubleshoot issue Run installer Get another error ! containers makes it really easy to install and run software without worrying about setup or dependencies
  • 23. Another problem for non-containers env
  • 24. Linux OS P2 RAM HD CPU NT CPUHDNTRAM P1 RAM HD CPU NT Kernel When you start a container, you start the container process
  • 25. Containers products • Docker • Apache Mesos • Container Linux by CoreOS • LXC • Azure • AWS • IBM
  • 26. What is Docker trying to Achieve ? Windows Liunx MAC It is following the build once, run anywhere approch Any cloud On-premises Software is written in any development language
  • 27. • docker version • docker run hello-world • let us see diagrams Hello Word from Docker
  • 29. Create a new container process • check diagram ” Create container”
  • 30. • docker run hello-world • docker run --name some-nginx -d -p 8080:80 nginx • docker run -d --hostname my-rabbit --name some-rabbit -p 15672:15672 rabbitmq:3-management Create docker from images
  • 31. Container Registries • Docker images can be stored locally • Use container registries to share images • Docker Hub hosts public images • - https://hub.docker.com/ - Also supports private image hosting • Azure Container Registry (ACR) • - Store containers in Azure • - Can build images automatically
  • 32. • store image in docker hub • docker login • docker push image .. • store image on Azure Container Registries (ACR) • az acr login • from Azure DevOps CI CD Demo
  • 33. Tip # 1: if you want really understand docker do not follow below courses to understand docker • Docker for nodejs developer • Docker for .net developer • Docker for java developer Tip # 2: Linux commands essential (for sure not all now) Tip # 3: you need to learn and do practices in real projects. Advice to get started with docker
  • 36. You can look to this
  • 38. Your application is music and K8s (Kubernetes) is the orchestra maestro
  • 39. • High availability: NO downtime • scalability: high performance • Disaster recovery what feature do orchestration tools offer
  • 42. How is K8s is execute our order ?
  • 43. K8s observe some part(s) of your application got low performance
  • 44. K8s automatically perform the auto-scaling
  • 45. K8s observe some part(s) of your application down
  • 46. K8s automatically perform actions to reach the desired state
  • 48. K8s basic architecture let us see diagrams