<?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: Samuel Ojo</title>
    <description>The latest articles on DEV Community by Samuel Ojo (@ojosamuel129).</description>
    <link>https://dev.to/ojosamuel129</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%2F3573842%2Fe3580be4-d560-4233-95ed-20bcd9ab2171.jpg</url>
      <title>DEV Community: Samuel Ojo</title>
      <link>https://dev.to/ojosamuel129</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ojosamuel129"/>
    <language>en</language>
    <item>
      <title>How to deploy scalable web apps with Azure App service</title>
      <dc:creator>Samuel Ojo</dc:creator>
      <pubDate>Fri, 30 Jan 2026 01:41:13 +0000</pubDate>
      <link>https://dev.to/ojosamuel129/how-to-deploy-scalable-web-apps-with-azure-app-service-3e1o</link>
      <guid>https://dev.to/ojosamuel129/how-to-deploy-scalable-web-apps-with-azure-app-service-3e1o</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Deploying web applications shouldn’t feel complicated or overwhelming. &lt;strong&gt;Azure App Service&lt;/strong&gt; simplifies the process by providing a fully managed platform where you can build, deploy, and scale applications without worrying about the underlying infrastructure.&lt;/p&gt;

&lt;p&gt;In this lab, you’ll learn how to create an &lt;strong&gt;Azure App&lt;/strong&gt; Service from scratch and deploy your application using the &lt;strong&gt;Azure Portal&lt;/strong&gt;. Whether you’re new to Azure or looking for a clean deployment workflow, this walkthrough will help you get a production-ready app up and running quickly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Terms&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Azure Portal&lt;/strong&gt;&lt;br&gt;
The web-based management interface for Azure that allows you to create, configure, and monitor cloud resources.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Azure App Service&lt;/strong&gt;&lt;br&gt;
A Platform as a Service (PaaS) offering that enables you to host web apps, REST APIs, and backend services with built-in scaling, security, and monitoring.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Resource Group&lt;/strong&gt;&lt;br&gt;
A logical container in Azure that holds related resources (such as App Services, databases, and storage accounts) for easier management and lifecycle control.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;App Service Plan&lt;/strong&gt;&lt;br&gt;
Defines the compute resources (CPU, memory, pricing tier) used by one or more App Services. Scaling an app is done by adjusting the plan.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Runtime Stack&lt;/strong&gt;&lt;br&gt;
The programming language and framework used by your application, such as .NET, Node.js, Python, or Java.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deployment Center&lt;/strong&gt;&lt;br&gt;
An Azure feature that simplifies continuous deployment by connecting your App Service to source control systems like GitHub or Azure Repos.&lt;/p&gt;

&lt;p&gt;1.Login to your azure portal: Sign in to the Azure Portal using your Azure account.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fd8nxs3clqus0369lillp.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fd8nxs3clqus0369lillp.jpg" alt="Login" width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Type App Services in the search bar of your Azure portal and select App Services from the options it displays&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fq30wm2ucm2wkamiuask8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fq30wm2ucm2wkamiuask8.png" alt="Search App Service" width="800" height="423"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.Click &lt;strong&gt;+ create&lt;/strong&gt; and select &lt;strong&gt;Web App&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fx5wr337wtokpl3ni8iju.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fx5wr337wtokpl3ni8iju.png" alt="Create App Service" width="800" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.In the &lt;strong&gt;Project details&lt;/strong&gt;, create a &lt;strong&gt;Resource group&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F2rswrp5e7sebuz7pjp6z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F2rswrp5e7sebuz7pjp6z.png" alt="Resource Group" width="800" height="488"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.In your Instance details, choose the web name, Runtime stack &lt;strong&gt;.Net 10 (LTS)&lt;/strong&gt;, publish (we choose &lt;strong&gt;Code&lt;/strong&gt;), region - &lt;strong&gt;(Canada Central)&lt;/strong&gt;. Then Click &lt;strong&gt;Review + create&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkxtxx07vacp59uwwj2ll.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkxtxx07vacp59uwwj2ll.png" alt=" " width="800" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Click &lt;strong&gt;create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ftpq4vxbbp40nbmv8oao4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ftpq4vxbbp40nbmv8oao4.png" alt=" " width="800" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.Wait for the deployment to complete, then click &lt;strong&gt;Go to resource&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fy8e9npr7mbws34sztb3w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fy8e9npr7mbws34sztb3w.png" alt="Go to resource" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7.This is the App we just created. Now, click the default domain link&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fvglhnhnsqubfhsfsq78u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fvglhnhnsqubfhsfsq78u.png" alt="Web App Link" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.This shows we have created an App but it is still empty which is why it shows Your &lt;strong&gt;Web App&lt;/strong&gt; is running and waiting for your content&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fxcjpjehzwqi3liaawtpb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fxcjpjehzwqi3liaawtpb.png" alt="Web App running" width="800" height="486"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;9.The App we created is empty at the moment, and we need to fill it up. Now, type a prompt to ChatGPT to generate a code for any type of application you intend to build. In this article, we are building a Game App called &lt;strong&gt;"Dodge App"&lt;/strong&gt;. So this is the prompt we are using "Create for me an HTML/CSS/JS code for a game called “Dodge App” (dodge falling blocks, survive as long as possible)".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F481tsipnv1ihi7pwgwh8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F481tsipnv1ihi7pwgwh8.png" alt="ChatGPT Prompt" width="800" height="108"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;10.When it finishes, copy the code&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fya2r2boj8k7uvxwiy9ut.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fya2r2boj8k7uvxwiy9ut.png" alt="Copy Code" width="800" height="353"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;11.In the search bar of the Web App, search for &lt;strong&gt;Advanced Tools&lt;/strong&gt;, select it and then click &lt;strong&gt;Go&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ffllmzwtv6bhy97c9266o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ffllmzwtv6bhy97c9266o.png" alt="Advanced Tools" width="800" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;12.Click &lt;strong&gt;Debug console&lt;/strong&gt; and select &lt;strong&gt;powershell&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fh0np6ft6kluodqdfwzvo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fh0np6ft6kluodqdfwzvo.png" alt="Debug console" width="800" height="426"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;13.Click &lt;strong&gt;site&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fcw924vobpj9d6kixp5mu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fcw924vobpj9d6kixp5mu.png" alt="Click Site" width="800" height="419"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;14.Click &lt;strong&gt;wwwroot&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.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%2Fl40zljulgyehcocbbeky.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fl40zljulgyehcocbbeky.png" alt=" " width="800" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;15.Click &lt;strong&gt;edit&lt;/strong&gt; (pencil icon).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F03jo1mxgl7b9hgf66ibw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F03jo1mxgl7b9hgf66ibw.png" alt=" " width="800" height="509"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;16.Now, remove anything you see on this page and replace it with the code you copied from chatGPT&lt;/p&gt;

&lt;p&gt;17.Click &lt;strong&gt;Save&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F30ncy5vxz0lcg6mytnnu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F30ncy5vxz0lcg6mytnnu.png" alt="Click Save" width="800" height="654"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;18.Go back to &lt;strong&gt;Azure portal&lt;/strong&gt;, click &lt;strong&gt;Home&lt;/strong&gt; and select &lt;strong&gt;App Services&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkwu921jkqeeavzhp7zdf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkwu921jkqeeavzhp7zdf.png" alt="App Services" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;19.Click the App you created&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fi7go9tdw425vxlqv10pe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fi7go9tdw425vxlqv10pe.png" alt="Dodge App" width="800" height="231"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;20.Click the &lt;strong&gt;default domain link&lt;/strong&gt; of the App you created&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fjqd4ckb53kfg70f4burc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fjqd4ckb53kfg70f4burc.png" alt="default domain link" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;21.This is the &lt;strong&gt;Dodge App&lt;/strong&gt; we created from Azure App Services&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fs2slfl4gydygyy8v42db.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fs2slfl4gydygyy8v42db.png" alt="Dodge App1" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fpgjscsmjie42d5lwyblw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fpgjscsmjie42d5lwyblw.png" alt="Dodge App2" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F81msli5p67jl3jshk4fs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F81msli5p67jl3jshk4fs.png" alt="Dodge App3" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Azure App Service&lt;/strong&gt; offers a straightforward and reliable way to deploy &lt;strong&gt;web applications&lt;/strong&gt; without managing servers or infrastructure. By combining easy resource creation, multiple deployment options, and built-in monitoring, it allows developers to focus on writing code rather than maintaining environments.&lt;/p&gt;

&lt;p&gt;Once your app is deployed, you can enhance it further by enabling logging, configuring custom domains, setting up &lt;strong&gt;CI/CD pipelines&lt;/strong&gt;, or &lt;strong&gt;scaling&lt;/strong&gt; based on demand. &lt;strong&gt;Azure App Service&lt;/strong&gt; is a solid foundation for both &lt;strong&gt;small projects&lt;/strong&gt; and &lt;strong&gt;enterprise-grade&lt;/strong&gt; applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thanks for reading, see you in the next one&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>cloud</category>
      <category>tutorial</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Deploy and configure Azure Monitor</title>
      <dc:creator>Samuel Ojo</dc:creator>
      <pubDate>Thu, 08 Jan 2026 01:37:59 +0000</pubDate>
      <link>https://dev.to/ojosamuel129/deploy-and-configure-azure-monitor-hd0</link>
      <guid>https://dev.to/ojosamuel129/deploy-and-configure-azure-monitor-hd0</guid>
      <description>&lt;p&gt;&lt;strong&gt;Azure Monitor Series&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Ever wondered how to keep your Azure resources healthy and your applications running smoothly? &lt;strong&gt;Azure Monitor&lt;/strong&gt; is the ultimate observability solution for the cloud. With real-time metrics, logs, and intelligent alerts, &lt;strong&gt;Azure Monitor&lt;/strong&gt; empowers you to detect issues before they impact users and optimize performance effortlessly. In this guide, we’ll walk through how to deploy and configure &lt;strong&gt;Azure Monitor&lt;/strong&gt; step by step, so you can gain full visibility into your cloud environment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prepare your bring-your-own-subscription (BYOS)&lt;/strong&gt;&lt;br&gt;
