<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Seun Okegbola</title>
    <description>The latest articles on DEV Community by Seun Okegbola (@himora22).</description>
    <link>https://dev.to/himora22</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1381365%2Fe07ae355-3b05-4a0c-846a-e19252a10f88.png</url>
      <title>DEV Community: Seun Okegbola</title>
      <link>https://dev.to/himora22</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/himora22"/>
    <language>en</language>
    <item>
      <title>DEPLOYING A WINDOWS SERVER VIRTUAL MACHINE RUNNING IIS</title>
      <dc:creator>Seun Okegbola</dc:creator>
      <pubDate>Wed, 29 May 2024 23:28:38 +0000</pubDate>
      <link>https://dev.to/himora22/deploying-a-windows-server-virtual-machine-running-iis-1in2</link>
      <guid>https://dev.to/himora22/deploying-a-windows-server-virtual-machine-running-iis-1in2</guid>
      <description>&lt;p&gt;Let's start off by with the question &lt;strong&gt;What is IIS?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Internet Information Services (IIS)&lt;/strong&gt; is a flexible, general purpose Microsoft web server that runs on Windows operating system and is used to exchange static and dynamic web content. It is used to host, deploy and manage web applications using technologies like ASP.NET and PHP.&lt;/p&gt;

&lt;p&gt;In this blog be deploying the following things with Microsoft Azure:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a windows Server with IIS installed &lt;/li&gt;
&lt;li&gt;Create an Application Security Group (ASG) in the same region as your Server.&lt;/li&gt;
&lt;li&gt;Go the Server's Network Security Group (NSG) and Add an inbound rule on port 80 and Port 443.&lt;/li&gt;
&lt;li&gt;Create firewall and attach it to the Server's Vnet to secure your environment from malicious threats.&lt;/li&gt;
&lt;li&gt;Copy your Public IP to a browser and ensure there is connectivity.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Prerequisite&lt;/strong&gt;&lt;br&gt;
First thing login to your Microsoft Azure Portal by going to &lt;a href="https://portal.azure.com"&gt;https://portal.azure.com&lt;/a&gt;.&lt;br&gt;
If you do not have an azure account sign up and create an account for free with this link &lt;a href="https://azure.microsoft.com/en-us/free/"&gt;https://azure.microsoft.com/en-us/free/&lt;/a&gt;. Registration will require a phone number and a debit or credit card details to validate your account even for the free account. You have a choice between the free or pay as you go account.&lt;/p&gt;

&lt;h2&gt;
  
  
  Create a Windows Server with IIS installed.
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Go to the &lt;strong&gt;search bar&lt;/strong&gt; at the top centre of the &lt;strong&gt;Azure portal&lt;/strong&gt; and type &lt;strong&gt;Virtual Machines&lt;/strong&gt;, then click it from the list of resources.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkxkjke5f4pacxq18khs2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkxkjke5f4pacxq18khs2.png" alt="Image description" width="800" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Click &lt;strong&gt;Create&lt;/strong&gt; on the Virtual machine page. From the drop-down menu click &lt;strong&gt;Azure virtual machine&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjkqcb05itxgln1b3ph73.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjkqcb05itxgln1b3ph73.png" alt="Image description" width="800" height="491"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Project details&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Subscription:&lt;/strong&gt; Choose your subscription. Here we will be using the default Azure subscription, if you have others, you can select another.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resource group:&lt;/strong&gt; We will be creating a new one for the purpose of this exercise. Select Create new and type a name and select OK. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzcwa1kg820jltj16qdkm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzcwa1kg820jltj16qdkm.png" alt="Image description" width="800" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Instance details&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;-Virtual machine name:&lt;/strong&gt; Give your VM a name and it should be unique throughout the Azure network.&lt;br&gt;
&lt;strong&gt;- Region:&lt;/strong&gt; Select a location you want your VM, from the dropdown menu. [ A region is the geographical location with data centres that host services and infrastructures, with each operating independently and self-contained]&lt;br&gt;
&lt;strong&gt;- Availability options:&lt;/strong&gt; we leave on the default &lt;strong&gt;Availability zone&lt;/strong&gt;.&lt;br&gt;
&lt;strong&gt;- Availability zone:&lt;/strong&gt; Select the zone or zones you would like your VM to be located  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5kdi2mpsetsh7ss9q5k4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5kdi2mpsetsh7ss9q5k4.png" alt="Image description" width="800" height="233"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Security type:&lt;/strong&gt; We leave on the default &lt;strong&gt;Trusted launch virtual machines&lt;/strong&gt;.&lt;br&gt;
&lt;strong&gt;- Image:&lt;/strong&gt; Select from the dropdown menu a &lt;strong&gt;Window Server&lt;/strong&gt; image. I will be using the &lt;strong&gt;Windows Server 2019 Datacenter x64 Gen2&lt;/strong&gt; for this exercise.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuxbnddbw949avt3260f8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuxbnddbw949avt3260f8.png" alt="Image description" width="800" height="128"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For this exercise leave the remaining setting as they are and follow the next steps below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6: Administrator Account&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Username:&lt;/strong&gt; Name your administrator account&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Password:&lt;/strong&gt; type your password and confirm the password
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8q1d7tue8ikzdqo9skvy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8q1d7tue8ikzdqo9skvy.png" alt="Image description" width="800" height="165"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 7: Network tab&lt;/strong&gt;&lt;br&gt;
Click the &lt;strong&gt;Networking&lt;/strong&gt; tab towards the top of the page ensure that your Network interface is populated especially the &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Virtual network&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;- Subnet&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;- Public IP&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If the not populated, click the &lt;strong&gt;Create new&lt;/strong&gt; underneath the blank boxes by Virtual network. Select the defaults and click &lt;strong&gt;Ok&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkllm0sqi8fjaechsns26.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkllm0sqi8fjaechsns26.png" alt="Image description" width="800" height="517"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The fields then get populated. If yours was populated already then click &lt;strong&gt;Review + Create&lt;/strong&gt;, at the bottom of the screen.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 8:&lt;/strong&gt; When your &lt;strong&gt;Validation passed&lt;/strong&gt; then click &lt;strong&gt;Create&lt;/strong&gt; at the bottom right of the page.&lt;br&gt;
&lt;strong&gt;Step 9:&lt;/strong&gt; Once &lt;strong&gt;Deployment&lt;/strong&gt; is completed Click &lt;strong&gt;Go to resource&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fykmhp12l8uzxfho3ibnk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fykmhp12l8uzxfho3ibnk.png" alt="Image description" width="800" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 10:&lt;/strong&gt; &lt;strong&gt;Connect&lt;/strong&gt; to your Windows Server virtual machine so we can install IIS. You do this by clicking &lt;strong&gt;Connect&lt;/strong&gt; besides the &lt;strong&gt;search bar&lt;/strong&gt; to the right of your page. A dropdown menu shows and click &lt;strong&gt;Connect&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F52m5qglx1gl3lqkadop9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F52m5qglx1gl3lqkadop9.png" alt="Image description" width="800" height="161"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on the &lt;strong&gt;Download RDP file&lt;/strong&gt;. Your browser may ask if you want to keep the file click &lt;strong&gt;Keep/Save&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnysqi8wn68rc3l5ha120.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnysqi8wn68rc3l5ha120.png" alt="Image description" width="610" height="839"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiaw9n5oh1spbvfima9l6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiaw9n5oh1spbvfima9l6.png" alt="Image description" width="725" height="275"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A &lt;strong&gt;Remote Desktop Connection&lt;/strong&gt; pop up appears on your screen click &lt;strong&gt;Connect&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0y8d1f6m9gje82ladxq8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0y8d1f6m9gje82ladxq8.png" alt="Image description" width="800" height="390"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enter the &lt;strong&gt;password&lt;/strong&gt; to your Windows Server and Click &lt;strong&gt;Ok&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Another Remote Desktop Connection prompt appears on your screen click &lt;strong&gt;Yes&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Wait for the Virtual Machine to setup. You are now Logged into your Windows Server.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fep6o98izm4v9wsk0y00i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fep6o98izm4v9wsk0y00i.png" alt="Image description" width="800" height="501"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 11: Installing IIS on our Windows Server.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on &lt;strong&gt;Add roles and features&lt;/strong&gt; in the Server Manager.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsua9b9hpphamyali3q5r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsua9b9hpphamyali3q5r.png" alt="Image description" width="800" height="459"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;Add Roles and Features Wizard&lt;/strong&gt; comes up click &lt;strong&gt;Next&lt;/strong&gt; to the get to &lt;strong&gt;Installation Type&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Ensure &lt;strong&gt;Role-based or feature-based installation&lt;/strong&gt; is selected and click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6o5woan7owgdwf0qpcbn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6o5woan7owgdwf0qpcbn.png" alt="Image description" width="800" height="570"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Server selection&lt;/strong&gt; you should see the server you deployed. Select it and click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fru6j7ptajxf8hep1f9sa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fru6j7ptajxf8hep1f9sa.png" alt="Image description" width="800" height="565"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Server Roles&lt;/strong&gt; scroll down the list of &lt;strong&gt;Roles&lt;/strong&gt; till you see &lt;strong&gt;Web Server (IIS)&lt;/strong&gt; check the box, a second window appears click &lt;strong&gt;Add features&lt;/strong&gt; and click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fas9358no0xxfe92splqz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fas9358no0xxfe92splqz.png" alt="Image description" width="800" height="532"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Next&lt;/strong&gt; till you get to &lt;strong&gt;Confirmation&lt;/strong&gt; then you click &lt;strong&gt;Install&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;While the installation process is going on open your Azure Portal on a &lt;strong&gt;New Tab&lt;/strong&gt; on your web browser to Create an &lt;strong&gt;Application Security Group (ASG)&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Application Security Group (ASG)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Search for a Application Security Group at the top centre search bar of your portal at click.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foj4fnf3lzhykgaujg836.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foj4fnf3lzhykgaujg836.png" alt="Image description" width="800" height="126"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Click &lt;strong&gt;Create&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F15nc57elh616ziuxeqpp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F15nc57elh616ziuxeqpp.png" alt="Image description" width="800" height="175"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; In the &lt;strong&gt;Create an application security group&lt;/strong&gt; page. Begin with the &lt;strong&gt;Basics&lt;/strong&gt; and fill out the &lt;strong&gt;Project details&lt;/strong&gt; and &lt;strong&gt;Instance details&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Subscription&lt;/strong&gt;: Select your Subscription&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resource group&lt;/strong&gt;: Select the resource group you created for this project from the deployment of the Windows Server Virtual Machine, from the dropdown menu.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Instance details&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Name:&lt;/strong&gt; Give your Application Security Group a Name&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Region:&lt;/strong&gt; Ensure the region is the same as that of your Windows Server Virtual Machine&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd3yl721oakoo4h8ikjgf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd3yl721oakoo4h8ikjgf.png" alt="Image description" width="800" height="348"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Review + Create&lt;/strong&gt; at the bottom of the page.&lt;/li&gt;
&lt;li&gt;After the Validation is passed Click &lt;strong&gt;Create&lt;/strong&gt; at the bottom left of the page.&lt;/li&gt;
&lt;li&gt;Once the Deployment is completed click &lt;strong&gt;Go to resource&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdtai26qtltp7eaxo8r32.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdtai26qtltp7eaxo8r32.png" alt="Image description" width="775" height="538"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With this you have successfully created your Application Security Group. Now we will be creating a Network Security Group.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Network Security Group (NSG)
&lt;/h2&gt;

&lt;p&gt;Go to the &lt;strong&gt;Search bar&lt;/strong&gt; at the top of the portal page and search for &lt;strong&gt;Network Security Group (NSG)&lt;/strong&gt; and click. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhmku7ufbfsvfz3186r9q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhmku7ufbfsvfz3186r9q.png" alt="Image description" width="800" height="218"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will notice that Azure has already created a NSG for your server, so we go ahead with the creating inbound rule on port 80 and port 443.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxo45vbjuty0udva2j2xo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxo45vbjuty0udva2j2xo.png" alt="Image description" width="600" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Add an inbound rule on port 80 and Port 443 in your Network Security Group (NSG)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Click on the Network Security Group Created. &lt;br&gt;
&lt;strong&gt;Step 2:&lt;/strong&gt; Go to &lt;strong&gt;Inbound Security rules&lt;/strong&gt; at the right side of the page underneath &lt;strong&gt;Settings&lt;/strong&gt; dropdown menu.&lt;br&gt;
&lt;strong&gt;Step 3:&lt;/strong&gt; Click &lt;strong&gt;Add&lt;/strong&gt; to set a new rule for there to be Inbound access to our Server. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fotpsnox0e10qnvjsxy5k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fotpsnox0e10qnvjsxy5k.png" alt="Image description" width="800" height="661"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; &lt;strong&gt;Adding Inbound security rule&lt;/strong&gt;. We will be changing only the following below&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Destination:&lt;/strong&gt; Click the dropdown menu and select &lt;strong&gt;Application security group&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr34jzdpfg3rc36npf4nf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr34jzdpfg3rc36npf4nf.png" alt="Image description" width="800" height="520"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A new option appears &lt;strong&gt;Destination application security group&lt;/strong&gt;, from the dropdown menu select the application security group you created.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsznqhsbcfpe8zcs6h8b6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsznqhsbcfpe8zcs6h8b6.png" alt="Image description" width="800" height="339"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Destination port ranges:&lt;/strong&gt; change the ports to &lt;strong&gt;80, 443 (for http and https ports)&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Priority:&lt;/strong&gt; Scroll down to priority and change it to &lt;strong&gt;100 or 150&lt;/strong&gt;. The lower the number the higher the priority it is given. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Name:&lt;/strong&gt; Give this rule a name.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Click Add&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F36oxbsx7ldu4ohiapkmj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F36oxbsx7ldu4ohiapkmj.png" alt="Image description" width="548" height="633"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You have added a new Inbound rule to your &lt;strong&gt;Network security group&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Adding the Application Security Group to our Windows Server&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Go to &lt;strong&gt;Virtual Machine&lt;/strong&gt; through the &lt;strong&gt;Search bar&lt;/strong&gt; at the top of the portal and go to the &lt;strong&gt;Windows Server.&lt;/strong&gt; &lt;br&gt;
&lt;strong&gt;Step 2:&lt;/strong&gt; Go to &lt;strong&gt;Application Security group&lt;/strong&gt; underneath the &lt;strong&gt;Networking&lt;/strong&gt; menu, the click &lt;strong&gt;Add&lt;/strong&gt; &lt;strong&gt;application Security groups&lt;/strong&gt;.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu9yex5kan4667ycorbhr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu9yex5kan4667ycorbhr.png" alt="Image description" width="800" height="455"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Step 3:&lt;/strong&gt; A window opens and as long as you ensured you place everything in the same region the &lt;strong&gt;Application Security Group&lt;/strong&gt; you created will appear as an option select it and click &lt;strong&gt;Add&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm4ncaifaggs5d4oo81sn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm4ncaifaggs5d4oo81sn.png" alt="Image description" width="800" height="381"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Create firewall and attach it to the Server's Virtual Network
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Search for &lt;strong&gt;Firewall&lt;/strong&gt; in the &lt;strong&gt;search bar&lt;/strong&gt; of the portal and click&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv7cnmwb94vb58sqfh5ts.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv7cnmwb94vb58sqfh5ts.png" alt="Image description" width="800" height="187"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Click &lt;strong&gt;Create&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn4mwt1vfkr8heritwx42.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn4mwt1vfkr8heritwx42.png" alt="Image description" width="740" height="306"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; Create a firewall.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Subscription:&lt;/strong&gt; choose your subscription&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resource group:&lt;/strong&gt; Select the Resource Group from the dropdown menu you have been using for this project.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Name:&lt;/strong&gt; Give your firewall a name&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Region:&lt;/strong&gt; It should be the same as your windows server&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Availability zone:&lt;/strong&gt; same as your windows server&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6z4xh9svj5te9t7l1t26.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6z4xh9svj5te9t7l1t26.png" alt="Image description" width="800" height="559"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Firewall SKU:&lt;/strong&gt; Select Premium&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Firewall policy:&lt;/strong&gt;  Click Add new.

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Policy name:&lt;/strong&gt; Give it a name.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Region:&lt;/strong&gt; it should be the same region as the Windows Server&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Policy tier:&lt;/strong&gt; Select Premium
Click &lt;strong&gt;Ok&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy403qdo3lz6q9w3a6877.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy403qdo3lz6q9w3a6877.png" alt="Image description" width="800" height="681"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Before we can move forward and add &lt;strong&gt;Virtual network&lt;/strong&gt; and &lt;strong&gt;Public IP address&lt;/strong&gt;, we need to take a detour and create a &lt;strong&gt;firewall Network subnet&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;I would suggest duplicating the tab or opening your azure portal in another tab and follow the steps below. &lt;/p&gt;

&lt;p&gt;To Create a firewall subnet, go to the &lt;strong&gt;Search bar&lt;/strong&gt; at the top of the portal and type &lt;strong&gt;Virtual Network&lt;/strong&gt; and click. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fimnqdxx3jy226dhcyeao.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fimnqdxx3jy226dhcyeao.png" alt="Image description" width="800" height="294"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next Select your network of your Server&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frmx2ssb1tjfqeblum0hd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frmx2ssb1tjfqeblum0hd.png" alt="Image description" width="675" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Below the Virtual Network Search go to Settings and select Subnets&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7zgeh9kerqkh1naql0rx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7zgeh9kerqkh1naql0rx.png" alt="Image description" width="675" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Below the Virtual Network Search go to &lt;strong&gt;Settings&lt;/strong&gt; and select &lt;strong&gt;Subnets&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fni6sj6k245rcgwmyfuml.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fni6sj6k245rcgwmyfuml.png" alt="Image description" width="708" height="766"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select &lt;strong&gt;+Subnet&lt;/strong&gt; towards the right of the Virtual Network Search&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fltgub0e7g8v1ejikjfxf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fltgub0e7g8v1ejikjfxf.png" alt="Image description" width="800" height="144"&gt;&lt;/a&gt;&lt;br&gt;
In the Add a subnet window&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Subnet purpose:&lt;/strong&gt; Select &lt;strong&gt;Azure Firewall&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Leave it everything at the default and Click &lt;strong&gt;Add&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fheafhehyo8nghleqkocq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fheafhehyo8nghleqkocq.png" alt="Image description" width="800" height="206"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now we can go back to the tab where we were about Create Azure Firewall. Refresh the tab and fill in the previous information In &lt;strong&gt;Step 3&lt;/strong&gt; of &lt;strong&gt;Creating Firewall&lt;/strong&gt; till we get to the point where we digressed to creating a subnet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Choose a virtual network:&lt;/strong&gt; Select Use existing.&lt;br&gt;
&lt;strong&gt;Virtual Network:&lt;/strong&gt; Select your Windows Server vnet&lt;br&gt;
&lt;strong&gt;Public IP address:&lt;/strong&gt; Click Add. Give it a name and click ok&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftjulm09mfifqq23s0bcr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftjulm09mfifqq23s0bcr.png" alt="Image description" width="800" height="386"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Click Next:&lt;/strong&gt; &lt;strong&gt;Tags &amp;gt;&lt;/strong&gt;, then &lt;strong&gt;Next: Review + create&amp;gt;&lt;/strong&gt; then click Create all at the bottom of the portal&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4kvym391xfx75zhxoxwr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4kvym391xfx75zhxoxwr.png" alt="Image description" width="800" height="412"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Your firewall is up and running.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Copy your Public IP to a browser and ensure there is connectivity.
&lt;/h2&gt;

&lt;p&gt;Navigate back to the Tab with your Windows Server Virtual Machine. Copy the &lt;strong&gt;Public IP address&lt;/strong&gt; of your Windows Server VM&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F899xbiqq3g3d27k44e29.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F899xbiqq3g3d27k44e29.png" alt="Image description" width="800" height="308"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Paste it in your browser.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcph177c91lrosj6abd07.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcph177c91lrosj6abd07.png" alt="Image description" width="800" height="321"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A Windows Server Virtual Machine running IIS and secured it with a firewall on Microsoft Azure has just been deployed. Give it a try.   &lt;/p&gt;

</description>
      <category>azure</category>
      <category>newbie</category>
      <category>windowserver</category>
      <category>cloud</category>
    </item>
    <item>
      <title>A Beginner’s Look into Azure Active Directory (Microsoft Entra ID) and Roles with a Simple Exercise</title>
      <dc:creator>Seun Okegbola</dc:creator>
      <pubDate>Mon, 13 May 2024 03:47:24 +0000</pubDate>
      <link>https://dev.to/himora22/a-beginners-look-into-azure-active-directory-microsoft-entra-id-and-roles-in-azure-with-a-simple-exercise-2k4c</link>
      <guid>https://dev.to/himora22/a-beginners-look-into-azure-active-directory-microsoft-entra-id-and-roles-in-azure-with-a-simple-exercise-2k4c</guid>
      <description>&lt;p&gt;First of all, what is &lt;strong&gt;Active Directory&lt;/strong&gt;?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Active Directory&lt;/strong&gt; is a service that was previewed by Microsoft in 1999 has been in use since windows server 2000 edition. It has been a useful service in helping organisations as a Windows domain services tool that allows you to set permissions and make groups for the users and assets in your environment. Active Directory works on premises with the domain controller.&lt;/p&gt;

&lt;p&gt;This service is also available in the cloud, for Microsoft Azure it is known as &lt;strong&gt;Azure Active Directory (Azure AD)&lt;/strong&gt; or by its new name &lt;strong&gt;Microsoft Entra ID&lt;/strong&gt;. It is an identity and access management solution from Microsoft that helps organizations secure and manage identities for hybrid and multicloud environments. &lt;/p&gt;

&lt;p&gt;Permissions and access management solutions are given based on roles in Azure are assigned using either:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Azure Active Directory (Azure AD) Roles&lt;/strong&gt; is an identity and access management service that enables user and device authentication and authorization across Azure and other integrated applications. Azure Active Directory roles control access to Azure Active Directory resources such as users, groups, and applications.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Azure Roles (or Role Based Access Control-RBAC)&lt;/strong&gt; is a widely used access control model that allows administrators to assign specific roles to Azure users, groups, or service principals.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Azure Roles&lt;/strong&gt; is responsible for the access to Azure resources while &lt;strong&gt;Azure AD Roles&lt;/strong&gt; controls access to resources in Azure AD (Microsoft Entra ID). These roles have their different &lt;strong&gt;purposes, scopes&lt;/strong&gt; and types of roles you can assign. Below is a table highlighting the differences between &lt;strong&gt;Azure Active Directory Roles (Azure AD)&lt;/strong&gt; and &lt;strong&gt;Azure Roles.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwplhla43sfmtb00g21d1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwplhla43sfmtb00g21d1.png" alt="Image description" width="800" height="182"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical Exercise
&lt;/h2&gt;

&lt;p&gt;Hagital Consulting Ltd has decided to streamline its identity management process by utilizing Microsoft *&lt;em&gt;Entra ID *&lt;/em&gt;(Azure Active Directory) to manage its cloud-based identities.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create the Administrative Department and add two users (&lt;strong&gt;Grace Peters&lt;/strong&gt; and &lt;strong&gt;Ahmed Johnson&lt;/strong&gt;) to it.&lt;/li&gt;
&lt;li&gt;Assign the Global Administrator Role to User A &lt;strong&gt;(Grace Peters)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Show all the steps it took the Global Admin to Log in into the Azure Portal with &lt;strong&gt;Grace Peters&lt;/strong&gt; new credentials.&lt;/li&gt;
&lt;li&gt;Let the Global Administrator &lt;strong&gt;(Grace Peters)&lt;/strong&gt; create/onboard a new member &lt;strong&gt;(Steven Kalu)&lt;/strong&gt; to the Admin Department&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let’s go ahead with the exercise.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisite
&lt;/h2&gt;

&lt;p&gt;First thing login to your Microsoft Azure Portal by going to &lt;a href="https://portal.azure.com"&gt;https://portal.azure.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you do not have an azure account sign up and create an account for free with this link &lt;a href="https://azure.microsoft.com/en-us/free/"&gt;https://azure.microsoft.com/en-us/free/&lt;/a&gt;. Registration will require a phone number and a debit or credit card details to validate your account even for the free account. You have a choice between the free or pay as you go account.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical Begins
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Search for &lt;strong&gt;Microsoft Entra ID&lt;/strong&gt; in the search bar at the top of your portal page and Select &lt;strong&gt;Microsoft Entra ID&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzcoh96f8sk2x49881a5r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzcoh96f8sk2x49881a5r.png" alt="Image description" width="800" height="290"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You are now in the &lt;strong&gt;Default Directory| Overview&lt;/strong&gt; page.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Groups&lt;/strong&gt; under the &lt;strong&gt;Manage&lt;/strong&gt; drop-down menu at the left-hand side of the portal.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F160249isa9l4g88jfj1s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F160249isa9l4g88jfj1s.png" alt="Image description" width="448" height="491"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;New group&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fls4e4dzywb90ung8hwco.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fls4e4dzywb90ung8hwco.png" alt="Image description" width="684" height="269"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Step 2:&lt;/strong&gt; The &lt;strong&gt;New Group&lt;/strong&gt; menu create the &lt;strong&gt;Administrative Department&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Group type:&lt;/strong&gt; Select &lt;strong&gt;Security&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Group name:&lt;/strong&gt; Type &lt;strong&gt;Administrative Department&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Group description:&lt;/strong&gt; Give a description of the group or you can leave it as is.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Membership type:&lt;/strong&gt; Leave as is.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxn5nnzmjw159i1jylrpa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxn5nnzmjw159i1jylrpa.png" alt="Image description" width="773" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Members&lt;/strong&gt;: Click on &lt;strong&gt;No members selected&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4iaswnt7zz7wwdfup45v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4iaswnt7zz7wwdfup45v.png" alt="Image description" width="399" height="491"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;Add members&lt;/strong&gt; menu pops up click &lt;strong&gt;Users&lt;/strong&gt; underneath the search bar.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fewmz2xv587urupcoyus6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fewmz2xv587urupcoyus6.png" alt="Image description" width="593" height="302"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select the two new members of this group in this we are picking &lt;strong&gt;Grace **and **Ahmed Johnson&lt;/strong&gt; the click &lt;strong&gt;Select&lt;/strong&gt; at the bottom left of the windows.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd4ivuwe09872cju9nbys.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd4ivuwe09872cju9nbys.png" alt="Image description" width="770" height="342"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You are back to the &lt;strong&gt;New Group&lt;/strong&gt; page click &lt;strong&gt;Create&lt;/strong&gt; at the bottom left of the page.&lt;/li&gt;
&lt;li&gt;Back at the &lt;strong&gt;Groups| All groups&lt;/strong&gt; page click Refresh then your newly created Administrative Department will show up under the list of groups found.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7evkuxnfsp4s3l0q0nee.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7evkuxnfsp4s3l0q0nee.png" alt="Image description" width="656" height="377"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Step 2&lt;/strong&gt;: Assigning &lt;strong&gt;Global Administrative role&lt;/strong&gt; to a member of the created group. We will be giving &lt;strong&gt;Grace&lt;/strong&gt; this role and appoint her as &lt;strong&gt;Head of the Admin&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on &lt;strong&gt;Default Directory|Groups&lt;/strong&gt; to get back to the &lt;strong&gt;Default Directory&lt;/strong&gt; page.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnwrkskkzlg0h3tus75tl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnwrkskkzlg0h3tus75tl.png" alt="Image description" width="581" height="259"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on &lt;strong&gt;Users&lt;/strong&gt; under the &lt;strong&gt;Manage&lt;/strong&gt; dropdown menu at the left-hand side of the page.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flx37ov7t55oh2k0g79ng.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flx37ov7t55oh2k0g79ng.png" alt="Image description" width="466" height="565"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;Users&lt;/strong&gt; page click &lt;strong&gt;Grace.&lt;/strong&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fefwbmqcfgqkvv38mn7yy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fefwbmqcfgqkvv38mn7yy.png" alt="Image description" width="597" height="321"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Grace's&lt;/strong&gt; User page is now open. Go to the menu at left hand side of the page click on &lt;strong&gt;Manage&lt;/strong&gt; in its dropdown menu click on &lt;strong&gt;Assigned roles&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbddyyanninlqr36j9anc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbddyyanninlqr36j9anc.png" alt="Image description" width="591" height="462"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;Grace|Assigned roles&lt;/strong&gt; page click on &lt;strong&gt;Add assignments.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpmkql3yd8va9bda9x4c1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpmkql3yd8va9bda9x4c1.png" alt="Image description" width="705" height="279"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Directory roles&lt;/strong&gt; window opens. In the search bar type &lt;strong&gt;Global Administrator&lt;/strong&gt;, select it when it appears and click &lt;strong&gt;Add&lt;/strong&gt; at the bottom of the window.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9cox267meuk99qdtkv2k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9cox267meuk99qdtkv2k.png" alt="Image description" width="800" height="286"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on &lt;strong&gt;Refresh&lt;/strong&gt; once back in &lt;strong&gt;Grace|Assigned **roles page, the role will now appear in the list of **Administrative roles&lt;/strong&gt; she has been given.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs822bh3i3xxdz2ou7fye.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs822bh3i3xxdz2ou7fye.png" alt="Image description" width="739" height="311"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Sign into Grace’s Azure Portal
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step1:&lt;/strong&gt; Open another browser or your current browser in incognito or Inprivate mode depending on the browser you are using.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyses2pziuyz5ucrru8xu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyses2pziuyz5ucrru8xu.png" alt="Image description" width="800" height="687"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Login to Azure using Grace’s credentials. &lt;/li&gt;
&lt;li&gt;Go and copy Grace &lt;strong&gt;User Principal name (UPN)&lt;/strong&gt; to login to Azure.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdvhv2fofkdkz5r1gfmb7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdvhv2fofkdkz5r1gfmb7.png" alt="Image description" width="728" height="363"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Paste it in the &lt;strong&gt;Sign in.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9x8jnbomey0kyajnxfv6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9x8jnbomey0kyajnxfv6.png" alt="Image description" width="666" height="574"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enter the password you gave to the account or the copied out autogenerated password and click &lt;strong&gt;Sign In.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmjzsdist5z7td3ywwwuj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmjzsdist5z7td3ywwwuj.png" alt="Image description" width="633" height="560"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Grace will be prompted to &lt;strong&gt;Update your password&lt;/strong&gt; at your first sign in. Change password and click &lt;strong&gt;Sign in&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F23j5o6i1n9l2m8i2uwgw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F23j5o6i1n9l2m8i2uwgw.png" alt="Image description" width="533" height="563"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An &lt;strong&gt;Action Required&lt;/strong&gt; prompt will show on screen, for this exercise we will be clicking &lt;strong&gt;Ask Later.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stay signed in?&lt;/strong&gt; prompt comes click &lt;strong&gt;Yes&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You are now logged Grace’s User Account.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F60erht23pgn5glx8p5c3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F60erht23pgn5glx8p5c3.png" alt="Image description" width="800" height="508"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create/Onboard&lt;/strong&gt; a new member into the &lt;strong&gt;Administrative Department&lt;/strong&gt; with &lt;strong&gt;Grace&lt;/strong&gt; who we have giving the role of &lt;strong&gt;Global Administrator.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Click &lt;strong&gt;Microsoft Entra ID&lt;/strong&gt; to go into the &lt;strong&gt;Default Directory|Overview&lt;/strong&gt; Page&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on &lt;strong&gt;Add&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;In the menu that hover your mouse over &lt;strong&gt;User&lt;/strong&gt; then click on &lt;strong&gt;Create new user&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkp8vt7reu8exfeczbza0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkp8vt7reu8exfeczbza0.png" alt="Image description" width="800" height="368"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; In the &lt;strong&gt;Create new user&lt;/strong&gt; page we start with the &lt;strong&gt;Basic&lt;/strong&gt; tab.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;User principal name:&lt;/strong&gt; Enter the user’s name&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mail nickname:&lt;/strong&gt; Leave the check box ticked beside the &lt;strong&gt;Derive from user principal name&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Display name:&lt;/strong&gt; Enter a name&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Password:&lt;/strong&gt; You can leave the Auto-generate password ticked but copy the password somewhere you can easily find it or uncheck the box and type in the password yourself.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3sd1648tssx1x4y7jyv0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3sd1648tssx1x4y7jyv0.png" alt="Image description" width="800" height="677"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Next: Properties&lt;/strong&gt; at the bottom of the portal to move to the next tab.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; We move to the next tab &lt;strong&gt;Properties&lt;/strong&gt;. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;We start with &lt;strong&gt;Identity&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;First name:&lt;/strong&gt; Enter Steven&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Last name:&lt;/strong&gt; Enter Kalu&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;User type:&lt;/strong&gt; Leave it as Member.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Job Information&lt;/strong&gt;:  We will fill in a few other details&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;1.** Job title:** Admin Officer&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Company name:&lt;/strong&gt; Higital Consulting Ltd&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Department:&lt;/strong&gt; Administrative&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;Leave everything else as they were and click &lt;strong&gt;Next: Assignments&lt;/strong&gt; at the bottom of the page.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9jvzu89vmx6zwo5qwk3m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9jvzu89vmx6zwo5qwk3m.png" alt="Image description" width="756" height="602"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; In the &lt;strong&gt;Assignments&lt;/strong&gt; tab. We be adding &lt;strong&gt;Steven Kalu&lt;/strong&gt; to the Administrative Department.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Add group&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo9iqwqtsxfkklzq44ep7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo9iqwqtsxfkklzq44ep7.png" alt="Image description" width="767" height="368"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the new window &lt;strong&gt;Select group&lt;/strong&gt; look for and click the check box for &lt;strong&gt;Administrative Department&lt;/strong&gt; we created.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fohpfg2ef0ucwtm2vfnk7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fohpfg2ef0ucwtm2vfnk7.png" alt="Image description" width="708" height="341"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Once done click &lt;strong&gt;Select&lt;/strong&gt; at the bottom of the page.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Next: Review + create&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Create&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You have successfully created a user with Graces Peter’s Portal. You can view the account, Steven Kalu, you just created by going to &lt;strong&gt;Default Directory| Overview&lt;/strong&gt; and click &lt;strong&gt;Users&lt;/strong&gt; under &lt;strong&gt;manage&lt;/strong&gt;. You will be able to see it in both your account you start this exercise with and in Grace Peters’ account. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftct2h9i9hva2nxyyq0qi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftct2h9i9hva2nxyyq0qi.png" alt="Image description" width="800" height="417"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In summary, Azure Active Directory (Azure AD) Roles and Azure Roles are important parts of access management in Azure’s ecosystem. As we can see from the simple exercise above it can help an organisation securely and efficiently manage its users/staff and give access and privileges which can be similar to their roles in their organisation.  &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>cloud</category>
      <category>azure</category>
      <category>roles</category>
    </item>
    <item>
      <title>VIRTUAL MACHINE SCALE SET</title>
      <dc:creator>Seun Okegbola</dc:creator>
      <pubDate>Wed, 01 May 2024 20:14:59 +0000</pubDate>
      <link>https://dev.to/himora22/virtual-machine-scale-set-54o5</link>
      <guid>https://dev.to/himora22/virtual-machine-scale-set-54o5</guid>
      <description>&lt;p&gt;In this blog we will be exploring some aspects of the Microsoft Azure service Virtual Machine Scale Set, (VMSS) and it role in the scaling virtual machines.&lt;/p&gt;

&lt;p&gt;The basic information we will be going through in this post on Virtual Machine Scale Set:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What are Virtual Machine Scale Set (VMSS)?&lt;/li&gt;
&lt;li&gt;Orchestration Modes&lt;/li&gt;
&lt;li&gt;Scaling Modes highlighting their differences.&lt;/li&gt;
&lt;li&gt;Scale-in policy configuration.&lt;/li&gt;
&lt;li&gt;Load balancer is and at what point do we need to enable a load balancer.&lt;/li&gt;
&lt;li&gt;Create a basic Virtual Machine Scale Set.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What are Virtual Machine Scale Set (VMSS)?&lt;/strong&gt;&lt;br&gt;
Azure Virtual Machine Scale Set is a service they offer that allows you to create and manage a group of load balanced Virtual Machines (VMs). The number of Virtual Machines can automatically increase and decrease in response to demand or based on a defined schedule. It is a great choice for applications that are required to run across many VMs while maintaining consistent configurations and high availability.&lt;/p&gt;

&lt;p&gt;The Benefits of VMSS are as highlighted below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Easy Management:&lt;/strong&gt; You can maintain a consistent configuration across your environment for reliable performance of your application, using the same base Operating System (OS) image and configuration. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;High Availability:&lt;/strong&gt; It distributes your Virtual Machines (VMs) across fault domains within an Azure region or Availability Zone&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatic Scaling:&lt;/strong&gt; you can scale your application as the demand of your resources change.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Large-Scale Support:&lt;/strong&gt; Supports up to 1000 Virtual Machines&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To get more information on VMSS you can check these links below:&lt;br&gt;
&lt;a href="https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/overview"&gt;VMSS&lt;/a&gt;, &lt;a href="https://azure.microsoft.com/en-us/blog/azure-virtual-machine-scale-sets-now-provide-simpler-management-during-scalein/"&gt;VMSS Management&lt;/a&gt;, &lt;a href="https://azure.microsoft.com/en-us/updates/public-preview-azure-vmss-zonal-expansion/"&gt;VMSS Zonal Expansion&lt;/a&gt;, &lt;a href="https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-design-overview"&gt;VMSS Design&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Orchestration Modes&lt;/strong&gt;&lt;br&gt;
Cloud orchestration is the process of automating the tasks needed to manage connection and operations of workloads. In Microsoft Azure provides two orchestration modes for Virtual Machine Scale Set (VMSS) as listed below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Uniform Orchestration Mode&lt;/strong&gt; which is the traditional way of managing Virtual Machines in a scale set. It has the following characteristics:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It manages and deploys Virtual Machines (VMs) that are identical in configurations.&lt;/li&gt;
&lt;li&gt;It does not support standard Azure Infrastructure as a Services (IaaS) Virtual Machine (VM) API commands.&lt;/li&gt;
&lt;li&gt;It provides fault domain high availability guarantees when configured with fewer than 100 Virtual Machines (VMs) instances.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Flexible Orchestration Mode&lt;/strong&gt; in contrast offers a more diverse Virtual Machines (VMs) that is identical or multiple configuration setup within the same scale set. This is useful for more complex applications that require different VM sizes. Some more characteristics:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Virtual Machines (VMs) can be of different types.&lt;/li&gt;
&lt;li&gt;It supports standard Azure Infrastructure as a Services (IaaS) Virtual Machine (VM) API commands.&lt;/li&gt;
&lt;li&gt;It also supports a mix and match Virtual Machines with varying configurations, size and roles.&lt;/li&gt;
&lt;li&gt;provides fault domain high availability guarantees when configured with up to 1000 Virtual Machines (VMs) instances.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Scaling Modes&lt;/strong&gt;&lt;br&gt;
Before we get to the scaling modes lets get to know what scaling means in Azure. Scaling is the adjusting capacity of your resources to meet changes in demands. There are two primary scaling modes.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Vertical Scaling&lt;/strong&gt;: adjusting the capacity of a single resource such as VM size and &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Horizontal Scaling&lt;/strong&gt;: adding or removing instances of a resource to handle varying workloads.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Scaling can be done automatically it is a mechanism called Autoscaling. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Autoscaling In Virtual Machine Scale Sets&lt;/strong&gt;&lt;br&gt;
Autoscaling is a mechanism for &lt;strong&gt;Horizontal Scaling&lt;/strong&gt; making it easier to manage resource allocation. Autoscaling mechanism in VMSS that automatically adjusts the number of Virtual Machine (VM) instances that is, dynamically increase or decrease the number of VMs to handle varying workloads without manual intervention, based on demand or predefined rules. &lt;br&gt;
The benefit of Autoscaling is it ensures that your applications handle varying loads &lt;strong&gt;efficiently&lt;/strong&gt; while &lt;strong&gt;maintaining high availability and optimizing the cost.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There two autoscaling options which are and &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Scheduled Autoscale&lt;/strong&gt; allow you to scale the number of virtual machine (VM) instances at specific times that you schedule and &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Metrics Autoscale&lt;/strong&gt; allow you to scale the number of virtual machine instances based on available metrics. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are policies that are used to guide how they perform these actions. They are the &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Scale-out&lt;/strong&gt; is the process of adding extra resources, such as virtual machines (VMs), to a Microsoft Azure Virtual Machine Scale Set (VMSS) to manage an increase in demand for your application.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Scale-in&lt;/strong&gt; refers to the process of reducing the number of virtual machines (VMs) in the scale set. Scale-in is often triggered when resource demand falls, and the system no longer requires the same level of capacity. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Kindly take note of &lt;strong&gt;Flexible orchestration&lt;/strong&gt; does not explicitly define a default &lt;strong&gt;Scale-In Policy&lt;/strong&gt; like the &lt;strong&gt;Uniform Orchestration mode&lt;/strong&gt;. However, you can still manage individual VM instances using standard Azure IaaS VM APIs instead of relying solely on the scale set interface. This flexibility allows you to customize scale-in behaviour based on your workload requirements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Load Balancer&lt;/strong&gt;&lt;br&gt;
A load balancer in a cloud service such as Azure is a practice of evenly distributing traffic, workloads, and client requests across multiple servers or resources. It is a feature in Virtual Machine Scale Sets (VMSS) that can be setup to work on the backend of server and client devices. As requests are received, the load balancer distributes them to available servers based on an algorithm. It has a lot of benefits such as &lt;strong&gt;improved performance, greater reliability, reduced cost, reduced latency, improved flexibility&lt;/strong&gt; and much more.&lt;/p&gt;

&lt;p&gt;This a feature that you should configure right from the setup of your Virtual Machine Scale Set (VMSS) under the network tab.&lt;/p&gt;

&lt;p&gt;Here are some more resources to learn more &lt;a href="https://www.vmware.com/topics/glossary/content/cloud-orchestration.html"&gt;Cloud Orchestration&lt;/a&gt;, &lt;a href="https://www.databricks.com/glossary/orchestration"&gt;Cloud Orchestration 1&lt;/a&gt;, &lt;a href="https://www.redhat.com/en/topics/automation/what-is-orchestration"&gt;Cloud Orchestration 2&lt;/a&gt;, &lt;a href="https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes"&gt;VMSS Orchestration modes&lt;/a&gt;, &lt;/p&gt;

&lt;p&gt;Now that we have a basic understanding of Virtual Machine Scale Set (VMSS) lets go ahead to create one. Follow the steps below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prerequisite&lt;/strong&gt; &lt;br&gt;
First thing login to your Microsoft Azure Portal by going to &lt;a href="https://portal.azure.com"&gt;https://portal.azure.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you do not have an azure account sign up and create an account for free with this link &lt;a href="https://azure.microsoft.com/en-us/free/"&gt;https://azure.microsoft.com/en-us/free/&lt;/a&gt;. Registration will require a phone number and a debit or credit card details to validate your account even for the free account. You have a choice between the free or pay as you go account.&lt;/p&gt;

&lt;p&gt;Once you are logged in let’s begin!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Search for &lt;strong&gt;Virtual Machine Scale Set (VMSS)&lt;/strong&gt; in the search bar at the top of your portal page and Select &lt;strong&gt;Virtual Machines Scale Set&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1pqywa7ad39q00i8m1cf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1pqywa7ad39q00i8m1cf.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Select &lt;strong&gt;Create **and select **Virtual Machines Scale Set&lt;/strong&gt;. (There is a create button at the centre of your portal and another towards the top left side of your screen both function similarly)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9ywbbw2vhp1smtfrbmci.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9ywbbw2vhp1smtfrbmci.png" alt="Image description" width="800" height="507"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You are now in the &lt;strong&gt;Create Virtual Machines Scale Set&lt;/strong&gt; page. We will be working primarily under the &lt;strong&gt;Basics **tab and starting with **Project details&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Project details&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Subscription:&lt;/strong&gt; Choose your subscription. Here we will be using the default Azure subscription, if you have others, you can select another.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resource group:&lt;/strong&gt; Select &lt;strong&gt;Create new&lt;/strong&gt; and type a name or if you have one already select it and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe7essty65b40x57pqfl2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe7essty65b40x57pqfl2.png" alt="Image description" width="800" height="203"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Instance details&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Virtual Machines Scale Set name:&lt;/strong&gt; Give your VMSS a name and it should be unique throughout the Azure network.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Region:&lt;/strong&gt; Select a location you want your VMSS, from the dropdown menu. [ A region is the geographical location with data centres that host services and infrastructures, with each operating independently and self-contained]&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Availability zone:&lt;/strong&gt; Select the zone or zones you would like your VMSS to be located from the drop-down menu. [Each Region in Azure can consist of more than one Availability zone. Each zone are kilometres apart and independent of each other to minimize the impact of failures and disruptions. Multiple zones can be selected each having their own Virtual machine] &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm1vpvlcs7z66fthed2u0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm1vpvlcs7z66fthed2u0.png" alt="Image description" width="800" height="243"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Orchestration&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Orchestration mode&lt;/strong&gt;: for this exercise I will be selecting Flexible.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Step 6: Scaling&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Scaling mode:&lt;/strong&gt; select &lt;strong&gt;Autoscaling&lt;/strong&gt;, once this is selected &lt;strong&gt;Scaling configuration options&lt;/strong&gt; appears, click on &lt;strong&gt;Configure&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv3fvnx2rwryuu192fci0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv3fvnx2rwryuu192fci0.png" alt="Image description" width="800" height="526"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2 &lt;strong&gt;Scaling configuration&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;i. &lt;strong&gt;Scaling conditions:&lt;/strong&gt; Click on the pen icon towards the right of the screen, which is the edit button. This is to &lt;strong&gt;add a scaling condition&lt;/strong&gt;, there is a default created by Azure already which you can adjust to suit your needs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flkr3gvnyjfiwwreq9e30.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flkr3gvnyjfiwwreq9e30.png" alt="Image description" width="800" height="175"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;ii. &lt;strong&gt;Add a scaling condition:&lt;/strong&gt; you can go ahead to customise your scaling conditions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Condition Name:&lt;/strong&gt; Give it a name or leave as default.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Initial instance count:&lt;/strong&gt; this determines the number of instances your VMSS starts with&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Instance limit:&lt;/strong&gt; you determine Minimum Number of instances you can scale down to and Maximum Number of instances you can scale up to&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scale out:&lt;/strong&gt; this is where you determine the conditions when your number of instances increases, based on CPU threshold and by how much your instance increases by.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scale in&lt;/strong&gt; this is where you determine the conditions when your number of instances should be decrease, based on CPU threshold and by how much your instance decrease by.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We will be leaving all configuration at their default as seen below and click save below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft118a6qal0io1xiph4dn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft118a6qal0io1xiph4dn.png" alt="Image description" width="590" height="1347"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You are back to &lt;strong&gt;Scaling conditions&lt;/strong&gt; and click &lt;strong&gt;Save&lt;/strong&gt; on the bottom left of your screen.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Step 7: Instance details&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Image&lt;/strong&gt;: Select an image from the drop-down menu, in this exercise we will be using &lt;strong&gt;ubuntu Server 22.04 LTS&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Size&lt;/strong&gt;: Select the size from the drop-down menu&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyzj0lo7gkjxrllni1ps4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyzj0lo7gkjxrllni1ps4.png" alt="Image description" width="800" height="338"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 8: Administrator account&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Authentication type&lt;/strong&gt;: There are two options to choose from &lt;strong&gt;SSH public key&lt;/strong&gt; or &lt;strong&gt;Password&lt;/strong&gt;. In this blog post we will be selecting Password.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Username&lt;/strong&gt;: Name your administrator account&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Password&lt;/strong&gt;: type your password and confirm the password
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Next: Spot&lt;/strong&gt; when done&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjynnehcgvxro845mjoa0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjynnehcgvxro845mjoa0.png" alt="Image description" width="800" height="426"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Leave the &lt;strong&gt;Spot&lt;/strong&gt; tab in default and click next to get to the  &lt;strong&gt;Disk&lt;/strong&gt; tab you can make changes to the OS disk by changing the &lt;strong&gt;OS disk&lt;/strong&gt; size and &lt;strong&gt;OS disk type&lt;/strong&gt; but I will be leaving it on default and clicking next to get to the &lt;strong&gt;Networking&lt;/strong&gt; tab.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 9: Networking&lt;/strong&gt;&lt;br&gt;
In this tab we will be going to the &lt;strong&gt;Load balancing&lt;/strong&gt; section and from the options in &lt;strong&gt;Load balancing options&lt;/strong&gt; we will select &lt;strong&gt;Azure load balancer&lt;/strong&gt;.  Once selected a new section pops up called &lt;strong&gt;Select a load balancer&lt;/strong&gt; click &lt;strong&gt;Create a load balancer&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flwh0ibz6r5omdhl07yjt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flwh0ibz6r5omdhl07yjt.png" alt="Image description" width="800" height="885"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A new menu comes up enter a name for your load balancer and live the rest on their default setting and click **Create **below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7p0mefh4pdve4o5o46re.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7p0mefh4pdve4o5o46re.png" alt="Image description" width="738" height="1246"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you have done click on &lt;strong&gt;Next: Management&lt;/strong&gt; below to get to the &lt;strong&gt;Management tab&lt;/strong&gt;. For this exercise we will leave &lt;strong&gt;Management, Health, Advanced and Tags&lt;/strong&gt; tabs on their default configurations. Then click &lt;strong&gt;Review + Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 10: Review + Create&lt;/strong&gt;&lt;br&gt;
Once you get the &lt;strong&gt;Validation Passed&lt;/strong&gt; message click on &lt;strong&gt;Create&lt;/strong&gt; below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1okf7jkyv2xsebszv1rg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1okf7jkyv2xsebszv1rg.png" alt="Image description" width="800" height="260"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You get a &lt;strong&gt;Deployment is in progress&lt;/strong&gt; massage this will take a few minutes, once this is done you can now click on the go to resource option.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fisr189pph97ur8smj1kb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fisr189pph97ur8smj1kb.png" alt="Image description" width="800" height="362"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is now a newly deployed a basic &lt;strong&gt;Virtual Machine Scale Set (VMSS)&lt;/strong&gt; is ready and available with two instances already running which was the default scaling condition we left it as all the way in &lt;strong&gt;Step 6: 2&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fel9fzlvnxqtb4bm8rzzp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fel9fzlvnxqtb4bm8rzzp.png" alt="Image description" width="800" height="233"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on the &lt;strong&gt;Instance&lt;/strong&gt; menu on the left-hand side of the screen to see the details of the two instances.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc1id53ig240qzd72ihyj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc1id53ig240qzd72ihyj.png" alt="Image description" width="800" height="246"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope this blog helped you understand the basics of Virtual Machine Scale Set (VMSS) and how to deploy a very simple VMSS in Microsoft Azure. Lets keep learning together, thank you for reading.&lt;/p&gt;

