Azure Classroom notes 17/Nov/2023

Azure Compute – Azure Vms

Activity

  • Create a ubuntu linux vm with 22,80 (ssh,http) port
  • ssh into the vm and execute the following
sudo apt update
sudo apt install apache2 -y
  • access from browser http://publicip
  • We can use user data. User data executes after the vm creation. To use user data use the Advanced tab and select user data and enter the following
#!/bin/bash
apt update
apt install apache2 -y

Preview
Preview
Preview
* Custom data allows us to use cloud-init which is a yaml file Refer Here for more
Preview

Azure vm extensions

Azure VM Applications

Azure Compute Gallery

  • Refer Here for creating a gallery
  • TBD: We will be using compute gallery to store vm images

Azure Instance metadata service

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner