MultiCloud Classroom notes 17/Aug/2026

Azure vm image builder

Azure vm image builder is used to create image with pre-configure softwares and applications

azure cli

choco install azure-cli -y

az login

  • owner/contrubutor or admin

Pre-requisities:

  • vm-images
  • compute
  • network
  • keyvalut
  • storage
az provider register -n Microsoft.VirtualMachineImages
az provider register -n Microsoft.Storage
az provider register -n Microsoft.Compute
az provider register -n Microsoft.KeyVault
az provider register -n Microsoft.Network
# validate 
az provider show -n Microsoft.Compute -o table
#!/bin/bash
# Update package lists
sudo apt-get update -y

# Install Apache2 web server
sudo apt-get install apache2 -y

# Enable Apache2 to start on boot
sudo systemctl enable apache2

# Start Apache2 service immediately
sudo systemctl start apache2

# Print status
sudo systemctl status apache2

WIll fix permisisons tomarrow.

Leave a 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

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube