Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Building Deploying and Managing Microservices-based Applications with Azure Pipeline and AKS - Mamta - CCDays

1,373 views

Published on

This presentation covers:

* Setup AKS cluster on Azure
* Deploy a sample microservice-based highly available and scalable app to the cluster
* Set up Azure pipeline for CI and CD
* Automate deployment of the application on Git commit to AKS cluster

Presented as part of Cloud Community Days - 19 June - ccdays.konfhub.com

Published in: Software
  • Be the first to comment

  • Be the first to like this

Building Deploying and Managing Microservices-based Applications with Azure Pipeline and AKS - Mamta - CCDays

  1. 1. techscalable.com SPECIALITIES n Specialist in Cloud and DevOps n Senior Architect with 14+ years of IT experience. n Solution Architect with 8+ years of hands-on experience supporting, automating, and optimizing mission critical deployments in several cloud platforms, leveraging configuration management, CI/CD, and DevOps processes. § Designed, rolled out, and managed 5,000+ hosts with Ansible and Chef. Implemented a Continuous Delivery pipeline with Docker, Jenkins and GitHub and AWS AMI’s, whenever a new GitHub branch gets started, Jenkins, the Continuous Integration server, automatically attempts to build a new Docker container from it, The Docker container leverages Linux containers and has the AMI baked in. § Experienced in deploying and managing cluster of containers using various Orchestration tools in on-prem (OpenShift/Kubernetes/Docker Swarm) and cloud (ECS/EKS/AKS/GKE). § Designed large & complex applications for various clients. §Passionate about Automating Configuration Management with Ansible/Chef and setting up Kubernetes or OpenShift cluster either on On- Prem / Cloud. Mamta Jha Cloud Architect / Author / Co-Founder: TechScalable
  2. 2. techscalable.com Working with Microservices-based Apps with Azure DevOps and AKS Azure DevOps
  3. 3. techscalable.com Agenda o Setup Azure AKS Cluster o Create a private Azure Container Registry o Azure SQL Server o Azure Repo used for Code Control o Azure Pipeline for Continuous Integration and Build o Azure Pipeline Release to deploy code to AKS
  4. 4. techscalable.com Deploying Infrastructure o Deploy Kubernetes to Azure (AKS): o az aks create --resource-group <rg> --name <unique-aks-cluster-name> --enable-addons monitoring -- kubernetes-version <version> --generate-ssh-keys --location <region> o Deploy Azure Container Registry (ACR): o az acr create --resource-group akshandsonlab --name <unique-acr-name> --sku Standard --location <region> o Grant AKS-generated Service Principal access to ACR: o az role assignment create --assignee <AKS> --role acrpull –scope <ACR> o Create Azure SQL server and Database: o az sql server create -l <region> -g <rg> -n <unique-sqlserver-name> -u <sqladmin> -p <passwd> o az sql db create -g <rg> -s <unique-sqlserver-name> -n <dbname> --service-objective S0
  5. 5. techscalable.com CI/CD End-to-End CI CD
  6. 6. techscalable.com Kubernetes Service Worker Node 1 kubelet Docker Pod A C1 Worker Node 2 kubelet Docker Pod A C1 Service A 10.10.9.2 10.10.10.3 10.10.10.4 Load Balancing
  7. 7. techscalable.com Azure DevOps - Benefits o All in One o Simplified Interface o Easy to integrate with other tools o Has On-Prem and Cloud flavor o Supports – Any Language, Any Platform, Any Cloud o Reliable, Scalable and Secure
  8. 8. techscalable.com
  9. 9. techscalable.com Kind: Deployment o Deployment Controller defines the state of Deployment Objects, like Pods and ReplicaSets o Deployments are used to create and deploy, scale, monitor and roll back o Manage the state of Pods and ReplicaSets on the system o Make application highly available, scalable and self-healing

×