From 3e1ef7a667f5a65d1e75147c669481fc986b8252 Mon Sep 17 00:00:00 2001 From: staleycyn <45440075+staleycyn@users.noreply.github.com> Date: Thu, 8 Jun 2023 15:28:40 -0700 Subject: [PATCH] Add files via upload --- .../08 - Administer Azure Virtual Machines.md | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Instructions/Demos/08 - Administer Azure Virtual Machines.md diff --git a/Instructions/Demos/08 - Administer Azure Virtual Machines.md b/Instructions/Demos/08 - Administer Azure Virtual Machines.md new file mode 100644 index 00000000..2e6de375 --- /dev/null +++ b/Instructions/Demos/08 - Administer Azure Virtual Machines.md @@ -0,0 +1,67 @@ +--- +demo: + title: 'Demonstration: 08 - Administer Azure Virtual Machines' + module: 'Administer Azure Virtual Machines' +--- + + +# 08 - Administer Azure Virtual Machines + +## Demonstration -- Create Virtual Machines in the portal + +In this demonstration, we will create and access an Azure virtual machine in the portal. + +**References** + +[Quickstart - Create a Windows VM in the Azure portal](https://docs.microsoft.com/azure/virtual-machines/windows/quick-create-portal) + +[Quickstart - Create a Linux VM in the Azure portal](https://docs.microsoft.com/azure/virtual-machines/linux/quick-create-portal) + +[Connect to a virtual machine with Bastion](https://learn.microsoft.com/azure/bastion/tutorial-create-host-portal#connect) + +**Create the virtual machine** + +**Note:** These steps only cover a few virtual machine parameters. Feel free to explore and cover other areas. You can create either Windows or Linux virtual machine, depending on your audience. + +1. Use the Azure portal. + +1. Search for **Virtual machines**. + +1. Create a basic virtual machine. Review the availability options, images, and inbound rules. + +1. Discuss the importance of creating a secure administrator account. + +1. Create the virtual machine and wait for the resource to deploy. + +**Connect to the virtual machine** + +1. There are several ways to **Connect** to the virtual machine. + +1. For a Windows server you can use **RDP**, as shown in the tutorial. You can go one step further by installing the web server and viewing the IIS welcome page. + +1. For a Linux server you can **SSH**, as shown in the tutorial. You can go one step further by installing the web server and viewing the web server in action. + +1. For either server you can connect with the **Bastion** service (tutorial). Review why Bastion is preferred to RDP or SSH. + +## Configure Virtual Machine Availability + +In this demonstration, we will explore virtual machine scaling options. + +**References** + +[Create virtual machines in a scale set using Azure portal](https://learn.microsoft.com/azure/virtual-machine-scale-sets/flexible-virtual-machine-scale-sets-portal) + +1. Use the Azure Portal. + +1. Search for and select **Virtual Machine Scale Sets**. + +1. Create a **Virtual Machine Scale Sets**. Review the purpose of virtual machine scale sets. Review the difference between the **Uniform** and **Flexible** orchestration modes. Explain your selection can affect your scaling options. + +1. Move to **Scaling** tab. + +1. Review how **Manual scale** and **Scale-in policy** is used. + +1. Change to a **Custom** scaling policy. + +1. Review how **CPU threshold (%)** is used to scale out and scale in the virtual machine instances. +