<?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: EMMAMAG</title>
    <description>The latest articles on DEV Community by EMMAMAG (@emmamag).</description>
    <link>https://dev.to/emmamag</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%2F1409261%2Fc37e107f-d36f-40b5-bf9d-0f6571558c0b.jpeg</url>
      <title>DEV Community: EMMAMAG</title>
      <link>https://dev.to/emmamag</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/emmamag"/>
    <language>en</language>
    <item>
      <title>How To Host a Static Website in Azure Blob Storage</title>
      <dc:creator>EMMAMAG</dc:creator>
      <pubDate>Wed, 29 May 2024 22:14:38 +0000</pubDate>
      <link>https://dev.to/emmamag/how-to-host-a-static-website-in-azure-blob-storage-bab</link>
      <guid>https://dev.to/emmamag/how-to-host-a-static-website-in-azure-blob-storage-bab</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
A static website is like an electronic brochure that contains fixed information and doesn't change frequently. It consists of web pages that have text, images, and other content that remains the same for everyone who gains access to the website.&lt;/p&gt;

&lt;p&gt;An example of such websites are cloud courses like whizlab or cantril.io&lt;/p&gt;

&lt;p&gt;By hosting a static website on Blob Storage, you can save costs and enjoy a straight forward hosting solution that ensures your website is easily accessible and efficient.&lt;/p&gt;

&lt;p&gt;In this tutorial, we will be hosting our static website in Azure Storage. Please ensure the following prerequisites are followed before we begin.&lt;br&gt;
Prerequisites&lt;/p&gt;

&lt;p&gt;As a prerequisite to deploying a static website with Azure storage;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Install Visual Studio Code on your desktop.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Install the Azure Subscription, Azure Account and Azure storage account extensions on the visual studio code.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;3.Create a storage account in the Azure portal&lt;/p&gt;

&lt;p&gt;4.Create a folder that houses your static website data&lt;br&gt;
Enable Static Website in Azure&lt;/p&gt;

&lt;p&gt;a) Go to your storage account, and click on the Static website button on the left side of the search bar.&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%2F6r92pvov3l064vfb7kqj.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%2F6r92pvov3l064vfb7kqj.png" alt="Image description" width="800" height="376"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;b)Click on the "Enabled" button to enable the static website&lt;/p&gt;

&lt;p&gt;c)On the index document name type "index.html" and the Error document path type "error.html"&lt;/p&gt;

&lt;p&gt;d) Click on the save button&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%2Fomatn3ypljeuwewd3lbl.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%2Fomatn3ypljeuwewd3lbl.png" alt="Image description" width="800" height="302"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;e)Once it's saved, It generates your primary and secondary endpoint&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%2F6svrz3238yu941fpv8wz.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%2F6svrz3238yu941fpv8wz.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;d) When you go back to your storage account, click on containers, you can see that a web container has been created to host your static website data&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%2F3epj5hpi9530g8yur7qa.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%2F3epj5hpi9530g8yur7qa.png" alt="Image description" width="800" height="274"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Open Your File On Visual Studio Code&lt;/p&gt;

&lt;p&gt;a)The next step is to click on File at the top-left corner of your VScode.&lt;/p&gt;

&lt;p&gt;b) Click on "Open File" and select the folder that houses your static website codes and data.&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%2Fymnhfxqtvxvuehlzxr0q.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%2Fymnhfxqtvxvuehlzxr0q.png" alt="Image description" width="800" height="190"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;c)Once you open it, the file appears here as shown below.&lt;/p&gt;

&lt;p&gt;d) Click on your file drop-down and click index.html&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%2Fbyot8i79wjz7ed7561d0.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%2Fbyot8i79wjz7ed7561d0.png" alt="Image description" width="800" height="529"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;e) Once you click it, your html code automatically reflects as shown 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%2F3r2uaainugm8qh4jbinp.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%2F3r2uaainugm8qh4jbinp.png" alt="Image description" width="800" height="313"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Connect To Azure&lt;/p&gt;

&lt;p&gt;a) To connect to your $web container, click on the Azure extension.&lt;/p&gt;

&lt;p&gt;b) Next click on the Resources drop-down, click on the Azure subscription drop-down&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%2F4yvp1wd1e1903ycj6xc0.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%2F4yvp1wd1e1903ycj6xc0.png" alt="Image description" width="491" height="458"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;c) Under the Azure subscription, click on the storage account drop-down&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%2Flxx8oryhu5coffx22vp2.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%2Flxx8oryhu5coffx22vp2.png" alt="Image description" width="421" height="501"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;d)You will see the storage account you created in the Azure Portal, right-click on it.&lt;/p&gt;

&lt;p&gt;e) Click on "Deploy to the static website via Azure Storage"&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%2Fjz5de2czqfldmb862ax6.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%2Fjz5de2czqfldmb862ax6.png" alt="Image description" width="800" height="582"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;f) You will be prompted to select your folder to deploy the static website&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%2F7rglgdutfilpznlunjxi.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%2F7rglgdutfilpznlunjxi.png" alt="Image description" width="800" height="172"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;g) Wait for the deployment to be complete and click on browse static website&lt;/p&gt;

&lt;p&gt;h) You will be redirected to your static website as shown 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%2Fj99e5vdqadncgpj02r5d.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%2Fj99e5vdqadncgpj02r5d.png" alt="Image description" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;i) On the Azure portal, go to the $web container in your storage account, you can see that all your static website data has been deployed in the container&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%2Fevkaqkzgp77aveiujt5i.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%2Fevkaqkzgp77aveiujt5i.png" alt="Image description" width="800" height="357"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>blob</category>
      <category>programming</category>
      <category>devchallenge</category>
    </item>
    <item>
      <title>HOW TO ADD A DATA DISK TO A VIRTUAL MACHINE</title>
      <dc:creator>EMMAMAG</dc:creator>
      <pubDate>Sun, 14 Apr 2024 19:48:48 +0000</pubDate>
      <link>https://dev.to/emmamag/how-to-add-a-data-disk-to-a-virtual-machine-46g3</link>
      <guid>https://dev.to/emmamag/how-to-add-a-data-disk-to-a-virtual-machine-46g3</guid>
      <description>&lt;p&gt;As we all know, storage plays a vital role in a virtual machine as we need to store necessary data and as we know OS disk will not be enough and we may need extra storage to store the data. So let us see how can we attach the data disk to a VM. We already know what a data disk is. If you don't know, please go through this article, where I have explained all the basics about the Azure virtual machine.&lt;/p&gt;

&lt;p&gt;We will learn how to create and attach a data disk to a virtual machine. Furthermore, we will also remotely access the Windows virtual machine and initialize our data disk for use.&lt;br&gt;
It is important to know that there is a difference between an (operating system) OS disk and a data disk&lt;br&gt;
 Azure documentation explains that every virtual machine is equipped with a single (operating system) OS disk that is directly attached to it. This disk comes with a pre-installed operating system that was chosen during the creation of the virtual machine. It serves as the primary storage for the boot volume, essential for initiating the system.&lt;br&gt;
While data disk is a managed disk that is attached to a virtual machine to store application data or other data you need to keep.&lt;/p&gt;

&lt;p&gt;Let's say I have a VM named EMMAMAGDemoVM that I have already created (please refer to this &lt;a href="https://dev.to/emmamag/step-by-step-how-to-create-and-connect-a-windows-11-pro-azure-virtual-machine-1jb2"&gt;article&lt;/a&gt; to learn about creating a virtual machine on Azure) and I want to attach an extra data disk to this VM to storage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Let's Get Started........&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a)The first step is to create our Windows 11 virtual machine&lt;/p&gt;

&lt;p&gt;b)Once you've created your virtual machine click on it.&lt;/p&gt;

&lt;p&gt;c) On the left sidebar click on "Disks".&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%2Fr925ruf6zq17gyno2exs.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%2Fr925ruf6zq17gyno2exs.png" alt="Image description" width="800" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;e) Once you click on it, scroll down and click on Create and attach a new disk.&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%2Fyr1sp6ecm8t3pbu4k0u8.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%2Fyr1sp6ecm8t3pbu4k0u8.png" alt="Image description" width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;f)Give your new disk a name, increase the size and leave the other information as default.&lt;/p&gt;

&lt;p&gt;g)Click on Apply as shown 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%2Fftbxln976ybjiddftyp6.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%2Fftbxln976ybjiddftyp6.png" alt="Image description" width="800" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;h)You can see that the (operating system) OS disk and data disk are two different disks.&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%2F4w4gqj89cm9yj5o7mvdd.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%2F4w4gqj89cm9yj5o7mvdd.png" alt="Image description" width="800" height="352"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Connect to your virtual machine and download the RDP file once you've downloaded follow the prompt, input your username and 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%2Fr1wau3apmkktfow0za1u.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%2Fr1wau3apmkktfow0za1u.png" alt="Image description" width="800" height="641"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now that you have been able to gain remote access to your Windows Desktop, right-click on the Windows icon and click on Disk Management.&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%2Fxq8biy60242ozym5lc8w.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%2Fxq8biy60242ozym5lc8w.png" alt="Image description" width="800" height="572"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Right click on the disk 2 below.&lt;/p&gt;

&lt;p&gt;From the drop-down click on "new simple volume".&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%2F736t7f7ek3l1gfr6l3t2.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%2F736t7f7ek3l1gfr6l3t2.png" alt="Image description" width="800" height="620"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To continue click next on the new simple volume wizard.&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%2Fqu81knaa4pihpt93o3r8.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%2Fqu81knaa4pihpt93o3r8.png" alt="Image description" width="754" height="673"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click "Next" on the specify volume size.&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%2Fovyl2unjce8caovmy3f8.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%2Fovyl2unjce8caovmy3f8.png" alt="Image description" width="661" height="517"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also click "Next" on the Format Partition&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%2Focdzlrmu1uyqcdg6vtk4.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%2Focdzlrmu1uyqcdg6vtk4.png" alt="Image description" width="659" height="524"&gt;&lt;/a&gt;&lt;br&gt;
To close the wizard click "finish"&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%2Fv78r1gw59ctinc65ltl6.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%2Fv78r1gw59ctinc65ltl6.png" alt="Image description" width="640" height="506"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the new volume highlighted Red, you can see that our new volume has been initialized.&lt;/p&gt;

&lt;p&gt;Click on your new data disk highlighted Orange.&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%2Frikjhucckpe0tl0kt7sx.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%2Frikjhucckpe0tl0kt7sx.png" alt="Image description" width="800" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As shown below, our new data disk is available and ready for use.&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%2F0r8ipai8ibogns07humx.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%2F0r8ipai8ibogns07humx.png" alt="Image description" width="800" height="265"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>vm</category>
      <category>dataengineering</category>
      <category>disk</category>
      <category>azure</category>
    </item>
    <item>
      <title>Step-By-Step: How To Create a Linux Virtual Machine In Azure</title>
      <dc:creator>EMMAMAG</dc:creator>
      <pubDate>Wed, 10 Apr 2024 12:31:01 +0000</pubDate>
      <link>https://dev.to/emmamag/step-by-step-how-to-create-a-linux-virtual-machine-in-azure-5d20</link>
      <guid>https://dev.to/emmamag/step-by-step-how-to-create-a-linux-virtual-machine-in-azure-5d20</guid>
      <description>&lt;p&gt;&lt;em&gt;Ubuntu&lt;/em&gt; is a free and easy to install flavor of the Linux operating system, and it’s for desktops and servers. A lot of technologies used for the web, data science and software development are designed for Linux. You can run them using command-line. I’ve used Ubuntu when creating and hosting web pages, setting up SQL databases and Elasticsearch clusters, and managing containers with Docker.&lt;br&gt;
In this blog post, we will explore the steps involved in setting up a Linux virtual machine using Ubuntu Server. By default, SSH access to virtual machines often relies on public key authentication for enhanced security. However, in this blog, we will use password-based authentication preferably.&lt;/p&gt;

&lt;p&gt;We will also demonstrate how to prevent unexpected SSH disconnections due to idle sessions, it's important to extend the idle timeout for your IP address to prevent unexpected logouts.&lt;/p&gt;

&lt;p&gt;Also, apart from deleting your resource group that houses your virtual machine and its dependents, I will show you how you can disassociate your IP address from the virtual machine when not in use to ensure cost optimization.&lt;/p&gt;

&lt;p&gt;Let's get Started!!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SIGN IN TO AZURE PORTAL&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As a prerequisite, If you don't have an Azure subscription, &lt;a href="https://azure.microsoft.com/en-us/free/search/?ef_id=_k_CjwKCAjwjYKjBhB5EiwAiFdSfqO5RuP-vd3LDCdpQGJWRrVpBNjV55OtxhxpjeU7eFCRwp5gjMqslhoCAOQQAvD_BwE_k_&amp;amp;OCID=AIDcmmfdukp5kz_SEM__k_CjwKCAjwjYKjBhB5EiwAiFdSfqO5RuP-vd3LDCdpQGJWRrVpBNjV55OtxhxpjeU7eFCRwp5gjMqslhoCAOQQAvD_BwE_k_&amp;amp;gclid=CjwKCAjwjYKjBhB5EiwAiFdSfqO5RuP-vd3LDCdpQGJWRrVpBNjV55OtxhxpjeU7eFCRwp5gjMqslhoCAOQQAvD_BwE"&gt;log in here&lt;/a&gt; to create a free account before we get started. Now that you have created your Azure subscription, sign in to the &lt;a href="https://portal.azure.com/"&gt;Azure portal &lt;/a&gt;using your mail and password to get started.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CREATE YOUR VIRTUAL MACHINE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a. In the search bar, type "Virtual Machine"&lt;/p&gt;

&lt;p&gt;b. From the search results, select "Virtual Machine" from the list of resources shown&lt;/p&gt;

&lt;p&gt;c. Click on the "Create" button&lt;/p&gt;

&lt;p&gt;d.) Select the virtual machine highlighted&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%2Fille8xivc178e1jay4gk.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%2Fille8xivc178e1jay4gk.png" alt="Image description" width="800" height="356"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;e)You will be directed to the "Basics" page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Project Details&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the project details category, we have the subscription and resource group;&lt;/p&gt;

&lt;p&gt;a) &lt;strong&gt;Subscription&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;An Azure subscription in simple terms means a membership or access pass to use Microsoft Azure. It's similar to subscribing to a service or signing up for a subscription plan. With an Azure subscription, individuals or organizations can use and benefit from the various services and resources provided by Azure at a cost depending on your type of subscription. However, it also offers free and trial options, giving you a chance to explore and experiment with Azure before committing to a paid subscription.&lt;/p&gt;

&lt;p&gt;b)&lt;strong&gt;Resource Group&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A resource group in Azure is like a container or folder that helps you organize and manage the different resources such as virtual machines and databases that you use in the Azure cloud.&lt;/p&gt;

&lt;p&gt;Imagine you have a room with different items scattered all over the place. It becomes challenging to find what you need when everything is upside down. In this scenario, the room represents your Azure cloud environment, and the resources are the items in the room. Now, imagine you decide to tidy up and arrange your items where they are initially meant to be. Each compartment keeps related items organized and makes it easier to find what you need.&lt;/p&gt;

&lt;p&gt;In the how-to guide, select your resource group or click on "Create new" to create a new resource group.&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%2F7m9p8q0h81wormaz2lkb.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%2F7m9p8q0h81wormaz2lkb.png" alt="Image description" width="800" height="374"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Instance Details&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a) Give your virtual machine a name&lt;/p&gt;

&lt;p&gt;b) In the region section, select the location you want your virtual machine to be.&lt;/p&gt;

&lt;p&gt;A region refers to a specific geographical location with data centers that host infrastructure and services. Each region operates independently and is designed to be self-contained, with its own set of resources and infrastructure.&lt;/p&gt;

&lt;p&gt;c) Next, click on the drop-down to select your availability option and availability Zone.&lt;/p&gt;

&lt;p&gt;In Azure, a region can consist of three availability zones, known as Zone 1, Zone 2 and Zone 3. Each zone has one or more data centers that are kilometers apart from each other.&lt;/p&gt;

&lt;p&gt;These data centers are equipped with independent power, networking, and cooling infrastructure to minimize the impact of failures and disruptions. What physically Links these data centers together is Fibre Optic Cable. Fiber optic technology allows for high-speed data transmission over long distances while maintaining low latency and high bandwidth capabilities.&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%2Fs3gebrdz8v25a9x4vph3.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%2Fs3gebrdz8v25a9x4vph3.png" alt="Image description" width="800" height="332"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;d) Select your security type from the drop-down&lt;/p&gt;

&lt;p&gt;e) In the image section, select any Ubuntu Server.&lt;/p&gt;

&lt;p&gt;Ubuntu is a Linux Operating System. An image is an operating system. It's like a blueprint for creating virtual machines or computer systems. It has all the instructions and settings needed to set up a computer with a specific operating system and software.&lt;/p&gt;

&lt;p&gt;f) Select the size of your virtual machine from the drop-down or click on "See all sizes". Leave the other information in its default state.&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%2F20kcf4fzm1wg605lf2zp.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%2F20kcf4fzm1wg605lf2zp.png" alt="Image description" width="800" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Administrator Account&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a) Select the password authentication type.&lt;/p&gt;

&lt;p&gt;Password-based authentication involves using a username and secret password to access a system as shown below.&lt;/p&gt;

&lt;p&gt;While SSH public key authentication relies on key pairs and cryptographic algorithms for secure remote access. Public key authentication offers stronger security and protection against various attacks, making it a preferred choice for secure remote connections.&lt;/p&gt;

&lt;p&gt;However, for the purpose of this demo, we will use Password.&lt;/p&gt;

&lt;p&gt;b) Type your username and 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%2Fznpqalgxproqnd0rvdpu.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%2Fznpqalgxproqnd0rvdpu.png" alt="Image description" width="800" height="308"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Inbound Port Rules&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a) In this category, select SSH (22) as your inbound port to connect to the Linux server.&lt;/p&gt;

&lt;p&gt;b) Click "Next: Disk&amp;gt;" to direct you to the disk page&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%2Fzhoh4inxau58b1zbxi3k.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%2Fzhoh4inxau58b1zbxi3k.png" alt="Image description" width="800" height="417"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disk&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a) On the Disk page click on the OS disk type drop-down and select Premium SSD or any disk type of your choice as shown below. Leave the other columns as default.&lt;/p&gt;

&lt;p&gt;b) Leave the networking, management, monitoring and advanced pages as default. Skip to the Tag page.&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%2Fp1gwohplmveruoclktj6.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%2Fp1gwohplmveruoclktj6.png" alt="Image description" width="800" height="489"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tag&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a) Give your tag a name&lt;/p&gt;

&lt;p&gt;Tags are a way to label and organize resources in cloud computing environments. The purpose of tags is to provide metadata or additional information that helps in managing, organizing, and tracking resources within a cloud infrastructure.&lt;/p&gt;

&lt;p&gt;b) Next, click on Review+create&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%2Fp92szk8zd4s7byaeuy5e.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%2Fp92szk8zd4s7byaeuy5e.png" alt="Image description" width="800" height="369"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;c) Review the summary of your virtual machine configuration and click on the "Create" button to begin the deployment process&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%2F3117hncv0nhv5chadwcw.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%2F3117hncv0nhv5chadwcw.png" alt="Image description" width="800" height="577"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;d)Once the deployment is complete, click on "Go to resource".&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%2F7v9dstj3v27elbwyjuzz.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%2F7v9dstj3v27elbwyjuzz.png" alt="Image description" width="800" height="339"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CONNECT TO YOUR VIRTUAL MACHINE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a) Click on the connect button to SSH 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%2Fez0108pkhps1d7kx0gp4.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%2Fez0108pkhps1d7kx0gp4.png" alt="Image description" width="800" height="490"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;b) Scroll down to No 4, Copy the command in the red box and delete the command in the blue box. This will give you:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ssh username@ipaddress&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%2F4jnuvbmuk1s460oegzwp.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%2F4jnuvbmuk1s460oegzwp.png" alt="Image description" width="800" height="441"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;c) Open PowerShell on your Laptop and input the command, Press enter&lt;/p&gt;

&lt;p&gt;d) You would be asked if you want to continue connecting, type "yes" and press enter&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%2Ftr6q6ax2mqc6z5ny1twl.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%2Ftr6q6ax2mqc6z5ny1twl.png" alt="Image description" width="800" height="213"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;e)At this stage, my connection has closed because it took me a while to run the command. If you got this, the next thing to do is to go back to Azure portal and locate 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%2Fwsaothaxdkaj19tup37y.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%2Fwsaothaxdkaj19tup37y.png" alt="Image description" width="738" height="312"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;f)On the overview page, click on your IP address.&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%2Fnq8rk9nwam9hzf7peod2.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%2Fnq8rk9nwam9hzf7peod2.png" alt="Image description" width="800" height="282"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;g) Click on Configuration and increase the idle timeout to 30 minutes. Once you are done, ensure to save it.&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%2Fueos9jozqz19w1nax47h.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%2Fueos9jozqz19w1nax47h.png" alt="Image description" width="800" height="277"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;h) Go back to your Powershell and input the ssh username@ip, press enter.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;NOTE: If your connection did not time out/close, once you type yes and press enter, it would ask that you input your password.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;i) Now input your password and press enter.&lt;/p&gt;

&lt;p&gt;j) Once you press enter, you would be logged in to your virtual machine as shown 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%2Fo1yqmlnydhh1g7rhkuut.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%2Fo1yqmlnydhh1g7rhkuut.png" alt="Image description" width="750" height="732"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How To Disassociate IP Address&lt;/p&gt;

&lt;p&gt;Situations may arise where you need to save cost running your virtual machine.One way to optimise cost is to disassociate your IP address from your virtual machine.&lt;/p&gt;

&lt;p&gt;a) Click on your IP address&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%2F85s5afnmaxndnog308ry.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%2F85s5afnmaxndnog308ry.png" alt="Image description" width="800" height="245"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;b) Click on the Overview.&lt;/p&gt;

&lt;p&gt;c) On the overview page, click on dissociate at the top-right of the page.&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%2Fszjekggljmc61v3w8ngi.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%2Fszjekggljmc61v3w8ngi.png" alt="Image description" width="800" height="316"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;d) It will ask you to confirm dissociation, click "Yes'. Once you click yes, your IP address will be dissociated from 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%2Fmukcs26hp7eyjrp1g1m5.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%2Fmukcs26hp7eyjrp1g1m5.png" alt="Image description" width="474" height="273"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How To Associate IP Address&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a)To associate your IP, simply click on the Associate button.&lt;/p&gt;

&lt;p&gt;b) A page will open up, choose the Resource type as Network interface. Select your IP address and click on OK.&lt;/p&gt;

&lt;p&gt;c) Your IP will be associated back 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%2Fzced4n9td2vm2f3t353c.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%2Fzced4n9td2vm2f3t353c.png" alt="Image description" width="800" height="251"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>webdev</category>
      <category>vm</category>
    </item>
    <item>
      <title>Step-By-Step: How to Create and Connect a Windows 11 Pro Azure Virtual Machine</title>
      <dc:creator>EMMAMAG</dc:creator>
      <pubDate>Sat, 06 Apr 2024 16:15:44 +0000</pubDate>
      <link>https://dev.to/emmamag/step-by-step-how-to-create-and-connect-a-windows-11-pro-azure-virtual-machine-1jb2</link>
      <guid>https://dev.to/emmamag/step-by-step-how-to-create-and-connect-a-windows-11-pro-azure-virtual-machine-1jb2</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;u&gt;A Step by step Guide on How to Create and Connect a Windows 11 Pro Azure Virtual Machine&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A Virtual Machine (VM) is a computer resource that uses software instead of a physical computer to run programs and deploy apps. One or more virtual “guest” machines run on a physical “host” machine.  Each virtual machine runs its own operating system and functions separately from the other VMs, even when they are all running on the same host. This means that, for example, a virtual MacOS virtual machine can run on a physical PC.&lt;br&gt;
The virtual machine runs as a process in an application window, similar to any other application, on the operating system of the physical machine. Key files that make up a virtual machine include a log file, NVRAM setting file, virtual disk file and configuration file. &lt;br&gt;
Virtual machines are easy to manage and maintain, and they offer several advantages over physical machines:  &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;VMs can run multiple operating system environments on a single physical computer, saving physical space, time and management costs. 
Virtual machines support legacy applications, reducing the cost of migrating to a new operating system. For example, a Linux virtual machine running a distribution of Linux as the guest operating system can exist on a host server that is running a non-Linux operating system, such as Windows. 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;This step-by-step guide outlines how to create a Windows 11 virtual machine (VM)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SIGN IN TO AZURE PORTAL&lt;/strong&gt;&lt;br&gt;
As a prerequisite, If you don't have an Azure subscription, visit: &lt;a href="https://portal.azure.com/"&gt;AZURE WEB PORTAL&lt;/a&gt; and log in to create a free account before we get started. Now that you have created your Azure subscription, sign in to the Azure portal using your mail and password to get started.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CREATE YOUR VIRTUAL MACHINE&lt;/strong&gt;&lt;br&gt;
a. In the search bar, type "Virtual Machine"&lt;/p&gt;

