Azure VMs Contd
- Vertical Scaling/Scaling up and Scaling down:
- In the event where your vm instance size is not enough to meet the application demands we can resize the vm to the greater size
- In the Same Way, if the vm instance size is under-utilized, then we can resize the vm to the smaller size
- Increasing the size of the vm is considered as scaling up & Decreasing the vm size is considered as Scaling down
- This operation in azure requires a downtime
- Lets create a vm with some application in it
- So lets scale up
- The commands used for installing apache and stress are
sudo apt update sudo apt install apache2 stress -y
- Exercise:
- Create an ubuntu vm in a new resource group
- We are able to install softwares in linux using Run Command, In Azure when a linux vm is created, azure linux agent (waagent) is pre installed.
- When we run commands, the Job is done by this agent Refer Here
- Extensions in Azure