DevOps Classroom notes 07/Nov/2023

Azure DevOps Projects

Broader Category

  • Infra Wise
    • Static Infrastructure
    • Dynamic Infrastructure
  • Technology Wise
    • Virtual Machine
    • Cloud Platforms
    • Containers
    • App/Play Stores

Combinations That we should try

  • Virtual Machine Static Infra
    Preview
  • Virtual Machine Dynamic Infra
    Preview
  • Containerized Application Deployment
    Preview

Workshop

  • We will be deploying a containerized microservices into k8s cluster
  • Options:
    • Kubernetes Cluster
      • AKS
      • EKS
    • Container Registry
      • Docker Hub
    • Security (ignored)
    • unit testing (ignored)

Setups

  • git
  • docker
cd /tmp
curl -fsSL https://get.docker.com -o install-docker.sh
sh install-docker.sh
sudo usermod -aG docker <username>
# exit and relogin
docker info
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common
wget -O- https://apt.releases.hashicorp.com/gpg | \
gpg --dearmor | \
sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] \
https://apt.releases.hashicorp.com $(lsb_release -cs) main" | \
sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update
sudo apt-get install terraform -y
  • Ensure you have docker hub account
  • Ensure cloud cli is installed
    • Install Azure CLI and configure azure cli Refer Here
      bash
      curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
      az login
    • Install AWS CLI and configure Refer Here
      bash
      sudo apt update && sudo apt install unzip -y
      curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
      unzip awscliv2.zip
      sudo ./aws/install

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner