{"id":17171,"date":"2020-08-20T15:23:02","date_gmt":"2020-08-20T15:23:02","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=17171"},"modified":"2020-08-28T05:05:09","modified_gmt":"2020-08-28T05:05:09","slug":"creating-and-deploying-highly-available-vms-with-azure-powershell","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-deploying-highly-available-vms-with-azure-powershell\/","title":{"rendered":"Creating and deploying highly available VMs with Azure PowerShell"},"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 get acquainted with Azure PowerShell and the process to increase the availability and reliability of Virtual Machines with the help of and Availability Sets.\u00a0<\/p>\n\n\n\n<p>Availability Sets enables the VMs to deploy on Azure are classified across various, isolated hardware nodes, in a batch.<\/p>\n\n\n\n<p>So here you learn&nbsp; and understand the procedure to create the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, creating an availability set<\/li><li>Secondly, creating a VM in an availability set<\/li><li>Thirdly, checking available VM sizes<\/li><li>Lastly, checking Azure Advisor<\/li><\/ul>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Overview of an Availability set&nbsp;<\/strong><\/h5>\n\n\n\n<p>An Availability Set is a legitimate grouping inclination for isolating VM resources from each other after deployment. Also, azure assures that the VMs you set within an Availability Set flow within the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, the multiple physical servers&nbsp;<\/li><li>Secondly, compute racks&nbsp;<\/li><li>Subsequently, storage units&nbsp;<\/li><li>Lastly, network switches.&nbsp;<\/li><\/ul>\n\n\n\n<p>In case of a hardware or software failure then, a subset of your VMs are affected. However, the overall solution remains operational. Availability Sets are necessary for building reliable cloud solutions.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Launching Azure Cloud Shell<\/strong><\/h5>\n\n\n\n<p>The Azure Cloud Shell is a free interactive shell which can use to run the steps. Not to mention, it has common Azure tools preinstalled and configured to work with your account.<\/p>\n\n\n\n<p>To begin the Cloud Shell, follow the following steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>First of all, just select Try it from the upper right corner of a code block. Also, you can launch Cloud Shell in a different browser tab by visiting: https:\/\/shell.azure.com\/powershell.\u00a0<\/li><li>Subsequently, select Copy to copy the blocks of code.<\/li><li>Then, paste it into the Cloud Shell, and later press enter to run it.<\/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<h5 class=\"wp-block-heading\"><strong>Creating an availability set<\/strong><\/h5>\n\n\n\n<p>The hardware in a section is separated into various update domains and fault domains.&nbsp;<\/p>\n\n\n\n<p>You can create an availability set using New-AzAvailabilitySet. For instance, the number of both update and fault domains is 2 and the availability set is called myAvailabilitySet.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Creating VMs inside an availability set<\/strong><\/h5>\n\n\n\n<p>VMs should be generated within the availability set to assure they&#8217;re correctly disseminated across the hardware. However, you can&#8217;t join an existing VM to an availability set after it&#8217;s creation.<\/p>\n\n\n\n<p>The moment you generate a VM with New-AzVM, use the -AvailabilitySetName parameter to define the name of the availability set.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Checking for available VM sizes<\/strong><\/h5>\n\n\n\n<p>When you create a VM in an availability set, you must know that VM sizes are available on the hardware. So, use Get-AzVMSize command to notice all available sizes for virtual machines that you can deploy in the availability set.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Checking Azure Advisor<\/strong><\/h5>\n\n\n\n<p>Further, you can also use Azure Advisor to view more information on how to advance the availability of your VMs. Azure Advisor examines the configuration and usage telemetry. Thereafter, recommends solutions which can help to improve the cost-effectiveness, performance, availability, and security of your Azure resources.<\/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=\"Azure PowerShell\"\/><\/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\/tutorial-availability-sets\" 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 get acquainted with Azure PowerShell and the process to increase the availability and reliability of Virtual Machines with the help of and Availability Sets.\u00a0 Availability Sets enables the VMs to deploy on Azure are classified across various, isolated hardware nodes, in a batch. So here you learn&nbsp; and&#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-17171","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 deploying highly available VMs with Azure PowerShell - Testprep Training Tutorials<\/title>\n<meta name=\"description\" content=\"Increase your skills by learning about Azure PowerShell with Configure VMs 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-deploying-highly-available-vms-with-azure-powershell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating and deploying highly available VMs with Azure PowerShell - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"Increase your skills by learning about Azure PowerShell with Configure VMs using Microsoft Azure AZ-104 online course Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-deploying-highly-available-vms-with-azure-powershell\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-28T05:05:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/06\/practice-test-2.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=\"2 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-deploying-highly-available-vms-with-azure-powershell\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-deploying-highly-available-vms-with-azure-powershell\/\",\"name\":\"Creating and deploying highly available VMs with Azure PowerShell - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2020-08-20T15:23:02+00:00\",\"dateModified\":\"2020-08-28T05:05:09+00:00\",\"description\":\"Increase your skills by learning about Azure PowerShell with Configure VMs using Microsoft Azure AZ-104 online course Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-deploying-highly-available-vms-with-azure-powershell\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-deploying-highly-available-vms-with-azure-powershell\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-deploying-highly-available-vms-with-azure-powershell\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating and deploying highly available VMs with Azure PowerShell\"}]},{\"@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 deploying highly available VMs with Azure PowerShell - Testprep Training Tutorials","description":"Increase your skills by learning about Azure PowerShell with Configure VMs 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-deploying-highly-available-vms-with-azure-powershell\/","og_locale":"en_US","og_type":"article","og_title":"Creating and deploying highly available VMs with Azure PowerShell - Testprep Training Tutorials","og_description":"Increase your skills by learning about Azure PowerShell with Configure VMs using Microsoft Azure AZ-104 online course Now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-deploying-highly-available-vms-with-azure-powershell\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2020-08-28T05:05:09+00:00","og_image":[{"url":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/06\/practice-test-2.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-deploying-highly-available-vms-with-azure-powershell\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-deploying-highly-available-vms-with-azure-powershell\/","name":"Creating and deploying highly available VMs with Azure PowerShell - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2020-08-20T15:23:02+00:00","dateModified":"2020-08-28T05:05:09+00:00","description":"Increase your skills by learning about Azure PowerShell with Configure VMs using Microsoft Azure AZ-104 online course Now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-deploying-highly-available-vms-with-azure-powershell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-deploying-highly-available-vms-with-azure-powershell\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-deploying-highly-available-vms-with-azure-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Creating and deploying highly available VMs with Azure PowerShell"}]},{"@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\/17171","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=17171"}],"version-history":[{"count":8,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/17171\/revisions"}],"predecessor-version":[{"id":18398,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/17171\/revisions\/18398"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=17171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=17171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=17171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}