Activity 5: Add Linux VMs in Web and app subnets (contd..)
- Lets look at the issue.

- Refer Here for the changes to fix the nic issue (wrong key networkSecurityGroups) and vm issue (required field computerName in osProfile was missing)
- Next Step: How to come up with right image reference
"imageReference": {
"publisher": "Canonical",
"offer": "UbuntuServer",
"sku": "18.04-LTS",
"version": "latest"
}
{
"publisher": "Canonical",
"offer": "001-com-ubuntu-server-jammy",
"sku": "22_04-lts-gen2",
"version": "latest"
}
{
"publisher": "RedHat",
"offer": "RHEL",
"sku": "8.2",
"version": "latest"
}
- To pick up windows server 2019
{
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2019-DataCenter",
"version": "latest"
}
- Now changed the template to use ubuntu 22.04 Refer Here
- Exercise:
- Add vm of your choice without public ip in app subnet
- Figure out to use run command from arm template Refer Here for arm template resource.
- Manual:

Like this:
Like Loading...