<?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>Forem: Stephen Onyewuchi</title>
    <description>The latest articles on Forem by Stephen Onyewuchi (@sconstephen).</description>
    <link>https://forem.com/sconstephen</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%2F2025722%2Fbecf5503-1866-4341-8ba1-8975b52648f0.jpg</url>
      <title>Forem: Stephen Onyewuchi</title>
      <link>https://forem.com/sconstephen</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/sconstephen"/>
    <language>en</language>
    <item>
      <title>Providing storage with secure access for an app using managed identity and role-based access control</title>
      <dc:creator>Stephen Onyewuchi</dc:creator>
      <pubDate>Sat, 02 Nov 2024 20:10:03 +0000</pubDate>
      <link>https://forem.com/sconstephen/providing-storage-with-secure-access-for-an-app-using-managed-identity-and-role-based-access-control-4e01</link>
      <guid>https://forem.com/sconstephen/providing-storage-with-secure-access-for-an-app-using-managed-identity-and-role-based-access-control-4e01</guid>
      <description>&lt;p&gt;&lt;a id="top"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Table of contents
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1.&lt;/strong&gt; Create the storage account and managed identity.&lt;br&gt;
&lt;strong&gt;Step 2.&lt;/strong&gt; Secure access to the storage account with a key vault and key.&lt;br&gt;
&lt;strong&gt;Step 3.&lt;/strong&gt; Configure the storage account to use the customer managed key in the key vault&lt;br&gt;
&lt;strong&gt;Step 4.&lt;/strong&gt; Configure a time-based retention policy and an encryption scope.&lt;/p&gt;

&lt;p&gt;&lt;a id="1"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1. - Create the storage account and managed identity
&lt;/h2&gt;

&lt;p&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, &lt;strong&gt;search&lt;/strong&gt; for and &lt;strong&gt;select&lt;/strong&gt; &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%2Fxe0bbgvumzr6rm00hplf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxe0bbgvumzr6rm00hplf.png" alt="2024-10-30_20h51_02" width="800" height="140"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;+ Create&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%2F1twek6obsf4rzkjnh65a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1twek6obsf4rzkjnh65a.png" alt="2024-10-30_20h55_08" width="800" height="191"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For &lt;strong&gt;Resource group&lt;/strong&gt; select &lt;code&gt;Create new&lt;/code&gt;. Give your &lt;strong&gt;resource group&lt;/strong&gt; a &lt;strong&gt;name&lt;/strong&gt; and &lt;strong&gt;select 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%2Faj2c2g4tyrhwkcf325y5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faj2c2g4tyrhwkcf325y5.png" alt="2024-10-30_21h07_09" width="800" height="602"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Move to the &lt;code&gt;Encryption&lt;/code&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;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;Review + Create&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Wait for the &lt;strong&gt;resource to deploy&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%2F79gku13mly4zusoeya8t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F79gku13mly4zusoeya8t.png" alt="2024-10-30_21h10_10" width="800" height="462"&gt;&lt;/a&gt;&lt;/p&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;
&lt;strong&gt;Search&lt;/strong&gt; 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%2Fh8jeu4auc65ak6skttww.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh8jeu4auc65ak6skttww.png" alt="2024-10-30_21h19_25" width="800" height="162"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;+ Create&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%2Fk3a1vqsxfdarify5eljo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk3a1vqsxfdarify5eljo.png" alt="2024-10-30_21h23_23" width="800" height="125"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; your &lt;code&gt;resource group&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Give your managed identity a name.&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%2Foy18x3i2e9f8htffuq4o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foy18x3i2e9f8htffuq4o.png" alt="2024-10-30_21h27_45" width="800" height="434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;Review + create&lt;/code&gt;, and then &lt;code&gt;Create&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Assign the correct &lt;strong&gt;permissions&lt;/strong&gt; to the managed identity. The identity only needs to &lt;strong&gt;read and list containers and blobs&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;Search for and &lt;strong&gt;select&lt;/strong&gt; your &lt;strong&gt;storage account&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select the &lt;code&gt;Access Control (IAM)&lt;/code&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%2Frl2ucl677vr6cqm6glvz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frl2ucl677vr6cqm6glvz.png" alt="2024-11-02_13h59_51" width="800" height="220"&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 role&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%2F1huv046lwxndxpwkivf9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1huv046lwxndxpwkivf9.png" alt="2024-11-02_14h04_52" width="800" height="293"&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;code&gt;Managed identity&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;+ Select members&lt;/code&gt;, in the Managed identity drop-down select &lt;strong&gt;User-assigned managed identity&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select the &lt;strong&gt;managed identity&lt;/strong&gt; you created in the previous step.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Select&lt;/strong&gt; and then &lt;code&gt;Review + assign&lt;/code&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%2F63ocfk5tbavaumiumep3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F63ocfk5tbavaumiumep3.png" alt="2024-11-02_14h08_15" width="800" height="363"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;Review + assign&lt;/code&gt; a second time to add the role assignment.&lt;/li&gt;
&lt;li&gt;Your &lt;code&gt;storage account&lt;/code&gt; can now be accessed by a managed identity with the &lt;strong&gt;Storage Data Blob Reader permissions&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%2F47qy3r3zpg3bmaqp1ad9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F47qy3r3zpg3bmaqp1ad9.png" alt="2024-11-02_14h11_41" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a id="2"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2. - Secure access to the storage account with a key vault and key
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. To create the key vault and key needed for this part of the lab, your user account must have Key Vault Administrator permissions.&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the portal, search for and select &lt;code&gt;Resource groups&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Select your &lt;code&gt;resource group&lt;/code&gt;, and then the &lt;code&gt;Access Control (IAM)&lt;/code&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%2F9kh8x4h4r6ipx7xv5dxd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9kh8x4h4r6ipx7xv5dxd.png" alt="2024-11-02_14h14_14" width="800" height="222"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the Job functions roles page, search for and select the Key Vault Administrator 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%2F1na3tlp0vozt1o93p760.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1na3tlp0vozt1o93p760.png" alt="2024-11-02_14h16_49" width="800" height="286"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the &lt;strong&gt;Members page&lt;/strong&gt;, select User, group, or service principal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;+ Select members&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Search for and &lt;strong&gt;select your user account&lt;/strong&gt;. 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;code&gt;Review + assign&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%2Fly8kfoixnba8jnlw5fvb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fly8kfoixnba8jnlw5fvb.png" alt="2024-11-02_14h20_51" width="800" height="326"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;Review + assign&lt;/code&gt; a second time to &lt;strong&gt;add the role assignment&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;You are now ready to continue with the lab.&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%2Fco6bkdux8xp1m8tw6c8e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fco6bkdux8xp1m8tw6c8e.png" alt="2024-11-02_14h24_48" width="800" height="230"&gt;&lt;/a&gt;&lt;/p&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, &lt;strong&gt;search&lt;/strong&gt; for and &lt;strong&gt;select&lt;/strong&gt; &lt;code&gt;Key vaults&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%2F7yivwjtnhj52yvodbhyw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7yivwjtnhj52yvodbhyw.png" alt="2024-11-02_14h26_39" width="800" height="184"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;+ Create&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%2Fe88xxnbv44nt0igi3hvw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe88xxnbv44nt0igi3hvw.png" alt="2024-11-02_14h29_34" width="800" height="168"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; your &lt;code&gt;Resource group&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Provide the name for the &lt;strong&gt;key vault&lt;/strong&gt;. 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%2F0rpmvhte5f9wb166cmff.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0rpmvhte5f9wb166cmff.png" alt="2024-11-02_14h42_22" width="800" height="242"&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;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;Review + create&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Wait for the validation checks to complete and then &lt;strong&gt;select&lt;/strong&gt; &lt;code&gt;+ Create&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%2Fmlb3jtfmp1j467b7ki2z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmlb3jtfmp1j467b7ki2z.png" alt="2024-11-02_14h44_54" width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;After the deployment, &lt;strong&gt;select&lt;/strong&gt; &lt;code&gt;Go to resource&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%2Fo71div19jyffro8ifl23.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo71div19jyffro8ifl23.png" alt="2024-11-02_14h49_23" width="800" height="300"&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%2Fbfhko6ctbgqh6uaecpu6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbfhko6ctbgqh6uaecpu6.png" alt="2024-11-02_14h51_36" width="800" height="202"&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;p&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;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftadaisv8ar52dq27mcos.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftadaisv8ar52dq27mcos.png" alt="2024-11-02_14h55_04" width="800" height="255"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;Generate/Import&lt;/strong&gt; and Name the key.&lt;/li&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%2Fzp9pnkynvmetix8mffrs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzp9pnkynvmetix8mffrs.png" alt="2024-11-02_14h57_24" width="800" height="354"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a id="3"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3. - Configure the storage account to use the customer managed key in the key vault
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Before you can complete the next steps, you must assign the Key Vault Crypto Service Encryption User role to the managed identity.&lt;/strong&gt; &lt;br&gt;
&lt;em&gt;Find out more on how to use a system-assigned managed identity to authorize access&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the portal, &lt;strong&gt;search&lt;/strong&gt; for and &lt;strong&gt;select&lt;/strong&gt; &lt;code&gt;Resource groups&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Select your &lt;strong&gt;resource group&lt;/strong&gt;, and then the &lt;code&gt;Access Control (IAM)&lt;/code&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%2F6gy7h469uiiqwdevswzi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6gy7h469uiiqwdevswzi.png" alt="2024-11-02_15h08_34" width="800" height="200"&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;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%2Fnipybcnb0iqtrzmvxla1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnipybcnb0iqtrzmvxla1.png" alt="2024-11-02_15h12_12" width="800" height="254"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the Members page, select &lt;strong&gt;Managed identity&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;+ Select members&lt;/code&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 &lt;strong&gt;managed identity&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Select&lt;/strong&gt; and then &lt;code&gt;Review + assign&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%2Fnwkl6dwryuuwz4k2hqkq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnwkl6dwryuuwz4k2hqkq.png" alt="2024-11-02_15h18_26" width="800" height="343"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;code&gt;Review + assign&lt;/code&gt; a second time to &lt;strong&gt;add the role assignment&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;check access&lt;/strong&gt;, then &lt;strong&gt;View my access&lt;/strong&gt; to confirm roles&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%2Fnb16cckour1q43rba40r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnb16cckour1q43rba40r.png" alt="2024-11-02_15h30_36" width="800" height="209"&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;br&gt;
&lt;em&gt;Learn more about customer managed keys on an existing storage account.&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Return to your the &lt;strong&gt;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;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;/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%2Fy8f2v14j8ibo9jtytysy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy8f2v14j8ibo9jtytysy.png" alt="2024-11-02_15h39_52" width="800" height="352"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;code&gt;Select a key vault and key&lt;/code&gt;. &lt;strong&gt;Select your key vault and key&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; to confirm your choices.&lt;/li&gt;
&lt;li&gt;Ensure the Identity type is &lt;strong&gt;User-assigned&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select an &lt;strong&gt;identity&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select your &lt;strong&gt;managed identity&lt;/strong&gt; 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%2Fvyu7ba3f9ez6skt2l00q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvyu7ba3f9ez6skt2l00q.png" alt="2024-11-02_15h44_40" width="800" height="349"&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, &lt;strong&gt;wait a minute and try again&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a id="4"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4. - Configure an time-based retention policy and an encryption scope.
&lt;/h2&gt;

&lt;p&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;br&gt;
&lt;em&gt;Learn more about blob immutable storage.&lt;/em&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;code&gt;Data storage&lt;/code&gt; section, &lt;strong&gt;select&lt;/strong&gt; the &lt;code&gt;Containers&lt;/code&gt; blade.&lt;/li&gt;
&lt;li&gt;Create a &lt;strong&gt;container&lt;/strong&gt; 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%2Fcwua6qqu79ejs6q2kuq6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcwua6qqu79ejs6q2kuq6.png" alt="2024-11-02_16h05_20" width="800" height="343"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Upload&lt;/strong&gt; a file to the container.&lt;/li&gt;
&lt;li&gt;Navigate to the &lt;strong&gt;container&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%2F0cnmsgabpmk821ivu2c6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0cnmsgabpmk821ivu2c6.png" alt="2024-11-02_16h09_03" width="800" height="258"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the &lt;code&gt;Settings&lt;/code&gt; section, &lt;strong&gt;select&lt;/strong&gt; the &lt;code&gt;Access policy blade&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Immutable blob storage&lt;/strong&gt; section, select &lt;code&gt;+ Add policy&lt;/code&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 days&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%2Fksx9io4dmhpleaq9l8mc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fksx9io4dmhpleaq9l8mc.png" alt="2024-11-02_16h13_56" width="800" height="343"&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;li&gt;Verify you are notified failed to delete blobs &lt;strong&gt;due to policy&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%2Fargisrva73lpiu2f7jow.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fargisrva73lpiu2f7jow.png" alt="2024-11-02_16h18_46" width="800" height="269"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. The developers require an encryption scope that enables infrastructure encryption.&lt;/strong&gt; &lt;br&gt;
&lt;em&gt;Find our more about infrastructure encryption.&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigate back to your &lt;code&gt;storage account&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;code&gt;Security + networking&lt;/code&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 name.&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%2F0qn07ei81p3a44luodhg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0qn07ei81p3a44luodhg.png" alt="2024-11-02_16h23_03" width="800" height="241"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Return to your &lt;code&gt;storage account&lt;/code&gt; and create a new &lt;code&gt;container&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Notice on the New container 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 &lt;strong&gt;apply&lt;/strong&gt; it to &lt;strong&gt;all blobs in the container.&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%2Fp2kd66ao3jnppwbgggza.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp2kd66ao3jnppwbgggza.png" alt="2024-11-02_16h41_24" width="800" height="348"&gt;&lt;/a&gt;&lt;br&gt;
Back to top&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>devops</category>
      <category>cloud</category>
      <category>azure</category>
    </item>
    <item>
      <title>Setting up Azure shared file storage for a department in a Company</title>
      <dc:creator>Stephen Onyewuchi</dc:creator>
      <pubDate>Wed, 30 Oct 2024 11:46:41 +0000</pubDate>
      <link>https://forem.com/sconstephen/setting-up-azure-shared-file-storage-for-a-department-in-a-company-1i6g</link>
      <guid>https://forem.com/sconstephen/setting-up-azure-shared-file-storage-for-a-department-in-a-company-1i6g</guid>
      <description>&lt;p&gt;&lt;a id="top"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Table of contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Step 1- Create and configure a storage account for Azure Files.