This set of lab exercises assumes that you have global administrator permissions to an Azure subscription.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;[!NOTE]&lt;/strong&gt; This set of exercises assumes that you choose to deploy in the East US Region, but you can change this to another region if you choose. Just remember that each time you see East US mentioned in these instructions you will need to substitute the region you have chosen.&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the Azure Portal Search Bar, enter &lt;strong&gt;Resource Groups&lt;/strong&gt; and select &lt;strong&gt;Resource groups&lt;/strong&gt; from the list of results.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F5kleerlg3yrle26kb3ih.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F5kleerlg3yrle26kb3ih.jpg" alt="Search Resource Group" width="800" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the Resource Groups page, select &lt;strong&gt;Create&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F082ojgpjts8gccvjlzij.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F082ojgpjts8gccvjlzij.png" alt="Create Resource Groups" width="800" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the &lt;strong&gt;Create a Resource Group&lt;/strong&gt; page, select your subscription and enter the name &lt;strong&gt;&lt;code&gt;rg-alpha&lt;/code&gt;&lt;/strong&gt;. Set the region to East US, choose &lt;strong&gt;Review + Create&lt;/strong&gt;, and then choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F2u60lx7325aaolf281g6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F2u60lx7325aaolf281g6.png" alt="Create rg-alpha Resource Group" width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fw1ifpx2aqwdbw0k8csyt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fw1ifpx2aqwdbw0k8csyt.png" alt="Review + Create rg-alpha Resource Group" width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create App Log Examiners security group&lt;/strong&gt;&lt;br&gt;
In this exercise, you create an Entra ID security group.&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter Azure Active Directory (or Entra ID) from the list of results.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkuubvh0uchmbadsrvrfb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkuubvh0uchmbadsrvrfb.png" alt=" " width="800" height="479"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.On the &lt;strong&gt;Default Directory&lt;/strong&gt; page, select &lt;strong&gt;Groups&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fyuk80400jft0g9i6ofro.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fyuk80400jft0g9i6ofro.png" alt="From Default Directory page select Groups" width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.On the &lt;strong&gt;Groups&lt;/strong&gt; page, choose &lt;strong&gt;New Group&lt;/strong&gt;.&lt;br&gt;
4.On the &lt;strong&gt;New Group&lt;/strong&gt; page, provide the values in the following table and choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;br&gt;
Property - Value&lt;br&gt;
Group type - Security&lt;br&gt;
Group name - App Log Examiners&lt;br&gt;
Group description - App Log Examiners&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fozsycqlkvsxd1nwcx2dc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fozsycqlkvsxd1nwcx2dc.png" alt="Create New Group" width="800" height="484"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deploy and configure WS-VM1&lt;/strong&gt;&lt;br&gt;
In this exercise, you deploy and configure a Windows Server virtual machine.&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;Virtual Machines&lt;/strong&gt; and select &lt;strong&gt;Virtual Machines&lt;/strong&gt; from the list of results.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fga2q68gfmnjwqay080il.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fga2q68gfmnjwqay080il.png" alt="Search Virtual Machines" width="800" height="516"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.On the Virtual Machines page, choose &lt;strong&gt;Create&lt;/strong&gt; and select &lt;strong&gt;Azure Virtual Machine&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Flq4zfhwcxjkpurkf8kth.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Flq4zfhwcxjkpurkf8kth.png" alt="Create Virtual Machines" width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.On the &lt;strong&gt;Basics&lt;/strong&gt; page of the Create A Virtual Machine wizard, select the following settings and then choose &lt;strong&gt;Review + Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fo8ncs9l20hgr8swg4qko.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fo8ncs9l20hgr8swg4qko.png" alt="Virtual Machine Settings" width="702" height="596"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Review the settings and select &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F6u80dnaz7wcjqbn0agsb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F6u80dnaz7wcjqbn0agsb.png" alt="Create Vm" width="800" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Wait for the deployment to complete. Once deployment completes choose &lt;strong&gt;Go to resource&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F992gc08puijko5q24zww.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F992gc08puijko5q24zww.png" alt="Go to resource - VM" width="800" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.On the &lt;strong&gt;WS-VM1 properties&lt;/strong&gt; page, choose &lt;strong&gt;Networking&lt;/strong&gt;.&lt;br&gt;
7.On the &lt;strong&gt;Networking&lt;/strong&gt; page, select the RDP rule.&lt;br&gt;
8.On the RDP rule space, change the Source to My IP address and choose &lt;strong&gt;Save&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fveg9y1y0xnapf9h0j4id.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fveg9y1y0xnapf9h0j4id.png" alt="Networking" width="800" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This restricts incoming RDP connections to the IP address you’re currently using.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;9.On the &lt;strong&gt;Networking&lt;/strong&gt; page, choose &lt;strong&gt;Add inbound port rule&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fcs9jhl59l2jjikhr1ghp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fcs9jhl59l2jjikhr1ghp.png" alt="Add inbound port rule" width="800" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;10.On the &lt;strong&gt;Add inbound security rule&lt;/strong&gt; page, configure the following settings and choose &lt;strong&gt;Add&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fnhi27jk2d3unazpsc7h5.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fnhi27jk2d3unazpsc7h5.jpg" alt="Add inbound security rule" width="629" height="369"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F8xz5gr2hcyo1kqylhofc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F8xz5gr2hcyo1kqylhofc.png" alt="Add inbound security rule settings" width="629" height="369"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fumeezmktu3mn90rkc4qy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fumeezmktu3mn90rkc4qy.png" alt="Add inbound security rule 2" width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;11.On the &lt;strong&gt;WS-VM1&lt;/strong&gt; page, choose &lt;strong&gt;Connect&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fs74dq02cfk2hfgp29wp2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fs74dq02cfk2hfgp29wp2.png" alt="On the WS-VM1 page choose Connect" width="800" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;12.Under Native RDP, choose &lt;strong&gt;Select&lt;/strong&gt;.&lt;br&gt;
13.On the &lt;strong&gt;Native RDP&lt;/strong&gt; page, choose &lt;strong&gt;Download RDP file&lt;/strong&gt; and then open the file. Opening the RDP file opens the Remote Desktop Connection dialog box.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F5oi65fqj97wvn0v172pn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F5oi65fqj97wvn0v172pn.png" alt="Download RDP file" width="800" height="521"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;14.On the &lt;strong&gt;Windows Security&lt;/strong&gt; dialog box, choose &lt;strong&gt;More Choices&lt;/strong&gt; and then choose Use a different account.&lt;br&gt;
15.Enter the username as .\prime and the password as the secure password you chose in Step 3, and choose &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fdmvwgxk9efbyzjcyvyxc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fdmvwgxk9efbyzjcyvyxc.png" alt="Connect to VM" width="800" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F4oscy0tyy6jtnt2kkg0j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F4oscy0tyy6jtnt2kkg0j.png" alt="Connect to VM2" width="675" height="814"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fauvhymetvig43pxoydu6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fauvhymetvig43pxoydu6.png" alt="Connect to VM3" width="583" height="611"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;16.When signed into the Windows Server virtual machine, right-click on the &lt;strong&gt;Start&lt;/strong&gt; hint and then choose &lt;strong&gt;Windows PowerShell (Admin)&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fduf7retl4i4kgi8sxgqn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fduf7retl4i4kgi8sxgqn.png" alt="Launch Windows PowerShell" width="800" height="419"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;17.At the elevated command prompt, type the following command and press &lt;strong&gt;Enter&lt;/strong&gt;. &lt;strong&gt;&lt;code&gt;Install-WindowsFeature Web-Server -IncludeAllSubFeature -IncludeManagementTools&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F1sqkkonxght2c9717jqe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F1sqkkonxght2c9717jqe.png" alt="Install-WindowsFeature Web-Server" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;18.When the installation completes run the following command to change to the web server root directory. &lt;strong&gt;&lt;code&gt;cd c:\inetpub\wwwroot\&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fpek20z42so0man09ybcq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fpek20z42so0man09ybcq.png" alt="change to the web server root directory" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;19.Run the following command. &lt;strong&gt;&lt;code&gt;Wget https://raw.githubusercontent.com/Azure-Samples/html-docs-hello-world/master/index.html -OutFile index.html&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fl4z76arlpuy0e8bzcb8p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fl4z76arlpuy0e8bzcb8p.png" alt="Run Wgetncommand" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;&lt;br&gt;
&lt;strong&gt;Deploy and configure LX-VM2&lt;/strong&gt;&lt;br&gt;
In this exercise you deploy and configure a Linux virtual machine.&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;Virtual Machines&lt;/strong&gt; and select &lt;strong&gt;Virtual Machines&lt;/strong&gt; from the list of results.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F1pgb5pooipz84h84eu7y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F1pgb5pooipz84h84eu7y.png" alt="select Virtual Machines" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.On the &lt;strong&gt;Virtual Machines&lt;/strong&gt; page, choose &lt;strong&gt;Create&lt;/strong&gt; and select &lt;strong&gt;Azure Virtual Machine&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkyy8c8h35sx36a4ww2va.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkyy8c8h35sx36a4ww2va.png" alt="Create Azure Virtual Machine" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F357c24cqelz9t2kgl8wq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F357c24cqelz9t2kgl8wq.png" alt="VM Settings" width="696" height="652"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.On the &lt;strong&gt;Basics&lt;/strong&gt; page of the Create A Virtual Machine wizard, select the following settings and then choose &lt;strong&gt;Review + Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;4.Review the information and choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.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%2Fjvvkgdp0efswhgusxb9e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fjvvkgdp0efswhgusxb9e.png" alt="Create VM" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fuo9hh25105gs456e6z14.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fuo9hh25105gs456e6z14.png" alt="Go to resource" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.After the VM deploys, open the &lt;strong&gt;VM properties&lt;/strong&gt; page and choose &lt;strong&gt;Extensions + Applications&lt;/strong&gt; under &lt;strong&gt;Settings&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fv5g5fxusiyiu3jnaf7gd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fv5g5fxusiyiu3jnaf7gd.png" alt="Open VM properties" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.Choose &lt;strong&gt;Add&lt;/strong&gt; and select the &lt;strong&gt;Network Watcher Agent for Linux&lt;/strong&gt;. Choose &lt;strong&gt;Next&lt;/strong&gt; and then choose &lt;strong&gt;Review and Create&lt;/strong&gt;. Choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;!Network Watcher Agent for Linux](&lt;a href="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jye9v2wnihybvfsmbk8s.png" rel="noopener noreferrer"&gt;https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jye9v2wnihybvfsmbk8s.png&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fh6nojq3p3k5jxql3yai9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fh6nojq3p3k5jxql3yai9.png" alt="Add Network Watcher Agent for Linux" width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;[!NOTE]&lt;/strong&gt; The installation and configuration of the &lt;strong&gt;&lt;code&gt;OmsAgentForLinux&lt;/code&gt;&lt;/strong&gt; extension will be performed in &lt;strong&gt;Exercise 2&lt;/strong&gt; after the Log Analytics workspace is created.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deploy a web app with an SQL Database&lt;/strong&gt;&lt;br&gt;
1.Ensure that you’re signed into the Azure Portal.&lt;/p&gt;

&lt;p&gt;2.In your browser, open a new browser tab and navigate to &lt;a href="https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.web/web-app-sql-database" rel="noopener noreferrer"&gt;https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.web/web-app-sql-database&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.On the GitHub page, choose &lt;strong&gt;Deploy to Azure&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F0tuyr4xlb70oiodd61nn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0tuyr4xlb70oiodd61nn.png" alt="GitHub Template" width="800" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.A new tab opens. If necessary, re-sign into Azure with the account that has Global Administrator privileges.&lt;br&gt;
5.On the &lt;strong&gt;Basics&lt;/strong&gt; page, select &lt;strong&gt;Edit template&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F5w3yhp4lgkjdj5vzai6s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F5w3yhp4lgkjdj5vzai6s.png" alt="Edit template" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.In the template editor, delete the contents of lines &lt;strong&gt;158&lt;/strong&gt; to &lt;strong&gt;174&lt;/strong&gt; inclusive and delete the “,” on line 157. Choose &lt;strong&gt;Save&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fvxqifxhyhupjdwu8st4p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fvxqifxhyhupjdwu8st4p.png" alt="Edit ARM Template" width="800" height="399"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fpcdkda2s8hqwykxu25kk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fpcdkda2s8hqwykxu25kk.png" alt="Save ARM Templat" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7.On the &lt;strong&gt;Basics&lt;/strong&gt; page, provide the following information and choose &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fl5nenyynfk2mmqe66vzn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fl5nenyynfk2mmqe66vzn.png" alt="Basic Info" width="800" height="387"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.Review the information presented and select &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fnmpnw22k08wy6t53g6tm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fnmpnw22k08wy6t53g6tm.png" alt="Create Resource" width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;9.After the deployment completes, choose &lt;strong&gt;Go to resource group&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fsiwf24w70q3jyazs7l40.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fsiwf24w70q3jyazs7l40.png" alt="Go to resource group" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deploy a Linux web app&lt;/strong&gt;&lt;br&gt;
1.Ensure that you’re signed into the Azure Portal.&lt;br&gt;
2.In your browser, open a new browser tab and navigate to &lt;a href="https://learn.microsoft.com/en-us/samples/azure/azure-quickstart-templates/webapp-basic-linux/" rel="noopener noreferrer"&gt;https://learn.microsoft.com/en-us/samples/azure/azure-quickstart-templates/webapp-basic-linux/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.On the GitHub page, choose &lt;strong&gt;Deploy to Azure&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fon04byyr6vlk6nsia44j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fon04byyr6vlk6nsia44j.png" alt="open a new browser tab with link: https://learn.microsoft.com/en-us/samples/azure/azure-quickstart-templates/webapp-basic-linux/" width="800" height="346"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.On the &lt;strong&gt;Basics&lt;/strong&gt; page, provide the following information and choose &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fvcti61s8c8ggcnbauhwk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fvcti61s8c8ggcnbauhwk.png" alt=" " width="800" height="341"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Review the information and choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F5a8opacvv0h6lgz77giv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F5a8opacvv0h6lgz77giv.png" alt="Create Linux web app" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F6qnzcu3kh0rrww4rhbnh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F6qnzcu3kh0rrww4rhbnh.png" alt="Go to resource" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This marks the end of &lt;strong&gt;Prepare your bring-your-own-subscription (BYOS)&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Next&amp;gt;&amp;gt;&amp;gt;&lt;/strong&gt; &lt;br&gt;
&lt;strong&gt;Exercise 1: Deploy Log Analytics&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Skilling tasks&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a Log Analytics workspace&lt;/li&gt;
&lt;li&gt;Configure Log Analytics data retention and archive policies&lt;/li&gt;
&lt;li&gt;Enable access to a Log Analytics workspace&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Exercise instructions&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a Log Analytics workspace&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;Log Analytics&lt;/strong&gt; and select &lt;strong&gt;Log Analytics workspaces&lt;/strong&gt; from the list of results.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fwnny0otrazwt2xbrwgit.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fwnny0otrazwt2xbrwgit.png" alt="select Log Analytics workspaces" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.On the &lt;strong&gt;Log Analytics workspaces&lt;/strong&gt; page, choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F8mwl0s6ruiasok1xtvuz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F8mwl0s6ruiasok1xtvuz.png" alt="Select Create Log Analytics workspaces" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.On the &lt;strong&gt;Basics&lt;/strong&gt; page of the Create Log Analytics workspace wizard, provide the following information and choose &lt;strong&gt;Review + Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F2xx78ehv07ilj892q348.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F2xx78ehv07ilj892q348.png" alt="Information to be inputed" width="800" height="294"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fm1qsevwsudsc3fyti2yg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fm1qsevwsudsc3fyti2yg.png" alt="Review + Create" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Review the information and choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fau8o5hasl5h7dn4nxhyz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fau8o5hasl5h7dn4nxhyz.png" alt="Create" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fag68r94qqbdv5yuinexb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fag68r94qqbdv5yuinexb.png" alt="Go to resource" width="800" height="285"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Install and configure the Log Analytics agent on Linux-VM2&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;Virtual Machines&lt;/strong&gt; and select &lt;strong&gt;Virtual Machines&lt;/strong&gt; from the list of results.&lt;br&gt;
2.On the &lt;strong&gt;Virtual Machines&lt;/strong&gt; page, select &lt;strong&gt;Linux-VM2&lt;/strong&gt;.&lt;br&gt;
3.On the &lt;strong&gt;Linux-VM2&lt;/strong&gt; page, choose &lt;strong&gt;Extensions + Applications&lt;/strong&gt; under &lt;strong&gt;Settings&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkcu9ifayiz6v3c1h6fce.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkcu9ifayiz6v3c1h6fce.png" alt="choose Extensions + Applications" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Choose &lt;strong&gt;Add&lt;/strong&gt; and select the &lt;strong&gt;Log Analytics agent for Linux&lt;/strong&gt; (also known as OmsAgentForLinux). Choose &lt;strong&gt;Next&lt;/strong&gt;.&lt;br&gt;
5.For the Workspace ID and Workspace Key, navigate to &lt;strong&gt;LogAnalytics1 &amp;gt; Settings &amp;gt; Agents&lt;/strong&gt; in a separate browser tab or window.&lt;br&gt;
6.Copy the &lt;strong&gt;Workspace ID&lt;/strong&gt; and &lt;strong&gt;Primary Key&lt;/strong&gt; from the LogAnalytics1 workspace.&lt;br&gt;
7.Return to the Linux-VM2 extension installation page and paste the Workspace ID and Workspace Key. Choose &lt;strong&gt;Review and Create&lt;/strong&gt;, and then choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;br&gt;
8.After the installation completes, on the &lt;strong&gt;Linux-VM2 Extensions + Applications&lt;/strong&gt; page, select the &lt;strong&gt;&lt;code&gt;AzureNetworkWatcherExtension&lt;/code&gt;&lt;/strong&gt;.&lt;br&gt;
9.On the extension details page, ensure that &lt;strong&gt;Enable automatic upgrade&lt;/strong&gt; is set to &lt;strong&gt;Yes&lt;/strong&gt;. If not, enable it and choose &lt;strong&gt;Save&lt;/strong&gt;.&lt;br&gt;
10.Return to the &lt;strong&gt;Extensions + Applications&lt;/strong&gt; page and select the &lt;strong&gt;&lt;code&gt;OmsAgentForLinux&lt;/code&gt;&lt;/strong&gt; extension.&lt;br&gt;
11.On the extension details page, ensure that &lt;strong&gt;Enable automatic upgrade&lt;/strong&gt; is set to &lt;strong&gt;Yes&lt;/strong&gt;. If not, enable it and choose &lt;strong&gt;Save&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;[!NOTE]&lt;/strong&gt; No 4 - 11 is currently not available on Azure Portal, I Could only see &lt;strong&gt;Network Watcher Agent for Linux&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F5i98tfdei6euulv5q1zm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F5i98tfdei6euulv5q1zm.png" alt="Network Watcher Agent for Linux" width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F38m15y50oir51a2uhaig.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F38m15y50oir51a2uhaig.png" alt="Add Network Watcher Agent for Linux" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Configure Log Analytics data retention and archive policies&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;Log Analytics&lt;/strong&gt; and select &lt;strong&gt;Log Analytics workspaces&lt;/strong&gt; from the list of results.&lt;br&gt;
2.On the &lt;strong&gt;Log Analytics workspaces&lt;/strong&gt; page, choose &lt;strong&gt;LogAnalytics1&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F4hib3tgsqk646qpdr7xt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F4hib3tgsqk646qpdr7xt.png" alt="Log Analytics workspaces page" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.On the &lt;strong&gt;Log Analytics workspace&lt;/strong&gt; page for LogAnalytics1, choose &lt;strong&gt;Usage and estimated costs&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;4.Select &lt;strong&gt;Data Retention&lt;/strong&gt; and set the slider to 60 days. Choose &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;5.On the &lt;strong&gt;Log Analytics workspace&lt;/strong&gt; page for LogAnalytics1, choose &lt;strong&gt;Usage and estimated costs&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fx4rhyc9z072jj7qke1pw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fx4rhyc9z072jj7qke1pw.png" alt="Usage and estimated costs" width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.Select &lt;strong&gt;Daily cap&lt;/strong&gt;. Choose &lt;strong&gt;On&lt;/strong&gt;. Set the daily cap to 10 GB and choose &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fsmp00zdt0h9i682zibt5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fsmp00zdt0h9i682zibt5.png" alt="Set the daily cap to 10 GB and choose" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enable access to a **Log Analytics&lt;/strong&gt; workspace**&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter Log Analytics and select &lt;strong&gt;Log Analytics workspaces&lt;/strong&gt; from the list of results.&lt;/p&gt;

&lt;p&gt;2.On the &lt;strong&gt;Log Analytics workspaces&lt;/strong&gt; page, choose &lt;strong&gt;LogAnalytics1&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fe7b5pzn7tnyf551eadiu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fe7b5pzn7tnyf551eadiu.png" alt="choose LogAnalytics1 On the Log Analytics workspaces" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.Select &lt;strong&gt;Access control (IAM)&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;4.Choose &lt;strong&gt;Add&lt;/strong&gt; and then choose &lt;strong&gt;Add role assignment&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fl5u5w2f1kvsegvr76ldi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fl5u5w2f1kvsegvr76ldi.png" alt="Choose Add role assignment" width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.On the list of roles, select &lt;strong&gt;Log Analytics Reader&lt;/strong&gt; and choose &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fcedidevxsfxdlyz3aryr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fcedidevxsfxdlyz3aryr.png" alt="On the list of roles select Log Analytics Reader" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.On the &lt;strong&gt;Members&lt;/strong&gt; page, choose &lt;strong&gt;Select Members&lt;/strong&gt; and choose the App Log Examiners security group. &lt;strong&gt;Choose Select&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fj21h3jhtkfiasyz81gvv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fj21h3jhtkfiasyz81gvv.png" alt="Select App Log Examiners security group" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7.On the &lt;strong&gt;Members&lt;/strong&gt; space, choose &lt;strong&gt;Review + Assign&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fhq4z3ur1cak5nci717py.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fhq4z3ur1cak5nci717py.png" alt="On the Members space choose Review + Assign" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Next&amp;gt;&amp;gt;&amp;gt;&lt;/strong&gt; &lt;br&gt;
&lt;strong&gt;Exercise 2: Monitor web apps&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Skilling tasks&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enable Application Insights&lt;/li&gt;
&lt;li&gt;Disable logging for .NET core snapshot debugger&lt;/li&gt;
&lt;li&gt;Configure web app HTTP logs to be written to a Log Analytics workspace&lt;/li&gt;
&lt;li&gt;Configure SQL Insights data to be written to a Log Analytics workspace&lt;/li&gt;
&lt;li&gt;Enable file and configuration change tracking for web apps&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Exercise instructions&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enable Application Insights&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;rg-alpha&lt;/strong&gt; and select &lt;strong&gt;rg-alpha&lt;/strong&gt; from the list of results.&lt;br&gt;
2.From the list of items in the resource group, choose &lt;strong&gt;App Services for the Web App with an SQL Database&lt;/strong&gt;.&lt;br&gt;
3.Under &lt;strong&gt;Monitoring&lt;/strong&gt; choose &lt;strong&gt;Application Insights&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Frzj4s75dw4mc27rzy7eu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Frzj4s75dw4mc27rzy7eu.png" alt="choose Application Insights" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.On the &lt;strong&gt;Application Insights&lt;/strong&gt; page, choose &lt;strong&gt;Turn On Application Insights&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F00kwx39ixwiw4bn6upbb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F00kwx39ixwiw4bn6upbb.png" alt="Turn On Application Insights" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.On the &lt;strong&gt;Application Insights&lt;/strong&gt; page, ensure that &lt;strong&gt;Create a new resource&lt;/strong&gt; is selected and that the Log Analytics Workspace is set to &lt;strong&gt;LogAnalytics1&lt;/strong&gt; and choose &lt;strong&gt;Apply&lt;/strong&gt;.&lt;br&gt;
6.On the &lt;strong&gt;Apply monitoring settings&lt;/strong&gt; dialog, choose &lt;strong&gt;Yes&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F1ldpkygm61igsmzyjy28.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F1ldpkygm61igsmzyjy28.png" alt="Apply monitoring settings" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disable logging for .NET core snapshot debugger&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;rg-alpha&lt;/strong&gt; and select &lt;strong&gt;rg-alpha&lt;/strong&gt; from the list of results.&lt;br&gt;
2.From the list of items in the resource group, choose &lt;strong&gt;App Services for the Web App with an SQL Database&lt;/strong&gt;.&lt;br&gt;
3.Under &lt;strong&gt;Monitoring&lt;/strong&gt; choose Application Insights*&lt;strong&gt;*.&lt;br&gt;
4.Under **Instrument your application&lt;/strong&gt;, choose &lt;strong&gt;.NET Core&lt;/strong&gt; and then set the Snapshot Debugger setting to &lt;strong&gt;Off&lt;/strong&gt;. Choose &lt;strong&gt;Apply&lt;/strong&gt;.&lt;br&gt;
5.On the &lt;strong&gt;Apply Monitoring Settings&lt;/strong&gt; dialog box, choose &lt;strong&gt;Yes&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ft2h1jng06ywo9yp8lism.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ft2h1jng06ywo9yp8lism.jpg" alt=".NET Core" width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;.NET Core&lt;/strong&gt; settings seem not to be available for the version of Azure Portal&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Configure web app HTTP logs to be written to a Log Analytics workspace&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;rg-alpha&lt;/strong&gt; and select &lt;strong&gt;rg-alpha&lt;/strong&gt; from the list of results.&lt;br&gt;
2.From the list of items in the resource group, choose &lt;strong&gt;App Services for the Web App with an SQL Database&lt;/strong&gt;.&lt;br&gt;
3.Under &lt;strong&gt;Monitoring&lt;/strong&gt;, choose &lt;strong&gt;Diagnostic settings&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fwftcv8ppuqp71sbebsey.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fwftcv8ppuqp71sbebsey.jpg" alt="Choose Diagnostic settings" width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.On the &lt;strong&gt;Diagnostic settings&lt;/strong&gt; page, select &lt;strong&gt;+ Add diagnostic settings&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fz4sx81jmig7t25fxj3ju.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fz4sx81jmig7t25fxj3ju.png" alt="Select Diagnostic settings" width="800" height="357"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.On the &lt;strong&gt;Diagnostic settings&lt;/strong&gt; page, choose the following and select &lt;strong&gt;Save&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fqjsmb34rwdxrvtlqvhze.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fqjsmb34rwdxrvtlqvhze.png" alt="Save Diagnostic settings" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Configure SQL Insights data to be written to a Log Analytics workspace&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;rg-alpha&lt;/strong&gt; and select &lt;strong&gt;rg-alpha&lt;/strong&gt; from the list of results.&lt;br&gt;
2.From the list of items in the resource group, choose the sample SQL database.&lt;br&gt;
3.Under &lt;strong&gt;Monitoring&lt;/strong&gt;, choose &lt;strong&gt;Diagnostic settings&lt;/strong&gt;.&lt;br&gt;
4.On the &lt;strong&gt;Diagnostic settings&lt;/strong&gt; page, choose &lt;strong&gt;Add diagnostic setting&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fk9ef0pj8qty1la51ac93.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fk9ef0pj8qty1la51ac93.png" alt="Diagnostic settings" width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F63g972ccpyde0q4o12ly.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F63g972ccpyde0q4o12ly.png" alt="Input settings" width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.On the &lt;strong&gt;Diagnostic setting page&lt;/strong&gt;, provide the following information and choose &lt;strong&gt;Save&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fyqkpxlyiwnthddzlva8h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fyqkpxlyiwnthddzlva8h.png" alt="Save Diagnostic settings" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Next&amp;gt;&amp;gt;&amp;gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Exercise 3: Monitoring compute and networking services.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Skilling tasks&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a data collection endpoint&lt;/li&gt;
&lt;li&gt;Create a data collection rule&lt;/li&gt;
&lt;li&gt;Add an IIS log collection to an existing data collection rule&lt;/li&gt;
&lt;li&gt;Configure Network Connection Monitor for a Linux IaaS virtual machine&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Exercise instructions&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a data collection endpoint&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;Monitor&lt;/strong&gt; and select &lt;strong&gt;Monitor&lt;/strong&gt; from the list of results.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Frl403odrpsub2biviin7.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Frl403odrpsub2biviin7.jpg" alt="Search for Monitor" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.In the &lt;strong&gt;Monitor&lt;/strong&gt; page, under &lt;strong&gt;Settings&lt;/strong&gt;, choose &lt;strong&gt;Data Collection Endpoints&lt;/strong&gt;.&lt;br&gt;
3.On the &lt;strong&gt;Data Collection Endpoints&lt;/strong&gt; page, choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fpupyogrruuajee3ej5la.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fpupyogrruuajee3ej5la.jpg" alt="Navigate to Data Collection Endpoints to create" width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.On the &lt;strong&gt;Create Data Collection Endpoint&lt;/strong&gt; page, provide the following settings and then choose &lt;strong&gt;Review + Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkhecn1vnq1xz7ojcaak2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkhecn1vnq1xz7ojcaak2.png" alt="Create Data Collection Endpoint page, provide the following settings" width="800" height="312"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Review the settings and choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Flcixkvigq0ad6nm8oh7w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Flcixkvigq0ad6nm8oh7w.png" alt="Create Data Collection Endpoint page" width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a data collection rule&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;Monitor&lt;/strong&gt; and select &lt;strong&gt;Monitor&lt;/strong&gt; from the list of results.&lt;br&gt;
2.In the &lt;strong&gt;Monitor&lt;/strong&gt; page, under &lt;strong&gt;Settings&lt;/strong&gt;, choose &lt;strong&gt;Data Collection Rules&lt;/strong&gt;.&lt;br&gt;
3.On the &lt;strong&gt;Data Collection Rules&lt;/strong&gt; page, choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fc4ttk9tbd4p7yq6tlexd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fc4ttk9tbd4p7yq6tlexd.png" alt="Data Collection Rules" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.On the &lt;strong&gt;Create Data Collection Rule&lt;/strong&gt; page, configure the following settings and choose &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Frmsxtysvjfhrbco6fl8f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Frmsxtysvjfhrbco6fl8f.png" alt="configure the following settings and choose Next" width="800" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.On the &lt;strong&gt;Resources&lt;/strong&gt; page, choose &lt;strong&gt;Add Resources&lt;/strong&gt;.&lt;br&gt;
6.On the &lt;strong&gt;Select a scope&lt;/strong&gt; page, enable the &lt;strong&gt;WS-VM1&lt;/strong&gt; checkbox and choose &lt;strong&gt;Apply&lt;/strong&gt;.&lt;br&gt;
7.On the &lt;strong&gt;Create Data Collection Rule&lt;/strong&gt; page, choose &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Feo9uyzx3h5ywocwo5s58.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Feo9uyzx3h5ywocwo5s58.png" alt="Create Data Collection Rule" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.On the &lt;strong&gt;Collect and Deliver&lt;/strong&gt; page, choose &lt;strong&gt;Add data source&lt;/strong&gt;.&lt;br&gt;
9.On the &lt;strong&gt;Add data source&lt;/strong&gt; page, select &lt;strong&gt;Windows Event Logs&lt;/strong&gt;. In the &lt;strong&gt;Application&lt;/strong&gt; category enable the &lt;strong&gt;Critical&lt;/strong&gt; and &lt;strong&gt;Error&lt;/strong&gt; categories. In the &lt;strong&gt;Security&lt;/strong&gt; category, choose the &lt;strong&gt;Audit Failure&lt;/strong&gt; category. In the &lt;strong&gt;System&lt;/strong&gt; category, enable the &lt;strong&gt;Critical&lt;/strong&gt; and &lt;strong&gt;Error&lt;/strong&gt; categories.&lt;br&gt;
10.Choose &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;11.On the &lt;strong&gt;Destination&lt;/strong&gt; page, configure the following settings:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fzjsh50si7qmdfascwle3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fzjsh50si7qmdfascwle3.png" alt="On the Destination page, configure the following settings" width="800" height="217"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;12.Choose &lt;strong&gt;Add data source&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F8ixjjzjl4xb81afgms0z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F8ixjjzjl4xb81afgms0z.png" alt="Add data source" width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;13.Choose &lt;strong&gt;Review + Create&lt;/strong&gt; and then choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fr38yq8efx4w2w1z1gyyh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fr38yq8efx4w2w1z1gyyh.png" alt="Create Data Collection Rule" width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fn2z9z304ve2e4kw6ex80.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fn2z9z304ve2e4kw6ex80.png" alt="Go to resource" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Add an IIS log collection to an existing data collection rule&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;Monitor&lt;/strong&gt; and select &lt;strong&gt;Monitor&lt;/strong&gt; from the list of results.&lt;br&gt;
2.In the &lt;strong&gt;Monitor&lt;/strong&gt; page, under &lt;strong&gt;Settings&lt;/strong&gt;, choose &lt;strong&gt;Data Collection Rules&lt;/strong&gt;.&lt;br&gt;
3.Choose the &lt;strong&gt;WinVMDRC&lt;/strong&gt; rule in rg-alpha.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F50zw6wrd386d2tu2s5se.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F50zw6wrd386d2tu2s5se.png" alt="Select WinVMDR" width="800" height="399"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Under &lt;strong&gt;Configuration&lt;/strong&gt;, choose &lt;strong&gt;Data Sources&lt;/strong&gt;.&lt;br&gt;
5.On the &lt;strong&gt;Data Sources&lt;/strong&gt; page, choose &lt;strong&gt;Add&lt;/strong&gt;.&lt;br&gt;
6.On the &lt;strong&gt;Add Data Source&lt;/strong&gt; page, select IIS Logs.&lt;br&gt;
7.Choose &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fc5935fwxm6hlkkj0imbm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fc5935fwxm6hlkkj0imbm.png" alt="select IIS Logs" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.On the &lt;strong&gt;Destination&lt;/strong&gt; page, configure the following settings:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fdpjts1qvj5ovafsc8psr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fdpjts1qvj5ovafsc8psr.png" alt="On the Destination page configure the following settings" width="800" height="212"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;9.Choose &lt;strong&gt;Add data source&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fklq2p7cyqr7trvwnwxev.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fklq2p7cyqr7trvwnwxev.png" alt="Add data source" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fdkn6rntz1d0ye78hh40h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fdkn6rntz1d0ye78hh40h.png" alt="Add data source" width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Configure Network Connection Monitor for a Linux IaaS virtual machine&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;Network Watcher&lt;/strong&gt; and select &lt;strong&gt;Network Watcher&lt;/strong&gt; from the list of results.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fa0pmomnrfvt11gk2smqm.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fa0pmomnrfvt11gk2smqm.jpg" alt="In the Azure Portal Search Bar enter Network Watcher" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.Under &lt;strong&gt;Monitoring&lt;/strong&gt;, choose &lt;strong&gt;Connection Monitor&lt;/strong&gt;.&lt;br&gt;
3.On the &lt;strong&gt;Connection Monitor&lt;/strong&gt; page, choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F8564acjybvt0o0slylbc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F8564acjybvt0o0slylbc.png" alt="Connection Monitor" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.On the Basics page of the &lt;strong&gt;Create Connection Monitor&lt;/strong&gt; wizard, provide the following information and choose &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fxirw5qwj6k0fukpu5kpp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fxirw5qwj6k0fukpu5kpp.png" alt="provide the following information and choose Next" width="800" height="252"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.On the &lt;strong&gt;Add test group details&lt;/strong&gt; page, enter the name &lt;strong&gt;&lt;code&gt;LinuxIPTest&lt;/code&gt;&lt;/strong&gt; and choose &lt;strong&gt;Add sources&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fai1j3fvwr3qk08rq6smv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fai1j3fvwr3qk08rq6smv.png" alt="Add sources" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.On the &lt;strong&gt;Add Sources&lt;/strong&gt; page, select &lt;strong&gt;Azure Endpoints&lt;/strong&gt; and set the type to &lt;strong&gt;Virtual machines&lt;/strong&gt;. Select &lt;strong&gt;Subnet&lt;/strong&gt; and then enable the &lt;strong&gt;Linux-VM&lt;/strong&gt; checkbox. Choose &lt;strong&gt;Add Endpoints&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F9ezhmscf2j5fg8unnonx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F9ezhmscf2j5fg8unnonx.png" alt="Add Endpoints" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7.Choose &lt;strong&gt;Add Test Configuration&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F11gicdqf2lzq1hgbp2uc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F11gicdqf2lzq1hgbp2uc.png" alt="Add Test Configuration" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.On the &lt;strong&gt;Add Test Configuration&lt;/strong&gt; page, enter the name &lt;strong&gt;&lt;code&gt;DefaultHTTP&lt;/code&gt;&lt;/strong&gt; and then choose &lt;strong&gt;Add Test Configuration&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F3vaulcrstid0puceh8xb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F3vaulcrstid0puceh8xb.png" alt="Add Test Configuration name" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;9.Choose &lt;strong&gt;Add Destinations&lt;/strong&gt;. Select &lt;strong&gt;Azure Endpoints&lt;/strong&gt; and set the type to &lt;strong&gt;Virtual machines&lt;/strong&gt;. Select &lt;strong&gt;Subnet&lt;/strong&gt; and then enable the &lt;strong&gt;WS-VM1&lt;/strong&gt; checkbox. Select &lt;strong&gt;Add Endpoints&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fokebthaoynkial5d10kb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fokebthaoynkial5d10kb.png" alt="Azure Endpoints" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F8l9o4yv2g5s63f74gqvp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F8l9o4yv2g5s63f74gqvp.png" alt="Azure Endpoints" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;10.Choose &lt;strong&gt;Add Test Group&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F7tksxbjcypn5vhrvfm7x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F7tksxbjcypn5vhrvfm7x.png" alt=" " width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;11.Choose &lt;strong&gt;Review and Create&lt;/strong&gt; and then choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.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%2F9olmp8errz4ie5j13naz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F9olmp8errz4ie5j13naz.png" alt="Review and Create" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Next&amp;gt;&amp;gt;&amp;gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Exercise 4: Configuring alerts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Skilling tasks&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create an action group to send an email&lt;/li&gt;
&lt;li&gt;Create an alert for virtual machine CPU utilization&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Exercise instructions&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create an action group to send an email&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;Monitor&lt;/strong&gt; and select &lt;strong&gt;Monitor&lt;/strong&gt; from the list of results.&lt;br&gt;
2.Select &lt;strong&gt;Alerts&lt;/strong&gt; in the navigation menu.&lt;br&gt;
3.Choose &lt;strong&gt;Action Groups&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkxs1zisyp8t4rpn38kr3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkxs1zisyp8t4rpn38kr3.png" alt="Action Groups" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.On the &lt;strong&gt;Action Groups&lt;/strong&gt; page, choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fib9qizt56zfeibb3k2u6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fib9qizt56zfeibb3k2u6.png" alt="Under Action Groups Select Create " width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.On the &lt;strong&gt;Basics&lt;/strong&gt; page of the Create Action Group wizard, configure the following settings and choose &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fut56xyft46q365s7fhkg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fut56xyft46q365s7fhkg.png" alt="configure the following settings and choose Next" width="800" height="339"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.On the &lt;strong&gt;Notifications&lt;/strong&gt; page, set the notification type to &lt;strong&gt;Email/SMS message/Push/Voice&lt;/strong&gt; and the Name to &lt;strong&gt;&lt;code&gt;NotificationEmail&lt;/code&gt;&lt;/strong&gt;. Choose the &lt;strong&gt;Edit&lt;/strong&gt; (pencil) icon.&lt;br&gt;
7.On the Email/SMS message/Push/Voice enable the &lt;strong&gt;email&lt;/strong&gt; checkbox and enter the address &lt;strong&gt;&lt;a href="mailto:prime@fabrikam.com"&gt;prime@fabrikam.com&lt;/a&gt;&lt;/strong&gt;. Choose &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fc22m42wg8ioyurtc9120.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fc22m42wg8ioyurtc9120.png" alt="Review and Create" width="800" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.Choose &lt;strong&gt;Review and Create&lt;/strong&gt;. Choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fglw2up97xbedj8hjkbop.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fglw2up97xbedj8hjkbop.png" alt="Create" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create an alert for virtual machine CPU utilization&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.In the Azure Portal Search Bar, enter &lt;strong&gt;rg-alpha&lt;/strong&gt; and select &lt;strong&gt;rg-alpha&lt;/strong&gt; from the list of results.&lt;br&gt;
2.From the list of items in the resource group, choose &lt;strong&gt;Linux-VM2&lt;/strong&gt;.&lt;br&gt;
3.On the &lt;strong&gt;Linux-VM2 properties&lt;/strong&gt; page, choose &lt;strong&gt;Alerts&lt;/strong&gt; under &lt;strong&gt;Monitoring&lt;/strong&gt;.&lt;br&gt;
4.On the &lt;strong&gt;Alerts&lt;/strong&gt; page, choose &lt;strong&gt;Create&lt;/strong&gt; and then choose &lt;strong&gt;Alert rule&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F0df1uhes85dhjy4rwr2b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0df1uhes85dhjy4rwr2b.png" alt="Create Alerts" width="800" height="419"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.On the &lt;strong&gt;Condition&lt;/strong&gt; page of the Create an Alert Rule wizard, set the Signal name to &lt;strong&gt;Percentage CPU&lt;/strong&gt;. Use the default settings and choose &lt;strong&gt;Next&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.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%2Ftiiof71hw2sgw43vrynq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ftiiof71hw2sgw43vrynq.png" alt="Condition" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.On the &lt;strong&gt;Actions&lt;/strong&gt; page, choose &lt;strong&gt;Select Action Group&lt;/strong&gt;.&lt;br&gt;
7.On the &lt;strong&gt;Select Action Groups&lt;/strong&gt; page, choose &lt;strong&gt;&lt;code&gt;NotifyCPU&lt;/code&gt;&lt;/strong&gt; and choose &lt;strong&gt;Select&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fzdch17ioi7gyfjh06wjc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fzdch17ioi7gyfjh06wjc.png" alt="On the Select Action Groups page, choose NotifyCPU" width="800" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.On the &lt;strong&gt;Details&lt;/strong&gt; page enter the Alert rule name &lt;strong&gt;&lt;code&gt;HighCPU&lt;/code&gt;&lt;/strong&gt;. Choose &lt;strong&gt;Review and Create&lt;/strong&gt; and then choose &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F3kvo8a6n452m0fjknubm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F3kvo8a6n452m0fjknubm.png" alt="Review and Create" width="800" height="422"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fa3gae5oe8fp2l2jmrfzm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fa3gae5oe8fp2l2jmrfzm.png" alt="Create" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Clean up subscription&lt;/strong&gt;&lt;br&gt;
To clean up the subscription, delete resource group &lt;strong&gt;rg-alpha&lt;/strong&gt; and delete the &lt;strong&gt;App Log Examiners&lt;/strong&gt; security group.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Azure Monitor isn’t just a tool, it’s your cloud’s command center. By deploying and configuring it properly, you unlock actionable insights, proactive alerts, and performance optimization that keep your applications resilient and your users happy. Ready to take your monitoring game to the next level? Start implementing Azure Monitor today and experience the power of intelligent observability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thanks for reading, see you in the next one&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>cloud</category>
      <category>architecture</category>
    </item>
    <item>
      <title>How to Deploy Your Web App with AWS Elastic Beanstalk</title>
      <dc:creator>Samuel Ojo</dc:creator>
      <pubDate>Wed, 07 Jan 2026 23:30:19 +0000</pubDate>
      <link>https://dev.to/ojosamuel129/how-to-deploy-your-web-app-with-aws-elastic-beanstalk-35n1</link>
      <guid>https://dev.to/ojosamuel129/how-to-deploy-your-web-app-with-aws-elastic-beanstalk-35n1</guid>
      <description>&lt;p&gt;&lt;strong&gt;AWS Elastic Beanstalk&lt;/strong&gt; is a &lt;strong&gt;Platform-as-a-Service (PaaS)&lt;/strong&gt; that simplifies application deployment and management. It automatically handles capacity provisioning, allowing developers to focus on writing code rather than managing infrastructure.&lt;br&gt;
You simply provide your code while &lt;strong&gt;Beanstalk&lt;/strong&gt; handles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;EC2 instances&lt;/li&gt;
&lt;li&gt;Load Balancing &amp;amp; Auto Scaling&lt;/li&gt;
&lt;li&gt;Application health checks&lt;/li&gt;
&lt;li&gt;Logs &amp;amp; Metrics&lt;/li&gt;
&lt;li&gt;Rolling updates and blue/green deployments&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Supported platforms include: Java, .NET, Node.js, Python, PHP, Ruby, Go, Docker.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key benefits:&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Scalability&lt;/li&gt;
&lt;li&gt;Automation&lt;/li&gt;
&lt;li&gt;Integration with AWS services&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Sign in to the AWS Management Console&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go to the AWS Management Console and sign in with your AWS account.&lt;/li&gt;
&lt;li&gt;Navigate to &lt;strong&gt;Elastic Beanstalk&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;In the AWS search bar, type &lt;strong&gt;Elastic Beanstalk&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Elastic Beanstalk&lt;/strong&gt; from the services list&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fp2m2061dz3xp92fpt3tz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fp2m2061dz3xp92fpt3tz.png" alt="Select Elastic Beanstalk" width="800" height="624"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Create a New Application&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Create application&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Enter an &lt;strong&gt;Application name&lt;/strong&gt; (for example: getting-started-app)&lt;/li&gt;
&lt;li&gt;(Optional) Add a description&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fam9xsriweqaj4s8a0ubz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fam9xsriweqaj4s8a0ubz.png" alt="Create application" width="800" height="435"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fb7tb5x3euokr8jyc84qm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fb7tb5x3euokr8jyc84qm.png" alt="Input Application Name" width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Choose Your Platform&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Under &lt;strong&gt;Platform&lt;/strong&gt;, select the programming language your app uses&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Examples:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Node.js, Java, Python, PHP, .NET, Ruby, etc.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;&lt;p&gt;For me, its &lt;strong&gt;Node.js&lt;/strong&gt;. Choose the &lt;strong&gt;platform version&lt;/strong&gt; (you can leave the default)&lt;/p&gt;&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F5vy4jmxxj5ukxrb3w6uu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F5vy4jmxxj5ukxrb3w6uu.png" alt="Select Programming Language for the app" width="800" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Upload Your Application Code&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Under &lt;strong&gt;Application code&lt;/strong&gt;, choose:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sample application&lt;/strong&gt; (recommended for first-time users),&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Upload your code&lt;/strong&gt; (if you already have an app)

&lt;ul&gt;
&lt;li&gt;If uploading your code, select your file (ZIP format)&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fbqkbfwv1uvakaqll5whs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fbqkbfwv1uvakaqll5whs.png" alt=" " width="800" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Configure Application Settings (Service Role, Instance Profile, and Key Pair)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Configure security and access settings so Elastic Beanstalk can manage AWS resources so you can securely access your EC2 instances.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5.1: Configure the Elastic Beanstalk Service Role&lt;/strong&gt;&lt;br&gt;
The service role allows Elastic Beanstalk to interact with other AWS services on your behalf.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Configure service access&lt;/strong&gt;&lt;br&gt;
Next, you need two roles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Service role&lt;/li&gt;
&lt;li&gt;EC2 instance profile role&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A &lt;strong&gt;service role&lt;/strong&gt; allows Elastic Beanstalk to monitor your EC2 instances and upgrade your environment’s platform. &lt;br&gt;
An &lt;strong&gt;EC2 instance profile role&lt;/strong&gt; permits tasks such as writing logs and interacting with other services.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create Service role&lt;/strong&gt; &lt;br&gt;
If you have previously created a Service role and would like to choose an existing one, select the value from the &lt;strong&gt;Service role&lt;/strong&gt; drop-down. If not, proceed to &lt;strong&gt;create&lt;/strong&gt; a new one.&lt;/p&gt;

&lt;p&gt;For &lt;strong&gt;Service role&lt;/strong&gt;, choose &lt;strong&gt;Create role&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fe8nonqg9ch82zf6ayf1a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fe8nonqg9ch82zf6ayf1a.png" alt="Service Role" width="800" height="435"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For &lt;strong&gt;Trusted entity type&lt;/strong&gt;, choose &lt;strong&gt;AWS service&lt;/strong&gt; and leave the rest as default.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F0o45rky08mljlss3yqcs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0o45rky08mljlss3yqcs.png" alt="Trusted entity type" width="800" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Verify that &lt;strong&gt;Permissions policies&lt;/strong&gt; include the following, then choose &lt;strong&gt;Next&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F3jj6yxhz07gtgwrmdask.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F3jj6yxhz07gtgwrmdask.png" alt="Permissions policies" width="800" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fi8g5kp2jwxh11jzs2sbx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fi8g5kp2jwxh11jzs2sbx.png" alt="Create role" width="800" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click &lt;strong&gt;Create role&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Return to the Configure service access tab, refresh the list, then select the newly created &lt;strong&gt;service role&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5.2 Create EC2 instance profile&lt;/strong&gt;&lt;br&gt;
The E*&lt;em&gt;C2 instance profile&lt;/em&gt;* allows &lt;strong&gt;EC2 instances&lt;/strong&gt; in your environment to access &lt;strong&gt;AWS services&lt;/strong&gt; securely.&lt;br&gt;
You can choose an existing one from the &lt;strong&gt;EC2 instance&lt;/strong&gt; profile drop-down or create a new one.&lt;/p&gt;

&lt;p&gt;Select &lt;strong&gt;Create role&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fxhfkxympc584aa4tllbw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fxhfkxympc584aa4tllbw.png" alt="Create role" width="800" height="439"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For &lt;strong&gt;Trusted entity type&lt;/strong&gt;, choose &lt;strong&gt;AWS service&lt;/strong&gt; and leave the rest as default and click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fs01l18k204myrd4bbi0t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fs01l18k204myrd4bbi0t.png" alt="Trusted entity type" width="800" height="437"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Verify that &lt;strong&gt;Permissions policies&lt;/strong&gt; include the following, then click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F5plzoxg4bfeihk0vdi5j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F5plzoxg4bfeihk0vdi5j.png" alt="Permissions policie" width="800" height="437"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select &lt;strong&gt;Create role&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fuj1vstnojzxng1x5xe4v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fuj1vstnojzxng1x5xe4v.png" alt="Create role" width="800" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Return to the Configure service access tab, refresh the list, then select the newly created &lt;strong&gt;EC2 instance profile&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Now you need to configure and create your application&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5.3: Select a Key Pair&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A key pair allows you to securely connect to the &lt;strong&gt;EC2 instances&lt;/strong&gt; created by &lt;strong&gt;Elastic Beanstalk&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Under &lt;strong&gt;EC2 key pair&lt;/strong&gt;: Select an existing &lt;strong&gt;key pair&lt;/strong&gt;, or Click &lt;strong&gt;Create&lt;/strong&gt; a new &lt;strong&gt;key pair&lt;/strong&gt;. I do have an existing &lt;strong&gt;key pair&lt;/strong&gt;, but i will create a new one for the sake of this tutorial.&lt;/p&gt;

&lt;p&gt;To create &lt;strong&gt;key pair&lt;/strong&gt;, open your &lt;strong&gt;AWS console&lt;/strong&gt; in another tab, type &lt;strong&gt;key pairs&lt;/strong&gt; in the search bar and select &lt;strong&gt;key pairs&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enter a key pair name&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F1vyz8r4wask9bqljopxw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F1vyz8r4wask9bqljopxw.png" alt="Enter a key pair name" width="800" height="441"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F15iik0xnecq7dstfhtpg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F15iik0xnecq7dstfhtpg.png" alt="Key pair" width="800" height="439"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F0ro6w1cj13g7s13y22nl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0ro6w1cj13g7s13y22nl.png" alt="Create key pair" width="800" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F3fojrp34wyyz7g7a46o4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F3fojrp34wyyz7g7a46o4.png" alt="New key pair created" width="800" height="437"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ensure you &lt;strong&gt;Download&lt;/strong&gt; and &lt;strong&gt;store&lt;/strong&gt; the &lt;strong&gt;key file&lt;/strong&gt; securely&lt;/p&gt;

&lt;p&gt;Without a &lt;strong&gt;key pair&lt;/strong&gt;, you will not be able to connect to the &lt;strong&gt;EC2 instance&lt;/strong&gt; using &lt;strong&gt;SSH&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Optional steps:&lt;/strong&gt; networking, databases, scaling parameters, advanced configuration for updates, monitoring, and logging.&lt;/p&gt;

&lt;p&gt;On the Review page, which shows a summary of your choices, select &lt;strong&gt;Submit&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F0078wsa6qwxz1ba93x4e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0078wsa6qwxz1ba93x4e.png" alt="Select Submit" width="800" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5.4: Review Other Settings (Optional)&lt;/strong&gt;&lt;br&gt;
You can either keep the default settings or adjust them if needed:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Instance type (EC2 size)&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;- Auto scaling options&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;- Environment variables&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;- Security groups&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fzq159r15gfhj1kl88ozc.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fzq159r15gfhj1kl88ozc.jpg" alt="Review Other Settings" width="800" height="443"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Flopv8n3ozux7c0kxnmkg.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Flopv8n3ozux7c0kxnmkg.jpg" alt="Review Other Settings2" width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F5epbz3fkrvqbzphech6a.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F5epbz3fkrvqbzphech6a.jpg" alt="Review Other Settings3" width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F23q8usi6s3m1kspemgzy.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F23q8usi6s3m1kspemgzy.jpg" alt="Review Other Settings4" width="800" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fex6d2yhovx7whm9d3mx5.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fex6d2yhovx7whm9d3mx5.jpg" alt="Review Other Settings5" width="800" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fodflcpbgqbrv3p910f40.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fodflcpbgqbrv3p910f40.jpg" alt="Review Other Settings6" width="800" height="445"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F0kjz3sw6slny1r1ukg7w.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0kjz3sw6slny1r1ukg7w.jpg" alt="Review Other Settings7" width="800" height="441"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6: Creating the Environment for the application&lt;/strong&gt;&lt;br&gt;
AWS will automatically set up the required resources, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;EC2 instances&lt;/li&gt;
&lt;li&gt;Auto Scaling group&lt;/li&gt;
&lt;li&gt;Load balancer&lt;/li&gt;
&lt;li&gt;Monitoring and health checks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Please note that This process may take a few minutes. Once completed, your application will be live.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fqt2lwehyda5x8z1uqwjr.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fqt2lwehyda5x8z1uqwjr.jpg" alt="Environment for the application" width="800" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fv7snbo6g0wqdlpk2mkum.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fv7snbo6g0wqdlpk2mkum.jpg" alt="Create Environment for the application" width="800" height="443"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Evidence of Beanstalk being LIVE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fmnzn3xboj0sj3wbvw4z6.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fmnzn3xboj0sj3wbvw4z6.jpg" alt="Beanstalk being LIVE" width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;To access the EC2 created&lt;/strong&gt;&lt;br&gt;
On the &lt;strong&gt;AWS Console&lt;/strong&gt;, search for &lt;strong&gt;EC2&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fg0ba4uv68d6bqgemhj0j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fg0ba4uv68d6bqgemhj0j.png" alt="AWS Console search for EC2" width="800" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check the dashboard to confirm the instance status is running&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F75nsrfaezjksi9hf0t78.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F75nsrfaezjksi9hf0t78.jpg" alt="Running Instance" width="800" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select the App created and then &lt;strong&gt;connect&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fe4li0c4y7sggeace6vvl.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fe4li0c4y7sggeace6vvl.jpg" alt="connect" width="800" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F9xh8svcz9t2g9fgnti2r.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F9xh8svcz9t2g9fgnti2r.jpg" alt="Select Connect" width="800" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;EC2 instance&lt;/strong&gt; created while setting up the &lt;strong&gt;Elastic Beanstalk&lt;/strong&gt; is shown below:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Futj5ywicp6z8wvsx5al3.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Futj5ywicp6z8wvsx5al3.jpg" alt=" " width="800" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;S3 Bucket created&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F0aob754li5bn3hct7zrs.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0aob754li5bn3hct7zrs.jpg" alt="S3 Bucket" width="800" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fn86eadu0xu2r4eb16yac.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fn86eadu0xu2r4eb16yac.jpg" alt="S3 Bucket created" width="800" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Auto Scaling group created&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fk550wlhp2u29h7hlwr9j.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fk550wlhp2u29h7hlwr9j.jpg" alt="Auto Scaling group" width="800" height="437"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 7: Cleaning up your Elastic Beanstalk environment and Terminate the Application&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Terminate the environment when you’re done in order to stop billing.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To delete the application and all associated resources, ensure you delete all application versions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Open the &lt;strong&gt;Elastic Beanstalk&lt;/strong&gt; console, and in the &lt;strong&gt;Regions list&lt;/strong&gt;, select your &lt;strong&gt;AWS Region&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In the &lt;strong&gt;navigation pane&lt;/strong&gt;, choose &lt;strong&gt;Applications&lt;/strong&gt;, and then choose your app (the name you gave your app) and choose &lt;strong&gt;Application versions&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;On the &lt;strong&gt;Application versions&lt;/strong&gt; page, select all &lt;strong&gt;application versions&lt;/strong&gt; that you want to delete. Choose &lt;strong&gt;Actions&lt;/strong&gt;, and then choose &lt;strong&gt;Delete&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Turn on &lt;strong&gt;Delete versions&lt;/strong&gt; from Amazon S3. Choose &lt;strong&gt;Delete&lt;/strong&gt;, and then choose &lt;strong&gt;Done&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AWS Elastic Beanstalk&lt;/strong&gt; is an excellent choice for developers who want to deploy applications quickly without managing servers manually. It provides a balance between control and automation, making it ideal for small projects and enterprise applications alike. By leveraging &lt;strong&gt;Elastic Beanstalk&lt;/strong&gt;, you can focus on building great software while AWS handles the heavy lifting of infrastructure management.&lt;/p&gt;

&lt;p&gt;Ensure you continue building, learning and developing as many applications as possible :).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thanks for reading, see you in the next one.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>aws</category>
      <category>cloud</category>
      <category>devops</category>
    </item>
    <item>
      <title>How to Launch an EC2 Instance in AWS</title>
      <dc:creator>Samuel Ojo</dc:creator>
      <pubDate>Sat, 20 Dec 2025 18:10:55 +0000</pubDate>
      <link>https://dev.to/ojosamuel129/how-to-launch-an-ec2-instance-in-aws-202a</link>
      <guid>https://dev.to/ojosamuel129/how-to-launch-an-ec2-instance-in-aws-202a</guid>
      <description>&lt;p&gt;&lt;strong&gt;Amazon EC2 (Elastic Compute Cloud)&lt;/strong&gt; lets you spin up virtual servers in minutes. If you're new to AWS or just need a quick refresher, this guide walks you through the exact steps to launch your first &lt;strong&gt;EC2 instance&lt;/strong&gt; with screenshots from the &lt;strong&gt;AWS console&lt;/strong&gt; to make things even clearer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Terms You Should Know:&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Amazon EC2:&lt;/strong&gt; A web service that provides resizable virtual servers in the cloud. You can run applications, host websites, or experiment with development environments without managing physical hardware.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Instance:&lt;/strong&gt; A virtual machine running on AWS. It has its own CPU, memory, storage, and network configuration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AMI (Amazon Machine Image):&lt;/strong&gt; A preconfigured template used to launch an EC2 instance. It includes the operating system and optional software packages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Instance Type:&lt;/strong&gt; Defines the hardware resources for your instance — CPU, RAM, network performance, etc.&lt;br&gt;
&lt;strong&gt;Examples:&lt;/strong&gt; &lt;strong&gt;&lt;code&gt;t2.micro&lt;/code&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;code&gt;t3.medium&lt;/code&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;code&gt;m5.large&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;VPC (Virtual Private Cloud):&lt;/strong&gt; A logically isolated network within AWS where your resources live. You control IP ranges, routing, and security.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Subnet:&lt;/strong&gt; A segment of your VPC. Instances must be launched inside a subnet, which can be public (internet‑accessible) or private.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Security Group:&lt;/strong&gt; A virtual firewall that controls inbound and outbound traffic for your instance.&lt;br&gt;
&lt;strong&gt;Example:&lt;/strong&gt; Allowing &lt;strong&gt;&lt;code&gt;SSH&lt;/code&gt;&lt;/strong&gt; on port 22.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Pair:&lt;/strong&gt; A cryptographic key used to securely connect to your EC2 instance.&lt;br&gt;
You download the private key (&lt;strong&gt;&lt;code&gt;.pem&lt;/code&gt;&lt;/strong&gt; file) and AWS stores the public key.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;EBS (Elastic Block Store):&lt;/strong&gt; Persistent storage attached to your EC2 instance. It behaves like a virtual hard drive.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Public IP Address:&lt;/strong&gt; An internet‑reachable IP assigned to your instance. You use it to SSH or access hosted applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;IAM (Identity and Access Management):&lt;/strong&gt; AWS service for managing users, roles, and permissions. Controls who can access what.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Free Tier:&lt;/strong&gt; This is AWS limited free usage offering for new accounts. Includes 750 hours/month of &lt;strong&gt;&lt;code&gt;t2.micro&lt;/code&gt;&lt;/strong&gt; or &lt;strong&gt;&lt;code&gt;t3.micro&lt;/code&gt;&lt;/strong&gt; EC2 usage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Steps:&lt;/strong&gt;&lt;br&gt;
1.Open your AWS Console and type &lt;strong&gt;EC2&lt;/strong&gt; to the &lt;strong&gt;search bar&lt;/strong&gt; and select the first option from the list of the options it displays.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fpzb5pu1uw9f5t1lp8nys.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fpzb5pu1uw9f5t1lp8nys.jpg" alt="Search EC2" width="800" height="351"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.Click &lt;strong&gt;launch instance&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fig4nil3pznu0ftokdyjb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fig4nil3pznu0ftokdyjb.png" alt="launch instance" width="800" height="352"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.In the &lt;strong&gt;Launch Instance&lt;/strong&gt; Environment, in the &lt;strong&gt;name bar&lt;/strong&gt;, type in a name and click &lt;strong&gt;Add additional tags&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fdsxynkmjeinglsebilzf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fdsxynkmjeinglsebilzf.png" alt=" " width="800" height="356"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.In the &lt;strong&gt;Name and Tag&lt;/strong&gt; Section, for the &lt;strong&gt;Key info and value info&lt;/strong&gt; Bar, type in while for the &lt;strong&gt;Resource Types&lt;/strong&gt;, click the drop-down arrow and select &lt;strong&gt;Instances&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F7cb5c1usb5livw9s7gsl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F7cb5c1usb5livw9s7gsl.png" alt=" " width="800" height="355"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.In the &lt;strong&gt;Application and OS Images (Amazon Machine Images)&lt;/strong&gt;, select any of the Operating systems you want, though I will choose &lt;strong&gt;Windows&lt;/strong&gt; Microsoft.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fk9zleidevjrm3snmly17.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fk9zleidevjrm3snmly17.png" alt="Windows OS" width="800" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.In the &lt;strong&gt;Key Pair&lt;/strong&gt; (Login) section, click &lt;strong&gt;Create new key pair&lt;/strong&gt; and fill in the necessary information on the new bar that pops up&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ftw4rokoiay0wq424vyx3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ftw4rokoiay0wq424vyx3.png" alt="Key Pair section" width="800" height="348"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fvtyxjmenq4uvcv70tuz0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fvtyxjmenq4uvcv70tuz0.png" alt="Create new key pair" width="800" height="350"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7.In the &lt;strong&gt;Network Setting&lt;/strong&gt; Section, tick the &lt;strong&gt;Allow RDP traffic from and Allow HTTP traffic from the Internet&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Foa0xb482b1vqxwa6eduy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Foa0xb482b1vqxwa6eduy.png" alt="Allow RDP traffic" width="800" height="351"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.Click &lt;strong&gt;Launch Instance&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F9ab01q63ki6cisx2mwmi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F9ab01q63ki6cisx2mwmi.png" alt="Launch Instance" width="724" height="802"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;9.&lt;strong&gt;Successfully initiated launch of instance&lt;/strong&gt; will be displayed on your screen&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fro6scw9ynq5dx3dwwii2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fro6scw9ynq5dx3dwwii2.png" alt="Successfully initiated launch of instance" width="800" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;10.Click &lt;strong&gt;Connect to Instance&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fa8y6j3pk9r6u44pcdex5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fa8y6j3pk9r6u44pcdex5.png" alt="Connect to Instance" width="800" height="350"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;11.In the Connect Environment, click the &lt;strong&gt;RDP Client&lt;/strong&gt; Tab&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fz5l343sigeywcin0qafa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fz5l343sigeywcin0qafa.png" alt="RDP Client" width="800" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;12.Scroll down and click &lt;strong&gt;get password&lt;/strong&gt; and then Click &lt;strong&gt;upload private key file&lt;/strong&gt; and select the key pair you downloaded&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fm2vy2rkd4yavf9m7owbs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fm2vy2rkd4yavf9m7owbs.png" alt="get password" width="800" height="351"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fic4hwflnbvqx2bui649l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fic4hwflnbvqx2bui649l.png" alt="upload private key file" width="800" height="348"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;13.Click &lt;strong&gt;Decrypt Password&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fs2pnrytso8koy0f18qjm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fs2pnrytso8koy0f18qjm.png" alt="Decrypt Password" width="800" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Copy the password to your clipboard because it will be needed&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;14.Click the &lt;strong&gt;download remote desktop file&lt;/strong&gt; and copy the &lt;strong&gt;password&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F22en0y94l7w4bcu4lo57.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F22en0y94l7w4bcu4lo57.png" alt="download remote desktop file" width="800" height="350"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;15.In the Connection security environment, click &lt;strong&gt;Connect&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fzk5vj707slz9jh219ykp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fzk5vj707slz9jh219ykp.png" alt="click Connect" width="800" height="348"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;16.Insert the copied password into the security environment, click &lt;strong&gt;OK&lt;/strong&gt;, and click &lt;strong&gt;Yes&lt;/strong&gt; for the subsequent pop-up. The &lt;strong&gt;EC2 instance&lt;/strong&gt; is then up and running. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fxxmqz2eg57yyvyt6vm3x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fxxmqz2eg57yyvyt6vm3x.png" alt="EC2 instance" width="800" height="350"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F9te1hifeyqrs5ei4si82.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F9te1hifeyqrs5ei4si82.png" alt="Connect RDP" width="583" height="615"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fgkdigqlfjqduml439obl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fgkdigqlfjqduml439obl.png" alt="Tekview Server launched" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Launching an &lt;strong&gt;EC2 instance&lt;/strong&gt; is one of the foundational skills in AWS. Once you understand &lt;strong&gt;AMIs, instance types, key pairs,&lt;/strong&gt; and &lt;strong&gt;security groups&lt;/strong&gt;, the rest of the AWS ecosystem becomes much easier to navigate. With your instance now running, you can deploy apps, host websites, run scripts, or explore more advanced AWS services.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thanks for reading, see you in the next one&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>aws</category>
      <category>ec2</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Update and maintain azure resources</title>
      <dc:creator>Samuel Ojo</dc:creator>
      <pubDate>Mon, 01 Dec 2025 02:59:02 +0000</pubDate>
      <link>https://dev.to/ojosamuel129/update-and-maintain-azure-resources-3ifn</link>
      <guid>https://dev.to/ojosamuel129/update-and-maintain-azure-resources-3ifn</guid>
      <description>&lt;p&gt;&lt;strong&gt;Lab overview&lt;/strong&gt;&lt;br&gt;
