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
  • Create an instance and verify if the above mentioned packages are installed or not
  • 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

  • We can run extensions on Windows Instances also

Leave a ReplyCancel reply

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

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Exit mobile version
%%footer%%