&lt;p&gt;b. From the search results, select "Virtual Machine" from the list of resources shown&lt;/p&gt;

&lt;p&gt;c. Click on the "Create" button&lt;/p&gt;

&lt;p&gt;d.) Select the virtual machine highlighted&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%2Fjztepd2015tupc11zl5f.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%2Fjztepd2015tupc11zl5f.png" alt="Image description" width="800" height="362"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;e)You will be directed to the "Basics" page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Project Details&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the project details category, we have the subscription and resource group;&lt;/p&gt;

&lt;p&gt;a) Subscription&lt;/p&gt;

&lt;p&gt;An Azure subscription in simple terms means a membership or access pass to use Microsoft Azure. It's similar to subscribing to a service or signing up for a subscription plan. With an Azure subscription, individuals or organizations can use and benefit from the various services and resources provided by Azure at a cost depending on your type of subscription. However, it also offers free and trial options, giving you a chance to explore and experiment with Azure before committing to a paid subscription.&lt;/p&gt;

&lt;p&gt;b)Resource Group&lt;/p&gt;

&lt;p&gt;A resource group in Azure is like a container or folder that helps you organize and manage the different resources such as virtual machines and databases that you use in the Azure cloud.&lt;/p&gt;

&lt;p&gt;Imagine you have a room with different items scattered all over the place. It becomes challenging to find what you need when everything is upside down. In this scenario, the room represents your Azure cloud environment, and the resources are the items in the room. Now, imagine you decide to tidy up and arrange your items where they are initially meant to be. Each compartment keeps related items organized and makes it easier to find what you need.&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%2F0wi438hgbkyakbbyx812.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%2F0wi438hgbkyakbbyx812.png" alt="Image description" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Instance Details&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a) Give your virtual machine a name&lt;/p&gt;

&lt;p&gt;b) In the region section, select the location you want your virtual machine to be.&lt;/p&gt;

&lt;p&gt;A region refers to a specific geographical location with data centers that host infrastructure and services. Each region operates independently and is designed to be self-contained, with its own set of resources and infrastructure.&lt;/p&gt;

&lt;p&gt;c) Next, click on the drop-down to select your availability option and availability Zone.&lt;/p&gt;

&lt;p&gt;In Azure, a region can consist of three availability zones, known as Zone 1, Zone 2 and Zone 3. Each zone has one or more data centers that are kilometers apart from each other.&lt;/p&gt;

&lt;p&gt;These data centers are equipped with independent power, networking, and cooling infrastructure to minimize the impact of failures and disruptions. What physically Links these data centers together is Fibre Optic Cable. Fiber optic technology allows for high-speed data transmission over long distances while maintaining low latency and high bandwidth capabilities.&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%2Fv0296uje77qnz5fcllj1.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%2Fv0296uje77qnz5fcllj1.png" alt="Image description" width="800" height="333"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;d) Select your security type from the drop-down&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%2Fcd7kjlk3agw9dv3vfnx0.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%2Fcd7kjlk3agw9dv3vfnx0.png" alt="Image description" width="800" height="310"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;e) In the image section, select Window 11 pro from the drop-down&lt;/p&gt;

&lt;p&gt;&lt;em&gt;An image is an operating system. It's like a blueprint for creating virtual machines or computer systems. It has all the instructions and settings needed to set up a computer with a specific operating system and software.&lt;/em&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%2F2m2vg9vtnnyjqxdzi0rx.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%2F2m2vg9vtnnyjqxdzi0rx.png" alt="Image description" width="800" height="507"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;f) Select the size of your virtual machine from the drop-down or click on "See all sizes". Leave the other information in its default state.&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%2Flsb6r84r7jtw1ug40p8p.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%2Flsb6r84r7jtw1ug40p8p.png" alt="Image description" width="800" height="235"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Administrator Account&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a) Give your account a username and password. Also, confirm the password to ensure it aligns.&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%2Fy7hh0jgq043exetxekxz.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%2Fy7hh0jgq043exetxekxz.png" alt="Image description" width="800" height="202"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Inbound Port Rules&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;On the inbound port rules section, select "Allow selected ports" and then select RDP (3389). This port will give you remote access to your physical work desktop computers.&lt;/p&gt;

&lt;p&gt;Click on "Next: Disks&amp;gt;" to direct you to the Disk page&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%2F3t3fcoqbvfd9pkficn5p.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%2F3t3fcoqbvfd9pkficn5p.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disk&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a) On the Disk page click on the OS disk type dropdown and select Standard SSD or any disk type of your choice as shown below. Leave the other columns as default.&lt;/p&gt;

&lt;p&gt;b) Leave the networking, management, monitoring and advanced pages as default. Skip to the Tag page.&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%2Fm4ig5kdj5gdr7u8xjkzk.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%2Fm4ig5kdj5gdr7u8xjkzk.png" alt="Image description" width="800" height="490"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tag&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a) Give your tag a name&lt;/p&gt;

&lt;p&gt;Tags are a way to label and organize resources in cloud computing environments. The purpose of tags is to provide metadata or additional information that helps in managing, organizing, and tracking resources within a cloud infrastructure.&lt;/p&gt;

&lt;p&gt;b) Next, click on Review+create&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%2Fhkbiurx4zrqcfzyhgweb.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%2Fhkbiurx4zrqcfzyhgweb.png" alt="Image description" width="800" height="392"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;c) Review the summary of your virtual machine configuration and click on the "Create" button to begin the deployment process.&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%2Foivx0fhq78teh9zz0jxk.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%2Foivx0fhq78teh9zz0jxk.png" alt="Image description" width="800" height="536"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;d) Once the deployment is complete, click on "Go to resource".&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%2Fnpz0ic9584blvklviou0.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%2Fnpz0ic9584blvklviou0.png" alt="Image description" width="800" height="327"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Connect to Your Windows Virtual Machine.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Create a remote desktop connection to the virtual machine. These directions tell you how to connect to your Windows 11 operating system.&lt;/p&gt;

&lt;p&gt;a) On the overview page of your virtual machine click "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%2F9fzkcn9wb63qd2s3zfjm.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%2F9fzkcn9wb63qd2s3zfjm.png" alt="Image description" width="800" height="321"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;b) Connect with RDP, leave the default settings and click the download RDP file to your 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%2Fy4znj6c31vqk45jnlnj2.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%2Fy4znj6c31vqk45jnlnj2.png" alt="Image description" width="800" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;c) Open the downloaded RDP file and click "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%2F1771l95am5pbhx3p2mm6.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%2F1771l95am5pbhx3p2mm6.png" alt="Image description" width="733" height="435"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;d) Input your username and 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%2Fu0re0i1m567cln9bem6x.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%2Fu0re0i1m567cln9bem6x.png" alt="Image description" width="636" height="426"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;e) Click yes to the prompt&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%2Fbq3iq72l1w7w796e0tmi.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%2Fbq3iq72l1w7w796e0tmi.png" alt="Image description" width="612" height="591"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Welcome!! You are connected to your Virtual Windows 11 Pro.&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%2F2zzjye1eqf2x07cpkuux.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%2F2zzjye1eqf2x07cpkuux.png" alt="Image description" width="800" height="474"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How To Disassociate IP Address&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Situations may arise where you need to save cost running your virtual machine.One way to optimise cost is to disassociate your IP address from your virtual machine.&lt;/p&gt;

&lt;p&gt;a) Click on your IP address&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%2F5du015z98j5xyh2hgdlo.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%2F5du015z98j5xyh2hgdlo.png" alt="Image description" width="800" height="285"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;b) Click on the Overview.&lt;/p&gt;

&lt;p&gt;c) On the overview page, click on dissociate at the top-right of the page.&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%2F5w36i8p2xf6lvtpj3p7d.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%2F5w36i8p2xf6lvtpj3p7d.png" alt="Image description" width="800" height="305"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;d) It will ask you to confirm dissociation, click "Yes'. Once you click yes, your IP address will be dissociated from your Virtual Machine.&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%2Fdj9rnseu2bzvmi3b8m2s.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%2Fdj9rnseu2bzvmi3b8m2s.png" alt="Image description" width="800" height="295"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I hope this step-by-step tutorial helped you create your Windows 11 virtual machine.&lt;br&gt;
Drop your questions in the comment section&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>programming</category>
      <category>cloudcomputing</category>
    </item>
  </channel>
</rss>