</description>
      <category>azure</category>
      <category>cloud</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>ATTACHING A DATA DISK TO AN ALREADY EXISTING WIN 11 PRO VIRTUAL MACHINE IN AZURE</title>
      <dc:creator>Seun Okegbola</dc:creator>
      <pubDate>Mon, 15 Apr 2024 15:24:00 +0000</pubDate>
      <link>https://dev.to/himora22/attaching-a-data-disk-to-an-already-existing-win-11-pro-virtual-machine-in-azure-10do</link>
      <guid>https://dev.to/himora22/attaching-a-data-disk-to-an-already-existing-win-11-pro-virtual-machine-in-azure-10do</guid>
      <description>&lt;p&gt;In today’s post we will be learning to how to attach a data disk to our Win 11 Pro Virtual machine. We will be working with an already created Win 11 Pro VM, if you do not know how to go about it, just click on the link below to create one and come back and follow this blog.&lt;/p&gt;


&lt;div class="ltag__link"&gt;
  &lt;a href="/himora22" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5FrUz3wk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://media.dev.to/cdn-cgi/image/width%3D150%2Cheight%3D150%2Cfit%3Dcover%2Cgravity%3Dauto%2Cformat%3Dauto/https%253A%252F%252Fdev-to-uploads.s3.amazonaws.com%252Fuploads%252Fuser%252Fprofile_image%252F1381365%252Fe07ae355-3b05-4a0c-846a-e19252a10f88.png" alt="himora22"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/himora22/a-simple-guide-to-creating-a-win-11-pro-virtual-machine-on-microsoft-azure-2110" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;A SIMPLE GUIDE TO CREATING A WIN 11 PRO VIRTUAL MACHINE ON MICROSOFT AZURE&lt;/h2&gt;
      &lt;h3&gt;Seun Okegbola ・ Apr 8&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


&lt;p&gt;What are Disks in Azure?&lt;/p&gt;

&lt;p&gt;Before attaching a data disk, let's have a brief discussion about disks in Azure.&lt;/p&gt;

&lt;p&gt;Disks in Azure are referred to as** Azure Disk Storage**, that provide block-level storage volumes that are managed by Azure and used with its Virtual machines. They are virtualized versions of physical disks you would have in your on-premises servers.&lt;/p&gt;

&lt;p&gt;Azure has several types of disks with different performance requirement and prices points.&lt;/p&gt;

&lt;p&gt;• &lt;strong&gt;Ultra Disks:&lt;/strong&gt; Designed for IO-intensive workloads, offering high throughput and IOPS with the ability to dynamically change performance parameters without restarting Virtual Machines.&lt;/p&gt;

&lt;p&gt;• &lt;strong&gt;Premium SSDs:&lt;/strong&gt; Suitable for production and performance-sensitive workloads that require consistent low latency and high IOPS.&lt;/p&gt;

&lt;p&gt;• &lt;strong&gt;Standard SSDs:&lt;/strong&gt; Ideal for web servers, lightly used enterprise applications, and development/test environments.&lt;/p&gt;

&lt;p&gt;• &lt;strong&gt;Standard HDDs:&lt;/strong&gt; Best for backup, non-critical, and infrequent access scenarios due to their lower cost and performance compared to SSDs.&lt;/p&gt;

&lt;p&gt;Apart from the different types of disks, Azure disks have different roles. They are three in number, and they are as follows:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;OS Disk:&lt;/strong&gt; the Operating System disk, this is the Virtual Hard drive that you boot or run your virtual machine from. It holds the operating system and its system files; it is usually labelled as the C: drive by default. The OS disk has a maximum capacity of 4 TB.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data Disks:&lt;/strong&gt; These are Virtual Hard drives you can attach to a Virtual machine to store application data or other data you need to keep. You can attach several data disks to a Virtual machine depending on the size of the Virtual machine. They have a maximum capacity of 32 TB per disk.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Temporary Disk:&lt;/strong&gt; This disk provides temporary storage for applications and processes and is intended to store data such as swap files, application cache, system cache, etc. The data on this disk can be lost during a maintenance event or when you redeploy a Virtual machine. It is usually labelled as the D: drive by default.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can get more information on these from links below.&lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://learn.microsoft.com/en-us/azure/virtual-machines/managed-disks-overview" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--iMpGPUDN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://learn.microsoft.com/en-us/media/open-graph-image.png" height="420" class="m-0" width="800"&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://learn.microsoft.com/en-us/azure/virtual-machines/managed-disks-overview" rel="noopener noreferrer" class="c-link"&gt;
          Azure Disk Storage overview - Azure Virtual Machines | Microsoft Learn
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Overview of Azure managed disks, which handle the storage accounts for you when using VMs.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
        learn.microsoft.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;



&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
      &lt;div class="c-embed__cover"&gt;
        &lt;a href="https://learn.microsoft.com/en-us/azure/virtual-machines/disks-types" class="c-link s:max-w-50 align-middle" rel="noopener noreferrer"&gt;
          &lt;img alt="" src="https://res.cloudinary.com/practicaldev/image/fetch/s--iMpGPUDN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://learn.microsoft.com/en-us/media/open-graph-image.png" height="420" class="m-0" width="800"&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;div class="c-embed__body"&gt;
      &lt;h2 class="fs-xl lh-tight"&gt;
        &lt;a href="https://learn.microsoft.com/en-us/azure/virtual-machines/disks-types" rel="noopener noreferrer" class="c-link"&gt;
          Select a disk type for Azure IaaS VMs - managed disks - Azure Virtual Machines | Microsoft Learn
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;p class="truncate-at-3"&gt;
          Learn about the available Azure disk types for virtual machines, including ultra disks, Premium SSDs v2, Premium SSDs, standard SSDs, and Standard HDDs.
        &lt;/p&gt;
      &lt;div class="color-secondary fs-s flex items-center"&gt;
        learn.microsoft.com
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;&lt;a href="https://azure.microsoft.com/en-us/products/storage/disks/"&gt;https://azure.microsoft.com/en-us/products/storage/disks/&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Now that we understand Azure disks let's begin attaching a data disk to the already created Win 11 Pro Virtual Machine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Login to your Azure portal, Search for Virtual Machine in the search bar and Click on Virtual Machines.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbkuexwkxa95uxnrhaoq0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbkuexwkxa95uxnrhaoq0.png" alt="Image description" width="800" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Click on your already created Win11 Pro Virtual machine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8ou8rqedb5lo9wtw5e6b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8ou8rqedb5lo9wtw5e6b.png" alt="Image description" width="800" height="263"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; Select and click on &lt;strong&gt;Disks&lt;/strong&gt;, under settings towards the left end of your screen.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpn1km4bzl99friirxdk6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpn1km4bzl99friirxdk6.png" alt="Image description" width="745" height="867"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; Once in the disk menu, look for and select &lt;strong&gt;Create and attach new disk&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdlvrbng4nicl7w0bty4j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdlvrbng4nicl7w0bty4j.png" alt="Image description" width="800" height="321"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;a.  &lt;strong&gt;Disk name:&lt;/strong&gt; Give the disk a name.&lt;/p&gt;

&lt;p&gt;b.  &lt;strong&gt;Storage type:&lt;/strong&gt; Select from the options in the dropdown menu.&lt;/p&gt;

&lt;p&gt;c.  &lt;strong&gt;Size (GiB):&lt;/strong&gt; Type the disk size you want. &lt;/p&gt;

&lt;p&gt;d.  Click &lt;strong&gt;Apply&lt;/strong&gt; at the bottom left of the portal when done.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhcbolblm6hkonrnhokcs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhcbolblm6hkonrnhokcs.png" alt="Image description" width="800" height="840"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Wait for a few minutes for your &lt;strong&gt;Data disk&lt;/strong&gt; to be created. Once this done go to the next step&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5:&lt;/strong&gt; Go to &lt;strong&gt;Overview&lt;/strong&gt; page and &lt;strong&gt;Connect&lt;/strong&gt; to your Windows Virtual Machine&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fav5pl7pcewragdpzofjc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fav5pl7pcewragdpzofjc.png" alt="Image description" width="800" height="248"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6:&lt;/strong&gt; Once your Windows 11 Virtual Machine is up and running, &lt;/p&gt;

&lt;p&gt;a.  Go to your file explorer. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F810z3q8pwbqqd4yry2c4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F810z3q8pwbqqd4yry2c4.png" alt="Image description" width="800" height="133"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;b.  Go to &lt;strong&gt;This PC&lt;/strong&gt;, you will notice your just created Data disk is not listed amongst the hard drives. You will have to initialize the disk before it is useable.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1533hvqv534fhrl3k1du.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1533hvqv534fhrl3k1du.png" alt="Image description" width="794" height="493"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 7:&lt;/strong&gt; Initializing the Data disk.&lt;/p&gt;

&lt;p&gt;a.  Right click the Windows button &lt;/p&gt;

&lt;p&gt;b.  Select &lt;strong&gt;Disk Management&lt;/strong&gt; from the list that pops up.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Favmd9tou34nbzx8b8xa9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Favmd9tou34nbzx8b8xa9.png" alt="Image description" width="800" height="631"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;c.  &lt;strong&gt;Disk Management&lt;/strong&gt; opens with a prompt &lt;strong&gt;‘You must initialize a disk before Logical Disk Manager can access it’&lt;/strong&gt; click &lt;strong&gt;‘OK’&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8fu4mlfmmb96idxphc1l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8fu4mlfmmb96idxphc1l.png" alt="Image description" width="800" height="634"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;d.  Scroll down at the bottom half of the &lt;strong&gt;Disk Management&lt;/strong&gt; windows till you get to &lt;strong&gt;Disk 2&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;e.  Right click on &lt;strong&gt;Disk 2&lt;/strong&gt; where it shows &lt;strong&gt;Unallocated&lt;/strong&gt; and select &lt;strong&gt;New Simple Volume&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa0kbq0qa7o7s6k3et2id.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa0kbq0qa7o7s6k3et2id.png" alt="Image description" width="800" height="629"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;f.  A &lt;strong&gt;Welcome to the New Simple Volume Wizard&lt;/strong&gt; comes up. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fedl0b0xid2li1bail8ll.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fedl0b0xid2li1bail8ll.png" alt="Image description" width="800" height="739"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;g.  For this exercise keep clicking &lt;strong&gt;Next&lt;/strong&gt; till you finally get to &lt;strong&gt;Finish&lt;/strong&gt;. Now the disk is initialized and is now visible on &lt;strong&gt;This PC&lt;/strong&gt; in file explorer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1t5ggjp0efh5my3n94h7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1t5ggjp0efh5my3n94h7.png" alt="Image description" width="800" height="464"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If all these steps were followed correctly you have successfully Create, Attached and Initialized a Data disk in your Win 11 Pro virtual machine. Congratulations and well-done.&lt;/p&gt;

</description>
      <category>azure</category>
      <category>vm</category>
      <category>cloud</category>
      <category>win11</category>
    </item>
    <item>
      <title>Creating a Linux Virtual Machine in Azure</title>
      <dc:creator>Seun Okegbola</dc:creator>
      <pubDate>Mon, 15 Apr 2024 14:07:25 +0000</pubDate>
      <link>https://dev.to/himora22/creating-a-linux-virtual-machine-in-azure-39b8</link>
      <guid>https://dev.to/himora22/creating-a-linux-virtual-machine-in-azure-39b8</guid>
      <description>&lt;p&gt;Today I will be showing you how to setup a Linux Virtual Machine (VM) on Microsoft Azure. This guide is just for a basic setup and some. The Linux operating system of choice for this blog post will be Ubuntu.&lt;/p&gt;

&lt;p&gt;Okay, time to begin.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisite
&lt;/h2&gt;

&lt;p&gt;First thing login to your Microsoft Azure Portal by going to &lt;a href="https://portal.azure.com" rel="noopener noreferrer"&gt;https://portal.azure.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you do not have an azure account sign up and create an account for free with this link &lt;a href="https://azure.microsoft.com/en-us/free/" rel="noopener noreferrer"&gt;https://azure.microsoft.com/en-us/free/&lt;/a&gt;. Registration will require a phone number and a debit or credit card details to validate your account even for the free account. You have a choice between the free or pay as you go account.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: &lt;em&gt;Make sure the bank card you use for signing up allows international transactions. The free trial account provides $200 in Azure credits to be utilized within the first 30 days of sign-up, plus 12 months of selected free services (subject to change). After the initial 30 days, you will need to upgrade to a pay-as-you-go subscription.&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;Once you’ve Logged into your account you can begin.&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating Linux Virtual Machine
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Search for &lt;strong&gt;Virtual Machine&lt;/strong&gt; (VM) in the search bar at the top of your portal page and Select &lt;strong&gt;Virtual Machines&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqfqnszx7y190ct3v9ko5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqfqnszx7y190ct3v9ko5.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Select &lt;strong&gt;Create&lt;/strong&gt; and select &lt;strong&gt;Azure Virtual Machine&lt;/strong&gt;. &lt;em&gt;(There is a create button at the centre of your portal and another towards the top left side of your screen both function similarly)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpwwu9hala4b357g7sq7u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpwwu9hala4b357g7sq7u.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuyu1hyolbfylz1kqdbwu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuyu1hyolbfylz1kqdbwu.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; You are now in the &lt;strong&gt;Create a Virtual Machine&lt;/strong&gt; page. We will be working primarily under the &lt;strong&gt;Basics&lt;/strong&gt; tab.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Project details&lt;/strong&gt;&lt;br&gt;
a.  &lt;strong&gt;Subscription:&lt;/strong&gt; Choose your subscription. Here we will be using the default Azure subscription, if you have others, you can select another.&lt;/p&gt;

&lt;p&gt;b.  &lt;strong&gt;Resource group:&lt;/strong&gt; Select Create new and type a name and select &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F79cyxr82n0j3yko0hnny.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F79cyxr82n0j3yko0hnny.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Instance details&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a. &lt;strong&gt;Virtual machine name:&lt;/strong&gt; Give your VM a name and it should be unique throughout the Azure network.&lt;/p&gt;

&lt;p&gt;b.  &lt;strong&gt;Region:&lt;/strong&gt; Select a location you want your VM, from the dropdown menu. &lt;em&gt;[ A region is the geographical location with data centres that host services and infrastructures, with each operating independently and self-contained]&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;c.  &lt;strong&gt;Availability options:&lt;/strong&gt; we leave on the default &lt;strong&gt;Availability zone&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;d.  &lt;strong&gt;Availability zone:&lt;/strong&gt; Select the zone or zones you would like your VM to be located _[Each Region in Azure can consist of more than one Availability zone. Each zone are kilometres apart and independent of each other to minimize the impact of failures and disruptions. Multiple zones can be selected each having their own Virtual machine] _&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvggum116nt5e4mzgntbp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvggum116nt5e4mzgntbp.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;e.  &lt;strong&gt;Security type:&lt;/strong&gt; We leave on the default &lt;strong&gt;Trusted launch virtual machines&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;f.  &lt;strong&gt;Image:&lt;/strong&gt; Select from the dropdown menu a &lt;strong&gt;Linux&lt;/strong&gt; image for this exercise I will be selecting &lt;strong&gt;Ubuntu Server 22.04 LTS - x64 Gen 2(free services eligible)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frzwyxx3tbm1uo1k29hcg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frzwyxx3tbm1uo1k29hcg.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6: Administrator Account&lt;/strong&gt;&lt;br&gt;
a.  &lt;strong&gt;Authentication type:&lt;/strong&gt; There are two options to choose from &lt;strong&gt;SSH public key&lt;/strong&gt; or &lt;strong&gt;Password&lt;/strong&gt;. In this blog post we will be selecting Password.&lt;/p&gt;

&lt;p&gt;b.  &lt;strong&gt;Username:&lt;/strong&gt; Name your administrator account&lt;/p&gt;

&lt;p&gt;c.  &lt;strong&gt;Password:&lt;/strong&gt; type your password and confirm the password  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuefhhrup3m3n422xvpxt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuefhhrup3m3n422xvpxt.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 7: Inbound port rules&lt;/strong&gt;&lt;br&gt;
a.  &lt;strong&gt;Public inbound ports:&lt;/strong&gt;  Select &lt;strong&gt;Allow selected ports.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;b.  &lt;strong&gt;Select inbound ports:&lt;/strong&gt; From the dropdown menu select &lt;strong&gt;SSH (22)&lt;/strong&gt; if it's not selected by default.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9fpa602z33mzvza7ma6k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9fpa602z33mzvza7ma6k.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;c.  Click &lt;strong&gt;Next: Disk &amp;gt;&lt;/strong&gt; at the bottom left of your portal.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm50kuj4d7ecux66jwybv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm50kuj4d7ecux66jwybv.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 8:&lt;/strong&gt; Once you click &lt;strong&gt;Next: Disks&amp;gt;&lt;/strong&gt; you are moved to the &lt;strong&gt;Disk **tab of the **Create Virtual Machine&lt;/strong&gt; service.&lt;br&gt;&lt;br&gt;
a.  &lt;strong&gt;OS disk type:&lt;/strong&gt; Select any disk type of your choosing. I will be selecting &lt;strong&gt;Premium SSD&lt;/strong&gt;.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgc6xpdrl1183u4dwe7hq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgc6xpdrl1183u4dwe7hq.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 9:&lt;/strong&gt; For this guide we will be leaving the &lt;strong&gt;Networking, Management, Monitoring, Advanced&lt;/strong&gt; and &lt;strong&gt;Tag&lt;/strong&gt; pages on their default configuration. Click on &lt;strong&gt;Review + Create&lt;/strong&gt; at the bottom left of your portal.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 10:&lt;/strong&gt; At the &lt;strong&gt;Review + Create&lt;/strong&gt; you should get a &lt;strong&gt;Validation passed&lt;/strong&gt; at the top left of your screen. Review your settings and make any changes if required and select &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fobo7i6pviss6hrrp6rc8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fobo7i6pviss6hrrp6rc8.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 11:&lt;/strong&gt; Once you get &lt;strong&gt;Your deployment is complete&lt;/strong&gt; click on &lt;strong&gt;Go to resource&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwvh8r6sz62vxd47b1m9i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwvh8r6sz62vxd47b1m9i.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 12:&lt;/strong&gt; Take note of your &lt;strong&gt;Public IP address&lt;/strong&gt; before you click &lt;strong&gt;Connect&lt;/strong&gt; and select &lt;strong&gt;Connect&lt;/strong&gt; again.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj6tl15as2j8tyufijpfj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj6tl15as2j8tyufijpfj.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 13:&lt;/strong&gt; Open &lt;strong&gt;Windows PowerShell&lt;/strong&gt; on your computer. For those new to PowerShell you can simply press the windows button on your keyboard and search for Windows PowerShell and click to open.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1iovuxp7s2ledryd1vf8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1iovuxp7s2ledryd1vf8.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;a.  Type in this command &lt;strong&gt;ssh username@ipaddress&lt;/strong&gt; and press enter. &lt;em&gt;&lt;strong&gt;(username is your administrator account username and your public ip address)&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;b.  You will be asked &lt;strong&gt;‘Are you sure you want to continue connecting (yes/no/[fingerprint])?’&lt;/strong&gt; type *&lt;em&gt;Yes&lt;br&gt;
*&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F84nzt780xr05m4lb897n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F84nzt780xr05m4lb897n.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;c.  Enter your password. &lt;/p&gt;

&lt;p&gt;At this point if you delay in typing in your password your connection will be closed as seen in the picture highlighted below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqr1u5xtddfiopruyu55s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqr1u5xtddfiopruyu55s.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To resolve this &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 14:&lt;/strong&gt; Go back to your Azure portal click on &lt;strong&gt;Overview **and click the **Public IP address&lt;/strong&gt;. This takes you to the configuration page.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqj66t6qafuy10yz5acfw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqj66t6qafuy10yz5acfw.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;a.  Go to the &lt;strong&gt;idle timeout (in minutes)&lt;/strong&gt;. Increase this time to 30 minutes either by using the slider or typing in the box.&lt;/p&gt;

&lt;p&gt;b.  Click **Save **towards the top left&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F71wndxb5gtg6s6z35ps3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F71wndxb5gtg6s6z35ps3.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;c.  Go back to PowerShell and input command &lt;strong&gt;ssh username@ipaddress&lt;/strong&gt; once again and press enter.&lt;/p&gt;

&lt;p&gt;d.  Enter your password and press enter. &lt;em&gt;&lt;strong&gt;(do not be alarmed when typing in your password and no characters or figures shows it is completely normal, just input the right password)&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If all the steps were done correctly then the connection will be successful, and you will be logged into your Ubuntu Virtual Machine. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnxntz7znq24b24i96kag.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnxntz7znq24b24i96kag.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Congrats on you have a Linux Virtual machine.&lt;/p&gt;

</description>
      <category>cloudcomputing</category>
      <category>newbie</category>
      <category>linux</category>
      <category>azure</category>
    </item>
    <item>
      <title>A SIMPLE GUIDE TO CREATING A WIN 11 PRO VIRTUAL MACHINE ON MICROSOFT AZURE</title>
      <dc:creator>Seun Okegbola</dc:creator>
      <pubDate>Mon, 08 Apr 2024 17:56:37 +0000</pubDate>
      <link>https://dev.to/himora22/a-simple-guide-to-creating-a-win-11-pro-virtual-machine-on-microsoft-azure-2110</link>
      <guid>https://dev.to/himora22/a-simple-guide-to-creating-a-win-11-pro-virtual-machine-on-microsoft-azure-2110</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Welcome to this guide on how to create an Win11 pro Virtual Machine on Microsoft Azure. &lt;/p&gt;

&lt;p&gt;Microsoft Azure has made it easy to create virtual machines running various operating systems, which has become a crucial tool in modern cloud computing because of its scalability and flexibility. I will be taking you through a step by step walk through of creating your own Windows 11 Pro virtual machine. Let’s get begin!&lt;/p&gt;

&lt;h2&gt;
  
  
  Requirement
&lt;/h2&gt;

&lt;p&gt;Before you can start creating a Virtual Machine, you will need to have an Azure subscription. If you do not have one your can sign up for a free trial at &lt;a href="https://azure.com/free"&gt;&lt;/a&gt;.&lt;br&gt;
Also familiarizing yourself with the fundamental cloud computing concepts would be helpful.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt;&lt;br&gt;
Now that you have created your free subscription, login to your Azure portal with your credentials at &lt;a href="https://portal.azure.com"&gt;&lt;/a&gt; to get started.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2&lt;/strong&gt;&lt;br&gt;
When you are at your Azure Portal, navigate to virtual machines either by clicking the menu button at the left-hand of your portal as seen in Pic 1 below or &lt;br&gt;
go to the search bar and type and select Virtual Machines from the list of resources listed as seen in Pic 2&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk1p0byvvp36bheqcdbwo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk1p0byvvp36bheqcdbwo.png" alt="Image description" width="378" height="185"&gt;&lt;/a&gt;&lt;br&gt;
Pic 1&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnxzuv4lyy0zws9lws9z0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnxzuv4lyy0zws9lws9z0.png" alt="Image description" width="523" height="131"&gt;&lt;/a&gt;&lt;br&gt;
Pic 2&lt;/p&gt;

&lt;p&gt;After selecting the Virtual Machine resource then click ‘Create’&lt;/p&gt;

&lt;p&gt;Once this is done you will be directed to the ‘Basics’ page to begin the creation&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3&lt;/strong&gt;&lt;br&gt;
 You will be working under the Project Details in the Basics tab. &lt;br&gt;
a. &lt;em&gt;&lt;strong&gt;Subscription&lt;/strong&gt;&lt;/em&gt;: &lt;em&gt;choose the appropriate subscription&lt;/em&gt;&lt;br&gt;
[Azure has a pay as you go subscription and a free trial subscription. In this guide we will be working with the free trial subscription and keeping the default subscription]&lt;/p&gt;

&lt;p&gt;b. &lt;em&gt;&lt;strong&gt;Resource Group&lt;/strong&gt;&lt;/em&gt;: Click Create new and name a new resource group or if you already have resource groups already, select, an existing one.&lt;br&gt;
[Resource Group can be likened to containers or folders that help organise your various resource such as Virtual machines and databases]&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbh72wbhymosuevhefiz3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbh72wbhymosuevhefiz3.png" alt="Image description" width="800" height="177"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Firq9tc0bn3fxz55yh6y0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Firq9tc0bn3fxz55yh6y0.png" alt="Image description" width="800" height="176"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, we move down to Instance details&lt;br&gt;
a. &lt;em&gt;&lt;strong&gt;Virtual machine name&lt;/strong&gt;&lt;/em&gt;: &lt;em&gt;Give your Virtual machine a name.&lt;br&gt;
b. Region: Select the location you want your virtual machine to be hosted in data center&lt;/em&gt;. [ A region is the geographical location with data centres that host services and infrastructures, with each operating independently and self-contained]&lt;/p&gt;

&lt;p&gt;c. &lt;strong&gt;&lt;em&gt;Availability options&lt;/em&gt;&lt;/strong&gt;: &lt;em&gt;We leave it selection here on its default Availability zone.&lt;/em&gt;&lt;br&gt;
d. &lt;strong&gt;&lt;em&gt;Availability zone&lt;/em&gt;&lt;/strong&gt;: &lt;em&gt;Click the drop-down menu and select the zone(s) you would like your Virtual machines to be located at.&lt;/em&gt;&lt;br&gt;
[Each Region in Azure can consist of more than one Availability zone. Each zone are kilometres apart and independent of each other to minimize the impact of failures and disruptions. Multiple zones can be selected each having their own Virtual machine]&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7v5au38vztmzvcuob1ni.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7v5au38vztmzvcuob1ni.png" alt="Image description" width="800" height="228"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;e.  &lt;strong&gt;&lt;em&gt;Security Type&lt;/em&gt;&lt;/strong&gt;: There are various options when you click the drop-down menu but for this guide, we will leave it on its default selection ‘Trusted launch virtual machines’&lt;/p&gt;

&lt;p&gt;f.  &lt;strong&gt;&lt;em&gt;Image&lt;/em&gt;&lt;/strong&gt;: Click the drop-down menu and select Windows 11 pro 22H2&lt;/p&gt;

&lt;p&gt;g.  VM architecture and Run with Azure spot discount we will leave on their default settings.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffsj5sz3puflt4lfp9fp4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffsj5sz3puflt4lfp9fp4.png" alt="Image description" width="800" height="290"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;h.  &lt;strong&gt;&lt;em&gt;Size&lt;/em&gt;&lt;/strong&gt;: Select the menu to select the Virtual machine size that suits your requirements. If the options in the drop-down menu to not fit your requirements you can click the ‘see all size’ just below the drop-down menu and choose from there and click, ‘Select’ at the bottom left of the page. [Please note for a free trial subscription your options will be limited]&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8bsgfi6dbfb2gtkww62m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8bsgfi6dbfb2gtkww62m.png" alt="Image description" width="800" height="140"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We continue with to the Administrator Account&lt;br&gt;
a.  Set an Administrator Username and password. These are the credentials you will use to login to your virtual machine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsk1o7lqx74i6yqxtwoqu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsk1o7lqx74i6yqxtwoqu.png" alt="Image description" width="800" height="162"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Inbound port rules&lt;/strong&gt;&lt;br&gt;
a.  &lt;strong&gt;&lt;em&gt;Public inbound ports&lt;/em&gt;&lt;/strong&gt;: Select ‘Allow selected ports’.&lt;br&gt;
b.  &lt;strong&gt;&lt;em&gt;Select inbound ports&lt;/em&gt;&lt;/strong&gt;: leave it on the default RDP (3389). But if not selected by default click the drop-down menu and select it. This port gives remote access to your physical PC&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg2dt4xj7jv4gdwpna7vm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg2dt4xj7jv4gdwpna7vm.png" alt="Image description" width="800" height="284"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Licensing&lt;/strong&gt;&lt;br&gt;
Click the check box under licensing &lt;br&gt;
Click ‘Next: Disks &amp;gt;’ to direct you to the next tab&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe3qsr1k7p67dra1lbzxn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe3qsr1k7p67dra1lbzxn.png" alt="Image description" width="692" height="259"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
&lt;strong&gt;Disk&lt;/strong&gt;&lt;br&gt;
On the disk page we will be leave options and text boxes on default.&lt;br&gt;
OS disk type from the drop-down menu I will be selecting the Standard SSD for the purpose of this practice.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl77vq4o70z08aivuz5hx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl77vq4o70z08aivuz5hx.png" alt="Image description" width="582" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For this guide we will be leaving the networking, management, monitoring, advanced and tag pages on their default configuration. Click on ‘Review + Create’.&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
&lt;strong&gt;Review + Create&lt;/strong&gt;&lt;br&gt;
On this tab review the summary of your virtual machine configuration. Ensure you get the ‘Validation passed’ on the top left of your portal and also review the price of your virtual machine. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftv4tkufpmvp40ujirban.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftv4tkufpmvp40ujirban.png" alt="Image description" width="702" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It will show development in progress. This could take a few minutes &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkh25oa1kaqi6fr163f6j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkh25oa1kaqi6fr163f6j.png" alt="Image description" width="701" height="323"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once deployment is complete click on ‘Go to resource’&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg209h984seq7mcy5lxn9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg209h984seq7mcy5lxn9.png" alt="Image description" width="463" height="316"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Connect to your Windows Virtual Machine&lt;br&gt;
A page showing an overview of your created windows virtual machine comes up. &lt;br&gt;
At this point you create a remote desktop connection to your virtual machine by clicking ‘connect’ a drop-down menu comes up then you click on the second ‘Connect’ option&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj1ssoml8tqaja1d67dt6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj1ssoml8tqaja1d67dt6.png" alt="Image description" width="581" height="271"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On the next page click on ‘Download RDP file’ to your PC. Your windows may give a warning choose 'keep this file'&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F91oebtppbx1a4rjq190r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F91oebtppbx1a4rjq190r.png" alt="Image description" width="284" height="237"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you have downloaded the file click on it to open the file. A pop-up menu comes up then click on connect.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq12vjnig150cx9t2rp32.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq12vjnig150cx9t2rp32.png" alt="Image description" width="645" height="309"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Enter your password.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnbeyw2spsf1txw6uqu8m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnbeyw2spsf1txw6uqu8m.png" alt="Image description" width="326" height="278"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Another prompt will come up click ‘Yes’&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fptq8y09ospv91zpwfcxp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fptq8y09ospv91zpwfcxp.png" alt="Image description" width="263" height="230"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Some prompts will show up while your Win 11 Pro is setting up just ‘Next’ and ‘Accept’&lt;/p&gt;

&lt;p&gt;There it is, your very first Windows 11 Pro Virtual machine. Congratulations&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxahwosp30sdo88q96mtb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxahwosp30sdo88q96mtb.png" alt="Image description" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I hope this guide has helped you create your very first basic Windows 11 Pro virtual machine. Thank you for reading.&lt;/p&gt;

</description>
      <category>cloudcomputing</category>
      <category>azure</category>
      <category>virtualmachine</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
