Azure Classroom Series – 09/Dec/2020

Cloud-init

  • Refer Here for the official docs.
  • Cloud-init is the industry standard for executing a script on linux vms during first boot.
  • Refer Here for cloud config examples
  • Cloud-init config file is a yaml file
#cloud-config
packages_update: true
packages:
  - apache2
  - openjdk-8-jdk
  - tomcat8
  • Create an ubuntu 18 instance and in the advanced tab enter the above mentioned config file Preview Preview
  • Create an instance and verify if the above mentioned packages are installed or not Preview Preview Preview
  • Refer Here for official documenation on cloud-init support in azure
  • Exercise: Try to findout if we can use cloud-init on Windows instance in Azure

Azure VM Extensions

  • Create one linux vm with the following steps to be changed in Advanced tab Preview Preview Preview Preview Preview

  • We can run extensions on Windows Instances also Preview Preview

Leave a Reply

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

About learningthoughtsadmin