0% found this document useful (0 votes)
66 views3 pages

ONLINE LAB: Deploying Azure VM Using ARM Templates: Your Challenge

The document provides steps to deploy an Azure VM using an ARM template from the Azure portal. It instructs the user to create a resource group, deploy a Linux VM template, and take a screenshot before cleaning up resources.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views3 pages

ONLINE LAB: Deploying Azure VM Using ARM Templates: Your Challenge

The document provides steps to deploy an Azure VM using an ARM template from the Azure portal. It instructs the user to create a resource group, deploy a Linux VM template, and take a screenshot before cleaning up resources.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

ONLINE LAB: Deploying Azure VM

using ARM Templates


Your Challenge
- Create a resource group named ​newvmrg
- Deploy a Linux VM using a predefined ARM template in the Templates section of the
portal
- Clean up all of your resources created after you’re done

Solution

Step 1 Sign Into Azure

Sign into Azure at ​https://portal.azure.com/


Step 2 Create a resource group

1. In the navigation list, click ​Resource groups​.


2. Click ​Add ​to open the ​Resource group​ blade.
3. For ​Resource group​ name, enter ​newvmrg​.
4. Select a subscription and a location.
5. Click ​Review + Create ​to proceed to the last step.
6. Click ​Create ​to create the resource group.
7. Click ​Refresh ​to refresh the list of resource groups.

The new resource group appears in your resource groups list.

Step 3 Deploy ARM Template

1. In the list of Resource groups, click the new ​newvmrg ​resource group.
2. Click ​Add​ to open the Azure Marketplace.
3. Enter “​template​” in the search box and choose ​Template deployment (deploy
using custom templates)​ as a result.
4. Click ​Create​.
5. Scroll to the “​Common Templates​” section.
6. Choose “​Create a Linux Virtual Machine​”.
7. Click the ​Edit Template​ button to edit the template.
8. Change the VM size from ​Standard_A1​ to ​Standard_F1​.
9. Click ​Save​.
10. Select a subscription and a location that matches the resource group above.
11. Enter “​newadmin​” as Admin Username.
12. Choose Authentication Type of ​password​.
13. Enter “​NeWPass@129*​” as the Admin password.
14. Enter a unique ​DNS Label prefix​ that is unique to you across all of Azure.
15. Accept the ​default version​ of Ubuntu.
16. Ensure the location is ​[resourceGroup().location]
17. Check the box next to “​I agree to the terms and conditions stated above​”.
18. Click “​Purchase​”.
19. Wait for the deployment to complete. It should take 45 seconds or so.

Lab Assignment
Students: Take a screenshot of the ​MyUbuntuVM > Overview​ screen after completing the
last step. Follow the submission instructions outlined in the course.

Step 4 Clean up

1. In the navigation list, click ​Resource groups​.


2. Click ​storage-resource-group ​to open the resource group.
3. Click ​Delete resource group​ to delete the resource group.
4. On the​ Are you sure you want to delete​ blade, type the resource group name:
newvmrg​.
5. Click ​Delete ​to delete the resource group.

© 2019 Scott J Duffy and ​SoftwareArchitect.ca​, all rights reserved

You might also like