Demo 01: Configure an Azure Linux virtual machine
Credential tasks
Use this demonstration to review these credential tasks:
- Create a Linux virtual machine (portal).
- Configure a Linux VM.
- Connect to a Linux VM with SSH.
- Update Linux VM operating systems.
- Install and run a workload dependency.
Resource requirements
This resource can be created before or during the demonstration.
- Resource group.
Reference slides (optional)
- Plan for virtual machines
- Supported Linux distributions
- Virtual machine sizing
- Azure resource organization
- Azure Administrator tools
Reference steps
Detailed steps are provided in these links.
Discussion points
Creating and configuring the virtual machine
-
Use the portal to create a Linux VM. Discuss how, in later exercises, the CLI and Quickstart templates will be used to create VMs.
-
Use the portal link to review the Linux Images selection. Identify the latest Ubuntu distribution.
-
Use the portal link to review the Size selections. Discuss how you could scale the CPU and memory settings.
-
Discuss the effects of resizing. Resizing will be done in a later lab.
-
Discuss the different ways of connecting to a Linux virtual machine (SSH public key and Password).
-
Discuss the importance of inbound port rules. Specifically, port 22 for SSH and port 80 for Nginx.
-
Use the Disks tab to show how a data disk would be added. Adding a data disk will be done in a later exercise.
-
Use the Advanced page to show where a cloud-init file could be provided.
-
Also, later exercises use templates and the CLI to install virtual machines.
Access the virtual machine and install Nginx
-
Deploy the virtual machine. Discuss the validation phase and how to monitor notifications.
-
Open a CMD window and access the virtual machine with SSH. Discuss the format of the SSH command and the location of the key file.
-
Install Nginx and ensure the home page displays.