Deploying VM extensions
VM extensions are applications that we can install as part of the script or post-deployment. An example of this would be adding antimalware applications to a VM. VM extensions can be configured for existing and future deployments.
Let's look at how to configure the Microsoft Antimalware extension to an existing Windows VM:
- Navigate to the Azure portal by opening a web browser and going to https://portal.azure.com.
- In the left menu, select Virtual machines and select your VM that we deployed with our script in the Deploy from a template section of this chapter:
- Under the Settings tab, select Extensions and click on add on the next page:
- Now, scroll down and select the Microsoft Antimalware extension and click on Create: