{"id":17609,"date":"2020-08-24T13:14:42","date_gmt":"2020-08-24T13:14:42","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=17609"},"modified":"2020-08-28T05:13:26","modified_gmt":"2020-08-28T05:13:26","slug":"creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/","title":{"rendered":"Creating and encrypting a Windows virtual machine with the Azure portal"},"content":{"rendered":"\n<p class=\"has-text-align-right\"><strong><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-104-microsoft-azure-administrator-associate\/\" target=\"_blank\" rel=\"noreferrer noopener\">Return to AZ-104 Tutorial<\/a><\/strong><\/p>\n\n\n\n<p>Here you will learn about how Azure VMs can be created through the Azure portal. The Azure portal is a browser-based user interface to create VMs and their associated resources. Here, you will use the Azure portal to deploy a Windows virtual machine, create a key vault for the storage of encryption keys, and encrypt the VM. If you don&#8217;t have an Azure subscription, create a free account before you begin. <\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Signing in to Azure<\/strong><\/h5>\n\n\n\n<p>Firstly, sign in to the Azure portal.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Creating a virtual machine<\/strong><\/h5>\n\n\n\n<ul class=\"wp-block-list\"><li>To begin with, choose to create a resource in the upper left corner of the Azure portal.<\/li><li>Secondly, on the New page, under Popular, select Windows Server 2016 Datacenter.<\/li><li>Subsequently, in the Basics tab, under Project details, make sure the correct subscription is selected.<\/li><li>Next, for &#8220;Resource Group&#8221;, select Create new. Enter myResourceGroup as the name and select Ok.<\/li><li>Furthermore, for the VM name, enter MyVM.<\/li><li>Also, for Region, select (US) East US.<\/li><li>After this, verify that the Size is Standard D2s v3.<\/li><li>Now, under Administrator account, select Password. Enter a user name and a password.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-machines\/media\/disk-encryption\/portal-quickstart-windows-vm-creation.png\" alt=\"Azure portal- Windows VM creation screen\" width=\"638\" height=\"1065\"\/><figcaption>Image Source: Microsoft<\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Now, select the &#8220;Management&#8221; tab and confirm that you have a Diagnostics Storage Account. In case, you have no storage accounts, then elect &#8220;Create New&#8221;, give your new account a name, and select &#8220;Ok&#8221;<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-machines\/media\/disk-encryption\/portal-quickstart-vm-creation-storage.png\" alt=\"ResourceGroup creation screen\" width=\"586\" height=\"395\"\/><figcaption>Image Source: Microsoft<\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Now, click &#8220;Review + Create&#8221;.<\/li><li>And, on the Create a virtual machine page, you can view the details regarding the VM you are about to create. When you are ready, select Create.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-administrator-associate-az-104-free-practice-test\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/06\/practice-test-2.png\" alt=\"Practice Test for AZ-104\"\/><\/a><\/figure><\/div>\n\n\n\n<p>Lastly, it will take a some time for your VM to be deployed. When the deployment is finished, move on to the next section of encrypting the VM.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Encrypt the VM<\/strong><\/h5>\n\n\n\n<ul class=\"wp-block-list\"><li>First of all, select Go to the resource.<\/li><li>Now, on the left-hand sidebar, select Disks.<\/li><li>After this, on the top bar, select Additional Settings.<\/li><li>Furthermore, under Encryption settings &gt; Disks to encrypt, select OS and data disks.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-machines\/media\/disk-encryption\/portal-quickstart-disks-to-encryption.png\" alt=\"Azure portal-disks and encryption selection\" width=\"679\" height=\"512\"\/><figcaption>Image Source: Microsoft<\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Now under Encryption settings, locate and choose Select a key vault and key for encryption.<\/li><li>On the Select key from Azure Key Vault screen, click Create New.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-machines\/media\/disk-encryption\/portal-qs-keyvault-create.png\" alt=\"Azure portal -disks and encryption selection\" width=\"614\" height=\"227\"\/><figcaption>Image Source: Microsoft<\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Moving on, to the left of Key vault and key, select Click to select a key.<\/li><li>Now, on the Select key from Azure Key Vault, under the Key Vault field, select Create new.<\/li><li>After this, on the Create key vault screen, ensure that the Resource Group is myResourceGroup, and give your key vault a name. Every key vault across Azure must have an unique name.<\/li><li>Moreover, on the Access Policies tab, check the Azure Disk Encryption for volume encryption box.<\/li><li>Don&#8217;t forget to select Review + create.<\/li><li>After this the key vault has passed validation, select Create. This will return you to the Select key from Azure Key Vault screen.<\/li><li>Now, leave the Key field blank and choose Select.<\/li><li>In the end, click Save. A popup will warn you that the VM will reboot. Click Yes.<\/li><\/ul>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Clean up resources<\/strong><\/h5>\n\n\n\n<p>When no longer needed, you can delete the resource group, virtual machine, and all related resources. To do so, select the resource group for the virtual machine, select Delete, then confirm the name of the resource group to delete.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-administrator-associate-az-104-online-course\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/testpreptraining.ai-2-750x117.png\" alt=\"\"\/><\/a><\/figure><\/div>\n\n\n\n<p class=\"has-text-align-right\"><strong>Reference: <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-machines\/windows\/disk-encryption-portal-quickstart\" target=\"_blank\" rel=\"noreferrer noopener\">Microsoft Documentation<\/a><\/strong><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-104-microsoft-azure-administrator-associate\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-104-microsoft-azure-administrator-associate\/\" target=\"_blank\" rel=\"noreferrer noopener\">Return to AZ-104 Tutorial<\/a><\/strong><\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Return to AZ-104 Tutorial Here you will learn about how Azure VMs can be created through the Azure portal. The Azure portal is a browser-based user interface to create VMs and their associated resources. Here, you will use the Azure portal to deploy a Windows virtual machine, create a key vault for the storage of&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-17609","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating and encrypting a Windows virtual machine with the Azure portal - Testprep Training Tutorials<\/title>\n<meta name=\"description\" content=\"Increase your skills by learning about Azure portal with Azure compute resources using Microsoft Azure AZ-104 online course Now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating and encrypting a Windows virtual machine with the Azure portal - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"Increase your skills by learning about Azure portal with Azure compute resources using Microsoft Azure AZ-104 online course Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-28T05:13:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-machines\/media\/disk-encryption\/portal-quickstart-windows-vm-creation.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/\",\"name\":\"Creating and encrypting a Windows virtual machine with the Azure portal - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2020-08-24T13:14:42+00:00\",\"dateModified\":\"2020-08-28T05:13:26+00:00\",\"description\":\"Increase your skills by learning about Azure portal with Azure compute resources using Microsoft Azure AZ-104 online course Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating and encrypting a Windows virtual machine with the Azure portal\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating and encrypting a Windows virtual machine with the Azure portal - Testprep Training Tutorials","description":"Increase your skills by learning about Azure portal with Azure compute resources using Microsoft Azure AZ-104 online course Now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/","og_locale":"en_US","og_type":"article","og_title":"Creating and encrypting a Windows virtual machine with the Azure portal - Testprep Training Tutorials","og_description":"Increase your skills by learning about Azure portal with Azure compute resources using Microsoft Azure AZ-104 online course Now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2020-08-28T05:13:26+00:00","og_image":[{"url":"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-machines\/media\/disk-encryption\/portal-quickstart-windows-vm-creation.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/","name":"Creating and encrypting a Windows virtual machine with the Azure portal - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2020-08-24T13:14:42+00:00","dateModified":"2020-08-28T05:13:26+00:00","description":"Increase your skills by learning about Azure portal with Azure compute resources using Microsoft Azure AZ-104 online course Now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-encrypting-a-windows-virtual-machine-with-the-azure-portal\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Creating and encrypting a Windows virtual machine with the Azure portal"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/17609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=17609"}],"version-history":[{"count":5,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/17609\/revisions"}],"predecessor-version":[{"id":18410,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/17609\/revisions\/18410"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=17609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=17609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=17609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}