&lt;/li&gt;
&lt;li&gt;Step 2- Create and configure a file share with directory.
&lt;/li&gt;
&lt;li&gt;Step 3- Configure and test snapshots.
&lt;/li&gt;
&lt;li&gt;Step 4- Configure restricting storage access to selected virtual networks.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a id="step1"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1- Create and configure a storage account for Azure Files.
&lt;/h2&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, &lt;strong&gt;search for&lt;/strong&gt; 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%2Fj1smyulxews5jsbw5nqv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj1smyulxews5jsbw5nqv.png" alt="2024-10-29_22h31_01" width="800" height="202"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;+ Create&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%2Fm5b5t99i0dnv11rla53f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm5b5t99i0dnv11rla53f.png" alt="2024-10-29_22h34_07" width="800" height="156"&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 name and &lt;strong&gt;select 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 meets the naming requirements.&lt;/li&gt;
&lt;li&gt;Set the &lt;strong&gt;Performance&lt;/strong&gt; to &lt;strong&gt;Premium&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Set the &lt;strong&gt;Premium account type&lt;/strong&gt; to &lt;strong&gt;File shares&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Set the &lt;strong&gt;Redundancy&lt;/strong&gt; to &lt;strong&gt;Zone-redundant storage&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;Review&lt;/code&gt; and then &lt;code&gt;Create&lt;/code&gt; the &lt;strong&gt;storage account&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%2Fojubfi2yyzi3f5u9y5hb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fojubfi2yyzi3f5u9y5hb.png" alt="2024-10-29_22h41_12" width="800" height="594"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Wait for the resource to &lt;strong&gt;deploy&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;Go to resource&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%2Fhvxssapuy8c2f6n290cu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhvxssapuy8c2f6n290cu.png" alt="2024-10-29_22h52_46" width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a id="step2"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2- Create and configure a file share with directory.
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Create a file share for the corporate office. Learn more about Azure File tiers.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;storage account&lt;/strong&gt;, in the &lt;strong&gt;Data storage section&lt;/strong&gt;, select the &lt;code&gt;File shares&lt;/code&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%2F7nqcqdoo2hk1cxp1cc1e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7nqcqdoo2hk1cxp1cc1e.png" alt="2024-10-29_22h56_21" width="800" height="277"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;+ File share&lt;/code&gt; and provide a Name.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review&lt;/strong&gt; the other options but take the defaults.&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%2Ftr26ef75bp578hw9uig3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftr26ef75bp578hw9uig3.png" alt="2024-10-29_23h29_30" width="800" height="592"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;Review + Create&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&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 &lt;strong&gt;file share&lt;/strong&gt; and select &lt;code&gt;+ Add directory&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Name the new directory &lt;strong&gt;finance&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;Browse&lt;/code&gt; and then select the &lt;strong&gt;finance directory&lt;/strong&gt;.&lt;/li&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%2F3cl1q7bf8ewvt5utsssu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3cl1q7bf8ewvt5utsssu.png" alt="2024-10-29_23h33_34" width="800" height="159"&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%2Fs4hcln9onvcxi1dosiv5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs4hcln9onvcxi1dosiv5.png" alt="2024-10-29_23h39_59" width="800" height="228"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a id="step3"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3- Configure and test snapshots.
&lt;/h2&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. Learn more about file snapshots.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select your &lt;strong&gt;file share&lt;/strong&gt;.&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;code&gt;+ Add snapshot&lt;/code&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%2Ffegtyajlh6b2h3757l7e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffegtyajlh6b2h3757l7e.png" alt="2024-10-29_23h44_53" width="800" height="265"&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;p&gt;&lt;strong&gt;2. Practice using snapshots to restore a file.&lt;/strong&gt;&lt;/p&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;code&gt;Delete&lt;/code&gt;. Select &lt;code&gt;Yes&lt;/code&gt; to &lt;strong&gt;confirm the deletion.&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%2Fqlxifangh141uplcdiuj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqlxifangh141uplcdiuj.png" alt="2024-10-29_23h49_11" width="800" height="188"&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 &lt;strong&gt;select your snapshot&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Navigate to the file you want to restore,&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; the file and the select &lt;code&gt;Restore&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%2Frde5cci7znwk4podam3l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frde5cci7znwk4podam3l.png" alt="2024-10-29_23h57_35" width="800" height="301"&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%2Fr3003y3qrnibgqgzuvtf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr3003y3qrnibgqgzuvtf.png" alt="2024-10-29_23h56_28" width="800" height="215"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Verify&lt;/strong&gt; your file directory has the &lt;strong&gt;restored file.&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%2Fa12xqdvs86y4xkpiw3qp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa12xqdvs86y4xkpiw3qp.png" alt="2024-10-30_00h01_50" width="800" height="196"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a id="step4"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4- Configure restricting storage access to selected virtual networks.
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. This tasks in this section require a virtual network with subnet. In a production environment these resources would already be created.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Search&lt;/strong&gt; for and &lt;strong&gt;select&lt;/strong&gt; &lt;code&gt;Virtual networks&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%2F1q855bfmd4qt3lbrx983.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1q855bfmd4qt3lbrx983.png" alt="2024-10-30_07h37_17" width="800" height="191"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;code&gt;+ Create&lt;/code&gt;. Select your resource group and give the &lt;strong&gt;virtual network&lt;/strong&gt; a name.&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%2Fkiaddbyvia0ysvu9r9fq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkiaddbyvia0ysvu9r9fq.png" alt="2024-10-30_07h40_54" width="800" height="231"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Take the &lt;strong&gt;defaults&lt;/strong&gt; for other parameters, select &lt;code&gt;Review + create&lt;/code&gt;, and then &lt;code&gt;Create&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Wait for the resource to &lt;strong&gt;deploy&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%2Fopuwuir386bcmvnp3cwq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fopuwuir386bcmvnp3cwq.png" alt="2024-10-30_07h46_28" width="800" height="523"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;Go to resource&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%2Fhivqf55spynwwqwfd8ak.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhivqf55spynwwqwfd8ak.png" alt="2024-10-30_07h51_17" width="800" height="384"&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;code&gt;Subnets&lt;/code&gt; blade.&lt;/li&gt;
&lt;li&gt;Select the &lt;strong&gt;default subnet&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Service endpoints&lt;/strong&gt; section choose &lt;code&gt;Microsoft.Storage&lt;/code&gt; in the Services drop-down.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Do not&lt;/strong&gt; make any other 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%2Febw53phzvxxim5u52xrh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Febw53phzvxxim5u52xrh.png" alt="2024-10-30_08h02_53" width="800" height="370"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Be sure to &lt;strong&gt;Save your changes&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&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;code&gt;Security + networking&lt;/code&gt; section, &lt;strong&gt;select&lt;/strong&gt; the &lt;code&gt;Networking&lt;/code&gt; &lt;strong&gt;blade&lt;/strong&gt;.&lt;/li&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;li&gt;In the &lt;strong&gt;Virtual networks&lt;/strong&gt; section, select &lt;code&gt;Add existing virtual network.&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%2Fmiqtai6mjzu1naopstw1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmiqtai6mjzu1naopstw1.png" alt="2024-10-30_08h11_16" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select your &lt;strong&gt;virtual network and subnet&lt;/strong&gt;, select &lt;code&gt;Enable&lt;/code&gt;, then &lt;code&gt;Add&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Be sure to &lt;strong&gt;Save&lt;/strong&gt; your changes.&lt;/li&gt;
&lt;li&gt;Select the &lt;strong&gt;Storage browser&lt;/strong&gt; and navigate to your &lt;strong&gt;file share&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%2Fw18j1nc72hbg5sjvm81d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw18j1nc72hbg5sjvm81d.png" alt="2024-10-30_08h26_31" width="800" height="414"&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;Back to top&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>devops</category>
      <category>cloud</category>
      <category>azure</category>
    </item>
    <item>
      <title>CREATING PRIVATE STORAGE FOR INTERNAL COMPANY DOCUMENTS</title>
      <dc:creator>Stephen Onyewuchi</dc:creator>
      <pubDate>Wed, 30 Oct 2024 09:50:10 +0000</pubDate>
      <link>https://forem.com/sconstephen/creating-private-storage-for-internal-company-documents-3knp</link>
      <guid>https://forem.com/sconstephen/creating-private-storage-for-internal-company-documents-3knp</guid>
      <description>&lt;p&gt;&lt;a id="top"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Table of contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Create a storage account and configure high availability.&lt;br&gt;
1.Create a storage account for the internal private company documents&lt;br&gt;
2.Configure the appropriate level of redundancy. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a storage container, upload a file, and restrict access to the file.&lt;br&gt;
1.Create a private storage container for the corporate data.&lt;br&gt;
2.Test to ensure the file is not publicly accessible.&lt;br&gt;
3.Configure and test a shared access signature (SAS)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Configure storage access tiers and content replication.&lt;br&gt;
1.Configure to move blobs from the hot tier to the cool tier&lt;br&gt;
2.Backup public website files to another storage account.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a id="1"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Create a storage account and configure high availability.
&lt;/h2&gt;

&lt;p&gt;&lt;a id="a"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;1. Create a storage account for the internal private company documents.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the portal, &lt;strong&gt;search&lt;/strong&gt; for and &lt;strong&gt;select&lt;/strong&gt; &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%2Fnfebclv10dz1zvy6vorm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnfebclv10dz1zvy6vorm.png" alt="2024-10-29_09h17_06" width="800" height="226"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;+ Create&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%2Ft520ae9rswjl19a9hkoq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft520ae9rswjl19a9hkoq.png" alt="2024-10-29_09h26_24" width="800" height="200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Select&lt;/strong&gt; the &lt;code&gt;Resource group&lt;/code&gt; created in the previous lab.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Set the &lt;strong&gt;Storage account name&lt;/strong&gt; to &lt;code&gt;private&lt;/code&gt;. Add an identifier to the name to ensure the name is unique.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select &lt;strong&gt;Review&lt;/strong&gt;, and then &lt;code&gt;Create&lt;/code&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%2Fagej02yonkn84tawxn9e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fagej02yonkn84tawxn9e.png" alt="2024-10-29_09h30_03" width="800" height="589"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Wait for the storage account to deploy, and then &lt;strong&gt;select&lt;/strong&gt; &lt;code&gt;Go to resource&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%2Fku3g3gtlyavsen4enyby.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fku3g3gtlyavsen4enyby.png" alt="2024-10-29_09h34_01" width="800" height="354"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a id="b"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;2. Configure redundancy for the storage account.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;In the &lt;strong&gt;storage account&lt;/strong&gt;, in the &lt;strong&gt;Data management section&lt;/strong&gt;, select the &lt;code&gt;Redundancy&lt;/code&gt; blade.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ensure &lt;strong&gt;Geo-redundant storage (GRS)&lt;/strong&gt; is selected.&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%2Fo5c3oul1m6vq36tdn2z2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo5c3oul1m6vq36tdn2z2.png" alt="2024-10-29_09h37_42" width="800" height="378"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Refresh&lt;/strong&gt; the page.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Review the primary and secondary location information.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Save&lt;/strong&gt; your changes.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a id="2"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Create a storage container, upload a file, and restrict access to the file.
&lt;/h2&gt;

