In an ideal world, the applications you write will be based on PaaS and SaaS solutions. However, in the real world, applications might require special deployment and VMs can be a way to achieve that. In this video, learn about VMs and how they can be created.
- [Instructor] Let's start by talking about which options we have to create VMs in Azure. So, if we look at the first one, it's the portal. We go to portal.azure.com and then, we are going to create that, and that will show you that it's quite simple, it's intuitive, it's a simple way there to do that. And the second option is to use PowerShell. So, if you're used with PowerShell, and if you're running from Windows, actually, even if you're running from Linux now, because there is PowerShell for Linux, you can install the module called AZ, and then you can start running PowerShell scripts that will create new, Azure virtual machines for you. And not only that, you can manage almost any aspect of your Azure instance from PowerShell. The third option would be to use the Azure CLI. Azure CLI stands for Azure Command Line Interpreter, and that is actually, a different way than PowerShell. And this is using the bash shell, and you can use that actually, both from Windows, and from Linux. However, now with PowerShell for Linux, I think the difference would be minimal between the two of them. At the end of the day, everything just being a matter of choice, or of taste, what exactly would you prefer to use. Then when we are choosing either PowerShell or Azure CLI, we can either run them from the local shell, and local shell can be either your bash, if you're running from Linux, or your command prompt, or your PowerShell command prompt, or you can run it straight from the Azure shell. So, inside the portal, there is a piece of it where you can actually go in and run the PowerShell. Last, but not least, we have the ARM template. ARM stands for Azure Resource Manager, and the template, it's nothing more than just a JSON file that contains all the information necessary for you to do certain deployments. You can deploy more or less everything in Azure using a template, especially, virtual machines, so I'm go to show you how you can actually use those templates in order to deploy a virtual machine.
- Implementing solutions that use virtual machines
- Options for creating virtual machines
- Creating a virtual machine using PowerShell
- Configuring Azure Disk Encryption for VMs
- Running a batch job using PowerShell and CLI
- Creating and running a batch job using .NET