Azure Classroomnotes 11/Jul/2023

Azure Virtual Machines Contd..

  • Azure Virtual Machine Images: There are two generations Refer Here
    • Gen 1
    • Gen 2: uefi boot
  • Azure Security Feature => Trusted Launch => TPM Refer Here

Activity 1:

  • Create an Azure Virtual machine with size Standard_B1s and ubuntu vm image
  • Login into the linux vm
sudo apt update
sudo apt install apache2 -y
sudo apt install stress -y
sudo apt install php libapache2-mod-php php-mysql -y
sudo -i
echo "<?php phpinfo(); ?>" > /var/www/html/info.php
  • Navigate to http://<publip-ip>/info.php
  • Lets do the following, to create a vm image
  • Terms to be understood

    • managed image
    • Compute Gallery
      • Image Definition
        • image version
    • Why the vm becomes unusable in Azure after vm image creation.
  • Exercises:
    • Create a centos/redhat based linux vm and install apache into it
      • deallocate the vm
      • start the vm
      • check if the apache is still running or not
      • What is enabling services in linux.
      • Enable apache service and now stop and start
      • In this case application should be running.

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner