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 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
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%