Azure Classroomnotes 28/Oct/2022

Activity 5: Add Linux VMs in Web and app subnets (contd..)

  • Lets look at the issue.
    Preview
  • 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"
                    }
  • To pick up ubuntu 22.04
{
    "publisher": "Canonical",
    "offer": "001-com-ubuntu-server-jammy",
    "sku": "22_04-lts-gen2",
    "version": "latest"
}
  • To pick up redhat 8.2
{
    "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:
      Preview

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube