asalbers / enterprise-scale-aks-levelup

Repository for the Enterprise Scale for AKS LevelUp training

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enterprise-scale for AKS LevelUp

Repository for the Enterprise Scale for AKS LevelUp training.

  1. During this workshop, attendees will be learning about the following topics around containers and AKS.

    1. Microservices
    2. Persistent volume claims and using Managed databases on Azure in your microservice
    3. Private AKS clusters
    4. Docker
    5. Azure policies for AKS
    6. App Gateway Ingress Controller with TLS
    7. CSI driver for Keyvault secret provider
    8. Terraform
    9. .devcontainers

    Outline of workshop:

    1. Quick introduction to Enterprise scale for AKS and why we have it
    2. Go over the customer scenario and their requirements
    3. Quickly Simulate ES for AKS workshop to gather customer requirements and make architectural decisions
    4. Build Enterprise scale for AKS hub, landing zone and supporting services (including ACR and KV) and private cluster using Terraform
    5. Create a Policy so the cluster can only pull images from ACR
    6. Make slight changes to the Node server JavaScript code to accommodate the limitations of AGIC
    7. Build the images required using docker build and push them to ACR
    8. Copy Redis image from Docker hub to ACR
    9. Create Postgres database only accessible via private link using Terraform
    10. Modify the current manifest files as required and create new ones for PVC (for Redis), Secret providers and TLS AGIC
    11. Test the deployment
    12. Wrap up

    Prerequisites

    To follow along, you will need to have access to an Azure tenant where you have user admin role in AAD to be able to complete some of the steps and User access admin & Contributor role to the subscription you are using. This is why it would be best to use your MSDN subscription if possible. If not, you can still join and watch as I go through the ensure process step by step.

    1. You will also need
    • Have a L200 AKS knowledge of AKS

    ​ OR

    1. Basic knowledge of IaC would also be helpful (Terraform, ARM or Bicep)

    2. Visual Studio code with Remote Development package installed

    3. Docker desktop or similar installed

    4. Optional: WSL

    We will be using a Linux terminal for this workshop

    Customer scenario:

    During the LevelUp, you are acting CSA assigned to help Contoso International deploy a secure AKS cluster for their workload

    Contoso International is an organization with multiple divisions. One of the divisions, Contoso R&D has a business units that needs a web application that provides the value in the Fibonacci sequence when an index is provided and keeps track of all numbers that have been calculated in a secure and persistent manner. This is important for the business units because they use it in their engineering work.

    This project has been assigned to their development and software consulting division, Contoso developers. Contoso developers has extensive experience using Kubernetes and deploying to AWS and terraform but has no experience with Azure. They have been instructed by Corporate that all new workloads must be deployed on Azure.

    One of their software developers has been assigned to begin development of this application by creating a quick POC / MVP that can be used to test out the value of the product and ensure they are going in the right direction. Being experienced with React and Node JaveScript frameworks, he has created a very simple AKS cluster with no security or persistent storage and has developed a simple application to use for the POC that can calculate the numbers from 1 to 40. He used NGINX ingress controller because that is what the team is familiar with. His team has contacted you to help create a more secure cluster.

    Below is a picture of the starting cluster the developer made

    image-20211026151029007

By the end of the workshop, we would have used Enterprise-scale for AKS to create a more secure cluster that looks like this

image-20211026151029007

▶️ Simulate ES for AKS workshop to gather customer requirements and make architectural decisions

About

Repository for the Enterprise Scale for AKS LevelUp training


Languages

Language:JavaScript 61.5%Language:HTML 16.1%Language:HCL 10.0%Language:CSS 8.7%Language:Dockerfile 3.7%