DevOps Classroom notes 04/Jun/2025

Activity 1 contd

  • Creating a linux vm in azure requires
    • network interface with nsg connected to a subnet (optional public ip)
    • credentials:
      • username/password
      • username/key
    • Image: os
      publisher = "Canonical"
      offer = "0001-com-ubuntu-server-jammy"
      sku = "22_04-lts-gen2"
      version = "latest"
  • Refer Here for the changes done to create virtual machine

Tainting terraform resources

  • Tainting a terraform resources is marking for the resource to replaced during next terraform apply.

Installing softwares in virtual machine

Terraform Provisioners

  • Provisioners can execute some extra stuff in virtual machines. Terraform has 3 types of provisioners
    • file
    • local-exec
    • remote-exec
  • For the remote connections provisioner will have a connetion object
  • Refer Here also
  • Refer Here for the changes done to include a provisioner.

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