EIEIOTECHNOVATION
← Training programmes

EIEIO / CLOUD NATIVE & DEVOPS

Automate Application Deployment to Azure Kubernetes Service using GitHub actions

Course outline

3 days

Duration

3 days

Overview

This course will teach you how to deploy an ASP.NET and React microservices applications to a Kubernetes infrastructure provided by Microsoft and GitHub actions.

Purpose

This course covers the skills and knowledge of containers, Kubernetes, and deployment automation with GitHub workflow needed to deploy ASP.NET and React microservices to a Kubernetes infrastructure available in the Azure Cloud as AKS.

Course Outline

Understanding Microservices and Containers

  • What is container technology?
  • Why containers or microservices?
  • K8S concepts
  • Replica Sets and Deployments
  • Desired state using YAML
  • Resource management and inter-pod communication
  • Using K8S services

Planning and setting up an Azure Kubernetes Cluster

  • AKS capacity planning
  • Kubernetes networking options on Azure
  • Plan for high availability of AKS master and worker nodes
  • Setting up an AKS cluster using command line and Azure portal
  • Managing worker nodes
  • Configure cluster auto-scaler
  • Setting up an Azure Container Registry (ACR)
  • Integrate ACR with an AKS cluster
  • Role based access control
  • Enable Active Directory integration
  • Summary

Deploying microservices to AKS using GitHub

  • Prepare applications for AKS
  • Authenticate with GitHub Actions using a service principal
  • Configure the GitHub secrets
  • Create build artifacts
  • Tag and push container images to ACR using GitHub actions
  • HELM fundamentals
  • Define deployments and services
  • Implement liveliness and readiness probes
  • Setting up pod requests and limits
  • Configure pod auto-scaling
  • Exposing services externally
  • Deploy initial version of .NET/React microservice to AKS using GitHub actions
  • Update application using GitHub actions
  • Build a secure and compliant CI/CD
  • Summary

Configure Storage and Key Vault for AKS

  • Why this is important
  • Understanding static and dynamic storage
  • Configure storage using Azure Files
  • Configure storage using Azure Disks
  • Kubernetes secrets
  • Integration with Azure Key Vault
  • Summary

Monitoring, Logging and Observability for AKS microservices

  • Monitor your AKS cluster
  • Application logging using ELK/EFK technology stack
  • Implement observability using Prometheus
  • Setting up AKS alerts for deployed microservices
  • Summary

Course Assessment and Next Steps

Role

Please select all roles that apply:

Cloud Developers

DevOps Engineers

DevOps Architects

IT Administrators

Programme scope, delivery arrangements and suitability are confirmed during enquiry.