Creating and Managing Virtual Machines
This course will show you how to create and manage virtual machines in the Azure ecosystem.
By the end of this course, you'll have gained a firm understanding of the key components that comprise the Azure virtual machine ecosystem. Ideally, you will achieve the following learning objectives:
- How to create and manage virtual machines in the Azure environment.
- How to create and manage VM images, workloads, and more.
- How to monitor your Azure virtual machines.
This course is intended for individuals who wish to pursue the Azure 70-532 certification.
You should have work experience with Azure and general cloud computing knowledge.
This Course Includes
- 59 minutes of high-definition video.
- Expert-led instruction and exploration of important concepts surrounding Azure virtual machines.
What You Will Learn
- The concepts behind VM workloads.
- How to create and manage Azure VM images.
- Azure VM configuration management.
- Azure VM networking.
- How to scale Azure virtual machines.
- How to design and implement Azure VM storage.
- How to monitor your Azure virtual machines.
About the Author
Isaac has been using Microsoft Azure for several years now, working across the various aspects of the service for a variety of customers and systems. He’s a Microsoft MVP and a Microsoft Azure Insider, as well as a proponent of functional programming, in particular F#. As a software developer by trade, he’s a big fan of platform services that allow developers to focus on delivering business value.
Now let's look at considering in more detail the workloads that you can host using vms, and how to create a suitable virtual machine for your needs.
We'll first consider what type of workloads are supported by vms and how to choose how to deploy your particular workload. We'll also cover how you can confirm a given vm provides the capabilities that you need. And secondly, we'll describe how vms are created using the Azure portal.
The first thing you need to consider with a virtual machine in Azure is what your needs are. Your workload might be something simple, such as a single vm with Windows server installed on it. Or it can be a complex system with multiple machines performing distinct functions as part of the overall architecture. Secondly, you'll have two choices as to how to create your workload. Firstly you can use the Azure marketplace, a collection of pre-configured virtual machines and entire topologies with pre-installed software from a single virtual machine with SQL server to a complex SharePoint farm with multiple machines from Microsoft and third parties vendors. There's also the VM Depot, which offers a similar function, but is community maintained.
Alternatively you can elect to use a naked virtual machine with Windows or Linux and customize it as you see it. Bear in mind, when creating a naked virtual machine yourself you'll have to consider the various performance characteristics that are required. This might include CPU, RAM, network latency and disc IO performance.
In this demo we'll illustrate how to create a vm using the Azure portal. We'll start by entering the Azure marketplace in the portal. We'll select new, and then we'll select virtual machines. You'll see a selection of virtual machines here. If we see all by clicking this link, we'll be taken to a full list of Azure vm marketplace images, which contains images not only from Microsoft, but many third party providers such as Oracle, Red Hat and Cisco et cetera, et cetera. We'll select the Windows 2012 R2 image here. We'll click it and then choose a classic deployment option.
Next we'll populate the options for the username, password, resource group and location before selecting the vm size. And we'll click view all, and you can see that there's a wide variety of vm sizes available with associated costs. We'll select A1 Basic. We'll leave the optional features as they are, but take note, here is the extensions setting here that we can apply. But we'll just click okay, and now here's the summary panel with all of the settings that we've chosen. Creating a virtual machine for Linux is essentially the same process, except you can optionally use SSH instead of using a password log in credential. Let's now confirm this and create the vm.
Once the vm is created we can navigate to it in a portal and perform actions on it from there, such as stopping and restarting, as well as accessing settings to modify the vm, for example re-sizing the vm. We can also connect to it over a remote desktop using the credentials supplied earlier. If I click connect, it will download an RDP file and when we run the RDP file it will allow us to connect to that server. Now you can see that it's logging in to the server and preparing the desktop for us. And here's the VM loaded.
Stay tuned for the next section, where we'll cover the creation and management of virtual machine images.