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
* Custom data allows us to use cloud-init which is a yaml file Refer Here for more
Azure vm extensions
- Refer Here for official docs
Azure VM Applications
- Refer Here for official docs
Azure Compute Gallery
- Refer Here for creating a gallery
- TBD: We will be using compute gallery to store vm images
Azure Instance metadata service
- Refer Here for docs