&lt;p&gt;&lt;a id="c"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;1. Create a private storage container for the corporate data.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;storage account&lt;/strong&gt;, in the &lt;code&gt;Data storage&lt;/code&gt; section, select the &lt;code&gt;Containers&lt;/code&gt; blade.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;+ Container&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Ensure the name of the container is &lt;code&gt;private&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Ensure the &lt;strong&gt;Public access level&lt;/strong&gt; is &lt;code&gt;Private&lt;/code&gt; &lt;strong&gt;(no anonymous access).&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;As you have time, review the &lt;strong&gt;Advanced&lt;/strong&gt; settings, but take the defaults.&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%2Fjdlg55hxxp7dl0w6q96l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjdlg55hxxp7dl0w6q96l.png" alt="2024-10-29_09h46_12" width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;a id="d"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;2. Test to ensure the file is not publicly accessible.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select the &lt;strong&gt;container&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;Upload&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Browse to files&lt;/strong&gt; and select a file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Upload&lt;/strong&gt; the 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%2F6y51w8mhza3hkqhaem5c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6y51w8mhza3hkqhaem5c.png" alt="2024-10-29_09h55_16" width="800" height="295"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select the uploaded file.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Overview&lt;/strong&gt; tab, copy the &lt;strong&gt;URL&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%2F59vdzib9bwr0wrrlnefy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F59vdzib9bwr0wrrlnefy.png" alt="2024-10-29_10h01_15" width="800" height="485"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Paste the &lt;strong&gt;URL&lt;/strong&gt; into a new browser tab.&lt;/li&gt;
&lt;li&gt;Verify the file doesn’t display and you receive an error.&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%2F5sdtewrd5z03941hr1us.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5sdtewrd5z03941hr1us.png" alt="2024-10-29_10h02_46" width="800" height="139"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a id="e"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;3. Configure and test a shared access signature (SAS)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select your uploaded blob file and move to the &lt;strong&gt;Generate SAS&lt;/strong&gt; tab.&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%2F647p64scafc1su2p3e2q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F647p64scafc1su2p3e2q.png" alt="2024-10-29_10h05_59" width="800" height="242"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;Permissions&lt;/strong&gt; drop-down, ensure the partner has only &lt;strong&gt;Read&lt;/strong&gt; permissions.&lt;/li&gt;
&lt;li&gt;Verify the &lt;strong&gt;Start and expiry date/time&lt;/strong&gt; is for the next 24 hours.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Generate SAS token and URL.&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%2Fsbhxj3wt4ilgteuc0pwh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsbhxj3wt4ilgteuc0pwh.png" alt="2024-10-29_10h10_13" width="800" height="391"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Copy the &lt;strong&gt;Blob SAS URL&lt;/strong&gt; to a new browser tab.&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%2Fudq43cmsi4ko2fgi5i11.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fudq43cmsi4ko2fgi5i11.png" alt="2024-10-29_10h12_31" width="800" height="225"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Verify you can access the file. If you have uploaded an image file it will display in the browser. Other file types will be downloaded.&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%2Fy3baykc3gt9oxpno28zx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy3baykc3gt9oxpno28zx.png" alt="2024-10-29_10h14_29" width="800" height="388"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a id="3"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Configure storage access tiers and content replication.
&lt;/h2&gt;

&lt;p&gt;&lt;a id="f"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;1. Configure to move blobs from the hot tier to the cool tier&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Return to the &lt;code&gt;storage account&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Overview section&lt;/strong&gt;, notice the &lt;strong&gt;Default access tier&lt;/strong&gt; is set to &lt;strong&gt;Hot&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%2F729rv3zjcbuvqmwxvdxo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F729rv3zjcbuvqmwxvdxo.png" alt="2024-10-29_10h21_36" width="800" height="319"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;Data management section&lt;/strong&gt;, select the &lt;strong&gt;Lifecycle management&lt;/strong&gt; blade.&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;Add rule&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%2Fqpxa9j6dj7j7zr3oobvo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqpxa9j6dj7j7zr3oobvo.png" alt="2024-10-29_10h25_40" width="800" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Set the Rule name to &lt;code&gt;movetocool&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Set the &lt;strong&gt;Rule scope&lt;/strong&gt; to &lt;strong&gt;Apply rule to all blobs in the storage account.&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%2F2yvisv1zoi3yh276qnu1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2yvisv1zoi3yh276qnu1.png" alt="2024-10-29_10h28_19" width="800" height="589"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;code&gt;Next&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Ensure &lt;strong&gt;Last modified&lt;/strong&gt; is selected.&lt;/li&gt;
&lt;li&gt;Set &lt;strong&gt;More than (days ago)&lt;/strong&gt; to &lt;strong&gt;30&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Then&lt;/strong&gt; drop-down select &lt;strong&gt;Move to cool storage&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;As you have time, review other lifecycle options in the drop-down.&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%2Feqvgchthb0a96wxb0c9w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feqvgchthb0a96wxb0c9w.png" alt="2024-10-29_10h32_48" width="800" height="479"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Add&lt;/strong&gt; the rule.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a id="g"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;2. Backup public website files to another storage account.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In your storage account, &lt;strong&gt;create&lt;/strong&gt; a new &lt;code&gt;container&lt;/code&gt; called &lt;code&gt;backup&lt;/code&gt;. Use the default values.&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%2Fsn1vpf740cwo6mm53w5x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsn1vpf740cwo6mm53w5x.png" alt="2024-10-29_10h36_32" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Navigate to your &lt;strong&gt;publicwebsite&lt;/strong&gt; storage account. This storage account was created previously.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In the &lt;strong&gt;Data management&lt;/strong&gt; section, select the &lt;strong&gt;Object replication&lt;/strong&gt; blade.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select &lt;code&gt;Create replication rules&lt;/code&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%2Fkcxoba8a0ytq1k3nbh2q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkcxoba8a0ytq1k3nbh2q.png" alt="2024-10-29_10h41_35" width="800" height="329"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Set the &lt;strong&gt;Destination storage account&lt;/strong&gt; to the &lt;strong&gt;private&lt;/strong&gt; storage account.&lt;/li&gt;
&lt;li&gt;Set the &lt;strong&gt;Source container&lt;/strong&gt; to &lt;strong&gt;public&lt;/strong&gt; and the &lt;strong&gt;Destination container&lt;/strong&gt; to &lt;strong&gt;backup&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%2Fsmemc8n2m4hr0tj0bpue.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsmemc8n2m4hr0tj0bpue.png" alt="2024-10-29_21h41_55" width="800" height="434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Create&lt;/code&gt; the replication rule.&lt;/li&gt;
&lt;li&gt;Optionally, as you have time, upload a file to the &lt;strong&gt;public&lt;/strong&gt; 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%2Fz7ncakgmuocwy0baiuyc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz7ncakgmuocwy0baiuyc.png" alt="2024-10-29_21h50_45" width="800" height="243"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Return to the &lt;strong&gt;private&lt;/strong&gt; storage account and refresh the &lt;strong&gt;backup&lt;/strong&gt; container. Within a few minutes your public website file will appear in the &lt;strong&gt;backup folder&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%2Focl6716mdk3lm1xz243e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Focl6716mdk3lm1xz243e.png" alt="2024-10-29_21h52_24" width="800" height="242"&gt;&lt;/a&gt;&lt;br&gt;
Back to top&lt;/p&gt;

</description>
      <category>devops</category>
      <category>azure</category>
      <category>cloudstorage</category>
      <category>cloudcomputing</category>
    </item>
    <item>
      <title>How to Create storage for a public website with high availability</title>
      <dc:creator>Stephen Onyewuchi</dc:creator>
      <pubDate>Fri, 20 Sep 2024 17:18:10 +0000</pubDate>
      <link>https://forem.com/sconstephen/how-to-create-storage-for-a-public-website-kjk</link>
      <guid>https://forem.com/sconstephen/how-to-create-storage-for-a-public-website-kjk</guid>
      <description>&lt;p&gt;&lt;a id="top"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Table of contents
&lt;/h2&gt;

&lt;p&gt;Introduction to Azure storage, containers and blobs.&lt;br&gt;
Step 1: Create a storage account with high availability.&lt;br&gt;
Step 2: Create a blob storage container with anonymous read access&lt;br&gt;
Step 3: Practice uploading files and testing access.&lt;br&gt;
Step 4: Configure soft delete&lt;br&gt;
Step 5: Configure blob versioning&lt;/p&gt;

&lt;p&gt;&lt;a id="intro"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Azure Storage&lt;/strong&gt; is a great option for hosting a public website. For &lt;strong&gt;blobs and containers&lt;/strong&gt;, Azure Storage offers optional &lt;strong&gt;anonymous read access&lt;/strong&gt;. Anonymous access to your data is never allowed by default. Authorization is required for all requests to a container and its blobs unless you specifically permit anonymous access. Clients can read data in a container without requesting authorization when the access level setting for that container is set to &lt;strong&gt;allow anonymous access&lt;/strong&gt;.&lt;br&gt;
&lt;u&gt;&lt;strong&gt;NOTE:&lt;/strong&gt;&lt;/u&gt; Any client can read data from a container that has been set up for anonymous access. We advise you to remove anonymous access from the storage account if it is not needed in your case because it poses a security risk.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step guide on how to setup storage for public website:
&lt;/h2&gt;

&lt;p&gt;&lt;a id="step1"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Create a storage account with high availability.
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Create a &lt;strong&gt;storage account&lt;/strong&gt; for the public website.&lt;/li&gt;
&lt;/ol&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%2Fliqnlowj20mrrmx7bvrj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fliqnlowj20mrrmx7bvrj.png" alt="2024-09-14_17h23_57" width="800" height="294"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;code&gt;+ Create&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%2Fh41wqkm6w6z50a5cwwbx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh41wqkm6w6z50a5cwwbx.png" alt="2024-09-14_17h27_12" width="800" height="254"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For &lt;strong&gt;resource group&lt;/strong&gt; select new. Give your resource group a name and &lt;strong&gt;Select OK&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Set the &lt;strong&gt;Storage account name&lt;/strong&gt; to publicwebsite. Make sure the storage account name is unique by adding an identifier.&lt;/li&gt;
&lt;li&gt;Leave the default for other settings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Select&lt;/strong&gt; &lt;code&gt;Review + Create&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%2Fsi158d34bkqv82hbexo9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsi158d34bkqv82hbexo9.png" alt="2024-09-18_00h04_34" width="800" height="551"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Wait for the storage account to deploy, and then select &lt;code&gt;Go to resource&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%2Foy6kv06w8qnxzgqwkwjk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foy6kv06w8qnxzgqwkwjk.png" alt="2024-09-20_15h30_30" width="800" height="409"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.The storage requires high availability if there is a regional outage. Additionally, enable read access to the secondary region.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the storage account, in the &lt;code&gt;Data management&lt;/code&gt; section, select the &lt;code&gt;Redundancy&lt;/code&gt; blade.&lt;/li&gt;
&lt;li&gt;Ensure &lt;strong&gt;Read-access Geo-redundant storage&lt;/strong&gt; is selected.&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%2Fq2atkssql3d53bmbnpui.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq2atkssql3d53bmbnpui.png" alt="2024-09-20_15h32_45" width="800" height="343"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Review the primary and secondary location information.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;3.Information on the public website should be accessible without requiring customers to login.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the storage account, in the &lt;code&gt;Settings&lt;/code&gt; section, select the &lt;code&gt;Configuration&lt;/code&gt; blade.&lt;/li&gt;
&lt;li&gt;Ensure the &lt;strong&gt;Allow blob anonymous access&lt;/strong&gt; setting is &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%2Fsjgp7gbg22h3j1e7mopf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsjgp7gbg22h3j1e7mopf.png" alt="2024-09-20_15h37_25" width="800" height="488"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Be sure to &lt;strong&gt;Save&lt;/strong&gt; your changes.
&lt;a id="step2"&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 2: Create a blob storage container with anonymous read access
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;The public website has various images and documents. Create a blob storage container for the content.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;In your storage account, in the &lt;code&gt;Data storage&lt;/code&gt; section, select the &lt;code&gt;Containers&lt;/code&gt; blade.&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;+ Container&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Ensure the Name of the container is &lt;code&gt;public&lt;/code&gt;.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjhsf6m22ulto8fifm7jw.png" alt="2024-09-20_15h43_35" width="800" height="415"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Select &lt;code&gt;Create&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;2.Customers should be able to view the images without being authenticated. Configure anonymous read access for the public container blobs.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select your &lt;code&gt;public&lt;/code&gt; container.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Overview&lt;/strong&gt; blade, select &lt;code&gt;Change access level&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Ensure the &lt;strong&gt;Public access level&lt;/strong&gt; is &lt;strong&gt;Blob (anonymous read access for blobs only).&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%2F12fy6q2x4dr52jh2g1bz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12fy6q2x4dr52jh2g1bz.png" alt="2024-09-20_15h50_30" width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select &lt;code&gt;OK&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a id="step3"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Practice uploading files and testing access.
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;For testing, upload a file to the public container. The type of file doesn’t matter. A small image or text file is a good choice.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;Ensure you are viewing your container.&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;Upload&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Browse to files and select a file&lt;/strong&gt; of your choice.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select &lt;code&gt;Upload&lt;/code&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%2Foig6u8mkoe87846sszs9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foig6u8mkoe87846sszs9.png" alt="2024-09-20_15h58_42" width="800" height="293"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Close the upload window, &lt;strong&gt;Refresh&lt;/strong&gt; the page and ensure your file was uploaded.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;2.Determine the URL for your uploaded file. Open a browser and test the URL.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select your uploaded file.&lt;/li&gt;
&lt;li&gt;On the &lt;code&gt;Overview&lt;/code&gt; tab, copy the &lt;strong&gt;URL&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Paste the &lt;strong&gt;URL&lt;/strong&gt; into a new browser tab.&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%2Fhy77sqqiixeguj1vnv05.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhy77sqqiixeguj1vnv05.png" alt="2024-09-20_16h03_18" width="800" height="397"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The uploaded image file will display in the browser. Other file types should be downloaded.&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%2Fythlnp8qz5okawr9gt06.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fythlnp8qz5okawr9gt06.png" alt="2024-09-20_17h04_33" width="800" height="509"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a id="step4"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Configure soft delete
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;It’s important that the website documents can be restored if they’re deleted. Configure blob soft delete for 21 days.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;Go to the &lt;code&gt;Overview&lt;/code&gt; blade of the &lt;strong&gt;storage account&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Properties&lt;/strong&gt; page, locate the &lt;code&gt;Blob service&lt;/code&gt; section.&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%2Fstwdm94j3b3serty43lk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fstwdm94j3b3serty43lk.png" alt="2024-09-20_16h07_17" width="800" height="425"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select the &lt;code&gt;Blob soft delete&lt;/code&gt; setting.&lt;/li&gt;
&lt;li&gt;Ensure the &lt;code&gt;Enable soft delete for blobs&lt;/code&gt; is &lt;strong&gt;checked&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Change the &lt;strong&gt;Keep deleted blobs for&lt;/strong&gt; (in days) setting to &lt;strong&gt;21&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Notice you can also &lt;strong&gt;Enable soft delete for containers.&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%2F7be3litdcj287niu62jc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7be3litdcj287niu62jc.png" alt="2024-09-20_16h11_12" width="800" height="390"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Don’t forget to &lt;strong&gt;Save&lt;/strong&gt; your changes.&lt;/p&gt;

&lt;p&gt;2.If something gets deleted, you need to practice using soft delete to restore the files.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigate to your &lt;strong&gt;container&lt;/strong&gt; where you uploaded a file.&lt;/li&gt;
&lt;li&gt;Select the file you uploaded and then select &lt;code&gt;Delete&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Confirm to &lt;code&gt;Delete&lt;/code&gt; the 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%2Fuw8dbdjjmgi7jzg81171.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuw8dbdjjmgi7jzg81171.png" alt="2024-09-20_16h27_22" width="800" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the container &lt;strong&gt;Overview&lt;/strong&gt; page, toggle the slider &lt;strong&gt;Show deleted blobs.&lt;/strong&gt; This toggle is to the right of the search box.&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%2Fkjp2uv0d2i0qdxy94tuh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkjp2uv0d2i0qdxy94tuh.png" alt="2024-09-20_16h30_26" width="800" height="193"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select your deleted file, and use the ellipses(&lt;code&gt;...&lt;/code&gt;) on the far right, to &lt;code&gt;Undelete&lt;/code&gt; the file.&lt;/li&gt;
&lt;li&gt;Refresh the container and confirm the file has been restored.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a id="step5"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: Configure blob versioning
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;It’s important to keep track of the different website product document versions.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;Go to the &lt;strong&gt;Overview&lt;/strong&gt; blade of the &lt;code&gt;storage account&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;code&gt;Properties&lt;/code&gt; section, locate the &lt;code&gt;Blob service&lt;/code&gt; section.&lt;/li&gt;
&lt;li&gt;Select the &lt;code&gt;Versioning&lt;/code&gt; setting.&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%2Fxwdevo8psfd69t6nkpy8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxwdevo8psfd69t6nkpy8.png" alt="2024-09-20_16h35_33" width="800" height="341"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ensure the &lt;code&gt;Enable versioning for blobs&lt;/code&gt; checkbox is &lt;strong&gt;checked&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Check the option to &lt;code&gt;keep all versions&lt;/code&gt; or delete versions after.&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%2Fbe91jyaev04x7filvv5d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbe91jyaev04x7filvv5d.png" alt="2024-09-20_16h41_22" width="800" height="399"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Don’t forget to Save your changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;2.As you have time experiment with restoring previous blob versions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Upload&lt;/strong&gt; another version of your container file. This overwrites your existing 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%2F8djhj99xg947jbo2h6k9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8djhj99xg947jbo2h6k9.png" alt="2024-09-20_16h52_50" width="800" height="364"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Your previous file version is listed on &lt;strong&gt;Show deleted blobs&lt;/strong&gt; page.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Back to top&lt;/p&gt;

</description>
      <category>devops</category>
      <category>azure</category>
      <category>cloudcomputing</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Creating Azure Resource Group and Storage</title>
      <dc:creator>Stephen Onyewuchi</dc:creator>
      <pubDate>Wed, 18 Sep 2024 12:27:29 +0000</pubDate>
      <link>https://forem.com/sconstephen/creating-azure-resource-group-and-storage-5gc6</link>
      <guid>https://forem.com/sconstephen/creating-azure-resource-group-and-storage-5gc6</guid>
      <description>&lt;p&gt;&lt;a id="top"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Table of contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;What is Azure Cloud Storage&lt;/li&gt;
&lt;li&gt;
Important Azure Storage Features &lt;/li&gt;
&lt;li&gt;Steps on setting up a storage account and resource group&lt;/li&gt;
&lt;li&gt;Step 1: Create a resource group and a storage account.&lt;/li&gt;
&lt;li&gt;Step 2: Configure simple settings in the storage account.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a id="intro"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Azure Cloud Storage?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Microsoft Azure&lt;/strong&gt; offers a full range of cloud storage services, including Azure Cloud Storage. For a wide range of data objects, it provides highly accessible, massively scalable, robust, and secure storage. &lt;/p&gt;

&lt;h2&gt;
  
  
  Here are a few essential elements:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Azure Blob Storage:&lt;/strong&gt; Object storage that is incredibly scalable for unstructured data, such as binary and text data. It's perfect for keeping a lot of data, including backups, movies, and pictures.&lt;br&gt;
&lt;strong&gt;Azure Files:&lt;/strong&gt; Managed file shares accessible using the SMB protocol are called Azure Files. File share-dependent legacy programs can benefit from this migration.&lt;br&gt;
&lt;strong&gt;Azure Disk Storage:&lt;/strong&gt; High-performance, long-lasting block storage for Azure virtual machines is provided via Azure Disk Storage.&lt;br&gt;
&lt;strong&gt;Azure Data Lake Storage:&lt;/strong&gt; This combines the performance and dependability of a data lake with the scalability and financial advantages of object storage.&lt;/p&gt;

&lt;p&gt;&lt;a id="features"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Important Azure Storage Features
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Global Accessibility:&lt;/strong&gt; HTTP/HTTPS is available everywhere. Data is perfect for scattered teams and worldwide applications since it can be accessed from any location.&lt;br&gt;
&lt;strong&gt;Arrangement and Enhancement:&lt;/strong&gt; Add metadata to data and have it automatically layer between hot and cold storage. Effective data classification and retrieval is aided by metadata. Storage costs are optimized via automatic tiering according to access frequency.&lt;br&gt;
&lt;strong&gt;Security:&lt;/strong&gt; Security features include many access control choices and default data encryption. For increased security, role-based access control (RBAC), encryption both in transit and at rest, and connection with Azure Active Directory are provided.&lt;br&gt;
&lt;strong&gt;Scalability:&lt;/strong&gt; Able to adapt to increasing data requirements with ease. Suitable for applications with varying workloads, it can handle millions of requests per second and petabytes of data.&lt;br&gt;
&lt;strong&gt;Ease of Use:&lt;/strong&gt; Simple to use interface and extensive documentation make it easy to use. Application development is made easier by integration with SDKs and development tools for different programming languages.&lt;/p&gt;

&lt;p&gt;&lt;a id="steps"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Steps on setting up a storage account and resource group
&lt;/h2&gt;

&lt;p&gt;&lt;a id="step1"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Step 1: Create a resource group and a storage account.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create and deploy a resource group to hold all your project resources.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;In the Azure portal, search for and select &lt;code&gt;Resource groups&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

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

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

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

&lt;p&gt;Give your resource group a name. For example, &lt;code&gt;stephen_o&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Select a &lt;strong&gt;Region&lt;/strong&gt;. Use this region throughout the project.&lt;/p&gt;

&lt;p&gt;Select &lt;code&gt;Review + create&lt;/code&gt; to validate the resource group.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Select Create to deploy the resource group.&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Create and deploy a storage account to support testing and training.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;In the Azure 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://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F65z6fm3ysij85tz5ysut.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F65z6fm3ysij85tz5ysut.png" alt="2024-09-14_17h23_57" width="800" height="294"&gt;&lt;/a&gt;&lt;/p&gt;

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

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

&lt;ul&gt;
&lt;li&gt;On the Basics tab, select your Resource group.&lt;/li&gt;
&lt;li&gt;Provide a Storage account name. The storage account name must be unique in Azure.&lt;/li&gt;
&lt;li&gt;Set the Performance to Standard.&lt;/li&gt;
&lt;li&gt;Select Review, and then Create.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Wait for the storage account to deploy and then Go to resource.&lt;/p&gt;

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

&lt;p&gt;&lt;a id="step2"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Configure simple settings in the storage account.
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;The data in this storage account doesn’t require high availability or durability. A lowest cost storage solution is desired.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;In your storage account, in the &lt;strong&gt;Data management&lt;/strong&gt; section, select the &lt;strong&gt;Redundancy&lt;/strong&gt; blade.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Locally-redundant storage (LRS)&lt;/strong&gt; in the &lt;strong&gt;Redundancy&lt;/strong&gt; drop-down.&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://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuopsvnk8i3aobfse0isy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuopsvnk8i3aobfse0isy.png" alt="2024-09-14_19h26_00" width="800" height="340"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Refresh the page and notice the content only exists in the primary location.&lt;/p&gt;

&lt;p&gt;2.The storage account should only accept requests from secure connections.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the Settings section, select the Configuration blade.&lt;/li&gt;
&lt;li&gt;Ensure Secure transfer required is Enabled.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;3.Developers would like the storage account to use at least TLS version 1.2.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;Settings&lt;/strong&gt; section, select the &lt;strong&gt;Configuration&lt;/strong&gt; blade.&lt;/li&gt;
&lt;li&gt;Ensure the &lt;strong&gt;Minimal TLS version&lt;/strong&gt; is set to &lt;strong&gt;Version 1.2.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;4.Until the storage is needed again, disable requests to the storage account.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;Settings&lt;/strong&gt; section, select the &lt;strong&gt;Configuration&lt;/strong&gt; blade.&lt;/li&gt;
&lt;li&gt;Ensure &lt;strong&gt;Allow storage account key access&lt;/strong&gt; is &lt;strong&gt;Disabled&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Be sure to &lt;strong&gt;Save&lt;/strong&gt; your changes.&lt;/p&gt;

&lt;p&gt;5.Ensure the storage account allows public access from all networks.&lt;/p&gt;

&lt;ul&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;li&gt;Ensure &lt;strong&gt;Public network access&lt;/strong&gt; is set to &lt;strong&gt;Enabled from all networks.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Be sure to &lt;strong&gt;Save&lt;/strong&gt; your changes.&lt;br&gt;
Back to top&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
      <category>devops</category>
    </item>
    <item>
      <title>Cloud Computing, Storage and Terminologies</title>
      <dc:creator>Stephen Onyewuchi</dc:creator>
      <pubDate>Wed, 18 Sep 2024 12:23:42 +0000</pubDate>
      <link>https://forem.com/sconstephen/cloud-computing-storage-and-terminologies-1nc2</link>
      <guid>https://forem.com/sconstephen/cloud-computing-storage-and-terminologies-1nc2</guid>
      <description>&lt;h2&gt;
  
  
  What is Cloud Computing
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Cloud computing&lt;/strong&gt; is the provision of different computing services via the internet, sometimes known as "the cloud," is known as cloud computing. Servers, storage, databases, networking, software, analytics, and intelligence are some of these services.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The following are some essential features of cloud computing:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Contingent Self-Service:&lt;/strong&gt; Without assistance from a service provider, customers can use computer resources as needed.&lt;br&gt;
&lt;strong&gt;Wide-ranging Network Access:&lt;/strong&gt; Applications can be accessed via the network using a variety of devices, including laptops, tablets, and smartphones.&lt;br&gt;
&lt;strong&gt;Resource Pooling:&lt;/strong&gt; In order to service a number of customers, providers pool their resources and dynamically allocate and reallocate them in response to demand.&lt;br&gt;
&lt;strong&gt;Rapid Elasticity:&lt;/strong&gt; The ability to quickly scale up or down resources in response to demand&lt;br&gt;
Measured Service: The provider and customer benefit from transparency as resource utilization is tracked, managed, and reported.&lt;/p&gt;

&lt;p&gt;A few advantages of cloud computing are lower costs, more speed and agility, and the capacity to scale resources in response to demand.&lt;/p&gt;

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