DevOps Classroom notes 25/Jan/2025

End to End CI/CD Pipeline

  • Overview
  • Environment

Creating Azure Kuberentes Service from terraform

export MY_RESOURCE_GROUP_NAME="myAKSResourceGroup"
export REGION="eastus"
export MY_AKS_CLUSTER_NAME="myAKSCluster"


# Create a resource group
az group create --name $MY_RESOURCE_GROUP_NAME --location $REGION

# Create an aks cluster
az aks create --resource-group $MY_RESOURCE_GROUP_NAME --name $MY_AKS_CLUSTER_NAME --node-count 2 --node-vm-size "Standard_B2ms" --generate-ssh-keys

# Ensure kubectl is installed
# To get credentials

az aks get-credentials --resource-group $MY_RESOURCE_GROUP_NAME --name $MY_AKS_CLUSTER_NAME

Decision Point

  • Steps:
    • create a resource group
    • create an aks cluster
    • get the credentials of aks cluster
  • Decision on approach in terraform:
    • Resources
    • Modules:
      • Community
      • Private
  • Backend:
    • AzureRm
    • Terraform Cloud
  • Workspaces:
    • Environments:
      • ST (System Test)
      • PT (Performance Test)

Terraform solution

CI/CD Integration

  • Watch Classroom recording
  • Refer Here for the sample pipeline
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Plugin for Social Media by Acurax Wordpress Design Studio
Exit mobile version
%%footer%%