DevOps Classroom notes 25/Jan/2025

End to End CI/CD Pipeline

  • Overview
    Preview
  • Environment
    Preview

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 Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube