Articles → MICROSOFT AZURE → Cloud-Init Provisioning Agents In Azure

Cloud-Init Provisioning Agents In Azure

What Is A Cloud-Init Provisioning Agent?

How To Write A Custom Script In Cloud-Init?

  1. Create a Linux virtual machine
  2. While creating the virtual machine, you can see the option Custom Data and cloud init in the Advanced tab
  3. There you can write a custom script(s). For this example, we will write a script to install Nginx
  4. Picture showing the cloud init section while creating the virtual machine in Azure
    Click to Enlarge

  5. Click on the Create button to create a virtual machine

Check If Nginx Is Installed Or Not

nginx -v

Picture showing the command prompt for checking if nginx is installed or not
Click to Enlarge

Posted By  -  Karan Gupta
Posted On  -  Wednesday, April 21, 2021


Your Email Id  
Query/FeedbackCharacters remaining 250