In this guided lab, you perform a series of tasks and actions to manage Microsoft Azure resources. You have the opportunity to modify a network, move a virtual machine between subnets, manage access to storage containers and file shares, and work with resource locks and resource tags.&lt;/p&gt;

&lt;p&gt;During the setup, you create a virtual network, a virtual machine, a storage account, and associated resources.&lt;/p&gt;

&lt;p&gt;Learning objectives&lt;br&gt;
In this module, you'll practice how to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Update a virtual network and subnet.&lt;/li&gt;
&lt;li&gt;Manage virtual machines.&lt;/li&gt;
&lt;li&gt;Control storage access.&lt;/li&gt;
&lt;li&gt;Manage resource tags and locks.&lt;/li&gt;
&lt;li&gt;Clean up&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;First, we prepare the environment:&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Login to Microsoft Azure&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Login to Microsoft Azure at &lt;a href="https://portal.azure.com" rel="noopener noreferrer"&gt;https://portal.azure.com&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fascufrgjkmqnxhzelo5g.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fascufrgjkmqnxhzelo5g.jpg" alt="Login to Microsoft Azure" width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a resource group&lt;/strong&gt;&lt;br&gt;
In order to make clean-up easy at the end, start with creating a new resource group to hold the resources for this guided project.&lt;br&gt;
Using resource groups to organize things is a quick way to ensure you can manage resources when a project is over.&lt;/p&gt;

&lt;p&gt;1.From the Azure portal home page, in the search box, enter &lt;strong&gt;resource groups&lt;/strong&gt;.&lt;br&gt;
2.Select &lt;strong&gt;Resource groups&lt;/strong&gt; under services.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fxj8g9xolwcnwp28qahj8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fxj8g9xolwcnwp28qahj8.png" alt="Search Resource groups" width="800" height="458"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.Select &lt;strong&gt;Create&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fx1z7xwqp86hubzsjqd7z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fx1z7xwqp86hubzsjqd7z.png" alt="Select Create resource" width="800" height="461"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Enter &lt;strong&gt;&lt;code&gt;guided-project-rg&lt;/code&gt;&lt;/strong&gt; in the &lt;strong&gt;Resource group name&lt;/strong&gt; field.&lt;br&gt;
5.The &lt;strong&gt;Region&lt;/strong&gt; field will automatically populate. Leave the default value.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fk4mahi99li8atgb8g45q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fk4mahi99li8atgb8g45q.png" alt="Resource group name" width="800" height="461"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.Select &lt;strong&gt;Review + create&lt;/strong&gt;.&lt;br&gt;
7.Select &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fa9ammu97jzme0smhuroo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fa9ammu97jzme0smhuroo.png" alt="Create resource group" width="800" height="461"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.Return to the home page of the Azure portal by selecting &lt;strong&gt;Home&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F4701et0kt8hje30autgt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F4701et0kt8hje30autgt.png" alt="Select Home" width="800" height="462"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a virtual network with one subnet&lt;/strong&gt;&lt;br&gt;
1.From the Azure portal home page, in the search box, enter &lt;strong&gt;virtual networks&lt;/strong&gt;.&lt;br&gt;
2.Select &lt;strong&gt;virtual networks&lt;/strong&gt; under services.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fjuvsd02yfo7k1yxxr77q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fjuvsd02yfo7k1yxxr77q.png" alt="Search virtual networks" width="800" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.Select &lt;strong&gt;Create&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.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%2F4g1vu6owjw3jmfyx7he7.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F4g1vu6owjw3jmfyx7he7.jpg" alt=" " width="800" height="462"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Scroll down to the &lt;strong&gt;Instance details&lt;/strong&gt; section and enter &lt;strong&gt;&lt;code&gt;guided-project-vnet&lt;/code&gt;&lt;/strong&gt; for the Virtual network name.&lt;/p&gt;

&lt;p&gt;5.Select &lt;strong&gt;Review + create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fd9mq6c4vqj6io5cr4mpe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fd9mq6c4vqj6io5cr4mpe.png" alt="Review + create" width="800" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.Select &lt;strong&gt;Create&lt;/strong&gt;.&lt;br&gt;
7.Wait for the screen to refresh and show &lt;strong&gt;Your deployment is complete&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F3of4p7kcatu7uende4xp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F3of4p7kcatu7uende4xp.png" alt="Your deployment is complete" width="800" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.Select &lt;strong&gt;Home&lt;/strong&gt; to return to the Azure portal home page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a virtual machine&lt;/strong&gt;&lt;br&gt;
1.From the Azure portal home page, in the search box, enter &lt;strong&gt;virtual machines&lt;/strong&gt;.&lt;br&gt;
2.Select &lt;strong&gt;virtual machines&lt;/strong&gt; under services.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F12llqetyyi99ogx2cmyg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F12llqetyyi99ogx2cmyg.png" alt="Select virtual machines" width="800" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.Select &lt;strong&gt;Create&lt;/strong&gt; and then select &lt;strong&gt;Virtual machine&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fvj5ts0xb1rjuiva42p3m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fvj5ts0xb1rjuiva42p3m.png" alt="Create and then select Virtual machine" width="800" height="469"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Select &lt;strong&gt;guided-project-rg&lt;/strong&gt; for the &lt;strong&gt;Resource group&lt;/strong&gt;.&lt;br&gt;
5.Enter &lt;strong&gt;&lt;code&gt;guided-project-vm&lt;/code&gt;&lt;/strong&gt; for the Virtual machine name.&lt;br&gt;
6.For the &lt;strong&gt;Image&lt;/strong&gt;, select one of the &lt;strong&gt;Ubuntu Server&lt;/strong&gt; options. (For example, Ubuntu Server 24.04 LTS - x64 Gen2)&lt;br&gt;
7.Continue further on the &lt;strong&gt;Basics&lt;/strong&gt; page to the &lt;strong&gt;Administrator account&lt;/strong&gt; section.&lt;br&gt;
8.Select &lt;strong&gt;Password&lt;/strong&gt; for authentication type.&lt;br&gt;
9.Enter &lt;strong&gt;&lt;code&gt;guided-project-admin&lt;/code&gt;&lt;/strong&gt; for the admin &lt;strong&gt;Username&lt;/strong&gt;.&lt;br&gt;
10.Enter a password for the admin account.&lt;br&gt;
11.Confirm the password for the admin account.&lt;br&gt;
12.Leave the rest of the settings as default settings. You can review the settings if you like, but shouldn’t change any.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select &lt;strong&gt;Review + create&lt;/strong&gt;.
14.Select &lt;strong&gt;Create&lt;/strong&gt; to confirm the resource cost and create the virtual machine.
15.Select &lt;strong&gt;Home&lt;/strong&gt; to return to the Azure portal home page.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Create a Storage account&lt;/strong&gt;&lt;br&gt;
1.From the Azure portal home page, in the search box, enter &lt;strong&gt;storage accounts&lt;/strong&gt;.&lt;br&gt;
2.Select &lt;strong&gt;Storage accounts&lt;/strong&gt; under services.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fsvwupia9silnra3qxzv6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fsvwupia9silnra3qxzv6.png" alt="Select Storage accounts" width="800" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.Select &lt;strong&gt;Create&lt;/strong&gt;.&lt;br&gt;
4.Scroll down to the &lt;strong&gt;Instance details&lt;/strong&gt; section and enter a name for the storage account. Storage accounts must be globally unique, so you may have to try a few different times to get a storage account name.&lt;br&gt;
5.Select &lt;strong&gt;Review + create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fna2uayl450mssdnb328g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fna2uayl450mssdnb328g.png" alt="Select Review + create" width="800" height="468"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.Select &lt;strong&gt;Create&lt;/strong&gt;.&lt;br&gt;
7.Wait for the screen to refresh and show &lt;strong&gt;Your deployment is complete&lt;/strong&gt;.&lt;br&gt;
8.Select &lt;strong&gt;Home&lt;/strong&gt; to return to the Azure portal home page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Exercise – Update the virtual network&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Scenario&lt;/strong&gt;&lt;br&gt;
You’re helping an Azure Admin maintain resources. While you won’t be responsible for maintaining the entire infrastructure, the Admin will ask you to help out by completing certain tasks. Currently, there’s a Linux virtual machine (VM) that’s underutilized, and a need for a new Linux machine to serve as an FTP server. However, the Azure admin wants to be able to track network flow and resource utilization for the needed FTP server, so has asked you to start out by provisioning a new subnet. The current subnet should be left alone, as there are future plans for using it for additional VMs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a new subnet on an existing virtual network (vNet)&lt;/strong&gt;&lt;br&gt;
1.Login to Microsoft Azure at &lt;a href="https://portal.azure.com" rel="noopener noreferrer"&gt;https://portal.azure.com&lt;/a&gt;&lt;br&gt;
2.From the Azure portal home page, in the search box, enter &lt;strong&gt;virtual networks&lt;/strong&gt;.&lt;br&gt;
3.Select &lt;strong&gt;virtual networks&lt;/strong&gt; under services.&lt;br&gt;
4.Select the &lt;strong&gt;&lt;em&gt;&lt;code&gt;guided-project-vnet&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt; virtual network.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F6wupebflcjz0htswm1bd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F6wupebflcjz0htswm1bd.png" alt="guided-project-vnet" width="800" height="468"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.From the &lt;strong&gt;&lt;em&gt;&lt;code&gt;guided-project-vnet&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt; blade, under settings, select Subnets.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ft05770gklqtk38uioolw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ft05770gklqtk38uioolw.png" alt="Under settings select Subnets" width="800" height="469"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.To add a subnet, select &lt;strong&gt;+ Subnet&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fvzh4ioustk4kklodszp9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fvzh4ioustk4kklodszp9.png" alt=" " width="800" height="471"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7.For &lt;strong&gt;Subnet purpose&lt;/strong&gt; leave it as &lt;strong&gt;Default&lt;/strong&gt;.&lt;br&gt;
8.For &lt;strong&gt;Name&lt;/strong&gt; enter: &lt;strong&gt;&lt;em&gt;`ftpSubnet&lt;/em&gt;`&lt;/strong&gt;.&lt;br&gt;
9.Leave the rest of the settings alone and select &lt;strong&gt;Add&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fgjvpjoonalnplgpihe85.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fgjvpjoonalnplgpihe85.png" alt="Enter Subnet name as ftpSubnet" width="800" height="471"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;10.Select &lt;strong&gt;Home&lt;/strong&gt; to return to the Azure portal home page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a network security group&lt;/strong&gt;&lt;br&gt;
1.From the Azure portal home page, in the search box, enter &lt;strong&gt;virtual networks&lt;/strong&gt;.&lt;br&gt;
2.Select &lt;strong&gt;virtual networks&lt;/strong&gt; under services.&lt;br&gt;
3.Select &lt;strong&gt;Network security groups&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F4u4x76in89aeutgm9hj9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F4u4x76in89aeutgm9hj9.png" alt="Network security groups" width="800" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Select &lt;strong&gt;+ Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fbjbssudxxu8k2am0cw2k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fbjbssudxxu8k2am0cw2k.png" alt="Select Create Network security groups" width="800" height="472"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Verify the subscription is correct.&lt;br&gt;
6.Select the &lt;strong&gt;&lt;em&gt;&lt;code&gt;guided-project-rg&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt; resource group.&lt;br&gt;
7.Enter &lt;strong&gt;&lt;em&gt;&lt;code&gt;ftpNSG&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt; for the network security group name.&lt;br&gt;
8.Select &lt;strong&gt;Review + create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fm5l4fatujlscfssg45k4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fm5l4fatujlscfssg45k4.png" alt=" " width="800" height="472"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;1.Once the validation is complete, select &lt;strong&gt;Create&lt;/strong&gt;.&lt;br&gt;
2.Wait for the screen to refresh and display &lt;strong&gt;Your deployment is complete&lt;/strong&gt;.&lt;br&gt;
3.Select &lt;strong&gt;Go to resource&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fvf4r1nd444orch7ttoxe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fvf4r1nd444orch7ttoxe.png" alt="Go to resource" width="800" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create an inbound security rule&lt;/strong&gt;&lt;br&gt;
1.Under settings, select &lt;strong&gt;Inbound security rules&lt;/strong&gt;.&lt;br&gt;
2.Select &lt;strong&gt;+ Add&lt;/strong&gt;.&lt;br&gt;
3.Change the Destination port ranges from 8080 to 22.&lt;br&gt;
4.Select &lt;strong&gt;TCP&lt;/strong&gt; for the protocol.&lt;br&gt;
5.Set the name to &lt;strong&gt;&lt;em&gt;&lt;code&gt;ftpInbound&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt;.&lt;br&gt;
6.Select &lt;strong&gt;Add&lt;/strong&gt;.&lt;br&gt;
7.Select &lt;strong&gt;Home&lt;/strong&gt; to return to the Azure portal home page.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F6p6cr2p80mk3kchqcdcs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F6p6cr2p80mk3kchqcdcs.png" alt=" " width="800" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Move the virtual machine network to the new subnet&lt;/strong&gt;&lt;br&gt;
1.Login to Microsoft Azure at &lt;a href="https://portal.azure.com" rel="noopener noreferrer"&gt;https://portal.azure.com&lt;/a&gt;&lt;br&gt;
2.From the Azure portal home page, in the search box, enter &lt;strong&gt;virtual machines&lt;/strong&gt;.&lt;br&gt;
3.Select &lt;strong&gt;virtual machines&lt;/strong&gt; under services.&lt;br&gt;
4.Select the &lt;strong&gt;&lt;em&gt;&lt;code&gt;guided-project-vm&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt; virtual machine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fk010onry1r82xirlctsy.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fk010onry1r82xirlctsy.jpg" alt="Select the guided-project-vm" width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.If the virtual machine is running, select &lt;strong&gt;Stop&lt;/strong&gt;.&lt;br&gt;
6.Wait for the &lt;strong&gt;Status&lt;/strong&gt; field to update and show &lt;strong&gt;Stopped (deallocated)&lt;/strong&gt;.&lt;br&gt;
7.Within the &lt;strong&gt;Networking&lt;/strong&gt; subsection of the menu, select &lt;strong&gt;Network settings&lt;/strong&gt;.&lt;br&gt;
8.Select the Network interface / IP configuration hyperlink for the VM.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F41zqapzqzm7kq30jcxty.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F41zqapzqzm7kq30jcxty.png" alt="Select the Network interface/IP configuration" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;9.On the &lt;strong&gt;IP Configurations&lt;/strong&gt; page, update the &lt;strong&gt;Subnet&lt;/strong&gt; to &lt;strong&gt;&lt;em&gt;&lt;code&gt;ftpSubnet&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt;.&lt;br&gt;
10.Select &lt;strong&gt;Apply&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fccwjgdhluvhdvlyplcxy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fccwjgdhluvhdvlyplcxy.png" alt="Apply ftpSubnet" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;11.Select &lt;strong&gt;Home&lt;/strong&gt; to return to the Azure portal home page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Vertically scale the virtual machine&lt;/strong&gt;&lt;br&gt;
1.From the Azure portal home page, in the search box, enter virtual machines.&lt;br&gt;
2.Select &lt;strong&gt;virtual machines&lt;/strong&gt; under services.&lt;br&gt;
3.Select the guided-project-vm virtual machine.&lt;br&gt;
4.Locate the &lt;strong&gt;Availability + scale&lt;/strong&gt; submenu and select &lt;strong&gt;Size&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fzsefor6hf4n8hb16xy2i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fzsefor6hf4n8hb16xy2i.png" alt="Availability + scale" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Select a new VM size &lt;strong&gt;D2s_v5&lt;/strong&gt; for example. (Note: If you don’t see the same size as shown in this exercise, select something similar.)&lt;br&gt;
6.Select &lt;strong&gt;Resize&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fnm8qeks74k1434nkba9r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fnm8qeks74k1434nkba9r.png" alt="New VM size" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7.Select Home to return to the Azure portal home page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Attach data disks to a virtual machine&lt;/strong&gt;&lt;br&gt;
1.From the Azure portal home page, in the search box, enter &lt;strong&gt;virtual machines&lt;/strong&gt;.&lt;br&gt;
2.Select &lt;strong&gt;virtual machines&lt;/strong&gt; under services.&lt;br&gt;
3.Select the &lt;strong&gt;&lt;em&gt;&lt;code&gt;guided-project-vm&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt; virtual machine.&lt;br&gt;
4.Locate the &lt;strong&gt;settings&lt;/strong&gt; submenu and select &lt;strong&gt;Disks&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ffa1tu7z4jegq4c8euryy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ffa1tu7z4jegq4c8euryy.png" alt="Select Disks" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Select &lt;strong&gt;Create and attach a new disk&lt;/strong&gt;.&lt;br&gt;
6.Leave LUN as default.&lt;br&gt;
7.Enter &lt;strong&gt;&lt;em&gt;&lt;code&gt;ftp-data-disk&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt; for the Disk name.&lt;br&gt;
8.Leave the Storage type as default.&lt;br&gt;
9.Enter &lt;strong&gt;&lt;em&gt;&lt;code&gt;20&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt; for the Size.&lt;br&gt;
10.Select &lt;strong&gt;Apply&lt;/strong&gt; to create the new storage disk and attach the disk to the machine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fvq9r8uqep5k1orj3spzc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fvq9r8uqep5k1orj3spzc.png" alt="Create and attach a new disk" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;11.Select &lt;strong&gt;Home&lt;/strong&gt; to return to the Azure portal home page.&lt;/p&gt;

&lt;p&gt;Nice! Now the VM has enough storage to handle some uploads.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Configure automatic shutdown on a virtual machine&lt;/strong&gt;&lt;br&gt;
1.From the Azure portal home page, in the search box, enter &lt;strong&gt;virtual machines&lt;/strong&gt;.&lt;br&gt;
2.Select &lt;strong&gt;virtual machines&lt;/strong&gt; under services.&lt;br&gt;
3.Select the &lt;strong&gt;&lt;em&gt;&lt;code&gt;guided-project-vm&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt; virtual machine.&lt;br&gt;
4.Under the &lt;strong&gt;Operations&lt;/strong&gt; submenu, select &lt;strong&gt;Auto-shutdown&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F8gmnksd8fiijzytfghor.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F8gmnksd8fiijzytfghor.png" alt="Auto-shutdown" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.In order to let late uploads finish, set the &lt;strong&gt;Scheduled shutdown&lt;/strong&gt; to &lt;strong&gt;&lt;em&gt;&lt;code&gt;7:15:00 PM&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt;.&lt;br&gt;
6.Select &lt;strong&gt;Save&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F22u2c5zydgy9mmx72wcw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F22u2c5zydgy9mmx72wcw.png" alt="Scheduled shutdown" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7.Select &lt;strong&gt;Home&lt;/strong&gt; to return to the Azure portal home page.&lt;/p&gt;

&lt;p&gt;Congratulations! You’ve successfully completed all of the management tasks the Azure admin needed a hand with for the virtual machine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Exercise – Control storage access&lt;/strong&gt;&lt;br&gt;
In this lab, you’ll complete several tasks related to managing a storage account and components of the storage account.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;&lt;br&gt;
The Azure admin wants you to get more familiar with storage accounts, containers, and file shares. They anticipate needing to share an increasing number of files and need someone who is skilled using these services. They’ve given you a task of creating a storage container and a file share and uploading files to both locations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a storage container&lt;/strong&gt;&lt;br&gt;
1.Login to Microsoft Azure at &lt;a href="https://portal.azure.com" rel="noopener noreferrer"&gt;https://portal.azure.com&lt;/a&gt;&lt;br&gt;
2.From the Azure portal home page, in the search box, enter &lt;strong&gt;storage accounts&lt;/strong&gt;.&lt;br&gt;
3.Select &lt;strong&gt;storage accounts&lt;/strong&gt; under services.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select the &lt;strong&gt;storage account&lt;/strong&gt; you created in the &lt;strong&gt;Prepare&lt;/strong&gt; exercise. The storage account &lt;strong&gt;name&lt;/strong&gt; is the hyperlink to the storage account. (Note: it should be associated with the resource group &lt;strong&gt;&lt;em&gt;&lt;code&gt;guided-project-rg&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt;.)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fe77vwf6qqk3lwjw7x1l0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fe77vwf6qqk3lwjw7x1l0.png" alt="Select storage accounts" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.On the storage account blade, under the &lt;strong&gt;Data storage&lt;/strong&gt; submenu, select &lt;strong&gt;Containers&lt;/strong&gt;.&lt;br&gt;
6.Select &lt;strong&gt;+ Add container&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F42dfn1igsm8nkiomqmtv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F42dfn1igsm8nkiomqmtv.png" alt="Add storage accounts" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7.In the &lt;strong&gt;Name&lt;/strong&gt; field, enter &lt;strong&gt;&lt;em&gt;&lt;code&gt;storage-container&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt;.&lt;br&gt;
5.Select &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fwtgatbe5upmh6id46qt2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fwtgatbe5upmh6id46qt2.png" alt="Create storage-container" width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Great! With a storage container created, you can upload a blob to the container. Locate a picture that you can upload, either on your computer or from the internet, and save it locally to make uploading easier.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Upload a file to the storage container&lt;/strong&gt;&lt;br&gt;
1.Select the storage container you just created.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ff6f2kk0dt2h4uwbps6qz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ff6f2kk0dt2h4uwbps6qz.png" alt="Select the new storage container" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.Select &lt;strong&gt;Upload&lt;/strong&gt; and upload the file you prepared.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F7ahbuk5f0wjiofnpu1qa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F7ahbuk5f0wjiofnpu1qa.png" alt="Upload File" width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.Once the file is ready for upload, select Upload.&lt;/p&gt;

&lt;p&gt;With the file uploaded, notice that the Access tier is displayed. For something we uploaded just for testing, it doesn’t need to be assigned to the &lt;strong&gt;Hot&lt;/strong&gt; access tier. In the next few steps, you’ll change the access tier for the file.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Change the access tier&lt;/strong&gt;&lt;br&gt;
1.Select the file you just uploaded (the file name is a hyperlink).&lt;br&gt;
2.Select &lt;strong&gt;Change tier&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F9fby3k5x0uyy04yhrgxo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F9fby3k5x0uyy04yhrgxo.png" alt=" " width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.Select &lt;strong&gt;Cold&lt;/strong&gt;.&lt;br&gt;
4.Select &lt;strong&gt;Save&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fdgai4dhq0rw175u1at0j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fdgai4dhq0rw175u1at0j.png" alt=" " width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Select &lt;strong&gt;Home&lt;/strong&gt; to return to the Azure portal home page.&lt;/p&gt;

&lt;p&gt;Good job! You’ve successfully uploaded a storage blob and changed the access tier from Hot to Cold. Next, you’ll work with file shares.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a file share&lt;/strong&gt;&lt;br&gt;
1.From the Azure portal home page, in the search box, enter &lt;strong&gt;storage accounts&lt;/strong&gt;.&lt;br&gt;
2.Select storage accounts under services.&lt;br&gt;
3.Select the &lt;strong&gt;storage account&lt;/strong&gt; you created in the &lt;strong&gt;Prepare&lt;/strong&gt; exercise. The storage account &lt;strong&gt;name&lt;/strong&gt; is the hyperlink to the storage account. (Note: it should be associated with the resource group &lt;strong&gt;&lt;em&gt;&lt;code&gt;guided-project-rg&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt;.)&lt;br&gt;
4.On the storage account blade, under the &lt;strong&gt;Data storage&lt;/strong&gt; submenu, select &lt;strong&gt;File shares&lt;/strong&gt;.&lt;br&gt;
5.Select &lt;strong&gt;+ File share&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fvgd6gl5xc010yq7s0d1m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fvgd6gl5xc010yq7s0d1m.png" alt="Select File share" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.On the &lt;strong&gt;Basics&lt;/strong&gt; tab, in the name field enter &lt;strong&gt;&lt;em&gt;&lt;code&gt;file-share&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fwzrep5spuvf467xbsjzq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fwzrep5spuvf467xbsjzq.png" alt="file-share" width="800" height="278"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7.On the &lt;strong&gt;Backup&lt;/strong&gt; tab, uncheck &lt;strong&gt;Enable backup&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fyw5l79gyaalhoxfux13p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fyw5l79gyaalhoxfux13p.png" alt="Enable backup" width="800" height="200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.Select &lt;strong&gt;Review + create&lt;/strong&gt;.&lt;br&gt;
9.Select &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fq5qnweulfabv1b197jyp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fq5qnweulfabv1b197jyp.png" alt="Create file share" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;10.Once the file share is created, select &lt;strong&gt;Upload&lt;/strong&gt;.&lt;br&gt;
11.Upload the same file you uploaded to the blob storage or a different file, it’s up to you.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkmfd2stj50zuwi2hklt1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkmfd2stj50zuwi2hklt1.png" alt="Upload file" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;12.Select &lt;strong&gt;Home&lt;/strong&gt; to return to the Azure portal home page.&lt;/p&gt;

&lt;p&gt;The next piece of the puzzle is figuring one way to control access to the files that have been uploaded. Azure has many ways to control files, including things like role-based access control. In this scenario, the Azure admin wants you to use shared access tokens or keys.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a shared access signature token&lt;/strong&gt;&lt;br&gt;
1.From the Azure portal home page, in the search box, enter &lt;strong&gt;storage accounts&lt;/strong&gt;.&lt;br&gt;
2.Select &lt;strong&gt;storage accounts&lt;/strong&gt; under services.&lt;br&gt;
3.Select the storage account you created in the &lt;strong&gt;Prepare&lt;/strong&gt; exercise.&lt;br&gt;
4.On the storage account blade, select &lt;strong&gt;Storage browser&lt;/strong&gt;.&lt;br&gt;
5.Expand &lt;strong&gt;Blob containers&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; &lt;strong&gt;Blob container&lt;/strong&gt; is another name for the &lt;strong&gt;storage containers&lt;/strong&gt;. Items uploaded to a storage container are called &lt;strong&gt;blobs&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;6.Select the storage container you created earlier, &lt;strong&gt;storage-container&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fnuua04nm8o95r59sb1yq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fnuua04nm8o95r59sb1yq.png" alt=" " width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7.Select the ellipses (three dots) on the end of the line for the image you uploaded.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fy1un3rb1w92ycujin8a5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fy1un3rb1w92ycujin8a5.png" alt="Image upload" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.Select &lt;strong&gt;Generate SAS&lt;/strong&gt;.&lt;br&gt;
9.Set &lt;strong&gt;Signing method&lt;/strong&gt; to &lt;strong&gt;Account key&lt;/strong&gt;.&lt;br&gt;
10.Set &lt;strong&gt;Signing key&lt;/strong&gt; to &lt;strong&gt;Key 1&lt;/strong&gt;&lt;br&gt;
11.Set &lt;strong&gt;Stored access polic&lt;/strong&gt;y to &lt;strong&gt;None&lt;/strong&gt;.&lt;br&gt;
12.Set &lt;strong&gt;Permissions&lt;/strong&gt; to &lt;strong&gt;Read&lt;/strong&gt;.&lt;br&gt;
13.Enter a custom start and expiry time or leave the defaults.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fi9x7b9ua3c5tfnug58xs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fi9x7b9ua3c5tfnug58xs.png" alt="Generate SAS" width="800" height="356"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;14.Set &lt;strong&gt;Allowed protocols&lt;/strong&gt; to &lt;strong&gt;HTTPS only&lt;/strong&gt;.&lt;br&gt;
15.Select &lt;strong&gt;Generate SAS token and URI&lt;/strong&gt;.&lt;br&gt;
16.Copy the &lt;strong&gt;Blob SAS URL&lt;/strong&gt; and paste it in another window or tab of your browser. It should display the image you uploaded. Keep this tab or window open.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fxd0643onqcfopihrfot3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fxd0643onqcfopihrfot3.png" alt=" " width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;17.Select &lt;strong&gt;Home&lt;/strong&gt; to return to the Azure portal home page.&lt;/p&gt;

&lt;p&gt;With the SAS token created, anyone with that link can access the file for the duration that was set when you created the SAS token. However, controlling access to a resource or file is about more than just granting access. It’s also about being able to revoke access. To revoke access with a SAS token, you need to invalidate the token. You invalidate the token by rotating the key that was used.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rotate access keys&lt;/strong&gt;&lt;br&gt;
1.From the Azure portal home page, in the search box, enter &lt;strong&gt;storage accounts&lt;/strong&gt;.&lt;br&gt;
2.Select &lt;strong&gt;storage accounts&lt;/strong&gt; under services.&lt;br&gt;
3.Select the storage account you created in the &lt;strong&gt;Prepare&lt;/strong&gt; exercise.&lt;br&gt;
4.Expand the &lt;strong&gt;Security + networking&lt;/strong&gt; submenu.&lt;br&gt;
5.Select &lt;strong&gt;Access keys&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fg9xm6yhi3bgwofk79llb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fg9xm6yhi3bgwofk79llb.png" alt="Security + networking" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.For Key 1, select &lt;strong&gt;Rotate key&lt;/strong&gt;.&lt;br&gt;
7.Read and then acknowledge the warning about regenerating the access key by selecting &lt;strong&gt;Yes&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fa8re9ahxp6szerwkzdte.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fa8re9ahxp6szerwkzdte.png" alt="Rotate key" width="800" height="240"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.Once you see the success message for rotating the access key, go back to the window or tab you used to check the SAS token and refresh the page. You should receive an authentication failed error.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before:&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fwwkj5ikujziobk4igt4r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fwwkj5ikujziobk4igt4r.png" alt="SAS token" width="800" height="484"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;After: *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ffgialon2e1kirk06rtjn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ffgialon2e1kirk06rtjn.png" alt="Refresh SAS token" width="800" height="236"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Exercise – Manage tags and locks&lt;/strong&gt;&lt;br&gt;
If you’ve completed the previous exercises, you’ve managed added a subnet to a virtual network, made changes to a virtual machine, and worked with an Azure storage account. The final set of tasks for this guided project focus around working with &lt;strong&gt;tags&lt;/strong&gt; and &lt;strong&gt;resource locks&lt;/strong&gt; to help manage and monitor your environment. During this exercise you’ll go back into each of the areas you’ve already worked to add tags, locks, or a combination of both.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;&lt;br&gt;
Pleased with your progress so far, the Azure admin hopes that you can wrap a few things up to help with monitoring and protecting resources. They want to know that someone can’t accidentally get rid of the virtual machine that’s running as an FTP server, and they want a quick way to see what department is using resources and the resource’s purpose.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Manage tags and locks on VMs&lt;/strong&gt;&lt;br&gt;
Adding tags to resources is a quick way to be able to group and organize resources. Tags can be added at different levels, giving you the ability to organize and group resources at a level that makes sense for you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Add tags to a virtual machine&lt;/strong&gt;&lt;br&gt;
You’ll start by adding a pair of tags to the virtual machine. One tag will be to identify the purpose of the virtual machine and the other will be to indicate the department the machine supports.&lt;/p&gt;

&lt;p&gt;1.Login to Microsoft Azure at &lt;a href="https://portal.azure.com" rel="noopener noreferrer"&gt;https://portal.azure.com&lt;/a&gt;&lt;br&gt;
2.From the Azure portal home page, in the search box, enter &lt;strong&gt;virtual machines&lt;/strong&gt;.&lt;br&gt;
3.Select &lt;strong&gt;virtual machines&lt;/strong&gt; under services.&lt;br&gt;
4.Select the &lt;strong&gt;&lt;em&gt;&lt;code&gt;guided-project-vm&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt; virtual machine.&lt;br&gt;
5.From the menu pane, select &lt;strong&gt;Tags&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F3o40kpxdj3zp9tulz0ky.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F3o40kpxdj3zp9tulz0ky.png" alt="Tags" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.On one line for &lt;strong&gt;Name&lt;/strong&gt; enter &lt;strong&gt;&lt;em&gt;&lt;code&gt;Department&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt; and for Value enter &lt;strong&gt;&lt;em&gt;&lt;code&gt;Customer Service&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
7.On the next line, for &lt;strong&gt;Name&lt;/strong&gt; enter &lt;strong&gt;&lt;em&gt;&lt;code&gt;Purpose&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt; and for &lt;strong&gt;Value&lt;/strong&gt; enter &lt;strong&gt;&lt;em&gt;&lt;code&gt;FTP Server&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt;.&lt;br&gt;
8.Select &lt;strong&gt;Apply&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fuya1oieuv7yymsw4hqgd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fuya1oieuv7yymsw4hqgd.png" alt="Apply Tag" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While you’re working on the virtual machine, it’s a great time to add a resource lock.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Add a resource lock to a VM&lt;/strong&gt;&lt;br&gt;
1.If necessary, expand the &lt;strong&gt;Settings&lt;/strong&gt; submenu.&lt;br&gt;
2.Select &lt;strong&gt;Locks&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fll9crmgp3oullozpgsu2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fll9crmgp3oullozpgsu2.png" alt="Select Locks" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.Select &lt;strong&gt;+ Add&lt;/strong&gt;.&lt;br&gt;
4.For the name, enter &lt;strong&gt;&lt;em&gt;&lt;code&gt;VM-delete-lock&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt;.&lt;br&gt;
5.For the &lt;strong&gt;Lock type&lt;/strong&gt;, select &lt;strong&gt;Delete&lt;/strong&gt;.&lt;br&gt;
6.You may enter a note to help remind you why you created the lock.&lt;br&gt;
7.Select &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F1qipm2vohkt7lzowhubh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F1qipm2vohkt7lzowhubh.png" alt="Add lock" width="800" height="445"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;That’s it. Now the VM is protected from deletion and has tags assigned to help track use. Time to move onto the network.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.Select &lt;strong&gt;Home&lt;/strong&gt; to return to the Azure portal home page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Add tags to network resources&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.From the Azure portal home page, in the search box, enter &lt;strong&gt;virtual network&lt;/strong&gt;s.&lt;br&gt;
2.Select &lt;strong&gt;virtual networks&lt;/strong&gt; under services.&lt;br&gt;
3.Select the &lt;strong&gt;&lt;em&gt;`guided-project-vnet&lt;/em&gt;&lt;/strong&gt;` network.&lt;br&gt;
4.From the menu pane, select &lt;strong&gt;Tags&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; &lt;em&gt;Notice that now you can select an existing tag to apply or add a new tag. You can also select just the name or value and apply create something new in the other field.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;5.For the &lt;strong&gt;Name&lt;/strong&gt; select &lt;strong&gt;Department&lt;/strong&gt;.&lt;br&gt;
6.For the &lt;strong&gt;Value&lt;/strong&gt; enter &lt;strong&gt;&lt;em&gt;&lt;code&gt;IT&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt;.&lt;br&gt;
7.Select &lt;strong&gt;Apply&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fi7cq9bebusizn1om37d7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fi7cq9bebusizn1om37d7.png" alt="Add tags to network resources" width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now both the VNet and VM have are organized.&lt;/p&gt;

&lt;p&gt;Congratulations! You’ve completed this exercise.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Exercise – Clean up&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Warning:&lt;/strong&gt; Failure to complete this &lt;strong&gt;Clean up&lt;/strong&gt; task could result in unexpected Azure costs. This task will remove resources created during this guided project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Remove delete locks&lt;/strong&gt;&lt;br&gt;
If you attempt to delete a resource with a delete lock, you’ll receive a warning that the operation failed due to a delete lock being in place. To avoid that, it’s important to clear delete locks from resources you intend to delete &lt;strong&gt;before&lt;/strong&gt; issuing the delete command.&lt;/p&gt;

&lt;p&gt;1.Login to Microsoft Azure at &lt;a href="https://portal.azure.com" rel="noopener noreferrer"&gt;https://portal.azure.com&lt;/a&gt;&lt;br&gt;
2.From the Azure portal home page, in the search box, enter &lt;strong&gt;virtual machines&lt;/strong&gt;.&lt;br&gt;
3.Select &lt;strong&gt;virtual machines&lt;/strong&gt; under services.&lt;br&gt;
4.Select the &lt;strong&gt;&lt;em&gt;`guided-project-vm&lt;/em&gt;&lt;/strong&gt;` virtual machine.&lt;br&gt;
5.If necessary, expand the &lt;strong&gt;Settings&lt;/strong&gt; submenu.&lt;br&gt;
6.Select &lt;strong&gt;Locks&lt;/strong&gt;.&lt;br&gt;
7.Select &lt;strong&gt;Delete&lt;/strong&gt; on the line for the VM-delete-lock.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fdcllob067jj47gm0pwt2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fdcllob067jj47gm0pwt2.png" alt="Delete Locks" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.On the pop-up window, select Delete to confirm deletion of the lock.&lt;/p&gt;

&lt;p&gt;Once the delete lock is removed, you’ll be able to delete the VM. While this was the only delete lock required by the exercise, if you applied other delete locks during the exercise, remove them now. When you’re done, select &lt;strong&gt;Home&lt;/strong&gt; to return to the Azure portal home page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Delete the project resource group&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A key benefit of using resource groups is the ability to rapidly delete all of the resources assigned to a resource group at once.&lt;/p&gt;

&lt;p&gt;1.From the Azure portal home page, in the search box, enter Resource groups.&lt;br&gt;
2.Select &lt;strong&gt;resource groups&lt;/strong&gt; under services.&lt;br&gt;
3.Select the &lt;strong&gt;guided-project-rg&lt;/strong&gt; resource group.&lt;br&gt;
4.Select &lt;strong&gt;Delete resource group&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F8awipdxela2fgceea6z7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F8awipdxela2fgceea6z7.png" alt="Selectresource group" width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Select &lt;strong&gt;Apply force delete…&lt;/strong&gt;&lt;br&gt;
6.Enter &lt;strong&gt;&lt;em&gt;&lt;code&gt;guided-project-rg&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt; in the confirmation box.&lt;br&gt;
7.Select &lt;strong&gt;Delete&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fh5qt9nqfusgynu2zh8qm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fh5qt9nqfusgynu2zh8qm.png" alt="Delete resource group" width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.On the Delete confirmation pop-up, select &lt;strong&gt;Delete&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fcig4vorzgwtkkjokw9bi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fcig4vorzgwtkkjokw9bi.png" alt="Select Delete" width="773" height="820"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It will approximately 5 minutes before the resource group is fully deleted. You’ll need to refresh the resource group page every few minutes until the guided-project-rg is gone to confirm complete deletion.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important:&lt;/strong&gt; Recall at the beginning of the Guided Project you checked for a **NetworkWatcherRG **resource group. If there WAS a NetworkWatcherRG when you started, then you’re finished. However, if the NetworkWatcherRG was created for the guided project, you’ll need to delete the NetworkWatcherRG as well following a nearly identical process.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Delete the NetworkWatcherRG&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.From the Azure portal home page, in the search box, enter &lt;strong&gt;Resource groups&lt;/strong&gt;.&lt;br&gt;
2.Select &lt;strong&gt;resource groups&lt;/strong&gt; under services.&lt;br&gt;
3.Select the &lt;strong&gt;NetworkWatcherRG **resource group.&lt;br&gt;
4.Select **Delete resource group&lt;/strong&gt;.&lt;br&gt;
5.Enter &lt;strong&gt;&lt;em&gt;&lt;code&gt;NetworkWatcherRG&lt;/code&gt;&lt;/em&gt;&lt;/strong&gt; in the confirmation box.&lt;br&gt;
6.Select &lt;strong&gt;Delete&lt;/strong&gt;.&lt;br&gt;
7.On the Delete confirmation pop-up, select &lt;strong&gt;Delete&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fglr73fwc5k85hdctcpp7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fglr73fwc5k85hdctcpp7.png" alt="Delete NetworkWatcherRG resource group" width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It will approximately 5 minutes before the resource group is fully deleted. You’ll need to refresh the resource group page every few minutes until the NetworkWatcherRG is gone to confirm complete deletion.&lt;/p&gt;

&lt;p&gt;Congratulations – you’ve finished the Guided Project and the clean up task at the end. Now head back to Learn to finish the rest of the module.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thanks for reading — see you in the next one&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>management</category>
      <category>networking</category>
      <category>azure</category>
      <category>cloudcomputing</category>
    </item>
    <item>
      <title>How to Add a Data Disk to a VM</title>
      <dc:creator>Samuel Ojo</dc:creator>
      <pubDate>Thu, 27 Nov 2025 02:26:31 +0000</pubDate>
      <link>https://dev.to/ojosamuel129/how-to-add-a-data-disk-to-a-vm-532f</link>
      <guid>https://dev.to/ojosamuel129/how-to-add-a-data-disk-to-a-vm-532f</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
When working with &lt;strong&gt;Azure Virtual Machines (VMs)&lt;/strong&gt;, you may need additional storage for application data, logs, or backups. Instead of resizing the OS disk, the best practice is to attach a &lt;strong&gt;data disk&lt;/strong&gt;. This guide walks you through adding a &lt;strong&gt;data disk&lt;/strong&gt; to an &lt;strong&gt;Azure VM&lt;/strong&gt; using the &lt;strong&gt;Azure Portal&lt;/strong&gt; and configuring it at the operating system level.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Terms &amp;amp; Definitions&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Azure Virtual Machine (VM):&lt;/strong&gt;&lt;br&gt;
A scalable computing resource in Microsoft Azure that runs Windows or Linux operating systems, allowing you to deploy applications and workloads in the cloud.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Disk:&lt;/strong&gt;&lt;br&gt;
An additional disk attached to a VM for storing application data, logs, or backups. Unlike the OS disk, data disks are used for flexible storage expansion.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Managed Disk:&lt;/strong&gt;&lt;br&gt;
An Azure-managed storage resource that simplifies disk management by handling storage accounts and replication automatically.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Encryption:&lt;/strong&gt;&lt;br&gt;
A security feature that protects data on disks by converting it into a secure format that can only be accessed with proper keys.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Azure Portal:&lt;/strong&gt;&lt;br&gt;
A web-based interface for managing Azure resources, including VMs, disks, networking, and security settings.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;br&gt;
Before you begin:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You have an existing Azure VM (Linux or Windows).&lt;/li&gt;
&lt;li&gt;You have Contributor or higher permissions in your Azure subscription.&lt;/li&gt;
&lt;li&gt;Basic familiarity with Azure Portal navigation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Create virtual machine&lt;/strong&gt;&lt;br&gt;
1.Navigate to &lt;a href="https://portal.azure.com.-" rel="noopener noreferrer"&gt;https://portal.azure.com.-&lt;/a&gt; Sign in with your Azure account credentials.&lt;br&gt;
Enter &lt;strong&gt;&lt;code&gt;virtual machines&lt;/code&gt;&lt;/strong&gt; in the search box.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fug72pdmqb5hai9bwtu44.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fug72pdmqb5hai9bwtu44.jpg" alt=" " width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F8w12s3c0faqi7jg5oqwr.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F8w12s3c0faqi7jg5oqwr.jpg" alt=" " width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.Under &lt;strong&gt;Services&lt;/strong&gt;, select &lt;strong&gt;Virtual machines&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F97qd1byjfytadiouf621.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F97qd1byjfytadiouf621.jpg" alt=" " width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.In the &lt;strong&gt;Basics&lt;/strong&gt; tab, under &lt;strong&gt;Project details&lt;/strong&gt;, make sure the correct subscription is selected and then choose or &lt;strong&gt;Create new&lt;/strong&gt; resource group. Mine is &lt;strong&gt;&lt;code&gt;winserver10rg&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ffqovmh705vgjbcnxtmxq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ffqovmh705vgjbcnxtmxq.png" alt="Create new resource group" width="800" height="433"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Under &lt;strong&gt;Instance details&lt;/strong&gt;, enter &lt;strong&gt;&lt;code&gt;winserver10Vm&lt;/code&gt;&lt;/strong&gt; for the &lt;strong&gt;Virtual machine name&lt;/strong&gt;, and choose  choose &lt;strong&gt;Windows 10 Enterprise, version 22H2 - x64 Gen2&lt;/strong&gt; for the &lt;strong&gt;Image&lt;/strong&gt;. The default size and pricing is only shown as an example. Size availability and pricing are dependent on your region and subscription.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F15gvqox0dhs5he7e0dr5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F15gvqox0dhs5he7e0dr5.png" alt="Windows 10 Enterprise" width="800" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Under &lt;strong&gt;Administrator account&lt;/strong&gt;, select &lt;strong&gt;password&lt;/strong&gt;.&lt;br&gt;
6.In &lt;strong&gt;Username&lt;/strong&gt; enter &lt;strong&gt;&lt;code&gt;azureuser&lt;/code&gt;&lt;/strong&gt;.&lt;br&gt;
7.Enter &lt;strong&gt;password&lt;/strong&gt; and &lt;strong&gt;confirm password&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fx9nmolyy2t9y96sw7fqy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fx9nmolyy2t9y96sw7fqy.png" alt="Administrator account" width="690" height="153"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.Under &lt;strong&gt;Inbound port rules &amp;gt; Public inbound ports&lt;/strong&gt;, choose &lt;strong&gt;Allow selected ports&lt;/strong&gt; and then select &lt;strong&gt;HTTP (80)&lt;/strong&gt; and &lt;strong&gt;RFDP(3389)&lt;/strong&gt; from the drop-down.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fa5durxiduttxd22g98v5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fa5durxiduttxd22g98v5.png" alt="Inbound port rules &amp;gt; Public inbound ports&amp;lt;br&amp;gt;
" width="689" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;9.Navigate to &lt;strong&gt;Monitoring&lt;/strong&gt; tab &amp;gt; &lt;strong&gt;Diagnostics &amp;gt;&lt;/strong&gt; select &lt;strong&gt;Disable&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F1otmqfv33eal0my5345r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F1otmqfv33eal0my5345r.png" alt="Monitoring Diagnostics snd select Disable" width="800" height="432"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Navigate to &lt;strong&gt;Tags&lt;/strong&gt; tab. Create Tag (&lt;strong&gt;Name&lt;/strong&gt; and &lt;strong&gt;value&lt;/strong&gt;). Then select the &lt;strong&gt;Review + create&lt;/strong&gt; button at the bottom of the page&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F3sde2fy6npp7ryq7ab5n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F3sde2fy6npp7ryq7ab5n.png" alt="Create Tag" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;10.On the &lt;strong&gt;Create a virtual machine&lt;/strong&gt; page, you can see the details about the VM you are about to create. When you are ready, select &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F8lxz1a9wtfz931c1mkn7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F8lxz1a9wtfz931c1mkn7.png" alt="Create a virtual machine" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;11.When the deployment is finished, select &lt;strong&gt;Go to resource&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F7ti8lcclm8ka8vqekknw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F7ti8lcclm8ka8vqekknw.png" alt="Go to resource" width="800" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;12.On the page for your new VM, select the &lt;strong&gt;public IP&lt;/strong&gt; address and copy it to your clipboard.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fu1bmr4b0uxuuw2urlb0j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fu1bmr4b0uxuuw2urlb0j.png" alt="Public IP" width="800" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;13.Increase the &lt;strong&gt;Idle timeout (minutes) to 30&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fqw3z22w7h2rkj7tu4p5v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fqw3z22w7h2rkj7tu4p5v.png" alt="Idle timeout" width="800" height="459"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Create data disk&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on the virtual machine created to go to its &lt;strong&gt;overview page&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;On the overview go to &lt;strong&gt;settings&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Click settings, then select disks&lt;/li&gt;
&lt;li&gt;On Data disks page, click on &lt;strong&gt;+ create and attach new disk&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;LUN&lt;/strong&gt;: That is to assign a new identifier to the newly created disk.&lt;/li&gt;
&lt;li&gt;choose &lt;strong&gt;disk name, storage type&lt;/strong&gt;, and &lt;strong&gt;size&lt;/strong&gt;, then click on &lt;strong&gt;apply&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fccbxxf8pfjhsa0zhpd6g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fccbxxf8pfjhsa0zhpd6g.png" alt="disk name" width="800" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ft0uolzxlxb2wfjfayyhg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ft0uolzxlxb2wfjfayyhg.png" alt="Create disk" width="800" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Initialize and Format the Data Disk&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Connect to virtual machine&lt;/li&gt;
&lt;li&gt;Click on &lt;strong&gt;connect&lt;/strong&gt; virtual machine&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fn9yz52qt085l00hsioq8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fn9yz52qt085l00hsioq8.png" alt="connect virtual machine" width="800" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on download &lt;strong&gt;RDP file&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Connect to the VM: Use &lt;strong&gt;Remote Desktop (RDP)&lt;/strong&gt; to connect to your Windows VM.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Foijy238ybgruugycmttw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Foijy238ybgruugycmttw.png" alt="download RDP file" width="800" height="496"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fo2i4lmsqy5jgj97fds3u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fo2i4lmsqy5jgj97fds3u.png" alt="Login with username &amp;amp; password" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fy5sh9xwiu3azs3180i0l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fy5sh9xwiu3azs3180i0l.png" alt="Connect to VM " width="677" height="612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Faql7alwl6438ychxol4w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Faql7alwl6438ychxol4w.png" alt="Connect to VM" width="677" height="612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the virtual machine search bar, search &lt;strong&gt;Disk Management&lt;/strong&gt; Click on &lt;strong&gt;create and format hard disk partitions&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click on &lt;strong&gt;OK&lt;/strong&gt; to initialize the new disk&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fznm9s06zm5nq39tkcmlb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fznm9s06zm5nq39tkcmlb.png" alt="initialize the new disk" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Scroll down to new disk created &lt;strong&gt;(disk 1)&lt;/strong&gt;. (notice that the disk is showing &lt;strong&gt;unallocated&lt;/strong&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fuqato3xdvlmv8tuwka1t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fuqato3xdvlmv8tuwka1t.png" alt="Second disk created" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Right-click on the unallocated space of the new disk. Select &lt;strong&gt;New Simple Volume.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fa3xjlyqx8acj9d2er8nq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fa3xjlyqx8acj9d2er8nq.png" alt="New Simple Volume" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Follow the wizard to assign a drive letter and format the disk&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;On the &lt;strong&gt;welcome to the new simple volume wizard&lt;/strong&gt;: Click &lt;strong&gt;Next&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media2.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%2F5uy0v0pe7jn5oewtgtft.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F5uy0v0pe7jn5oewtgtft.png" alt="welcome to the new simple volume wizard" width="800" height="476"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;On the &lt;strong&gt;specify volume size&lt;/strong&gt; use the default and click on next (i.e. if you do not wish to modify the volume of the disk)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F6hkerp8qif73miq4f8cc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F6hkerp8qif73miq4f8cc.png" alt="specify volume size" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the &lt;strong&gt;assign drive path&lt;/strong&gt; click on &lt;strong&gt;next&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fyttr0jasmeef2kkv2j7x.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fyttr0jasmeef2kkv2j7x.jpg" alt="assign drive path" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the &lt;strong&gt;format partition&lt;/strong&gt; give it a name on the &lt;strong&gt;volume label&lt;/strong&gt; and click on &lt;strong&gt;next&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F3ucypll7wdqw4nerxqp8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F3ucypll7wdqw4nerxqp8.png" alt="Partition Name" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Now Click on &lt;strong&gt;Finish&lt;/strong&gt; to complete the process&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Flypabzb5hyr6kigojm28.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Flypabzb5hyr6kigojm28.png" alt="Click finish" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Notice that the disk new disk is now showing &lt;strong&gt;Healthy&lt;/strong&gt; and no longer unallocated.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fbl7manzdjpj0bswlj5kl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fbl7manzdjpj0bswlj5kl.png" alt="Healthy Status" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Adding a &lt;strong&gt;data disk&lt;/strong&gt; to your &lt;strong&gt;Azure VM&lt;/strong&gt; is a simple yet powerful way to scale storage without impacting your &lt;strong&gt;OS disk&lt;/strong&gt;. Whether you’re hosting &lt;strong&gt;databases&lt;/strong&gt;, &lt;strong&gt;storing logs&lt;/strong&gt;, or managing &lt;strong&gt;large files&lt;/strong&gt;, this approach ensures flexibility and performance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thanks for reading, see you in the next one&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>cloud</category>
      <category>virtualmachine</category>
      <category>cloudstorage</category>
    </item>
    <item>
      <title>Guided Lab: Azure Storage with Customer-Managed Keys, Retention Policies &amp; Encryption Scopes</title>
      <dc:creator>Samuel Ojo</dc:creator>
      <pubDate>Tue, 18 Nov 2025 01:50:54 +0000</pubDate>
      <link>https://dev.to/ojosamuel129/guided-lab-azure-storage-with-customer-managed-keys-retention-policies-encryption-scopes-oc4</link>
      <guid>https://dev.to/ojosamuel129/guided-lab-azure-storage-with-customer-managed-keys-retention-policies-encryption-scopes-oc4</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
In this lab, I configured an Azure Storage account with advanced security and compliance features. The goal was to enable infrastructure encryption, assign a managed identity, secure access using a Key Vault with customer-managed keys, and enforce a time-based retention policy with encryption scopes. This setup is ideal for scenarios where data integrity, access control, and regulatory compliance are critical.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F8dfpqxxhdy2wef9on0vd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F8dfpqxxhdy2wef9on0vd.png" alt="Architecture diagram" width="535" height="511"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Skilling tasks&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create the storage account and managed identity.&lt;/li&gt;
&lt;li&gt;Secure access to the storage account with a key vault and key.&lt;/li&gt;
&lt;li&gt;Configure the storage account to use the customer managed key in the key vault&lt;/li&gt;
&lt;li&gt;Configure an time-based retention policy and an encryption scope.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Exercise instructions&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create the storage account and managed identity&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;1. Provide a storage account for the web app.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the portal, search for and select &lt;strong&gt;Storage accounts&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F819othtpmu7qnac87wd9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F819othtpmu7qnac87wd9.png" alt="Search Storage accounts" width="800" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;+ Create&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fk7n0fggi8cwjep86zf0n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fk7n0fggi8cwjep86zf0n.png" alt="Create Storage account" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For &lt;strong&gt;Resource group&lt;/strong&gt; select &lt;strong&gt;Create new&lt;/strong&gt;. Give your resource group a &lt;strong&gt;name&lt;/strong&gt; and select &lt;strong&gt;OK&lt;/strong&gt; to save your changes.&lt;/li&gt;
&lt;li&gt;Provide a &lt;strong&gt;Storage account name&lt;/strong&gt;. Ensure the name is unique and meets the naming requirements.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fizr64azb5mtj1s2hy09z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fizr64azb5mtj1s2hy09z.png" alt="Storage account name" width="800" height="453"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Move to the &lt;strong&gt;Encryption&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Check the box for &lt;strong&gt;Enable infrastructure encryption&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Notice the warning, This option cannot be changed after this storage account is created.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Review + Create&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F0cefjfjwvmqhv8sjl3zd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0cefjfjwvmqhv8sjl3zd.png" alt="Review + Create Storage account" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fm1n8shesv693fnd13jtu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fm1n8shesv693fnd13jtu.png" alt="Create Storage account" width="800" height="453"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Wait for the resource to deploy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2. Provide a managed identity for the web app to use.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Search for and select &lt;strong&gt;Managed identities&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F9lmgcxo7joj4wrderbie.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F9lmgcxo7joj4wrderbie.png" alt="Managed identities" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Select &lt;strong&gt;Create&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.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%2Fuomkl19jwz5nilk7t49t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fuomkl19jwz5nilk7t49t.png" alt="Create Managed identities" width="800" height="453"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select your &lt;strong&gt;resource group&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Give your managed identity a name.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select &lt;strong&gt;Review and create&lt;/strong&gt;, and then &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fnyobzh4yvjkdcxyd4ekm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fnyobzh4yvjkdcxyd4ekm.png" alt="Review and create" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fooxf0i1qz0t7oq4g29ly.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fooxf0i1qz0t7oq4g29ly.png" alt="create" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Assign the correct permissions to the managed identity. The identity only needs to read and list containers and blobs.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Search for and select your &lt;strong&gt;storage account&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select the &lt;strong&gt;Access Control (IAM)&lt;/strong&gt; blade.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Add role assignment&lt;/strong&gt; (center of the page).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F21komth9nydcafm1m3d2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F21komth9nydcafm1m3d2.png" alt="Role assignment" width="800" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the &lt;strong&gt;Job functions roles&lt;/strong&gt; page, search for and select the &lt;strong&gt;Storage Blob Data Reader&lt;/strong&gt; role.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Members&lt;/strong&gt; page, select &lt;strong&gt;Managed identity&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Select members&lt;/strong&gt;, in the &lt;strong&gt;Managed identity&lt;/strong&gt; drop-down select &lt;strong&gt;User-assigned managed identity&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select the managed identity you created in the previous step.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Select&lt;/strong&gt; and then &lt;strong&gt;Review + assign&lt;/strong&gt; the role.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fz012x6afblb9zcnz4np8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fz012x6afblb9zcnz4np8.png" alt="Select then Review + assign" width="800" height="456"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;Review + assign&lt;/strong&gt; a second time to add the role assignment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fk5ek5wu6lpaxif04l80o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fk5ek5wu6lpaxif04l80o.png" alt="Review + assign" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Your storage account can now be accessed by a managed identity with the Storage Data Blob Reader permissions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fltw4cwzo9wttck9klzik.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fltw4cwzo9wttck9klzik.png" alt="storage account can now be accessed by a managed identity" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Secure access to the storage account with a key vault and key&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;To create the key vault and key needed for this part of the lab, your user account must have Key Vault Administrator permissions. Learn more about how to provide access to Key Vault keys, certificates, and secrets with an Azure role-based access control&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;In the portal, search for and select &lt;strong&gt;Resource groups&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select your &lt;strong&gt;resource group&lt;/strong&gt;, and then the &lt;strong&gt;Access Control (IAM)&lt;/strong&gt; blade.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Add role assignment&lt;/strong&gt; (center of the page).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fy2wvur1897ckq8tuxzuo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fy2wvur1897ckq8tuxzuo.png" alt="Add role assignment" width="800" height="453"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the Job functions roles page, search for and select the &lt;strong&gt;Key Vault Administrator&lt;/strong&gt; role.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F74ojo0j8koa9lst6craq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F74ojo0j8koa9lst6craq.png" alt="Key Vault Administrator role." width="800" height="453"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the &lt;strong&gt;Members&lt;/strong&gt; page, select &lt;strong&gt;User, group, or service principal&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Select members&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Search for and select your user account. Your user account is shown in the top right of the portal.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Select&lt;/strong&gt; and then &lt;strong&gt;Review + assign&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Review + assign&lt;/strong&gt; a second time to add the role assignment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fsj3qdqktjfa95uoy3ui9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fsj3qdqktjfa95uoy3ui9.png" alt="Review + assign" width="800" height="453"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You are now ready to continue with the lab.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2. Create a key vault to store the access keys.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the portal, search for and select &lt;strong&gt;Key vaults&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fjkznpsi2us8it24o4c3q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fjkznpsi2us8it24o4c3q.png" alt="Key vaults" width="800" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;Create&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fc3r9daqxz1ehpuffsldw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fc3r9daqxz1ehpuffsldw.png" alt="Create Key vaults" width="800" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select your &lt;strong&gt;resource group&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Provide the &lt;strong&gt;name&lt;/strong&gt; for the key vault. The name must be unique.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkeed80q5tccnv819lwuo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkeed80q5tccnv819lwuo.png" alt="Name resource group" width="800" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ensure on the &lt;strong&gt;Access configuration&lt;/strong&gt; tab that &lt;strong&gt;Azure role-based access control (recommended)&lt;/strong&gt; is selected.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Review + create&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fntqyjan4b9ry7sbz0t59.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fntqyjan4b9ry7sbz0t59.png" alt="Review + create" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Wait for the validation checks to complete and then select &lt;strong&gt;Create&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fc9ok0v3b0mn29q77e06w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fc9ok0v3b0mn29q77e06w.png" alt="create" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;After the deployment, select &lt;strong&gt;Go to resource&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F4itlws70rlqi66i21n5b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F4itlws70rlqi66i21n5b.png" alt="Go to resource" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the &lt;strong&gt;Overview&lt;/strong&gt; blade ensure both &lt;strong&gt;Soft-delete&lt;/strong&gt; and &lt;strong&gt;Purge protection&lt;/strong&gt; are &lt;strong&gt;enabled&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Frflsaujd0biglukeobfi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Frflsaujd0biglukeobfi.png" alt="Soft-delete and Purge protection" width="800" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fgy29y1nnouxsqgfepjfy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fgy29y1nnouxsqgfepjfy.png" alt="Purge protection enabled" width="800" height="433"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F0um901x6ccnrpd4ci1jf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0um901x6ccnrpd4ci1jf.png" alt="Soft-delete and Purge protection both enabled" width="800" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Create a customer-managed key in the key vault.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In your &lt;strong&gt;key vault&lt;/strong&gt;, in the &lt;strong&gt;Objects&lt;/strong&gt; section, select the &lt;strong&gt;Keys&lt;/strong&gt; blade.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Generate/Import&lt;/strong&gt; and &lt;strong&gt;Name&lt;/strong&gt; the key.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fjahblgvc2e1sa5zd55ou.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fjahblgvc2e1sa5zd55ou.png" alt="Generate/Import" width="800" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Take the defaults for the rest of the parameters, and &lt;strong&gt;Create&lt;/strong&gt; the key.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Frp7j1oby1e6euos2w94b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Frp7j1oby1e6euos2w94b.png" alt="key vault created" width="800" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Configure the storage account to use the customer managed key in the key vault&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Before you can complete the next steps, you must assign the Key Vault Crypto Service Encryption User role to the managed identity. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the portal, search for and select &lt;strong&gt;Resource groups&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select your &lt;strong&gt;resource group&lt;/strong&gt;, and then the &lt;strong&gt;Access Control (IAM)&lt;/strong&gt; blade.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Add role assignment&lt;/strong&gt; (center of the page).&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Job functions roles&lt;/strong&gt; page, search for and select the &lt;strong&gt;Key Vault Crypto Service Encryption User&lt;/strong&gt; role.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fvo9b73q76jio0wxjjeik.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fvo9b73q76jio0wxjjeik.png" alt="Add role assignment tab" width="800" height="434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the &lt;strong&gt;Members&lt;/strong&gt; page, select &lt;strong&gt;Managed identity&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Select members&lt;/strong&gt;, in the &lt;strong&gt;Managed identity&lt;/strong&gt; drop-down select &lt;strong&gt;User-assigned managed identity&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select your managed identity.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Select&lt;/strong&gt; and then &lt;strong&gt;Review + assign&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F2y1qnezpxa9hvb7kj274.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F2y1qnezpxa9hvb7kj274.png" alt="Managed identity" width="800" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;Review + assign&lt;/strong&gt; a second time to add the role assignment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fnw0vf1jiqqn27ztrkfyf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fnw0vf1jiqqn27ztrkfyf.png" alt="Review + assign" width="800" height="432"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Configure the storage account to use the customer managed key in your key vault.&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Return to your the storage account.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Security + networking&lt;/strong&gt; section, select the &lt;strong&gt;Encryption&lt;/strong&gt; blade.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Customer-managed keys&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Select a key vault and key&lt;/strong&gt;. Select your key vault and key.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fzzmmmvl3eczc968cgli4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fzzmmmvl3eczc968cgli4.png" alt="Customer-managed keys" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; to confirm your choices.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fs1dy0xd37xuvwef9jyy5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fs1dy0xd37xuvwef9jyy5.png" alt="Select options for Customer-managed keys" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ensure the &lt;strong&gt;Identity type&lt;/strong&gt; is &lt;strong&gt;User-assigned&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Select an identity.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Select your managed identity then select &lt;strong&gt;Add&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Save&lt;/strong&gt; your changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fuiwzy6231yavocjbcffn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fuiwzy6231yavocjbcffn.png" alt="Save managed identity" width="800" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If you receive an error that your identity does not have the correct permissions, wait a minute and try again.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Configure an time-based retention policy and an encryption scope.&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;1. The developers require a storage container where files can’t be modified, even by the administrator.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigate to your &lt;strong&gt;storage account&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Data storage&lt;/strong&gt; section, select the Containers blade.&lt;/li&gt;
&lt;li&gt;Create a container called &lt;strong&gt;hold&lt;/strong&gt;. Take the defaults. Be sure to &lt;strong&gt;Create&lt;/strong&gt; the container.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F5l2vy8hs546uocyn20mc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F5l2vy8hs546uocyn20mc.png" alt="Create hold container" width="800" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F0by6b60k42u7zw8matfv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0by6b60k42u7zw8matfv.png" alt="hold container" width="800" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Upload a file to the container.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F879l74xphppt8iu4psyn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F879l74xphppt8iu4psyn.png" alt="Upload a file to the container" width="800" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fthwnbc8u775v2upkabyt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fthwnbc8u775v2upkabyt.png" alt="Uploaded file" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;Settings&lt;/strong&gt; section, select the &lt;strong&gt;Access policy&lt;/strong&gt; blade.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Immutable blob storage&lt;/strong&gt; section, select &lt;strong&gt;+ Add policy&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;For the &lt;strong&gt;Policy type&lt;/strong&gt;, select &lt;strong&gt;time-based retention&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Set the &lt;strong&gt;Retention period&lt;/strong&gt; to &lt;strong&gt;5&lt;/strong&gt; days.&lt;/li&gt;
&lt;li&gt;Be sure to &lt;strong&gt;Save&lt;/strong&gt; your changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fxhidrqizkmom7mkpoup7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fxhidrqizkmom7mkpoup7.png" alt="Retention period" width="800" height="432"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Try to &lt;strong&gt;delete&lt;/strong&gt; the file in the container.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fxwu9ux0oqf597850o5n4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fxwu9ux0oqf597850o5n4.png" alt="File in the container" width="800" height="432"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fcai093wn9so5zyp42zdi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fcai093wn9so5zyp42zdi.png" alt="Delete the file in the container" width="307" height="312"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Verify you are notified &lt;strong&gt;failed to delete blobs&lt;/strong&gt; due to policy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fm4ta0ae3c2qa2exj47x6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fm4ta0ae3c2qa2exj47x6.png" alt="failed to delete blobs" width="800" height="431"&gt;&lt;/a&gt;&lt;br&gt;
n&lt;br&gt;&lt;br&gt;
&lt;strong&gt;2. The developers require an encryption scope that enables infrastructure encryption.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigate back to your storage account.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Security + networking&lt;/strong&gt; blade, select &lt;strong&gt;Encryption&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Encryption scopes&lt;/strong&gt; tab, select &lt;strong&gt;Add&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Give your encryption scope a &lt;strong&gt;name&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Encryption type&lt;/strong&gt; is &lt;strong&gt;Microsoft-managed key&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Set &lt;strong&gt;Infrastructure encryption&lt;/strong&gt; to &lt;strong&gt;Enable&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Create&lt;/strong&gt; the encryption scope.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F19tu4qf428hwpxzxb0ag.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F19tu4qf428hwpxzxb0ag.png" alt="Create Encryption scopes" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Return to your storage account and create a new container.&lt;/li&gt;
&lt;li&gt;Notice on the &lt;strong&gt;New container&lt;/strong&gt; page, there is the &lt;strong&gt;Name&lt;/strong&gt; and &lt;strong&gt;Public access level&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Notice in the &lt;strong&gt;Advanced&lt;/strong&gt; section you can select the &lt;strong&gt;Encryption scope&lt;/strong&gt; you created and apply it to all blobs in the container.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fi7i793uee0awzob7mvrl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fi7i793uee0awzob7mvrl.png" alt="Advanced Encryption scope" width="800" height="433"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
This lab demonstrated how to build a secure and compliant Azure Storage setup using customer-managed keys, retention policies, and encryption scopes. These features are essential for protecting sensitive data and meeting enterprise or regulatory requirements. A great exercise for anyone preparing for real-world cloud security scenarios!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thanks for reading — see you in the next one&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>azure</category>
      <category>architecture</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Getting Started with Azure: Create and Configure a Windows 10 Virtual Machine</title>
      <dc:creator>Samuel Ojo</dc:creator>
      <pubDate>Mon, 17 Nov 2025 06:47:17 +0000</pubDate>
      <link>https://dev.to/ojosamuel129/getting-started-with-azure-create-and-configure-a-windows-10-virtual-machine-58bd</link>
      <guid>https://dev.to/ojosamuel129/getting-started-with-azure-create-and-configure-a-windows-10-virtual-machine-58bd</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
Creating a &lt;strong&gt;Windows 10 Virtual Machine (VM)&lt;/strong&gt; in Microsoft Azure allows you to experience a modern desktop environment in the cloud. This is ideal for developers, testers, and IT professionals who need a secure, scalable, and easily accessible Windows environment without installing it locally. In this lab, you’ll learn how to create a &lt;strong&gt;Windows 10 VM&lt;/strong&gt;, connect to it using &lt;strong&gt;Remote Desktop&lt;/strong&gt;, and &lt;strong&gt;install IIS&lt;/strong&gt; to host a simple web page.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Terms&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Virtual Machine (VM):&lt;/strong&gt; A software-based computer that runs an operating system and applications like a physical computer, but is hosted on a cloud or virtualization platform.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Azure:&lt;/strong&gt; Microsoft’s cloud computing platform offering services like virtual machines, storage, networking, and more.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;RDP (Remote Desktop Protocol):&lt;/strong&gt; A protocol that allows you to connect and control a remote computer over a network.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;IIS (Internet Information Services):&lt;/strong&gt; A web server developed by Microsoft for hosting websites and web applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Availability Zone:&lt;/strong&gt; A physically separate location within an Azure region that provides high availability and fault tolerance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create virtual machine&lt;/strong&gt;&lt;br&gt;
1.Navigate to &lt;a href="https://portal.azure.com.-" rel="noopener noreferrer"&gt;https://portal.azure.com.-&lt;/a&gt; Sign in with your Azure account credentials.&lt;br&gt;
Enter &lt;strong&gt;&lt;code&gt;virtual machines&lt;/code&gt;&lt;/strong&gt; in the search box.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fug72pdmqb5hai9bwtu44.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fug72pdmqb5hai9bwtu44.jpg" alt=" " width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F8w12s3c0faqi7jg5oqwr.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F8w12s3c0faqi7jg5oqwr.jpg" alt=" " width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.Under &lt;strong&gt;Services&lt;/strong&gt;, select &lt;strong&gt;Virtual machines&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F97qd1byjfytadiouf621.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F97qd1byjfytadiouf621.jpg" alt=" " width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.In the &lt;strong&gt;Basics&lt;/strong&gt; tab, under &lt;strong&gt;Project details&lt;/strong&gt;, make sure the correct subscription is selected and then choose or &lt;strong&gt;Create new&lt;/strong&gt; resource group. Mine is &lt;strong&gt;&lt;code&gt;winserver10rg&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ffqovmh705vgjbcnxtmxq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ffqovmh705vgjbcnxtmxq.png" alt="Create new resource group" width="800" height="433"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Under &lt;strong&gt;Instance details&lt;/strong&gt;, enter &lt;strong&gt;&lt;code&gt;winserver10Vm&lt;/code&gt;&lt;/strong&gt; for the &lt;strong&gt;Virtual machine name&lt;/strong&gt;, and choose  choose &lt;strong&gt;Windows 10 Enterprise, version 22H2 - x64 Gen2&lt;/strong&gt; for the &lt;strong&gt;Image&lt;/strong&gt;. The default size and pricing is only shown as an example. Size availability and pricing are dependent on your region and subscription.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F15gvqox0dhs5he7e0dr5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F15gvqox0dhs5he7e0dr5.png" alt="Windows 10 Enterprise" width="800" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Under &lt;strong&gt;Administrator account&lt;/strong&gt;, select &lt;strong&gt;password&lt;/strong&gt;.&lt;br&gt;
6.In &lt;strong&gt;Username&lt;/strong&gt; enter &lt;strong&gt;&lt;code&gt;azureuser&lt;/code&gt;&lt;/strong&gt;.&lt;br&gt;
7.Enter &lt;strong&gt;password&lt;/strong&gt; and &lt;strong&gt;confirm password&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fx9nmolyy2t9y96sw7fqy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fx9nmolyy2t9y96sw7fqy.png" alt="Administrator account" width="690" height="153"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.Under &lt;strong&gt;Inbound port rules &amp;gt; Public inbound ports&lt;/strong&gt;, choose &lt;strong&gt;Allow selected ports&lt;/strong&gt; and then select &lt;strong&gt;HTTP (80)&lt;/strong&gt; and &lt;strong&gt;RFDP(3389)&lt;/strong&gt; from the drop-down.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fa5durxiduttxd22g98v5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fa5durxiduttxd22g98v5.png" alt="Inbound port rules &amp;gt; Public inbound ports&amp;lt;br&amp;gt;
" width="689" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;9.Navigate to &lt;strong&gt;Monitoring&lt;/strong&gt; tab &amp;gt; &lt;strong&gt;Diagnostics &amp;gt;&lt;/strong&gt; select &lt;strong&gt;Disable&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F1otmqfv33eal0my5345r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F1otmqfv33eal0my5345r.png" alt="Monitoring Diagnostics snd select Disable" width="800" height="432"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Navigate to &lt;strong&gt;Tags&lt;/strong&gt; tab. Create Tag (&lt;strong&gt;Name **and **value&lt;/strong&gt;). Then select the &lt;strong&gt;Review + create&lt;/strong&gt; button at the bottom of the page&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F3sde2fy6npp7ryq7ab5n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F3sde2fy6npp7ryq7ab5n.png" alt="Create Tag" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;10.On the &lt;strong&gt;Create a virtual machine&lt;/strong&gt; page, you can see the details about the VM you are about to create. When you are ready, select &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F8lxz1a9wtfz931c1mkn7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F8lxz1a9wtfz931c1mkn7.png" alt="Create a virtual machine" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;11.When the deployment is finished, select &lt;strong&gt;Go to resource&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F7ti8lcclm8ka8vqekknw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F7ti8lcclm8ka8vqekknw.png" alt="Go to resource" width="800" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;12.On the page for your new VM, select the &lt;strong&gt;public IP&lt;/strong&gt; address and copy it to your clipboard.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Frvip8q8nbpnsnui3t3u5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Frvip8q8nbpnsnui3t3u5.png" alt="public IP" width="800" height="432"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;13.Increase the &lt;strong&gt;Idle timeout (minutes)&lt;/strong&gt; to &lt;strong&gt;30&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ft9kakq5t4zf4z1zfp673.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ft9kakq5t4zf4z1zfp673.png" alt="Default Idle timeout" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fs591cf88g3payq94h5qu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fs591cf88g3payq94h5qu.png" alt="Increase Idle timeout to 30" width="800" height="432"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;End of step 1&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: RDP into the VM&lt;/strong&gt;&lt;br&gt;
Once the VM is deployed, follow these steps to connect:&lt;/p&gt;

&lt;p&gt;🔹 &lt;strong&gt;On Windows:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open &lt;strong&gt;Remote Desktop Connection (RDP)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Enter the &lt;strong&gt;public IP address&lt;/strong&gt; of the VM&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Connect&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Foc307dgnd5c8np1399bb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Foc307dgnd5c8np1399bb.png" alt="Connect to Vm" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F0np6lsl2bj20s3wa94jy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0np6lsl2bj20s3wa94jy.png" alt="Download RDP file" width="800" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F9v7r0yn70kdz6xdwk2nf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F9v7r0yn70kdz6xdwk2nf.png" alt="Connect RDP" width="539" height="282"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enter your &lt;strong&gt;Admin username &amp;amp; password&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Friqnua0u0x07tq727y4d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Friqnua0u0x07tq727y4d.png" alt="Admin username &amp;amp; password" width="451" height="407"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fappts4phpydh54a45w1t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fappts4phpydh54a45w1t.png" alt=" " width="388" height="394"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🔹 On macOS/Linux:&lt;br&gt;
Use an RDP client like &lt;strong&gt;Microsoft Remote Desktop.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Open PowerShell as Administrator&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Once connected to the VM, open PowerShell:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click the &lt;strong&gt;Start menu&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fmormb4qpnzlrplmbr8uk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fmormb4qpnzlrplmbr8uk.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F753xmd0gx245don74tap.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F753xmd0gx245don74tap.png" alt="PowerShell" width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Type &lt;strong&gt;PowerShell&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Right-click &lt;strong&gt;Windows PowerShell&lt;/strong&gt; and select &lt;strong&gt;Run as administrator&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F88gxmc535ecfig08jx9r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F88gxmc535ecfig08jx9r.png" alt=" " width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4: Install IIS (Web Server)&lt;/strong&gt;&lt;br&gt;
Run the following command to install &lt;strong&gt;IIS and its management tools:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Install-WindowsFeature -name Web-Server -IncludeManagementTools
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.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%2F0faeaimw0fq87194kz94.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0faeaimw0fq87194kz94.png" alt="Install IIS Web Server" width="800" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fphffci44w1dtbcr9238h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fphffci44w1dtbcr9238h.png" alt="Installing IIS Web Server" width="800" height="455"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fxk2l9nqmp1d1zkrebrc8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fxk2l9nqmp1d1zkrebrc8.png" alt="Installed IIS Web Server" width="800" height="456"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Verify IIS Installation&lt;/strong&gt;&lt;br&gt;
After installation, verify that &lt;strong&gt;IIS&lt;/strong&gt; is running:&lt;/p&gt;

&lt;p&gt;📌 &lt;strong&gt;Method 1: Public IP Address&lt;/strong&gt;&lt;br&gt;
Copy your &lt;strong&gt;VM’s public IP address&lt;/strong&gt;&lt;br&gt;
Open a browser and enter:&lt;br&gt;
&lt;a href="http://your_vm_ip" rel="noopener noreferrer"&gt;http://your_vm_ip&lt;/a&gt; in this lab, mine is: &lt;br&gt;
&lt;a href="http://51.141.93.231" rel="noopener noreferrer"&gt;http://51.141.93.231&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fsjeisrrfgdr9l85gapg5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fsjeisrrfgdr9l85gapg5.png" alt="Verify IIS Installation" width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📌 &lt;strong&gt;Method 2: Localhost&lt;/strong&gt;&lt;br&gt;
Open &lt;strong&gt;a web browser&lt;/strong&gt;&lt;br&gt;
Go to &lt;a href="http://localhost" rel="noopener noreferrer"&gt;http://localhost&lt;/a&gt;&lt;br&gt;
You should see the default &lt;strong&gt;IIS welcome page&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If &lt;strong&gt;IIS&lt;/strong&gt; is installed correctly, you should see the &lt;strong&gt;IIS default page&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
You’ve successfully created and configured a Windows 10 VM in Azure, connected via RDP, and installed IIS to serve a web page. This setup is perfect for testing desktop applications, building development environments, or exploring Windows 10 features in a secure cloud environment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Next Steps:&lt;/strong&gt;&lt;br&gt;
Automate VM creation using &lt;strong&gt;Azure CLI&lt;/strong&gt; or &lt;strong&gt;ARM templates&lt;/strong&gt;.&lt;br&gt;
Explore &lt;strong&gt;Azure Bastion&lt;/strong&gt; for secure browser-based RDP.&lt;br&gt;
Configure &lt;strong&gt;NSG rules&lt;/strong&gt; for advanced security.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thanks for reading, see you in the next one&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>cloud</category>
      <category>virtualmachine</category>
      <category>deeplearning</category>
    </item>
    <item>
      <title>Deploying a Web Server VM and Installing IIS on Windows</title>
      <dc:creator>Samuel Ojo</dc:creator>
      <pubDate>Sun, 16 Nov 2025 17:54:11 +0000</pubDate>
      <link>https://dev.to/ojosamuel129/deploying-a-web-server-vm-and-installing-iis-on-windows-nfk</link>
      <guid>https://dev.to/ojosamuel129/deploying-a-web-server-vm-and-installing-iis-on-windows-nfk</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
Windows Server 2022 is Microsoft’s latest server operating system, designed for enterprise workloads, enhanced security, and hybrid cloud integration. Deploying it on Azure provides a fast, scalable, and cost-effective way to run server-based applications without investing in physical infrastructure. In this lab, you’ll learn how to create a Windows Server 2022 Datacenter VM in Azure, configure remote access via RDP, and install IIS to host a simple web page. This hands-on exercise is perfect for IT professionals and developers looking to explore server roles and Azure’s capabilities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Terms&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Virtual Machine (VM):&lt;/strong&gt; A software-based computer that runs an operating system and applications like a physical computer, but is hosted on a cloud or virtualization platform.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Azure:&lt;/strong&gt; Microsoft’s cloud computing platform offering services like virtual machines, storage, networking, and more.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Windows Server 2022 Datacenter:&lt;/strong&gt; A server operating system optimized for enterprise workloads, virtualization, and cloud integration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;RDP (Remote Desktop Protocol):&lt;/strong&gt; A protocol that allows you to connect and control a remote computer over a network.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;IIS (Internet Information Services):&lt;/strong&gt; A web server developed by Microsoft for hosting websites and web applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Availability Zone:&lt;/strong&gt; A physically separate location within an Azure region that provides high availability and fault tolerance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What You’ll Learn&lt;/strong&gt;&lt;br&gt;
Step 1: Create a Web Server VM&lt;br&gt;
Step 2: RDP into the VM&lt;br&gt;
Step 3: Open PowerShell as Administrator&lt;br&gt;
Step 4: Install IIS (Web Server)&lt;br&gt;
Step 5: Verify IIS Installation&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create virtual machine&lt;/strong&gt;&lt;br&gt;
1.Navigate to &lt;a href="https://portal.azure.com.-" rel="noopener noreferrer"&gt;https://portal.azure.com.-&lt;/a&gt; Sign in with your Azure account credentials.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F637pckwrmk1clgzsnfid.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F637pckwrmk1clgzsnfid.jpg" alt="Azure portal" width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Enter &lt;strong&gt;&lt;code&gt;virtual machines&lt;/code&gt;&lt;/strong&gt; in the search.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fb11ow42p5q6srbvhsere.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fb11ow42p5q6srbvhsere.jpg" alt="Search virtual machine" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.Under Services, select &lt;strong&gt;Virtual machines&lt;/strong&gt;.&lt;br&gt;
In the &lt;strong&gt;Virtual machines&lt;/strong&gt; page, select &lt;strong&gt;Create&lt;/strong&gt; and then &lt;strong&gt;Azure &lt;br&gt;
virtual machine&lt;/strong&gt;. Then &lt;strong&gt;Create a virtual machine&lt;/strong&gt; page opens.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fgjisn3vit7kn8j7wkkeb.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fgjisn3vit7kn8j7wkkeb.jpg" alt=" " width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.In the &lt;strong&gt;Basics&lt;/strong&gt; tab, under &lt;strong&gt;Project details&lt;/strong&gt;, make sure the correct subscription is selected and then choose or &lt;strong&gt;Create new&lt;/strong&gt; resource group. Mine is &lt;strong&gt;&lt;code&gt;storagerg&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F8cxnjq4j87a5wuavzw4c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F8cxnjq4j87a5wuavzw4c.png" alt="Create new resource group" width="800" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Under &lt;strong&gt;Instance details&lt;/strong&gt;, enter &lt;strong&gt;&lt;code&gt;IISvm&lt;/code&gt;&lt;/strong&gt; for the &lt;strong&gt;Virtual machine name&lt;/strong&gt;, and choose  choose &lt;strong&gt;Windows Server 2022 Datacenter - x64 Gen 2&lt;/strong&gt; for the &lt;strong&gt;Image&lt;/strong&gt;. The default size and pricing is only shown as an example. Size availability and pricing are dependent on your region and subscription.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F0zqg0wq5bb0eysbytvao.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0zqg0wq5bb0eysbytvao.png" alt="Instance details" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Under &lt;strong&gt;Administrator account&lt;/strong&gt;, select &lt;strong&gt;password&lt;/strong&gt;.&lt;br&gt;
6.In &lt;strong&gt;Username&lt;/strong&gt; enter &lt;strong&gt;&lt;code&gt;azureuser&lt;/code&gt;&lt;/strong&gt;.&lt;br&gt;
7.Enter &lt;strong&gt;password&lt;/strong&gt; and &lt;strong&gt;confirm password&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fqha8s5f3yga8zrj3mbiz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fqha8s5f3yga8zrj3mbiz.png" alt="Administrator account" width="696" height="166"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.Under &lt;strong&gt;Inbound port rules &amp;gt; Public inbound ports&lt;/strong&gt;, choose &lt;strong&gt;Allow selected ports&lt;/strong&gt; and then select &lt;strong&gt;HTTP (80)&lt;/strong&gt; and &lt;strong&gt;RFDP(3389)&lt;/strong&gt; from the drop-down.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fgx4vzcd0eh2njrraovu8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fgx4vzcd0eh2njrraovu8.png" alt=" " width="703" height="264"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;9.Navigate to &lt;strong&gt;Monitoring&lt;/strong&gt; tab &amp;gt; &lt;strong&gt;Diagnostics &amp;gt;&lt;/strong&gt; select &lt;strong&gt;Disable&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fx3x8hhw32wyaxitnz6h1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fx3x8hhw32wyaxitnz6h1.jpg" alt="Disable Diagnostics" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Navigate to &lt;strong&gt;Tags&lt;/strong&gt; tab. Create Tag (&lt;strong&gt;Name **and **value&lt;/strong&gt;). Then select the &lt;strong&gt;Review + create&lt;/strong&gt; button at the bottom of the page&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fvk9qd90rklbm6h0qatf5.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fvk9qd90rklbm6h0qatf5.jpg" alt="Review + create virtual machine" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;10.On the &lt;strong&gt;Create a virtual machine&lt;/strong&gt; page, you can see the details about the VM you are about to create. When you are ready, select &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fo7f6u3m84lwdnch7rut1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fo7f6u3m84lwdnch7rut1.png" alt="create virtual machine" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;11.When the deployment is finished, select &lt;strong&gt;Go to resource&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fdf27m7ha3xg8l01ffdgl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fdf27m7ha3xg8l01ffdgl.png" alt="Go to resource" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;12.On the page for your new VM, select the &lt;strong&gt;public IP&lt;/strong&gt; address and copy it to your clipboard.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkolgn4psp2zo3v3o38sm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkolgn4psp2zo3v3o38sm.png" alt="public IP" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;13.Increase the &lt;strong&gt;Idle timeout (minutes)&lt;/strong&gt; to &lt;strong&gt;30&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F2grpqb5d36mpegzz7ipb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F2grpqb5d36mpegzz7ipb.png" alt="Idle Idle timeout" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;End of step 1&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: RDP into the VM&lt;/strong&gt;&lt;br&gt;
Once the VM is deployed, follow these steps to connect:&lt;/p&gt;

&lt;p&gt;🔹 &lt;strong&gt;On Windows:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open &lt;strong&gt;Remote Desktop Connection (RDP)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Enter the &lt;strong&gt;public IP address&lt;/strong&gt; of the VM&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Connect&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F5yufglqfwlv4vyrgab93.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F5yufglqfwlv4vyrgab93.png" alt="Connect to Vm on axure portal" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fnusw18txyrmeoctd07ne.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fnusw18txyrmeoctd07ne.png" alt="Download RDP file" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkhxu781s1cl2yrzifpeu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkhxu781s1cl2yrzifpeu.png" alt="Connect RDP" width="545" height="285"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enter your &lt;strong&gt;Admin username &amp;amp; password&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fleqnlf7g0gng9vya67pt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fleqnlf7g0gng9vya67pt.png" alt="Admin username &amp;amp; password" width="453" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F25rtbo76v3eed7btlsyw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F25rtbo76v3eed7btlsyw.png" alt="Click ok" width="392" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔹 On macOS/Linux:&lt;br&gt;
Use an RDP client like &lt;strong&gt;Microsoft Remote Desktop.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Open PowerShell as Administrator&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Once connected to the VM, open PowerShell:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click the &lt;strong&gt;Start menu&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fmormb4qpnzlrplmbr8uk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fmormb4qpnzlrplmbr8uk.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F753xmd0gx245don74tap.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F753xmd0gx245don74tap.png" alt="PowerShell" width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Type &lt;strong&gt;PowerShell&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Right-click &lt;strong&gt;Windows PowerShell&lt;/strong&gt; and select &lt;strong&gt;Run as administrator&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F88gxmc535ecfig08jx9r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F88gxmc535ecfig08jx9r.png" alt=" " width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4: Install IIS (Web Server)&lt;/strong&gt;&lt;br&gt;
Run the following command to install &lt;strong&gt;IIS and its management tools:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Install-WindowsFeature -name Web-Server -IncludeManagementTools
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.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%2F0faeaimw0fq87194kz94.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0faeaimw0fq87194kz94.png" alt="Install IIS Web Server" width="800" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fphffci44w1dtbcr9238h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fphffci44w1dtbcr9238h.png" alt="Installing IIS Web Server" width="800" height="455"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fxk2l9nqmp1d1zkrebrc8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fxk2l9nqmp1d1zkrebrc8.png" alt="Installed IIS Web Server" width="800" height="456"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Verify IIS Installation&lt;/strong&gt;&lt;br&gt;
After installation, verify that &lt;strong&gt;IIS&lt;/strong&gt; is running:&lt;/p&gt;

&lt;p&gt;📌 &lt;strong&gt;Method 1: Public IP Address&lt;/strong&gt;&lt;br&gt;
Copy your &lt;strong&gt;VM’s public IP address&lt;/strong&gt;&lt;br&gt;
Open a browser and enter:&lt;br&gt;
&lt;a href="http://your_vm_ip" rel="noopener noreferrer"&gt;http://your_vm_ip&lt;/a&gt; in this lab, mine is: &lt;br&gt;
&lt;a href="http://20.187.54.47" rel="noopener noreferrer"&gt;http://20.187.54.47&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fsjeisrrfgdr9l85gapg5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fsjeisrrfgdr9l85gapg5.png" alt="Verify IIS Installation" width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📌 &lt;strong&gt;Method 2: Localhost&lt;/strong&gt;&lt;br&gt;
Open &lt;strong&gt;a web browser&lt;/strong&gt;&lt;br&gt;
Go to &lt;a href="http://localhost" rel="noopener noreferrer"&gt;http://localhost&lt;/a&gt;&lt;br&gt;
You should see the default &lt;strong&gt;IIS welcome page&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If &lt;strong&gt;IIS&lt;/strong&gt; is installed correctly, you should see the &lt;strong&gt;IIS default page&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thanks for reading — see you in the next one&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>azure</category>
      <category>virtualmachine</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Create a Linux virtual machine in the Azure portal</title>
      <dc:creator>Samuel Ojo</dc:creator>
      <pubDate>Fri, 14 Nov 2025 01:17:26 +0000</pubDate>
      <link>https://dev.to/ojosamuel129/create-a-linux-virtual-machine-in-the-azure-portal-58ln</link>
      <guid>https://dev.to/ojosamuel129/create-a-linux-virtual-machine-in-the-azure-portal-58ln</guid>
      <description>&lt;p&gt;Azure virtual machines (VMs) can be created through the Azure portal. The Azure portal is a browser-based user interface to create Azure resources. This lab show you how to use the Azure portal to deploy a Linux virtual machine (VM) running Ubuntu Server 22.04 LTS. To see your VM in action, you also SSH to the VM and install the NGINX web server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create virtual machine&lt;/strong&gt;&lt;br&gt;
1.Navigate to &lt;a href="https://portal.azure.com.-" rel="noopener noreferrer"&gt;https://portal.azure.com.-&lt;/a&gt; Sign in with your Azure account credentials.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enter &lt;strong&gt;&lt;code&gt;virtual machines&lt;/code&gt;&lt;/strong&gt; in the search.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fcx670fxomzyxmhejpbvo.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fcx670fxomzyxmhejpbvo.jpg" alt="Search Virtual machine" width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fzzcar0rtcezjjh4e8ih0.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fzzcar0rtcezjjh4e8ih0.jpg" alt="Select Virtual machine" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.Under Services, select &lt;strong&gt;Virtual machines&lt;/strong&gt;.&lt;br&gt;
In the &lt;strong&gt;Virtual machines&lt;/strong&gt; page, select &lt;strong&gt;Create&lt;/strong&gt; and then &lt;strong&gt;Azure &lt;br&gt;
virtual machine&lt;/strong&gt;. The &lt;strong&gt;Create a virtual machine&lt;/strong&gt; page opens.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F7cbflynauk3ewmf9u7el.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F7cbflynauk3ewmf9u7el.jpg" alt="Create Virtual Machine" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.In the &lt;strong&gt;Basics&lt;/strong&gt; tab, under &lt;strong&gt;Project details&lt;/strong&gt;, make sure the correct subscription is selected and then choose or &lt;strong&gt;Create new&lt;/strong&gt; resource group. Mine is &lt;strong&gt;&lt;code&gt;myResourceGroup&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fvk9b0zo2k981rx9n5dwr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fvk9b0zo2k981rx9n5dwr.png" alt="myResourceGroup" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Under &lt;strong&gt;Instance details&lt;/strong&gt;, enter &lt;strong&gt;&lt;code&gt;myVM&lt;/code&gt;&lt;/strong&gt; for the &lt;strong&gt;Virtual machine name&lt;/strong&gt;, and choose Ubuntu Server 22.04 LTS - Gen2 for your &lt;strong&gt;Image&lt;/strong&gt;. The default size and pricing is only shown as an example. Size availability and pricing are dependent on your region and subscription.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F124ubvo8hpl97d9i1i8i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F124ubvo8hpl97d9i1i8i.png" alt="Virtual machine name" width="721" height="527"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Under &lt;strong&gt;Administrator account&lt;/strong&gt;, select &lt;strong&gt;password&lt;/strong&gt;.&lt;br&gt;
6.In &lt;strong&gt;Username&lt;/strong&gt; enter &lt;strong&gt;&lt;code&gt;azureuser&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;7.Enter &lt;strong&gt;password&lt;/strong&gt; and &lt;strong&gt;confirm password&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.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%2F73rt50kof1x4gdxrl5n4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F73rt50kof1x4gdxrl5n4.png" alt="Administrator account" width="706" height="221"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.Under &lt;strong&gt;Inbound port rules &amp;gt; Public inbound ports&lt;/strong&gt;, choose &lt;strong&gt;Allow selected ports&lt;/strong&gt; and then select &lt;strong&gt;SSH (22)&lt;/strong&gt; and &lt;strong&gt;HTTP (80)&lt;/strong&gt; from the drop-down.&lt;br&gt;
&lt;a href="https://media2.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%2Fjr7jmknz6zkcpnnc7upk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fjr7jmknz6zkcpnnc7upk.png" alt="Inbound port rules" width="707" height="276"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;9.Navigate to &lt;strong&gt;Monitoring&lt;/strong&gt; tab &amp;gt; &lt;strong&gt;Diagnostics &amp;gt;&lt;/strong&gt; select &lt;strong&gt;Disable&lt;/strong&gt;. &lt;br&gt;
&lt;a href="https://media2.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%2F0g8urkvwmol6v95t2vr6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0g8urkvwmol6v95t2vr6.png" alt="Monitoring tab" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigate to &lt;strong&gt;Tags&lt;/strong&gt; tab. Create Tag (&lt;strong&gt;Name **and **value&lt;/strong&gt;). Then select the &lt;strong&gt;Review + create&lt;/strong&gt; button at the bottom of the page.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fcz5dln14mn4xch3ej2en.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fcz5dln14mn4xch3ej2en.png" alt="Review + Create virtual machine" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;10.On the &lt;strong&gt;Create a virtual machine&lt;/strong&gt; page, you can see the details about the VM you are about to create. When you are ready, select &lt;strong&gt;Create&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.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%2Fqyh07j3i6d92xjy2lsgy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fqyh07j3i6d92xjy2lsgy.png" alt="Create virtual machine" width="800" height="453"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;11.When the deployment is finished, select &lt;strong&gt;Go to resource&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.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%2F6z1as849bqtsiuwas1s9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F6z1as849bqtsiuwas1s9.png" alt="Go to resource" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;12.On the page for your new VM, select the &lt;strong&gt;public IP&lt;/strong&gt; address and copy it to your clipboard.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ftcg24z2xol7frvebpbqe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ftcg24z2xol7frvebpbqe.png" alt="public IP" width="800" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;13.Increase the &lt;strong&gt;Idle timeout (minutes)&lt;/strong&gt; to &lt;strong&gt;30&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.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%2Fcya8j0b2g1xnknji9d07.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fcya8j0b2g1xnknji9d07.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Connect to virtual machine&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Connect to the Linux VM Using SSH&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use &lt;strong&gt;password authentication&lt;/strong&gt; to log in to the server:
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ssh username@hostname_or_ip
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;a href="https://media2.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%2Fits1a69k8l1tlr2gaoyf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fits1a69k8l1tlr2gaoyf.png" alt="authentication" width="794" height="279"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;After running this command, enter the &lt;strong&gt;password&lt;/strong&gt; when prompted.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fkpxttxg5o0h2pm4jiuri.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fkpxttxg5o0h2pm4jiuri.png" alt="password authentication" width="800" height="356"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Switch to Root User&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ensure you have &lt;strong&gt;root privileges&lt;/strong&gt; by switching to the root user:
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo su
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;a href="https://media2.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%2Fekfcyibhs81wt5vslt1t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fekfcyibhs81wt5vslt1t.png" alt="root privileges" width="789" height="264"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This allows you to install software without permission issues.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Install Nginx on the Server&lt;/strong&gt;&lt;br&gt;
Run the following command to install &lt;strong&gt;Nginx&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;apt update
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.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%2Fzgefinzhw0h177zz6wxv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fzgefinzhw0h177zz6wxv.png" alt="apt update" width="779" height="252"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;apt install nginx -y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🔹 &lt;code&gt;apt&lt;/code&gt; → The &lt;strong&gt;package manager&lt;/strong&gt; for Ubuntu/Debian-based systems.&lt;br&gt;
🔹 &lt;code&gt;install&lt;/code&gt; → The &lt;strong&gt;action&lt;/strong&gt; to install a package.&lt;br&gt;
🔹 &lt;code&gt;nginx&lt;/code&gt; → The &lt;strong&gt;software package&lt;/strong&gt; to install.&lt;br&gt;
🔹 &lt;code&gt;-y&lt;/code&gt; → Automatically confirms the installation without prompting.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fhx23rez2auinjf7ypeqc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fhx23rez2auinjf7ypeqc.png" alt="apt install nginx" width="782" height="230"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Verify the Installation&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Once the installation is complete, verify that &lt;strong&gt;Nginx is running&lt;/strong&gt; by checking its status:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;systemctl status nginx
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;If the service is active, it should show &lt;code&gt;active (running)&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fyf16h3doojknfhbzxf4l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fyf16h3doojknfhbzxf4l.png" alt="Status of nginx" width="800" height="333"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Test in a Web Browser&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Copy the &lt;strong&gt;public IP address&lt;/strong&gt; of the VM and paste it into a browser:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;http://&amp;lt;your_vm_ip&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;If Nginx is installed correctly, you should see the &lt;strong&gt;default Nginx welcome page.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fzk3hvcsqd38mhlbu76pz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fzk3hvcsqd38mhlbu76pz.png" alt=" " width="800" height="209"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Creating a Linux virtual machine in the Azure Portal is a straightforward process that gives you a powerful and flexible environment for hosting applications, running workloads, or experimenting with cloud technologies. By following these steps, you’ve learned how to select an image, configure size and networking, and deploy a VM in minutes.&lt;br&gt;
This is just the beginning, once your VM is up and running, you can:&lt;/p&gt;

&lt;p&gt;Secure it with &lt;strong&gt;Network Security Groups&lt;/strong&gt; and &lt;strong&gt;Azure Firewall&lt;/strong&gt;.&lt;br&gt;
Automate deployments using &lt;strong&gt;Azure CLI&lt;/strong&gt;, &lt;strong&gt;PowerShell&lt;/strong&gt;, or &lt;strong&gt;ARM templates&lt;/strong&gt;.&lt;br&gt;
Scale resources based on demand and integrate with other Azure services like &lt;strong&gt;Storage&lt;/strong&gt;, &lt;strong&gt;Monitoring&lt;/strong&gt;, and &lt;strong&gt;Backup&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Mastering VM creation is a key skill for cloud professionals, and Azure makes it easy to get started. Keep exploring and building!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thanks for reading — see you in the next one&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>virtualmachine</category>
      <category>cloud</category>
      <category>azure</category>
      <category>linux</category>
    </item>
    <item>
      <title>Step-by-Step Lab: How to Create a Resource Group in Azure Portal</title>
      <dc:creator>Samuel Ojo</dc:creator>
      <pubDate>Thu, 13 Nov 2025 00:33:04 +0000</pubDate>
      <link>https://dev.to/ojosamuel129/step-by-step-lab-how-to-create-a-resource-group-in-azure-portal-2gg0</link>
      <guid>https://dev.to/ojosamuel129/step-by-step-lab-how-to-create-a-resource-group-in-azure-portal-2gg0</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
In today’s cloud-first world, organizing resources efficiently is critical for managing costs, security, and scalability. Microsoft Azure uses Resource Groups as a fundamental building block for resource management. A &lt;strong&gt;Resource Group&lt;/strong&gt; acts as a logical container that holds related resources for an Azure solution, making it easier to deploy, monitor, and manage them collectively.&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;&lt;br&gt;
&lt;em&gt;In this lab, you’ll learn how to create a Resource Group using the Azure Portal, step by step. By the end, you’ll understand why Resource Groups are essential and how they fit into Azure’s resource hierarchy.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Objectives&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Understand what a Resource Group is.&lt;/li&gt;
&lt;li&gt;Create a Resource Group using the Azure Portal.&lt;/li&gt;
&lt;li&gt;Verify the Resource Group deployment.&lt;/li&gt;
&lt;li&gt;Learn optional automation using Azure CLI and PowerShell.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Active Azure subscription.&lt;/li&gt;
&lt;li&gt;Access to &lt;a href="https://portal.azure.com" rel="noopener noreferrer"&gt;https://portal.azure.com&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Basic understanding of Azure concepts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Key Terms&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Resource Group:&lt;/strong&gt; A container that holds related Azure resources, such as virtual machines, storage accounts, and databases, allowing you to manage them as a single unit.&lt;br&gt;
&lt;strong&gt;Azure Portal:&lt;/strong&gt; A web-based interface for managing Azure resources visually.&lt;br&gt;
&lt;strong&gt;Subscription:&lt;/strong&gt; A billing and management boundary in Azure that groups resources and services under a single account.&lt;br&gt;
&lt;strong&gt;Region:&lt;/strong&gt; A geographical location where Azure resources are hosted. Choosing the right region impacts latency, compliance, and availability.&lt;br&gt;
&lt;strong&gt;Tags:&lt;/strong&gt; Key-value pairs used to organize and classify resources for cost management and governance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lab Steps&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;✅ Step 1: Sign in to Azure Portal&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigate to &lt;a href="https://portal.azure.com" rel="noopener noreferrer"&gt;https://portal.azure.com&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Sign in with your Azure account credentials.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F9ahrge4c9u7ziwzpzw7d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F9ahrge4c9u7ziwzpzw7d.png" alt="Sign in with your Azure account credentials" width="800" height="481"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;✅ Step 2: Search for &lt;code&gt;Resource Groups&lt;/code&gt; at the search bar&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;click &lt;strong&gt;Resource groups&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fe8v4cl3jkp32nm41i1gn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fe8v4cl3jkp32nm41i1gn.png" alt="Resource groups" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;✅ Step 3: Create a New Resource Group&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;+ Create&lt;/strong&gt; (or &lt;strong&gt;Create resource group&lt;/strong&gt;).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ft5871jbrcyd82bvjsq06.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ft5871jbrcyd82bvjsq06.png" alt="Create Resource Group" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Fill in the required details:&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Subscription:&lt;/strong&gt; Select the subscription you want to use.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resource group name:&lt;/strong&gt; Enter a unique name (e.g., &lt;strong&gt;&lt;code&gt;MyResourceGroup&lt;/code&gt;&lt;/strong&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Region:&lt;/strong&gt; Choose the Azure region where you want the resources to reside (e.g., (UK) UK South).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fnjnr26nb1tuk1xwz9u74.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fnjnr26nb1tuk1xwz9u74.png" alt="MyResourceGroup" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;✅ Step 4: Review and Create&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Review + Create&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F4dtcknk3qp7cv6gtejwe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F4dtcknk3qp7cv6gtejwe.png" alt="Review + Create" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Validate the settings.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Create&lt;/strong&gt;.
&lt;img src="https://media2.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%2Fqoinrd5gryaddsfu9myr.png" alt="Create" width="800" height="450"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;✅ Step 5: Verify&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;After deployment completes, you’ll see the new resource group in the Resource groups list.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ftp0ymdw0s2c4bb4xhczq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ftp0ymdw0s2c4bb4xhczq.png" alt="Confirm resource group" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Verification&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Go to Resource groups&lt;/strong&gt; in the Azure Portal.&lt;/li&gt;
&lt;li&gt;Confirm the &lt;strong&gt;resource group&lt;/strong&gt; name, region, and subscription.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fbxtza2df15hwbzrqqquh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fbxtza2df15hwbzrqqquh.png" alt="Confirm the resource group" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Resource Groups are the foundation of resource organization in Azure. By creating a Resource Group, you establish a logical structure that simplifies deployment, monitoring, and lifecycle management. Whether you’re working on a small project or a large enterprise solution, proper resource grouping ensures better governance and cost control.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Next steps:&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Add resources&lt;/strong&gt; to your &lt;strong&gt;Resource Group&lt;/strong&gt;.&lt;br&gt;
Apply **tags **for better organization.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thanks for reading — see you in the next one&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>cloudcomputing</category>
      <category>azureresourcegroup</category>
      <category>devops</category>
    </item>
    <item>
      <title>Hands-On with Azure Files: Storage, Snapshots &amp; Network Security</title>
      <dc:creator>Samuel Ojo</dc:creator>
      <pubDate>Tue, 11 Nov 2025 21:58:26 +0000</pubDate>
      <link>https://dev.to/ojosamuel129/hands-on-with-azure-files-storage-snapshots-network-security-cj5</link>
      <guid>https://dev.to/ojosamuel129/hands-on-with-azure-files-storage-snapshots-network-security-cj5</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction:&lt;/strong&gt;&lt;br&gt;
In this lab, I set up a secure Azure Files environment tailored for a finance department. The goal was to create a premium storage account, configure file shares and directories, enable snapshots for recovery, and restrict access using virtual networks. This walkthrough is ideal for anyone looking to build enterprise-grade file storage with layered security and recovery options.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fxo9mteslmuxmer6qd5kp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fxo9mteslmuxmer6qd5kp.png" alt="Architectural Diagram" width="800" height="656"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Skilling tasks&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a storage account specifically for file shares.&lt;/li&gt;
&lt;li&gt;Configure a file share and directory.&lt;/li&gt;
&lt;li&gt;Configure snapshots and practice restoring files.&lt;/li&gt;
&lt;li&gt;Restrict access to a specific virtual network and subnet.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Create and configure a storage account for Azure Files.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Create a storage account for the finance department’s shared files.&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the portal, search for and select &lt;code&gt;Storage accounts&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fe49ue179fir8zwh1kopy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fe49ue179fir8zwh1kopy.png" alt="Search Storage accounts" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select + &lt;strong&gt;Create&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fgej3xdq8tvchonzbg7cj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fgej3xdq8tvchonzbg7cj.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For &lt;strong&gt;Resource group&lt;/strong&gt; select &lt;strong&gt;Create new&lt;/strong&gt;. Give your resource group a &lt;strong&gt;name&lt;/strong&gt; and select &lt;strong&gt;OK&lt;/strong&gt; to save your changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F5el4bnm5lvrx52o0eugx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F5el4bnm5lvrx52o0eugx.png" alt="New Resource group" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Provide a &lt;strong&gt;Storage account name&lt;/strong&gt;. Ensure the name meets the naming requirements.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Set the &lt;strong&gt;Performance&lt;/strong&gt; to &lt;strong&gt;Premium&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Set the &lt;strong&gt;Premium account type&lt;/strong&gt; to &lt;strong&gt;File shares&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Set the &lt;strong&gt;Redundancy&lt;/strong&gt; to &lt;strong&gt;Zone-redundant storage&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select &lt;strong&gt;Review&lt;/strong&gt; and then &lt;strong&gt;Create&lt;/strong&gt; the storage account.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fwuojkg2gvyrpkftgpepb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fwuojkg2gvyrpkftgpepb.png" alt="Review + Create" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fnmgdr6rgfyuf99lc99ce.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fnmgdr6rgfyuf99lc99ce.png" alt="Create" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Wait for the resource to deploy.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Go to resource&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fsb7tpbbygoqfxgoji4sl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fsb7tpbbygoqfxgoji4sl.png" alt="Go to resource" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create and configure a file share with directory.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a file share for the corporate office.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;In the storage account, in the &lt;strong&gt;Data storage&lt;/strong&gt; section, select the &lt;strong&gt;File shares&lt;/strong&gt; blade.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fty4vpihki2u6nxl6m725.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fty4vpihki2u6nxl6m725.png" alt="File shares" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;+ File share&lt;/strong&gt; and provide a &lt;strong&gt;Name&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Review the other options, but take the defaults.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Create&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Flgtin05deklxir1kz250.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Flgtin05deklxir1kz250.png" alt="Create File shares" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Add a directory to the file share for the finance department. For future testing, upload a file.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select your file share and select &lt;strong&gt;+ Add directory&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Name the new directory &lt;code&gt;finance&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fq93gmsbt1ggeh3ol2buu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fq93gmsbt1ggeh3ol2buu.png" alt="finance directory" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;Browse&lt;/strong&gt; and then select the &lt;strong&gt;finance&lt;/strong&gt; directory.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F4wfihakbfxml0ecx9iht.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F4wfihakbfxml0ecx9iht.png" alt="Browse finance directory" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Notice you can &lt;strong&gt;Add directory&lt;/strong&gt; to further organize your file share.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Feyqddj5b4boou7qrhcat.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Feyqddj5b4boou7qrhcat.png" alt="Add directory" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Upload&lt;/strong&gt; a file of your choosing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fpd85t9lb95oay4mxlne7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fpd85t9lb95oay4mxlne7.png" alt="Upload File" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Configure and test snapshots.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Similar to blob storage, you need to protect against accidental deletion of files. You decide to use snapshots.&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select your file share.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Operations&lt;/strong&gt; section, select the &lt;strong&gt;Snapshots&lt;/strong&gt; blade.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;+ Add snapshot&lt;/strong&gt;. The comment is optional. Select &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fieqlyvkq9kaligi11ku7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fieqlyvkq9kaligi11ku7.png" alt="Add snapshot" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select your snapshot and verify your file directory and uploaded file are included.&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Practice using snapshots to restore a file.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;Return to your &lt;strong&gt;file share&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Browse&lt;/strong&gt; to your file directory.&lt;/li&gt;
&lt;li&gt;Locate your uploaded file and in the &lt;strong&gt;Properties&lt;/strong&gt; pane select &lt;strong&gt;Delete&lt;/strong&gt;. Select &lt;strong&gt;Yes&lt;/strong&gt; to confirm the deletion.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fayfda2obr4xzh4ypznl0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fayfda2obr4xzh4ypznl0.png" alt="delete file" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fugs28rwt7iljq6ijr3it.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fugs28rwt7iljq6ijr3it.png" alt="Confirm deleted file" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select the &lt;strong&gt;Snapshots&lt;/strong&gt; blade and then select your snapshot.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fltc9mu7pv8349fl4o70g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fltc9mu7pv8349fl4o70g.png" alt="Select Snapshots" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigate to the file you want to restore,&lt;/li&gt;
&lt;li&gt;Select the file and the select &lt;strong&gt;Restore&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fdxzo5cuz0jksszf6yobx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fdxzo5cuz0jksszf6yobx.png" alt="Restore" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Provide a &lt;strong&gt;Restored file name&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fsf16c7wxxe9jw4z5zouk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fsf16c7wxxe9jw4z5zouk.png" alt="Restored file" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Verify your file directory has the restored file.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F7asvu8robt1giae6bibr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F7asvu8robt1giae6bibr.png" alt="Verified Restored file" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Configure restricting storage access to selected virtual networks.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;This tasks in this section require a virtual network with subnet. In a production environment these resources would already be created.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Search for and select Virtual networks.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fnhwyristvck6yir78fnx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fnhwyristvck6yir78fnx.png" alt="Search Virtual networks" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;Create&lt;/strong&gt;. Select your resource group. and give the virtual network a &lt;strong&gt;name&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Take the defaults for other parameters, select &lt;strong&gt;Review + create&lt;/strong&gt;, and then &lt;strong&gt;Create&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F3ucfu4zjkfc9fhofwjje.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F3ucfu4zjkfc9fhofwjje.png" alt="Create Virtual networks" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fmxc2nv6ookm342bwxzli.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fmxc2nv6ookm342bwxzli.png" alt="Review + create" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fmbosb3rmjfur11aoq72x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fmbosb3rmjfur11aoq72x.png" alt="create" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Wait for the resource to deploy.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Go to resource&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fs0znetvg4x2oo9e68srv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fs0znetvg4x2oo9e68srv.png" alt="Go to resource" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;Settings&lt;/strong&gt; section, select the &lt;strong&gt;Subnets&lt;/strong&gt; blade.&lt;/li&gt;
&lt;li&gt;Select the &lt;strong&gt;default&lt;/strong&gt; subnet.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Service endpoints&lt;/strong&gt; section choose &lt;strong&gt;Microsoft.Storage&lt;/strong&gt; in the &lt;strong&gt;Services&lt;/strong&gt; drop-down.&lt;/li&gt;
&lt;li&gt;Do not make any other changes.&lt;/li&gt;
&lt;li&gt;Be sure to &lt;strong&gt;Save&lt;/strong&gt; your changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fh0x2hhcci4g9cwpdffan.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fh0x2hhcci4g9cwpdffan.png" alt="Subnet" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. The storage account should only be accessed from the virtual network you just created.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Return to your &lt;strong&gt;files storage account&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Security + networking&lt;/strong&gt; section, select the &lt;strong&gt;Networking&lt;/strong&gt; blade.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Faksbixedkbw5on2wd8eg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Faksbixedkbw5on2wd8eg.png" alt="files storage account" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Change the &lt;strong&gt;Public network access&lt;/strong&gt; to &lt;strong&gt;Enabled from selected virtual networks and IP addresses&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fgeqcqktzgroavsknb2n9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fgeqcqktzgroavsknb2n9.png" alt="Public network access" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;Virtual networks&lt;/strong&gt; section, select &lt;strong&gt;Add existing virtual network&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select your virtual network and subnet, select &lt;strong&gt;Add&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Be sure to &lt;strong&gt;Save&lt;/strong&gt; your changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fdf8lkpkke0o5hvp1cqqy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fdf8lkpkke0o5hvp1cqqy.png" alt="Virtual networks" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fsp977meq2it76ggmqqdp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fsp977meq2it76ggmqqdp.png" alt="Save Virtual networks" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select the &lt;strong&gt;Storage browser&lt;/strong&gt; and navigate to your file share.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fwjiywzs57q0k07o7nf8y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fwjiywzs57q0k07o7nf8y.png" alt="Storage browser" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Verify the message not authorized to perform this operation. You are not connecting from the virtual network.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fpixt5o6ekku6yl4hfkio.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fpixt5o6ekku6yl4hfkio.png" alt=" " width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt; 🧠 &lt;strong&gt;Key Terms Explained for Beginners&lt;/strong&gt;&lt;br&gt;
If you're new to Azure, here are some important terms used in this lab and what they mean:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Azure Portal:&lt;/strong&gt; The web-based dashboard where you manage all your Azure services. Think of it as your cloud control center.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Resource Group:&lt;/strong&gt; A container that holds related Azure resources like storage accounts, virtual networks, and more. It helps you organize and manage them together.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Storage Account:&lt;/strong&gt; A secure space in Azure where you store data—files, blobs, queues, and tables. It’s the foundation for using Azure Files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Azure Files:&lt;/strong&gt; A cloud-based file sharing service that works like a traditional file server. You can access it using standard file protocols.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;File Share:&lt;/strong&gt; A folder-like structure inside Azure Files where you store and organize files. You can create directories within it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Directory:&lt;/strong&gt; A subfolder within a file share. In this lab, we created one called finance to organize departmental files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Snapshot:&lt;/strong&gt; A read-only backup of your file share at a specific point in time. It’s useful for restoring deleted or changed files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Restore:&lt;/strong&gt; The process of bringing back a deleted or previous version of a file using a snapshot.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Virtual Network (VNet):&lt;/strong&gt; A private network in Azure that lets your resources communicate securely. It’s like your own cloud-based LAN.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Subnet:&lt;/strong&gt; A smaller segment within a virtual network that helps organize and isolate resources.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Service Endpoint:&lt;/strong&gt; A way to securely connect your virtual network to Azure services like Storage without going over the public internet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Zone-Redundant Storage (ZRS):&lt;/strong&gt; A storage option that keeps your data safe by replicating it across multiple zones in a region.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Premium Performance Tier:&lt;/strong&gt; A high-speed storage option optimized for low-latency and high-throughput workloads.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Public Network Access:&lt;/strong&gt; A setting that controls whether your storage account can be accessed from the internet or only from specific networks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;✅ Conclusion&lt;/strong&gt;&lt;br&gt;
This lab covered the full lifecycle of setting up Azure Files for secure departmental use. From premium storage configuration to snapshots and network restrictions, each step reinforced best practices for enterprise-grade file sharing. These skills are directly applicable to production environments where data protection and access control are critical.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thanks for reading — see you in the next one&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>cloudcomputing</category>
      <category>cloudskills</category>
      <category>cloudstorage</category>
    </item>
  </channel>
</rss>
