<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Adebayo Ebofin</title>
    <description>The latest articles on DEV Community by Adebayo Ebofin (@engra).</description>
    <link>https://dev.to/engra</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%2F2028030%2F660b6335-ace6-4f30-922f-edb8f01bf9d0.JPG</url>
      <title>DEV Community: Adebayo Ebofin</title>
      <link>https://dev.to/engra</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/engra"/>
    <language>en</language>
    <item>
      <title>Creating an EC2 Instance on AWS and Installing IIS server on it</title>
      <dc:creator>Adebayo Ebofin</dc:creator>
      <pubDate>Mon, 23 Dec 2024 13:52:30 +0000</pubDate>
      <link>https://dev.to/engra/creating-an-ec2-instance-on-aws-and-installing-iis-server-on-it-2ghi</link>
      <guid>https://dev.to/engra/creating-an-ec2-instance-on-aws-and-installing-iis-server-on-it-2ghi</guid>
      <description>&lt;p&gt;&lt;strong&gt;Table of content&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What is AWS?&lt;/li&gt;
&lt;li&gt;What is EC2?&lt;/li&gt;
&lt;li&gt;What is IIS?&lt;/li&gt;
&lt;li&gt;Step-by-step guide to create an Amazon EC2 instance and install IIS (Internet Information Services) on it
(a)  Log in / sign up to AWS Management console
(b) Connect to Instance
(c) Install IIS on the Instance
(d) Verify IIS installation&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;What is AWS?&lt;/strong&gt;&lt;br&gt;
Amazon Web Services (AWS) is a comprehensive cloud computing platform offered by Amazon. It provides a wide range of cloud-based services, including compute power, storage, databases, machine learning, networking, and more, designed to help businesses build, deploy, and scale applications efficiently and cost-effectively.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is EC2?&lt;/strong&gt;&lt;br&gt;
Amazon EC2 (Elastic Compute Cloud) is a service provided by Amazon Web Services (AWS) that offers scalable virtual servers in the cloud. EC2 enables users to run applications and workloads on virtual machines with customizable configurations of CPU, memory, storage, and networking.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is IIS?&lt;/strong&gt;&lt;br&gt;
IIS (Internet Information Services) is a web server software developed by Microsoft for hosting websites, applications, and services. It runs on the Windows operating system and is used to serve both static content, like HTML files, and dynamic content, such as ASP.NET applications.&lt;/p&gt;

&lt;p&gt;Here is a step-by-step guide to create an Amazon EC2 instance and install IIS (Internet Information Services) on it:&lt;/p&gt;

&lt;p&gt;a. Log in/sign up to AWS Management console&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Log in to AWS Management Console by typing your email and password&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%2Fyjuu6diy0rfhy3h8oqhs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyjuu6diy0rfhy3h8oqhs.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the AWS Console, search for and select EC2 under Services.&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%2Fi2ms3s7k2vqhv0q7cuxu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi2ms3s7k2vqhv0q7cuxu.png" alt="Image description" width="800" height="468"&gt;&lt;/a&gt;&lt;br&gt;
*Launch an Instance:&lt;br&gt;
Click on Launch Instance.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmei5lv5x6x02tqo89mky.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmei5lv5x6x02tqo89mky.png" alt="Image description" width="800" height="468"&gt;&lt;/a&gt;&lt;br&gt;
*Give the EC2 a name( I choose crown)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg7vo55nsip0v6sq9cxx7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg7vo55nsip0v6sq9cxx7.png" alt="Image description" width="800" height="468"&gt;&lt;/a&gt; &lt;br&gt;
*Add a tag&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%2Fra40sa2v2ajkqh4fwh0l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fra40sa2v2ajkqh4fwh0l.png" alt="Image description" width="800" height="468"&gt;&lt;/a&gt;&lt;br&gt;
*Select region for your EC2 Instance (I choose us-west 2)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkzpl5wtbi2lek3s17plm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkzpl5wtbi2lek3s17plm.png" alt="Image description" width="800" height="468"&gt;&lt;/a&gt;&lt;br&gt;
*Choose an Amazon Machine Image (AMI):&lt;/p&gt;

&lt;p&gt;Select a Windows-based AMI from the drop down (e.g., Microsoft Windows Server 2025, Microsoft windows server 2025 core Base, Microsoft  Windows Server 2022 Base or Microsoft window server 2025 Base).((I choose Microsoft Window Server 2025 Base)&lt;/p&gt;

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

&lt;p&gt;*Select an instance type (e.g., t3.micro for free tier-eligible).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fss2h0kj8twk5g10121tt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fss2h0kj8twk5g10121tt.png" alt="Image description" width="800" height="468"&gt;&lt;/a&gt;&lt;br&gt;
*Create new key: To create new keypair click create new key, give the keypair a name(I choose instancekeypair),ensure the keypair type RSA is choosen, then click create a key pair  and ensure the keypair file is downloaded&lt;/p&gt;

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

&lt;p&gt;Create a new security group with the following rules:&lt;br&gt;
RDP  Allow you to connect to your instance &lt;br&gt;
HTTP : Allow access for web traffic.&lt;/p&gt;

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

&lt;p&gt;*Click Launch instance:&lt;/p&gt;

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

&lt;p&gt;b.  Connect to the EC2 Instance&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftlmuhcafgtfw3warrhx4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftlmuhcafgtfw3warrhx4.png" alt="Image description" width="800" height="468"&gt;&lt;/a&gt;&lt;br&gt;
*Select RDP client tab, click the connect using RDP client and download the remote desktop file (RDP file)&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5x0z75e074o9dblomn2d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5x0z75e074o9dblomn2d.png" alt="Image description" width="800" height="468"&gt;&lt;/a&gt;&lt;br&gt;
*Select upload private key file to upload private key file&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%2Fzftsf4qn8ckrgomda2dg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzftsf4qn8ckrgomda2dg.png" alt="Image description" width="800" height="464"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;*Select decrypt password&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F750ltzx38xpxwa7qioat.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F750ltzx38xpxwa7qioat.png" alt="Image description" width="800" height="464"&gt;&lt;/a&gt;&lt;br&gt;
*Open the downloaded RDP file, connect by pasting the copied password and click ok&lt;/p&gt;

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

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

&lt;p&gt;c.  Install IIS on the Instance&lt;br&gt;
*Search for power shell from your desktop and run as administrator&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdzib0no0vglcsiscxwkq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdzib0no0vglcsiscxwkq.png" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Run the following command to list all features related to IIS to confirm what is available:&lt;br&gt;
Get-WindowsFeature -Name Web-&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fss8tyuyy8vd1g1dx56vj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fss8tyuyy8vd1g1dx56vj.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
*Enter the command&lt;br&gt;
Install-WindowsFeature -Name Web-Server -IncludeAllSubFeature -IncludeManagementTools&lt;br&gt;
press enter&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%2Fy9sxajvwrdbja6j1u936.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy9sxajvwrdbja6j1u936.png" alt="Image description" width="800" height="565"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Wait for it to finish loading&lt;br&gt;
*Notice the **Exit code&lt;/em&gt;* says successful&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzyljwlleebifulb5bxag.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzyljwlleebifulb5bxag.png" alt="Image description" width="800" height="565"&gt;&lt;/a&gt;&lt;br&gt;
d.  Verify IIS Installation&lt;br&gt;
Exit the remote server to AWS management console&lt;br&gt;
On the instance navigate to the public IPv4 address of the instance. Copy IP address&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ah3jirm50qsxx5qjosn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ah3jirm50qsxx5qjosn.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
*Paste the IP address in a new tab on your browser.&lt;/p&gt;

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

&lt;p&gt;*Press enter and observe the web server that was deployed  was successful accessed from the public internet.&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%2Fjwv6kw8v70tt03v3423e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjwv6kw8v70tt03v3423e.png" alt="Image description" width="800" height="390"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;*To ensure you don't run out your credit on AWS, Terminate and delete Instance immediately after usage. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkp8zub5eduwj0t18k01h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkp8zub5eduwj0t18k01h.png" alt="Image description" width="800" height="390"&gt;&lt;/a&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%2F2jilqywamvyko7ek10df.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2jilqywamvyko7ek10df.png" alt="Image description" width="800" height="390"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>learning</category>
      <category>ec2</category>
      <category>cloudcomputing</category>
    </item>
    <item>
      <title>Creating an S3 Bucket in AWS and generate a pre - signed URL</title>
      <dc:creator>Adebayo Ebofin</dc:creator>
      <pubDate>Fri, 20 Dec 2024 15:31:15 +0000</pubDate>
      <link>https://dev.to/engra/creating-an-s3-bucket-in-aws-and-generate-a-pre-signed-url-j31</link>
      <guid>https://dev.to/engra/creating-an-s3-bucket-in-aws-and-generate-a-pre-signed-url-j31</guid>
      <description>&lt;p&gt;&lt;strong&gt;Table of contents&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What is an S3 bucket?&lt;/li&gt;
&lt;li&gt;What is a pre-signed URL in an S3 bucket in AWS?&lt;/li&gt;
&lt;li&gt;Step- by-step in creating S3 bucket&lt;/li&gt;
&lt;li&gt;a. creating a folder
b. uploading a file&lt;/li&gt;
&lt;li&gt;creating a pre-signed  URLs &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;An S3 bucket in AWS (Amazon Web Services)&lt;/strong&gt; is a logical container for storing objects (files, data, and metadata) in Amazon Simple Storage Service (Amazon S3). It serves as the foundational storage unit in AWS and allows you to store, retrieve, and manage data in a scalable, secure, and cost-effective manner.&lt;br&gt;
 &lt;strong&gt;A pre-signed URL in the context of an AWS S3 bucket&lt;/strong&gt; usually refers to a pre-signed URL. A pre-signed URL allows users to access a specific object in an S3 bucket without requiring direct permissions to the bucket.&lt;/p&gt;

&lt;p&gt;This is particularly useful when you want to grant temporary, secure access to a private object in S3 for downloading or uploading purposes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step by step in creating S3 bucket&lt;/strong&gt;&lt;br&gt;
*sign up/log in to AWS Console:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmkqh7m4yp727mm5m6ilj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmkqh7m4yp727mm5m6ilj.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
Go to AWS Management Console.&lt;br&gt;
*In the search bar, type "S3" and select S3 from the services list.&lt;/p&gt;

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

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

&lt;ul&gt;
&lt;li&gt;Provide Bucket Name:
Enter a unique bucket name (e.g., adexbucket).&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%2Fennbl3p5x6g8dqi44yk6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fennbl3p5x6g8dqi44yk6.png" alt="Image description" width="800" height="329"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select Region:
Choose the AWS region where the bucket will be created (e.g., US West 2
*Configure Settings:
Leave Block Public Access settings as is (enabled by default).&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%2F2dihve0p910s4ymutu6p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2dihve0p910s4ymutu6p.png" alt="Image description" width="800" height="329"&gt;&lt;/a&gt;&lt;br&gt;
*Disable Versioning .You can Enable Versioning as well  when you want to keep multiple versions of objects to protect against accidental overwrites, deletions, or data loss.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Add tag :In adding tag, key is the "name" while value "crown"&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%2Fjojoxxger4azerdibm4w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjojoxxger4azerdibm4w.png" alt="Image description" width="800" height="329"&gt;&lt;/a&gt;&lt;br&gt;
*For Encryption and other setting ,leave as default&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create bucket
Scroll down and click Create bucket.&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%2Fl8i28aynes91692vj7wy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl8i28aynes91692vj7wy.png" alt="Image description" width="800" height="329"&gt;&lt;/a&gt;&lt;br&gt;
*Successfully created bucket. Click on bucket to open&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0iuz4quhjn7jyxvyb19o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0iuz4quhjn7jyxvyb19o.png" alt="Image description" width="800" height="329"&gt;&lt;/a&gt;&lt;br&gt;
4a. &lt;strong&gt;creating  folders&lt;/strong&gt;&lt;br&gt;
click create a folder to store file, videos, pictures etc&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Give the folder a name(adexfolder) and select create folder&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%2Fuua4d5t73qu55dq5nngn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuua4d5t73qu55dq5nngn.png" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;create a folder for videos and pictures using the same steps&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%2Fx3046kjygculaph583kk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx3046kjygculaph583kk.png" alt="Image description" width="800" height="412"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff9zoe5dktiinzyp35v9j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff9zoe5dktiinzyp35v9j.png" alt="Image description" width="800" height="316"&gt;&lt;/a&gt;&lt;br&gt;
*Successfully created folders for different purposes&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9knwqz73j2c5lppwxirb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9knwqz73j2c5lppwxirb.png" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;br&gt;
b. uploading file&lt;br&gt;
open the September picture folder and click on upload&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F76mjgehhlfl4c24439j8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F76mjgehhlfl4c24439j8.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
*Click Add file and select the picture then click upload to upload the selected picture&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Successful uploaded to September picture&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%2F9glu2qk8u05oadnk6wwi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9glu2qk8u05oadnk6wwi.png" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;open the October video folder and click on upload&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%2Fx98o0huzu19p0hfl9lr3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx98o0huzu19p0hfl9lr3.png" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Successful uploaded to October video folder&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%2F7153gb0uypr2ydkck511.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7153gb0uypr2ydkck511.png" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Creating pre - signed URLs&lt;/li&gt;
&lt;li&gt;Open the image file Uploaded to September-pictures.&lt;/li&gt;
&lt;li&gt;Click Object actions at the top right.&lt;/li&gt;
&lt;li&gt;In the drop down select Share with a presigned URL.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Set the Number of minutes or hours you want the presigned URL to &lt;br&gt;
last for. Setting to 45 minutes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click Create presigned URL.&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%2Fr27mxogvwd4g2xn1ietw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr27mxogvwd4g2xn1ietw.png" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Successfully created presigned URL&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%2Fre4k3h210dybh3hvn238.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fre4k3h210dybh3hvn238.png" alt="Image description" width="800" height="361"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Paste the URL in a browser to test it .&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%2Fsjoxulf2jnuwdeg5eoef.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsjoxulf2jnuwdeg5eoef.png" alt="Image description" width="384" height="289"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Repeat the same for October video. Open the video file folder for October video&lt;/li&gt;
&lt;li&gt; Click Object actions at the top right.&lt;/li&gt;
&lt;li&gt; In the drop down select Share with a presigned URL.&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%2Fv1qu8glr3r0mfk08j0ak.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv1qu8glr3r0mfk08j0ak.png" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Successfully created presigned URL&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%2Fy07p312sgfj11bkwfs9w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy07p312sgfj11bkwfs9w.png" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Paste the URL in a browser to test it .&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%2Fax1fzwzz9efp4v8aio6v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fax1fzwzz9efp4v8aio6v.png" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>s3</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Creating A Window Virtual Machine, RDP into it, Add a data disc to window virtual machine.</title>
      <dc:creator>Adebayo Ebofin</dc:creator>
      <pubDate>Thu, 14 Nov 2024 23:41:14 +0000</pubDate>
      <link>https://dev.to/engra/creating-a-window-virtual-machine-rdp-into-it-add-a-data-disc-to-window-virtual-machine-i6k</link>
      <guid>https://dev.to/engra/creating-a-window-virtual-machine-rdp-into-it-add-a-data-disc-to-window-virtual-machine-i6k</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is a virtual machine?&lt;/strong&gt;&lt;br&gt;
A virtual machine is like a computer within a computer. It's a software-based version of a physical machine, complete with its own:   CPU: Processes instructions   &lt;br&gt;
Memory (RAM): Stores data while the VM is running   &lt;br&gt;
Storage: Holds files and applications   &lt;br&gt;
Network interface: Allows it to connect to the internet or other networks.&lt;br&gt;
&lt;strong&gt;What is RDP?&lt;/strong&gt;&lt;br&gt;
RDP stands for Remote Desktop Protocol. It's a network communication protocol developed by Microsoft that allows users to connect to and control another computer remotely. This means you can access and interact with a remote computer's desktop, files, and applications as if you were sitting in front of it.   &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is a data disc?&lt;/strong&gt;&lt;br&gt;
A data disc is a type of disc used to store electronic data, such as files and applications.&lt;br&gt;
It's similar to an audio CD but is specifically designed for storing data.&lt;/p&gt;

&lt;p&gt;Here are step by step to create virtual machine, RDP into it and add a data disc&lt;br&gt;
A .1 search for virtual machine&lt;br&gt;
 in the search bar and click on the virtual machine&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;Start the Creation Process
To Do: Click the “Create” button to start the virtual machine creation process. Choose “Create a virtual machine hosted by Azure”.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt; Enter Project Details
To Do: Select the appropriate subscription and create a resource group by clicking the “Create resource group” button and giving it a name(vmrg) and click ok .&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Enter Virtual Machine Details
To Do: Provide information about your virtual machine, such as the name, operating system (choose either Ubuntu Server 20.04 or Windows Server Datacenter -x64 G2), size, and other configuration settings. Leave other options as default. (I choose window 10pro version from the drop down)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fysgncu8f7xleka4j2f2p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fysgncu8f7xleka4j2f2p.png" alt="Image description" width="800" height="375"&gt;&lt;/a&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%2Fvvw4izk5mm5pb9j0hdn7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvvw4izk5mm5pb9j0hdn7.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Create an Administrator Account
To Do: Choose “Password” for the authentication type. Use “Azureuser” for the username and “Password123@# for the password.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt; Select Inbound Port Rules
To Do: Select SSH if you chose a Linux VM and RDP if it’s a Windows VM. This allows IP addresses to connect to the VM.(I choose RDP)&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Check Licensing
To Do: By default, this is unchecked. Click the box to check it. &lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Disable Boot Diagnostics
To Do: Click “Next” until you reach the “Boot diagnostics” in the Monitoring tab, and click on “Disable”. &lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Review and Create and create
To Do: Click on the “Review + Create” button. If the validation passes, the deployment will proceed. If not, note any recommendations, fix them, and try again. Deployment might take 3-5 minutes. &lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F64yatmk5rvtf32p91hte.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F64yatmk5rvtf32p91hte.png" alt="Image description" width="800" height="375"&gt;&lt;/a&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%2Fqo9lg9ubi3shxh9xhom4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqo9lg9ubi3shxh9xhom4.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Check the Status
To Do: If the VM is running, the task has succeeded. &lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Access the Virtual Machine
To Do: Once the virtual machine is deployed, click on the “Connect” button in the virtual machine blade in the Azure portal.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Download RDP File
To Do: Click “Native RDP”, select, and wait for the configured sign to be displayed on the right-hand side. Download the RDP file. &lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Connect to the VM
To Do: Open the RDP file from your local computer and click on “Connect”. Enter the admin details created during the VM setup.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;B. Install a data disk in a virtual machine&lt;br&gt;
Having successfully created a virtual machine, here are step by step to install a data disk in a virtual machine&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the virtual machine created and click on the disk under setting&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Click on + create and attach a new disk under under data disks&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Select LUN to input the total number of disc you want to add (I choose 5) and give your disk a name (I used datadisk) , For storage type select SSD for fast response time (I choose standard SSD) also select the size of your data disk (I choose 10) then select apply&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;To make use of datadisk added to the virtual machine you must format it first to do that&lt;br&gt;
a. Go to overview, click on connect&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhtosggk5ohtfnnn1kqa7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhtosggk5ohtfnnn1kqa7.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
b.  Download RDP File&lt;br&gt;
To Do: Click “Native RDP”, select, and wait for the configured sign to be displayed on the right-hand side. Download the RDP file.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcd62vti9tdtv8zecyk69.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcd62vti9tdtv8zecyk69.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
c. Connect to the VM&lt;br&gt;
To Do: Open the RDP file from your local computer and click on “Connect”. Enter the admin details created during the VM setup&lt;br&gt;
d. Search for disk management in the search bar of the virtual machine that you login into and  click on format and create hard disk partition &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhu37k1ii352pycul2v54.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhu37k1ii352pycul2v54.png" alt="Image description" width="800" height="600"&gt;&lt;/a&gt;&lt;br&gt;
e. Select ok to initialize a disk before logical disk manager can access it&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdj218ju7znh67m034mql.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdj218ju7znh67m034mql.png" alt="Image description" width="800" height="600"&gt;&lt;/a&gt;&lt;br&gt;
f. Scroll down and right click on 9.98GB unallocated to select new simple volume that you will click on to format the disk&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fro2lfymcyl78fyq1lqw6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fro2lfymcyl78fyq1lqw6.png" alt="Image description" width="784" height="561"&gt;&lt;/a&gt;&lt;br&gt;
h. When you get to a place that says perform a disk format ,at the volume label box write Datadisk as the name this name is generally used by azure then click next till it gets to finish&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F36cpy7z41b85w8m4h68v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F36cpy7z41b85w8m4h68v.png" alt="Image description" width="784" height="561"&gt;&lt;/a&gt;&lt;br&gt;
i. Datadisk is formatted and ready for use&lt;/p&gt;

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

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

</description>
      <category>azure</category>
      <category>cloud</category>
      <category>virtualmachine</category>
      <category>datadisk</category>
    </item>
    <item>
      <title>Creating an azure compute Gallery , capture the image of VM and store in compute Gallery and create VMSS</title>
      <dc:creator>Adebayo Ebofin</dc:creator>
      <pubDate>Thu, 14 Nov 2024 23:37:27 +0000</pubDate>
      <link>https://dev.to/engra/creating-an-azure-compute-gallery-capture-the-image-of-vm-and-store-in-compute-gallery-and-1e02</link>
      <guid>https://dev.to/engra/creating-an-azure-compute-gallery-capture-the-image-of-vm-and-store-in-compute-gallery-and-1e02</guid>
      <description>&lt;p&gt;&lt;strong&gt;Table of Content&lt;/strong&gt;&lt;br&gt;
A. What is Azure compute gallery?&lt;br&gt;
B. What is Virtual Machine Scale Set?&lt;br&gt;
C. What is orchestrated mode in Virtual Machine Scale Set(VMSS)? &lt;br&gt;
D. Step by step in creating Virtual Machine&lt;br&gt;
E. Step by step in creating compute gallery&lt;br&gt;
F. Step by step in creating Virtual Machine Scale Set&lt;/p&gt;

&lt;p&gt;A. &lt;strong&gt;What is azure compute Gallery&lt;/strong&gt;?&lt;br&gt;
An Azure Compute Gallery (formerly known as Shared Image Gallery) is a service that allows you to create and share custom virtual machine (VM) images in Azure. It acts as a centralized repository for storing and managing these images, enabling you to quickly provision new VM instances based on them.   &lt;/p&gt;

&lt;p&gt;B. &lt;strong&gt;What is virtual Machine Scale Set?&lt;/strong&gt;&lt;br&gt;
An Azure Virtual Machine Scale Set (VMSS) is a service that allows you to create and manage a group of identical, load-balanced virtual machines (VMs). The number of VM instances within the scale set can automatically increase or decrease based on predefined rules or real-time demand.   &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key benefits of using VMSS&lt;/strong&gt;:&lt;br&gt;
&lt;strong&gt;Auto-scaling&lt;/strong&gt;: Automatically adjust the number of VM instances to handle varying workloads.   &lt;br&gt;
&lt;strong&gt;Load balancing&lt;/strong&gt;: Distribute traffic evenly across VM instances for optimal performance.   &lt;br&gt;
&lt;strong&gt;High availability&lt;/strong&gt;: Ensure application uptime by distributing VMs across availability zones.   &lt;br&gt;
&lt;strong&gt;Simplified management&lt;/strong&gt;: Manage a large number of VMs as a single unit.   &lt;br&gt;
&lt;strong&gt;Cost-effectiveness&lt;/strong&gt;: Pay only for the resources you need, scaling up or down as required.   &lt;br&gt;
C. &lt;strong&gt;What is orchestrated mode in VMSS?&lt;/strong&gt;&lt;br&gt;
 Orchestrated mode in Azure Virtual Machine Scale Sets (VMSS) is a new feature that offers greater flexibility and control over individual VM instances within a scale set. It provides two main modes:   &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Uniform Orchestration:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is the traditional mode where all VM instances are identical and managed as a single unit.   &lt;br&gt;
The scale set handles all VM operations, including scaling, updates, and maintenance.   &lt;br&gt;
Offers limited flexibility for customization and management of individual VMs.&lt;br&gt;
&lt;strong&gt;Flexible Orchestration:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This new mode allows for more granular control over individual VM instances.   &lt;br&gt;
You can manage VMs using standard Azure IaaS VM APIs, providing more flexibility for customization and configuration.   &lt;br&gt;
Supports different VM sizes and configurations within a single scale set.   &lt;br&gt;
Offers better support for advanced scenarios like custom scripts, extensions, and specific networking configurations.&lt;br&gt;
Key benefits of Flexible Orchestration:&lt;/p&gt;

&lt;p&gt;Greater flexibility: Customize and manage individual VMs like regular VMs.   &lt;br&gt;
Improved scalability: Scale to larger numbers of instances and support a wider range of VM sizes.   &lt;br&gt;
Enhanced control: Fine-tune VM configurations and maintenance operations.   &lt;br&gt;
Simplified management: Use familiar IaaS VM management tools and APIs.   &lt;br&gt;
&lt;strong&gt;When to use Flexible Orchestration&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Custom VM configurations:&lt;/strong&gt; When you need to customize individual VMs with different configurations, such as specific software installations or network settings.   &lt;br&gt;
&lt;strong&gt;Advanced scenarios&lt;/strong&gt;: For complex scenarios that require fine-grained control over VM lifecycle and operations.&lt;br&gt;
&lt;strong&gt;Large-scale deployments&lt;/strong&gt;: When you need to scale to a large number of VM instances with diverse requirements.   &lt;br&gt;
By understanding the differences between the two modes, you can choose the best option for your specific workload and requirements.&lt;/p&gt;

&lt;p&gt;D. Step by step in creating Virtual Machine&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Search for virtual machine
in the search bar and click on the virtual machine&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Start the Creation Process
To Do: Click the “Create” button to start the virtual machine creation process. Choose “Create a virtual machine hosted by Azure”.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt; Enter Project Details
To Do: Select the appropriate subscription and create a resource group by clicking the “Create resource group” button and giving it a name(vmrg) and click ok .&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Enter Virtual Machine Details
To Do: Provide information about your virtual machine, such as the name, operating system (choose either Ubuntu Server 20.04 or Windows Server Datacenter -x64 G2), size, and other configuration settings. Leave other options as default. (I choose window 10pro version from the drop down)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fysgncu8f7xleka4j2f2p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fysgncu8f7xleka4j2f2p.png" alt="Image description" width="800" height="375"&gt;&lt;/a&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%2Fvvw4izk5mm5pb9j0hdn7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvvw4izk5mm5pb9j0hdn7.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Create an Administrator Account
To Do: Choose “Password” for the authentication type. Use “Azureuser” for the username and “Password123@# for the password.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt; Select Inbound Port Rules
To Do: Select SSH if you chose a Linux VM and RDP if it’s a Windows VM. This allows IP addresses to connect to the VM.(I choose RDP)&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Check Licensing
To Do: By default, this is unchecked. Click the box to check it. &lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Disable Boot Diagnostics
To Do: Click “Next” until you reach the “Boot diagnostics” in the Monitoring tab, and click on “Disable”. &lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Review and Create and create
To Do: Click on the “Review + Create” button. If the validation passes, the deployment will proceed. If not, note any recommendations, fix them, and try again. Deployment might take 3-5 minutes. &lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F64yatmk5rvtf32p91hte.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F64yatmk5rvtf32p91hte.png" alt="Image description" width="800" height="375"&gt;&lt;/a&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%2Fqo9lg9ubi3shxh9xhom4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqo9lg9ubi3shxh9xhom4.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Check the Status
To Do: If the VM is running, the task has succeeded. &lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Access the Virtual Machine
To Do: Once the virtual machine is deployed, click on the “Connect” button in the virtual machine blade in the Azure portal.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Download RDP File
To Do: Click “Native RDP”, select, and wait for the configured sign to be displayed on the right-hand side. Download the RDP file. &lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Connect to the VM
To Do: Open the RDP file from your local computer and click on “Connect”. Enter the admin details created during the VM setup.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;E. Creating a compute gallery&lt;br&gt;
Here are step by step in creating a compute gallery&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;search for compute galleries in the search bar and select&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Select + create &lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Give your resource group a name (I choose cgrg) and click ok&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Give name to your compute gallery (I choose cg1) and description(Place to store our virtual machine images) then click review + create&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Click create&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Go back to the Virtual machine created and click on image at the drop down of capture&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb8ejihq85w31nfhd6pgt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb8ejihq85w31nfhd6pgt.png" alt="Image description" width="800" height="521"&gt;&lt;/a&gt;&lt;br&gt;
7.Select compute gallery name created from the drop down of select a gallery at Target azure compute gallery also choose either Generalized: VMs created from this image require hostname, admin user, and other VM related setup to be completed on first boot or&lt;br&gt;
Specialized: VMs created from this image are completely configured and do not require parameters such as hostname and admin user/password (I choose specialized)&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;Select create new at the target Vm definition and give it a name (I choose firstimage)then click ok&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F61lxcyd9ej1on5zq2stx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F61lxcyd9ej1on5zq2stx.png" alt="Image description" width="800" height="521"&gt;&lt;/a&gt;&lt;br&gt;
9.Put the version number (I choose 0.0.1)leave others as default setting, select review + create&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;Select create&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F122g3neort11bzjhb0ks.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F122g3neort11bzjhb0ks.png" alt="Image description" width="800" height="521"&gt;&lt;/a&gt;&lt;br&gt;
11.Once the deployment is complete Click on go to resource&lt;/p&gt;

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

&lt;p&gt;F. Here are step by step to create VMSS&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Having successfully created azure compute gallery click + create VMSS&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Give your VMMSS a name&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq20cqge5cqkbld23o213.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq20cqge5cqkbld23o213.png" alt="Image description" width="800" height="521"&gt;&lt;/a&gt;&lt;br&gt;
3.YOU have option of either autoscaling or manual update your virtual machine scale set (I choose manual) then click review + create&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;Click create&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Click go to resource&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Under availability +scaling click on scaling then input the number of vmss you want to create then click on save&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;View the VMSS created&lt;/li&gt;
&lt;/ol&gt;

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

</description>
      <category>azure</category>
      <category>cloud</category>
      <category>virtualmachine</category>
      <category>scaleset</category>
    </item>
    <item>
      <title>Creating Azure Dev Test Labs</title>
      <dc:creator>Adebayo Ebofin</dc:creator>
      <pubDate>Wed, 30 Oct 2024 00:19:12 +0000</pubDate>
      <link>https://dev.to/engra/creating-azure-dev-test-labs-51hf</link>
      <guid>https://dev.to/engra/creating-azure-dev-test-labs-51hf</guid>
      <description>&lt;p&gt;Azure DevTest Labs is a cloud-based service that enables you to quickly create, manage, and secure environments for development, testing, and training purposes.&lt;/p&gt;

&lt;p&gt;It provides a self-service portal where developers and testers can easily spin up virtual machines (VMs) with pre-configured software and settings.&lt;br&gt;
Here are step by step in creating Dev Test Labs&lt;br&gt;
a. In azure portal search for dev test labs and select&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff0i7ucl3eqmycidngq3j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff0i7ucl3eqmycidngq3j.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
c. Give your resource group a name and click ok(Devrg)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo3rcguzpkti1fvudfv1y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo3rcguzpkti1fvudfv1y.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
d. Give your lab a name (lab1) and then choose any public environment of your choice either on or off (on)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuytcgbip3bb62tx9d1tx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuytcgbip3bb62tx9d1tx.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
e. Select Auto -shutdown, enable it to on, input the time you want it to shut-down(7pm), activate send notification before shut-down to No&lt;/p&gt;

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

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

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

</description>
      <category>learning</category>
      <category>azure</category>
      <category>cloud</category>
      <category>devtest</category>
    </item>
    <item>
      <title>CREATING A LIBRARY WEB APP USING AZURE APP SERVICE</title>
      <dc:creator>Adebayo Ebofin</dc:creator>
      <pubDate>Mon, 28 Oct 2024 07:34:37 +0000</pubDate>
      <link>https://dev.to/engra/creating-a-library-web-app-using-azure-app-service-5bh7</link>
      <guid>https://dev.to/engra/creating-a-library-web-app-using-azure-app-service-5bh7</guid>
      <description>&lt;p&gt;&lt;strong&gt;Table of content&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Azure app service
a. What is azure app service?
b. Step by step in creating library web app&lt;/li&gt;
&lt;li&gt; Deployment slot in azure app service
a. What is deployment slot?
b. step by step in creating deployment slot&lt;/li&gt;
&lt;li&gt; Monitoring using app service
a. What is monitoring?
b. step by step in creating monitoring using app service&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;What is Azure app service&lt;/strong&gt;?&lt;br&gt;
Azure App Service is a fully managed Platform as a Service (PaaS) offering from Microsoft Azure that allows you to build, deploy, and scale web apps, mobile back ends, and RESTful APIs in the programming language of your choice without managing infrastructure.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Here are step by step in creating a library web app using azure app service
a. In azure portal search for app services&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3npws3acd1nn1azcgyoo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3npws3acd1nn1azcgyoo.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
b. At the drop down of &lt;strong&gt;+ create&lt;/strong&gt; select web App&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuh339xjq604y3segdou7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuh339xjq604y3segdou7.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
c. create a New Resource Group( I named it webapprg)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fod9mt393oih9vledsyxh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fod9mt393oih9vledsyxh.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
d. Give your web app a name of your choice (libraryapp) also select code&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh6z83hfyk9hq4talzk8k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh6z83hfyk9hq4talzk8k.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
e. Select your Runtime stack (I choose .NET 6 (LTS) which automatically selected window as operating system also select region&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxp0uuf69tsrxrqxo3b2g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxp0uuf69tsrxrqxo3b2g.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
f. Give your plan a name and click ok (libraryapplan)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F16xkpa6nx2a6rrfu7lw5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F16xkpa6nx2a6rrfu7lw5.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
g. Choose your pricing plan from drop down (I choose standard)&lt;/p&gt;

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

&lt;p&gt;h. Add tag by clicking on tag  write name  and web app name (libraryapp), select review + create.&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%2Fjhk8hgfes9uzpx8locwt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjhk8hgfes9uzpx8locwt.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
i.  select create&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffkzm17fa39aamb8ythy0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffkzm17fa39aamb8ythy0.png" alt="Image description" width="800" height="426"&gt;&lt;/a&gt;&lt;br&gt;
j. Go to chatgpt to generate a code by typing sample HTML, CSS, JavaScript application for library all in one file &lt;/p&gt;

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

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

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

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F94y705d99gk5e169c7ll.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F94y705d99gk5e169c7ll.png" alt="Image description" width="615" height="192"&gt;&lt;/a&gt;&lt;br&gt;
k. Go to library app created and select deployment center under deployment slot provided you are picking your code from any continuous deployment or manual deployment&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjr6w8px5f3w4w0qphtct.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjr6w8px5f3w4w0qphtct.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
l.  In the search bar search for advance tools and select then click on the Go&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkpjo9pgndtp68jmgninr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkpjo9pgndtp68jmgninr.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
m. Click on debug console and select CMD&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fazj8wk4zp8errfud36g4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fazj8wk4zp8errfud36g4.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
o. Click on wwwroot&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%2Fy9cjfkyqf4prcab32xi8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy9cjfkyqf4prcab32xi8.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
p. Click on the pencil icon of hostingstart.html&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj6y2nj2ksnoir78ou2p6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj6y2nj2ksnoir78ou2p6.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
q. Remove the default code &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%2F9g8p9a0k599kmhnhyvxg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9g8p9a0k599kmhnhyvxg.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
r. Paste code copy from chatgpt and click save&lt;br&gt;
s. Go back to libraryapp created and click on default domain to view the library created&lt;/p&gt;

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

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

&lt;p&gt;2a. &lt;strong&gt;What is deployment slot&lt;/strong&gt;?&lt;br&gt;
In Azure App Service, a deployment slot is a feature that allows you to host different versions of your application in separate environments within the same App Service instance. Each slot has its own configuration settings, environment variables, and can be used to test or stage your application without affecting the production version.&lt;/p&gt;

&lt;p&gt;Key Benefits:&lt;br&gt;
Staging and Testing: You can deploy your app to a staging slot to test changes before swapping it with the production slot.&lt;/p&gt;

&lt;p&gt;Zero-Downtime Deployments: By swapping slots, you can achieve near-instant updates with minimal downtime.&lt;/p&gt;

&lt;p&gt;Isolated Environments: Each slot can have different settings, enabling you to test with different configurations.&lt;/p&gt;

&lt;p&gt;Easy Rollbacks: If a deployment in production goes wrong, you can quickly swap back to the previous version.&lt;/p&gt;

&lt;p&gt;b. Step by step in creating deployment slot&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Having created the new app with different features by following the step by step process in creating the initial app you will click on deployment slot under deployment&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;For the new app created type 10% at the traffic slot that is out of 100% of the traffic using the one in production let 10% be viewing this to access it if ok then click save&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Maybe after 3months of testing and everything is ok and you want to replace the one in production with the new
one for 100% traffic  you will click swap then start swap&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fboh7i7hm531ni0ibv1jg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fboh7i7hm531ni0ibv1jg.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt; &lt;br&gt;
3a. What is monitoring using app service?&lt;br&gt;
Monitoring your Azure App Service is crucial for ensuring its optimal performance, availability, and security.&lt;br&gt;
 b. Step by step in creating monitoring&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select Alert under monitoring and click on create alert rule&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Select the signal name from the drop down (Http server Errors) then select review + create&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Select create&lt;/li&gt;
&lt;/ol&gt;

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

</description>
      <category>learning</category>
      <category>azure</category>
      <category>cloud</category>
      <category>webapp</category>
    </item>
    <item>
      <title>Provide storage for the IT department testing and training</title>
      <dc:creator>Adebayo Ebofin</dc:creator>
      <pubDate>Mon, 07 Oct 2024 16:46:08 +0000</pubDate>
      <link>https://dev.to/engra/provide-storage-for-the-it-department-testing-and-training-37b4</link>
      <guid>https://dev.to/engra/provide-storage-for-the-it-department-testing-and-training-37b4</guid>
      <description>&lt;p&gt;&lt;strong&gt;Table of content&lt;/strong&gt;&lt;br&gt;
A. What is azure storage&lt;br&gt;
 i. Key features of azure storage&lt;br&gt;
ii. Types of data&lt;br&gt;
B.  Steps in creating storage account&lt;/p&gt;

&lt;p&gt;A. &lt;strong&gt;What is azure storage&lt;/strong&gt;&lt;br&gt;
Azure Storage is a cloud storage solution provided by Microsoft that allows you to store and access data in the cloud. It offers highly available, massively scalable, durable, and secure storage for a variety of data objects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;i&lt;/strong&gt;. &lt;strong&gt;Key features of azure storage&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;a&lt;/strong&gt;. &lt;strong&gt;Scalability&lt;/strong&gt;:scalability in Azure Storage refers to the ability of the service to automatically adjust its capacity to meet changing storage needs. This means that as your data grows or shrinks, Azure Storage can dynamically scale up or down to accommodate the increased or decreased storage requirements.&lt;br&gt;
Azure storage can scale horizontally by adding or removing storage accounts to increase or decrease storage capacity. It can also scale&lt;br&gt;
Vertically by increasing or decreasing the performance tier to optimize for different workloads and finally it can scale up automatically by scaling up or down based on predefined rules or metrics, ensuring that your storage resources are always aligned with your application's needs.&lt;br&gt;
&lt;strong&gt;b&lt;/strong&gt;. &lt;strong&gt;Durability&lt;/strong&gt;: Durability in Azure Storage refers to the reliability and persistence of data stored within the service. It ensures that your data is protected against loss due to hardware failures, software errors, or other unforeseen events.&lt;br&gt;
&lt;strong&gt;c&lt;/strong&gt;. &lt;strong&gt;Security&lt;/strong&gt;:Security in azure storage is a measures put in place to protect your data from unauthorized access and potential threats. Examples are&lt;br&gt;
Data Encryption&lt;br&gt;
At-rest encryption: Azure Storage encrypts data while it's stored on disk, providing protection against unauthorized access even if the physical storage device is compromised.&lt;br&gt;
In-transit encryption: Data is encrypted during transmission between your application and Azure Storage, safeguarding it from eavesdropping or interception.&lt;br&gt;
Access Controls&lt;br&gt;
Role-based access control (RBAC): You can granularly control who has access to your storage resources by assigning roles with specific permissions.&lt;br&gt;
Shared access signatures (SAS): You can generate temporary access tokens that grant limited permissions to specific users or applications, enabling secure data sharing.&lt;br&gt;
Network Security&lt;br&gt;
Virtual private networks (VPNs): You can connect your on-premises network to Azure Storage using a VPN, providing a secure and private connection.&lt;br&gt;
Private endpoints: You can create private endpoints for your storage accounts, restricting access to only within your virtual network, enhancing security.&lt;br&gt;
Compliance and Certifications&lt;br&gt;
Industry certifications: Azure Storage adheres to various industry standards and certifications, such as HIPAA, GDPR, and PCI DSS, ensuring that it meets stringent security requirements.&lt;br&gt;
Regular audits and assessments: Microsoft regularly conducts security audits and assessments to identify and address potential vulnerabilities.&lt;br&gt;
Threat Detection and Protection&lt;br&gt;
Azure Security Center: This service provides advanced threat protection for your Azure resources, including storage accounts, by continuously monitoring for suspicious activity and anomalies.&lt;br&gt;
Azure Monitor: You can use Azure Monitor to set up alerts and notifications for security-related events, enabling you to proactively respond to potential threats.&lt;br&gt;
By combining these security measures, Azure Storage provides a robust and secure environment for storing and managing your data.&lt;br&gt;
&lt;strong&gt;d&lt;/strong&gt;.&lt;strong&gt;Performance tiers&lt;/strong&gt;: Performance tiers in Azure Storage refer to the different levels of performance and cost that you can choose for your storage accounts. These tiers allow you to optimize your storage solution for different workloads and performance requirements.&lt;br&gt;
Main performance tiers available in Azure Storage are:&lt;br&gt;
&lt;strong&gt;Standard&lt;/strong&gt;: This is the most cost-effective tier, suitable for general-purpose workloads that don't require extremely high performance.&lt;br&gt;
&lt;strong&gt;Premium&lt;/strong&gt;: This tier offers higher performance than Standard, making it ideal for applications that require faster data access and lower latency.&lt;br&gt;
Premium Block Blob: This is a specialized tier designed for storing large amounts of block blobs efficiently. It offers even higher performance than the standard Premium tier.&lt;br&gt;
&lt;strong&gt;ii.&lt;/strong&gt; &lt;strong&gt;Types of data&lt;/strong&gt;.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Blob Storage:
Designed for storing large amounts of unstructured data like images, videos, documents, and audio files.&lt;/li&gt;
&lt;li&gt;File Storage:
Provides a familiar file share experience in the cloud, allowing you to access files from multiple servers or applications.&lt;/li&gt;
&lt;li&gt;Queue Storage:
A reliable queue service for storing messages and processing them asynchronously.&lt;/li&gt;
&lt;li&gt;Table Storage:
A NoSQL database service for storing structured data in key-value pairs.
Ideal for storing large amounts of structured data that don't require a relational database schema.&lt;/li&gt;
&lt;li&gt;Disk Storage:
A managed disk service that provides highly durable and reliable storage for virtual machines.
.6. Archive Storage:
A cost-effective storage solution for long-term data retention.
Designed for infrequently accessed data that needs to be stored for extended periods.
Offers lower storage costs compared to other storage options.&lt;/li&gt;
&lt;li&gt;Data Lake Storage Gen2:
A highly scalable and performing storage solution for big data analytics and machine learning .&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;B.  Steps in creating storage account&lt;/p&gt;

&lt;p&gt;Here are steps in creating Azure storage&lt;br&gt;
NOTE: The IT department needs to prototype different storage scenarios and to train new personnel. The content isn't important enough to back up and doesn't need to be restored if the data is overwritten or removed. A simple configuration that can be easily changed is desired.&lt;br&gt;
&lt;strong&gt;Skilling tasks&lt;/strong&gt;&lt;br&gt;
Create a storage account.&lt;br&gt;
Configure basic settings for security and networking.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a resource group and a storage account.&lt;/strong&gt;&lt;br&gt;
Steps 1.Create and deploy a resource group to hold all your project &lt;br&gt;
resources.&lt;/p&gt;

&lt;p&gt;*In the Azure portal, search for and select Resource groups&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Give your resource group a name. For example, storagerg.&lt;/li&gt;
&lt;li&gt;Select a region. Use this region throughout the project.&lt;/li&gt;
&lt;li&gt;Select Review and create to validate the resource group.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3q4li58fv9ro3ypxhuza.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3q4li58fv9ro3ypxhuza.png" alt="Image description" width="800" height="384"&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;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnp198bbmuat4r0vmph75.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnp198bbmuat4r0vmph75.png" alt="Image description" width="800" height="239"&gt;&lt;/a&gt;&lt;br&gt;
Step 2.Create and deploy a storage account to support testing and training. &lt;br&gt;
*In the Azure portal, search for and select Storage accounts&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5w0fzf25llo8thejtbjy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5w0fzf25llo8thejtbjy.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
A.On the Basics tab, select your Resource group&lt;br&gt;
B. Provide a Storage account name. The storage account name must be unique in Azure&lt;br&gt;
C. Set the Performance to Standard.&lt;br&gt;
D. Select Review, and then Create.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5o6fqz5veu05j13leq25.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5o6fqz5veu05j13leq25.png" alt="Image description" width="478" height="586"&gt;&lt;/a&gt;&lt;br&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/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl7zjz070qy8k5obctof9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl7zjz070qy8k5obctof9.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
Configure simple settings in the storage account.&lt;br&gt;
 1.The data in this storage account doesn’t require high availability or durability. A lowest cost storage solution is desired.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In your storage account, in the Data management section, select the Redundancy blade.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff3pjw7icamfklepnajpt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff3pjw7icamfklepnajpt.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
*Select Locally-redundant storage (LRS) in the Redundancy drop-down.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Be sure to Save your changes.&lt;/li&gt;
&lt;/ul&gt;

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

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

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuyeytvgsnht0h8e4yfzu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuyeytvgsnht0h8e4yfzu.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
2.The storage account should only accept requests from secure connections&lt;br&gt;
A.In the Settings section, select the Configuration blade&lt;br&gt;
B.Ensure Secure transfer required is Enabled.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk605rl3o84htnmuw4off.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk605rl3o84htnmuw4off.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
3.Developers would like the storage account to use at least TLS version 1.2&lt;br&gt;
A. In the Settings section, select the Configuration blade.&lt;br&gt;
B. Ensure the Minimal TLS version is set to Version 1.2.&lt;/p&gt;

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

&lt;p&gt;4.Until the storage is needed again, disable requests to the storage account. &lt;br&gt;
A. In the Settings section, select the Configuration blade.&lt;br&gt;
B. Ensure Allow storage account key access is Disabled.&lt;br&gt;
C. Be sure to Save your changes&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frvuhgq8z3so1d42jbqpb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frvuhgq8z3so1d42jbqpb.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
5.Ensure the storage account allows public access from all networks.&lt;br&gt;
A. In the Security + networking section, select the Networking blade.&lt;br&gt;
B. Ensure Public network access is set to Enabled from all networks.&lt;br&gt;
C. Be sure to Save your changes&lt;/p&gt;

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

&lt;p&gt;Azure storage account with required configuration setting had been successfully created.&lt;br&gt;
Kindly subscribe for more update.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>tutorial</category>
      <category>learning</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Provide storage for the public website</title>
      <dc:creator>Adebayo Ebofin</dc:creator>
      <pubDate>Mon, 07 Oct 2024 16:45:50 +0000</pubDate>
      <link>https://dev.to/engra/provide-storage-for-the-public-website-2acg</link>
      <guid>https://dev.to/engra/provide-storage-for-the-public-website-2acg</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
Public Storage in azure is a cloud-based storage solution offered by Microsoft Azure. It provides a highly scalable, durable, and secure platform for storing various types of data, including unstructured data like images, videos, and documents.   &lt;/p&gt;

&lt;p&gt;NOTE: The company website supplies product images, videos, marketing literature, and customer success stories. Customers are located worldwide and demand is rapidly expanding. The content is mission-critical and requires low latency load times.&lt;br&gt;
Here are steps in providing a public storage:&lt;br&gt;
&lt;strong&gt;Skilling tasks&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a storage account with high availability.&lt;/li&gt;
&lt;li&gt;Ensure the storage account has anonymous public access.&lt;/li&gt;
&lt;li&gt;Create a blob storage container for the website documents.&lt;/li&gt;
&lt;li&gt;Enable soft delete so files can be easily restored.&lt;/li&gt;
&lt;li&gt;Enable blob versioning.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Create a storage account with high availability.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a storage account to support the public website.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;a. In the portal, search for and select Storage accounts.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvdjikjcouyhq4hm1s7a4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvdjikjcouyhq4hm1s7a4.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
c. For resource group select new. Give your resource group a name and select OK.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fde834oik83p8uwg5v032.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fde834oik83p8uwg5v032.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
d. Set the Storage account name to public website. Make sure the storage account name is unique by adding an identifier.&lt;br&gt;
e. Take the defaults for other settings.&lt;br&gt;
f. Select Review and then Create.&lt;/p&gt;

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

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

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

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

&lt;ol&gt;
&lt;li&gt;This storage requires high availability if there’s a regional outage. Additionally, enable read access to the secondary region.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;a. In the storage account, in the Data management section, select the Redundancy blade.&lt;br&gt;
b. Ensure Read-access Geo-redundant storage is selected.&lt;br&gt;
c. Review the primary and secondary location information.&lt;/p&gt;

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

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

&lt;p&gt;a. In the storage account, in the Settings section, select the Configuration blade.&lt;br&gt;
b. Ensure the Allow blob anonymous access setting is Enabled.&lt;br&gt;
c. Be sure to Save your changes.&lt;/p&gt;

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

&lt;p&gt;Create a blob storage container with anonymous read access&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The public website has various images and documents. Create a blob storage container for the content. 
a. In your storage account, in the Data storage section, select the Containers blade.
b. Select + Container.
c. Ensure the Name of the container is public.
d. Select Create&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Customers should be able to view the images without being authenticated. Configure anonymous read access for the public container blobs. 
a. Select your public container.
b. On the Overview blade, select Change access level.
c. Ensure the Public access level is Blob (anonymous read access for blobs only).
d. Select OK.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;Practice uploading files and testing access.&lt;/p&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.
a. Ensure you are viewing your container.
b. Select Upload.
c. Browse to files and select a file. Browse to a file of your choice.
d. Select Upload.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpigtcewq22n8uk07fa6z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpigtcewq22n8uk07fa6z.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
e. Close the upload window, Refresh the page and ensure your file was uploaded.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;Determine the URL for your uploaded file. Open a browser and test the URL.
a. Select your uploaded file.
b. On the Overview tab, copy the URL.
c. Paste the URL into a new browser tab.
d.  If you have uploaded an image file it will display in the browser. Other file types should be downloaded&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;Configure soft delete&lt;/p&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. 
a. Go to the Overview blade of the storage account.
b. On the Properties page, locate the Blob service section.
c. Select the Blob soft delete setting.
d. Ensure the Enable soft delete for blobs is checked.
e. Change the Keep deleted blobs for (in days setting is 21.
f. Notice you can also Enable soft delete for containers.
g. Don’t forget to Save your changes.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;If something gets deleted, you need to practice using soft delete to restore the files.
a. Navigate to your container where you uploaded a file.
b. Select the file you uploaded and then select Delete.
c. Select OK to confirm deleting the file.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqiimdis1oken0wp8ghi3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqiimdis1oken0wp8ghi3.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
d. On the container Overview page, toggle the slider Show deleted blobs. This toggle is to the right of the search box.&lt;br&gt;
e. Select your deleted file, and use the ellipses on the far right, to g. Undelete the file.&lt;br&gt;
h. Refresh the container and confirm the file has been restored&lt;/p&gt;

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

&lt;p&gt;Configure blob versioning&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It’s important to keep track of the different website product document versions. 
a. Go to the Overview blade of the storage account.
b. In the Properties section, locate the Blob service section.
c. Select the Versioning setting.
d. Ensure the Enable versioning for blobs checkbox is checked.
e. Notice your options to keep all versions or delete versions after.
f. Don’t forget to Save your changes.&lt;/li&gt;
&lt;/ol&gt;

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

</description>
      <category>beginners</category>
      <category>learning</category>
      <category>azure</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Provide private storage for internal company documents</title>
      <dc:creator>Adebayo Ebofin</dc:creator>
      <pubDate>Mon, 07 Oct 2024 16:45:32 +0000</pubDate>
      <link>https://dev.to/engra/provide-private-storage-for-internal-company-documents-35db</link>
      <guid>https://dev.to/engra/provide-private-storage-for-internal-company-documents-35db</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
Private storage  in Azure refers to a storage account that is only accessible from within your virtual network (VNet). This is achieved through the use of Azure Private Endpoints.   &lt;/p&gt;

&lt;p&gt;Azure Private Endpoints are network interfaces that provide secure, private connectivity to Azure services within your VNet. By creating a private endpoint for your storage account, you can access your data without exposing it to the public internet.   &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Benefits of using private storage in Azure:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enhanced security&lt;/strong&gt;: Reduces the risk of unauthorized access to your data.   &lt;br&gt;
&lt;strong&gt;Reduced attack surface&lt;/strong&gt;: Eliminates public-facing endpoints, making it harder for attackers to target your storage.   &lt;br&gt;
&lt;strong&gt;Compliance&lt;/strong&gt;: Helps meet compliance requirements that mandate data isolation and protection.   &lt;br&gt;
&lt;strong&gt;Improved performance&lt;/strong&gt;: In some cases, using a private endpoint can improve network latency and performance.   &lt;br&gt;
How it works:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a private endpoint&lt;/strong&gt;: Within your VNet, you create a private endpoint that is assigned a private IP address from your VNet's address space.   &lt;br&gt;
&lt;strong&gt;Connect to a service&lt;/strong&gt;: The private endpoint then connects to the Azure service you want to access, such as a storage account. This connection is made through a private link, ensuring that your data remains within your private network.   &lt;br&gt;
&lt;strong&gt;Secure access:&lt;/strong&gt; Once connected, you can access the service using the same connection strings and authorization mechanisms you would use if you were accessing it publicly.   &lt;/p&gt;

&lt;p&gt;NOTE: The company needs storage for their offices and departments. This content is private to the company and shouldn't be shared without consent. This storage requires high availability if there's a regional outage.  The company wants to use this storage to back up the public website storage. &lt;br&gt;
Here are steps in creating private storage&lt;br&gt;
Skilling tasks&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a storage account for the company private documents.&lt;/li&gt;
&lt;li&gt;Configure redundancy for the storage account.&lt;/li&gt;
&lt;li&gt;Configure a shared access signature so partners have restricted access to a file.&lt;/li&gt;
&lt;li&gt;Back up the public website storage.&lt;/li&gt;
&lt;li&gt;Implement lifecycle management to move content to the cool tier.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ol&gt;
&lt;li&gt;Create a storage account for the internal private company documents.
a. In the portal, search for and select Storage accounts.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F540boheuxndeyxpailgv.png" alt="Image description" width="800" height="384"&gt;
&lt;/li&gt;
&lt;/ol&gt;

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

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

&lt;p&gt;c. Select the Resource group created in the previous lab.&lt;br&gt;
d. Set the Storage account name to private. Add an identifier to the name to ensure the name is unique.&lt;br&gt;
e. Select Review, and then Create the storage account.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frg8bwpp0a825rekjcycd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frg8bwpp0a825rekjcycd.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
f. Wait for the storage account to deploy, and then select Go to resource.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;This storage requires high availability if there’s a regional outage. Read access in the secondary region is not required. Configure the appropriate level of redundancy.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;a. In the storage account, in the Data management section, select the Redundancy blade.&lt;br&gt;
b. Ensure Geo-redundant storage (GRS) is selected.&lt;br&gt;
c. Refresh the page.&lt;br&gt;
d. Review the primary and secondary location information.&lt;br&gt;
e. Save your changes.&lt;/p&gt;

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

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

&lt;ol&gt;
&lt;li&gt;Create a private storage container for the corporate data.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;a. In the storage account, in the Data storage section, select the Containers blade.&lt;br&gt;
b. Select + Container.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuq54awpfznyw3ig2zm56.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuq54awpfznyw3ig2zm56.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
c. Ensure the Name of the container is private.&lt;br&gt;
d. Ensure the Public access level is Private (no anonymous access).&lt;br&gt;
e. As you have time, review the Advanced settings, but take the defaults.&lt;br&gt;
f. Select Create.&lt;/p&gt;

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

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

&lt;p&gt;a. Select the container.&lt;br&gt;
b. Select Upload.&lt;br&gt;
c. Browse to files and select a file.&lt;br&gt;
d. Upload the file.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnp9sdv9zwf2kjq50oslg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnp9sdv9zwf2kjq50oslg.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
e. Select the uploaded file.&lt;br&gt;
f. On the Overview tab, copy the URL.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fle6jxzxetiw6s9yxg5qm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fle6jxzxetiw6s9yxg5qm.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
g. Paste the URL into a new browser tab.&lt;br&gt;
h. Verify the file doesn’t display and you receive an error.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;An external partner requires read and write access to the file for at least the next 24 hours. Configure and test a shared access signature (SAS).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;a. Select your uploaded blob file and move to the Generate SAS tab.&lt;br&gt;
b. In the Permissions drop-down, ensure the partner has only Read permissions.&lt;br&gt;
c. Verify the Start and expiry date/time is for the next 24 hours.&lt;br&gt;
d. Select Generate SAS token and URL.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flck3zdph0a35cqqo4zml.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flck3zdph0a35cqqo4zml.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
e. Copy the Blob SAS URL to a new browser tab.&lt;br&gt;
f. 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;/p&gt;

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

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

&lt;ol&gt;
&lt;li&gt;To save on costs, after 30 days, move blobs from the hot tier to the cool tier. 
a. Return to the storage account.
b. In the Overview section, notice the Default access tier is set to Hot.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fir1z90vrgpu680j3eql6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fir1z90vrgpu680j3eql6.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
c. In the Data management section, select the Lifecycle management blade.&lt;br&gt;
d. Select Add rule.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl4o6fwklbj30yy8zzj41.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl4o6fwklbj30yy8zzj41.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
e. Set the Rule name to movetocool.&lt;br&gt;
f. Set the Rule scope to Apply rule to all blobs in the storage account.&lt;br&gt;
g. Select Next.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqdjvlapq1lpvxvzkoetu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqdjvlapq1lpvxvzkoetu.png" alt="Image description" width="800" height="426"&gt;&lt;/a&gt;&lt;br&gt;
h. Ensure Last modified is selected.&lt;br&gt;
i. Set More than (days ago) to 30.&lt;br&gt;
j. In the Then drop-down select Move to cool storage.&lt;br&gt;
k. As you have time, review other lifecycle options in the drop-down.&lt;br&gt;
l. Add the rule.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;The public website files need to be backed up to another storage account.
a. In your storage account, create a new container called backup. Use the default values. Refer back to Lab 02a if you need detailed instructions.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fayj2m3lp1whihkniizae.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fayj2m3lp1whihkniizae.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
b. Navigate to your publicwebsite storage account. This storage account was created in the previous exercise.&lt;br&gt;
c. In the Data management section, select the Object replication blade.&lt;br&gt;
d. Select Create replication rules.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp0qc3ilq6ta5yr7h0crt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp0qc3ilq6ta5yr7h0crt.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
e. Set the Destination storage account to the private storage account.&lt;br&gt;
f. Set the Source container to public and the Destination container to backup.&lt;br&gt;
g. Create the replication rule.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhbh873j7t5davnriioti.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhbh873j7t5davnriioti.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
h. Optionally, as you have time, upload a file to the public container. Return to the private storage account and refresh the backup container. Within a few minutes your public website file will appear in the backup folder.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>learning</category>
      <category>azure</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Provide shared file storage for the company offices</title>
      <dc:creator>Adebayo Ebofin</dc:creator>
      <pubDate>Mon, 07 Oct 2024 16:45:12 +0000</pubDate>
      <link>https://dev.to/engra/provide-shared-file-storage-for-the-company-offices-4n1k</link>
      <guid>https://dev.to/engra/provide-shared-file-storage-for-the-company-offices-4n1k</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
Shared file storage is a system that allows multiple users to access and share files from a central location. It's like a digital filing cabinet that everyone can contribute to and retrieve from.   &lt;/p&gt;

&lt;p&gt;Benefits of Shared File Storage:&lt;br&gt;
a. &lt;strong&gt;Centralized Access&lt;/strong&gt;: All files are stored in one place, making them easy to find and manage.   &lt;br&gt;
b. &lt;strong&gt;Collaboration&lt;/strong&gt;: Multiple users can work on the same files simultaneously, improving teamwork and efficiency.   &lt;br&gt;
c. &lt;strong&gt;Version Control&lt;/strong&gt;: Different versions of a file can be tracked and accessed, ensuring that you always have the most up-to-date information.   &lt;br&gt;
d. &lt;strong&gt;Security&lt;/strong&gt;: Access can be controlled, protecting sensitive data from unauthorized users.   &lt;br&gt;
e. &lt;strong&gt;Scalability&lt;/strong&gt;: Shared file storage can easily be expanded to accommodate growing storage needs.   &lt;/p&gt;

&lt;p&gt;NOTE: The company is geographically dispersed with offices in different locations. These offices need a way to share files and disseminate information. For example, the Finance department needs to confirm cost information for auditing and compliance. This file shares should be easy to access and load without delay. Some content should only be accessed from selected corporate virtual networks.&lt;/p&gt;

&lt;p&gt;Here are steps to follow in creating shared file storage:&lt;br&gt;
 &lt;strong&gt;Skilling tasks&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a storage account specifically for file shares.&lt;/li&gt;
&lt;li&gt;Configure a file share and directory.&lt;/li&gt;
&lt;li&gt;Configure snapshots and practice restoring files.&lt;/li&gt;
&lt;li&gt;Restrict access to a specific virtual network and subnet.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Create and configure a storage account for Azure Files.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a storage account for the finance department’s shared files. 
a. In the portal, search for and select Storage accounts.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkpx7whys6wbz9goubmdt.png" alt="Image description" width="800" height="479"&gt;
b. Select + Create.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxo2sb5dqqyayyqu8d1er.png" alt="Image description" width="800" height="479"&gt;
c. For Resource group select Create new. Give your resource group a name and select OK to save your changes.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi1gtbhqnpf6wic35mko8.png" alt="Image description" width="800" height="479"&gt;
d. Provide a Storage account name. Ensure the name meets the naming requirements.
e. Set the Performance to Premium.
f. Set the Premium account type to File shares.
g. Set the Redundancy to Zone-redundant storage.
h. Select Review and then Create the storage account.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5x9x1gflciu6rtmtesnx.png" alt="Image description" width="800" height="479"&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9gr972h5wv0ie7q195fr.png" alt="Image description" width="800" height="539"&gt;
i. Wait for the resource to deploy.
j. Select Go to resource.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feseeq3zt9sq484yymrdj.png" alt="Image description" width="800" height="479"&gt;
Create and configure a file share with directory.&lt;/li&gt;
&lt;li&gt;Create a file share for the corporate office. 
a. In the storage account, in the Data storage section, select the File shares blade.
b. Select + File share and provide a Name.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6w93bpkiqe4ne55sn5ts.png" alt="Image description" width="800" height="479"&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr3u26y3kaikx8amrjbjc.png" alt="Image description" width="800" height="479"&gt;
c. Review the other options, but take the defaults.
d. Select Create
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdo8l7o219o43tpsequgw.png" alt="Image description" width="800" height="479"&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcukspzwk75171khdijtt.png" alt="Image description" width="800" height="479"&gt;
&lt;/li&gt;
&lt;li&gt;Add a directory to the file share for the finance department. For future testing, upload a file.
a. Select your file share and select + Add directory.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flostmhhosec1yhzvr8y4.png" alt="Image description" width="800" height="479"&gt;
b. Name the new directory finance.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fajjf2nrymszbkh4medvd.png" alt="Image description" width="800" height="479"&gt;
c. Select Browse and then select the finance directory.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fis8ciblydej2zboqtjrq.png" alt="Image description" width="800" height="479"&gt;
d. Notice you can Add directory to further organize your file share.
e. Upload a file of your choosing.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd8z6f2z7daavxgobc5m7.png" alt="Image description" width="800" height="479"&gt;
Configure and test snapshots.&lt;/li&gt;
&lt;li&gt;Similar to blob storage, you need to protect against accidental deletion of files. You decide to use snapshots. 
a. Select your file share.
b. In the Operations section, select the Snapshots blade.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzmddqt3v0jgm47m1w6a3.png" alt="Image description" width="800" height="479"&gt;
c. Select + Add snapshot. The comment is optional. Select OK
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh83gew11qwul3gh3bdva.png" alt="Image description" width="800" height="479"&gt;
d. Select your snapshot and verify your file
directory and uploaded file are included.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1h786enmo5n31c7cdezl.png" alt="Image description" width="800" height="479"&gt;
2.Practice using snapshots to restore a file.
a. Return to your file share.
b. Browse to your file directory.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq7h80gmorvlos4eeb7ap.png" alt="Image description" width="800" height="479"&gt;
c. Locate your uploaded file and in the 
Properties pane select Delete. Select Yes to confirm the deletion.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Famnkmbzgd6gy2yw7zefi.png" alt="Image description" width="800" height="479"&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqghi7cqt9x390q1t4qx5.png" alt="Image description" width="800" height="539"&gt;
d. Select the Snapshots blade and then select your snapshot.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgy4ms2r0v1efghqjarch.png" alt="Image description" width="800" height="479"&gt;
e. Navigate to the file you want to restore,
f. Select the file and the select Restore.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0vh5c8nksi2fcklbpkgn.png" alt="Image description" width="800" height="479"&gt;
g. Provide a Restored file name.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk10auql2glv2vfzm62xl.png" alt="Image description" width="800" height="479"&gt;
h. Verify your file directory has the restored file.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnn603ma6dp7b45n2cmjt.png" alt="Image description" width="800" height="479"&gt;
Configure restricting storage access to selected virtual networks.&lt;/li&gt;
&lt;li&gt;This tasks in this section require a virtual network with subnet. In a production environment these resources would already be created.
a. Search for and select Virtual networks.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq7uiuf0qrgblyko6lz0n.png" alt="Image description" width="800" height="479"&gt;
b. Select Create. Select your resource group. and give the virtual network a name.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjbf886d40ez84nrd6kev.png" alt="Image description" width="800" height="479"&gt;
c. Take the defaults for other parameters, select Review + create, and then Create.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1uir3trhtc8szkyfdt3v.png" alt="Image description" width="800" height="479"&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxdn9c5mkj4nouzurd4ry.png" alt="Image description" width="800" height="479"&gt;
d. Wait for the resource to deploy.
e. Select Go to resource.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fty260rpfc2z5hl67yszm.png" alt="Image description" width="800" height="479"&gt;
f. In the Settings section, select the Subnets blade.
g. Select the default subnet.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp82j4lxfxxud0jcqb74v.png" alt="Image description" width="800" height="479"&gt;
h. In the Service endpoints section choose Microsoft.Storage in the Services drop-down.
i. Do not make any other changes.
j. Be sure to Save your changes.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxof3428ggieqb5akzyzj.png" alt="Image description" width="800" height="479"&gt;
&lt;/li&gt;
&lt;li&gt;The storage account should only be accessed from the virtual network you just created. Learn more about using private storage endpoints..
a. Return to your files storage account.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuo2atu4odtxxz6vl1j3a.png" alt="Image description" width="800" height="479"&gt;
b. In the Security + networking section, select the Networking blade.
c. Change the Public network access to Enabled from selected virtual networks and IP addresses.
d. In the Virtual networks section, select Add existing virtual network.
e. Select your virtual network and subnet, select Add.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F94zknqtga5ukreduox11.png" alt="Image description" width="800" height="479"&gt;
f. Be sure to Save your changes.
g. Select the Storage browser and navigate to your file share.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwwye07mpm23bsqcxdens.png" alt="Image description" width="800" height="479"&gt;
h. Verify the message not authorized to perform this operation. You are not connecting from the virtual network.
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm2e0tm0nef78tky71zay.png" alt="Image description" width="800" height="479"&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>beginners</category>
      <category>learning</category>
      <category>azure</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Provide storage for a new company app</title>
      <dc:creator>Adebayo Ebofin</dc:creator>
      <pubDate>Mon, 07 Oct 2024 16:44:53 +0000</pubDate>
      <link>https://dev.to/engra/provide-storage-for-a-new-company-app-2ifb</link>
      <guid>https://dev.to/engra/provide-storage-for-a-new-company-app-2ifb</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
Azure Storage is a cloud-based storage solution offered by Microsoft Azure. It provides a highly scalable, durable, and secure platform for storing and managing various types of data. Azure Storage offers several services, each designed to meet specific storage needs.&lt;/p&gt;

&lt;p&gt;Here are steps to create azure storage for company new app:&lt;br&gt;
NOTE: The company is designing and developing a new app. Developers need to ensure the storage is only accessed using keys and managed identities. The developers would like to use role-based access control. To help with testing, protected immutable storage is needed.&lt;br&gt;
Skilling tasks&lt;br&gt;
Create the storage account and managed identity.&lt;br&gt;
Secure access to the storage account with a key vault and key.&lt;br&gt;
Configure the storage account to use the customer managed key in the key vault&lt;br&gt;
Configure an time-based retention policy and an encryption scope.&lt;/p&gt;

&lt;p&gt;Create the storage account and managed identity&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Provide a storage account for the web app.
a. In the portal, search for and select Storage accounts.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe40nozfzqkd3k7s0vnj3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe40nozfzqkd3k7s0vnj3.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
c. For Resource group select Create new. Give your resource group a name and select OK to save your changes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6l0ktfdg1y0kokpt0dki.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6l0ktfdg1y0kokpt0dki.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
d. Provide a Storage account name. Ensure the name is unique and meets the naming requirements.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8t8macq2wwbeu4tlmx6v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8t8macq2wwbeu4tlmx6v.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
e. Move to the Encryption tab.&lt;br&gt;
f. Check the box for Enable infrastructure encryption.&lt;br&gt;
g. Notice the warning, This option cannot be changed after this storage account is created.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fig8r5k844y10ca042k17.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fig8r5k844y10ca042k17.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
h. Select Review + Create.&lt;br&gt;
i. Wait for the resource to deploy.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;Provide a managed identity for the web app to use. 
a. Search for and select Managed identities.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4f2fhrl3z64b3bx2tt0b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4f2fhrl3z64b3bx2tt0b.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
c. Select your resource group.&lt;br&gt;
d. Give your managed identity a name.&lt;br&gt;
e. Select Review and create, and then Create.&lt;/p&gt;

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

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

&lt;p&gt;a. Search for and select your storage account.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn61bxwz8t2yr7ne00syy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn61bxwz8t2yr7ne00syy.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
b. Select the Access Control (IAM) blade.&lt;br&gt;
c. Select Add role assignment (center of the page).&lt;/p&gt;

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

&lt;p&gt;d. On the Job functions roles page, search for and select the Storage Blob Data Reader role.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiog2w90tg7cqqkqjevud.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiog2w90tg7cqqkqjevud.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
e. On the Members page, select Managed &lt;br&gt;
identity.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh4xx05t7d4qd8jxheryw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh4xx05t7d4qd8jxheryw.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
f. Select Select members, in the Managed identity drop-down select User-assigned managed identity.&lt;br&gt;
g. Select the managed identity you created in the previous step.&lt;br&gt;
h. Click Select and then Review + assign the role.&lt;/p&gt;

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

&lt;p&gt;i. Select Review + assign a second time to add the role assignment.&lt;/p&gt;

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

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

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

&lt;ol&gt;
&lt;li&gt;To create the key vault and key needed for this part of the lab, your user account must have Key Vault Administrator permissions.
a. In the portal, search for and select Resource groups.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqz3tfu94vanir8na9xy3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqz3tfu94vanir8na9xy3.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
b. Select your resource group, and then the Access Control (IAM) blade.&lt;br&gt;
c. Select Add role assignment (center of the page).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4tnljg1n2qm4bmhnyniu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4tnljg1n2qm4bmhnyniu.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
d. On the Job functions roles page, search for and select the Key Vault Administrator role.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuvw8akovax70sddzdu2n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuvw8akovax70sddzdu2n.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;br&gt;
e. On the Members page, select User, group, or service principal.&lt;br&gt;
f. Select Select members.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa8vuwo85fg5y9egmiu09.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa8vuwo85fg5y9egmiu09.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
g. Search for and select your user account. Your user account is shown in the top right of the portal.&lt;br&gt;
h. Click Select and then Review + assign.&lt;/p&gt;

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

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

&lt;p&gt;i. Select Review + assign a second time to add the role assignment.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0r7taxjfw4v2u2w9os5e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0r7taxjfw4v2u2w9os5e.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
j. You are now ready to continue with the lab.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a key vault to store the access keys.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;a. In the portal, search for and select Key vaults.&lt;br&gt;
b. Select Create.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo3k8jcyi3x6bnle4nfmm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo3k8jcyi3x6bnle4nfmm.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
d. Provide the name for the key vault. The name must be unique.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12nckv1ni34zjyrwrzt7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12nckv1ni34zjyrwrzt7.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
e. Ensure on the Access configuration tab that Azure role-based access control (recommended) is selected.&lt;br&gt;
f. Select Review + create.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9j8qc144xhjk4h59wo7n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9j8qc144xhjk4h59wo7n.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
g. Wait for the validation checks to complete and then select Create.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjgnvpfk24w2k0sd2hdqi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjgnvpfk24w2k0sd2hdqi.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
h. After the deployment, select Go to resource.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzp8260q19fkxw8jmfafq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzp8260q19fkxw8jmfafq.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
i. On the Overview blade ensure both Soft-delete and Purge protection are enabled.&lt;/p&gt;

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

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

&lt;ol&gt;
&lt;li&gt;Create a customer-managed key in the key vault.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;a. In your key vault, in the Objects section, select the Keys blade.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Farzfftc0aoof3rs3boja.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Farzfftc0aoof3rs3boja.png" alt="Image description" width="800" height="539"&gt;&lt;/a&gt;&lt;br&gt;
b. Select Generate/Import and Name the key.&lt;br&gt;
c. Take the defaults for the rest of the parameters, and Create the key.&lt;/p&gt;

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

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

&lt;ol&gt;
&lt;li&gt;Before you can complete the next steps, you must assign the Key Vault Crypto Service Encryption User role to the managed identity. 
a. In the portal, search for and select Resource groups.
b. Select your resource group, and then the Access Control (IAM) blade.
c. Select Add role assignment (center of the page).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8sukd9vr0ato9cevwrz2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8sukd9vr0ato9cevwrz2.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
d. On the Job functions roles page, search for and select the Key Vault Crypto Service Encryption User role.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fulwh4v62quadhlzk1er6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fulwh4v62quadhlzk1er6.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
e. On the Members page, select Managed identity.&lt;br&gt;
f. Select Select members, in the Managed identity drop-down select User-assigned managed identity.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flvwuqq2hkjapa2t1lkt6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flvwuqq2hkjapa2t1lkt6.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
g. Select your managed identity.&lt;br&gt;
h. Click Select and then Review + assign.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8vmk56pmfpblypvtqxti.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8vmk56pmfpblypvtqxti.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;i. Select Review + assign a second time to add the role assignment.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;Configure the storage account to use the customer managed key in your key vault.
a. Return to your the storage account.
b. In the Security + networking section, select the Encryption blade.
c. Select Customer-managed keys.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyerggc1knbix7hzgktjs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyerggc1knbix7hzgktjs.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;=&lt;br&gt;
d. Select a key vault and key. Select your key vault and key.&lt;br&gt;
e. Select to confirm your choices.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwkresgmqy4jp875bpoas.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwkresgmqy4jp875bpoas.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
f. Ensure the Identity type is User-assigned.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwlrk5zhkikbh7dy9w4xy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwlrk5zhkikbh7dy9w4xy.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
h. Select your managed identity then select Add.&lt;br&gt;
i. Save your changes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftv1imdjms2l1ki6ic8sg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftv1imdjms2l1ki6ic8sg.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
j. If you receive an error that your identity does not have the correct permissions, wait a minute and try &lt;br&gt;
again.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;The developers require a storage container where files can’t be modified, even by the administrator. .&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;a. Navigate to your storage account.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr2ubyaooaxkuiseaq4vu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr2ubyaooaxkuiseaq4vu.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
b. In the Data storage section, select the Containers blade.&lt;br&gt;
c. Create a container called hold. Take the defaults. Be sure to Create the container.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvh2oe77gwynnpeb8wore.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvh2oe77gwynnpeb8wore.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
e. In the Settings section, select the Access policy blade.&lt;br&gt;
f. In the Immutable blob storage section, select + Add policy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjgcoel8lly4rubhx4jl2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjgcoel8lly4rubhx4jl2.png" alt="Image description" width="800" height="474"&gt;&lt;/a&gt;&lt;br&gt;
g. For the Policy type, select time-based retention.&lt;br&gt;
h. Set the Retention period to 5 days.&lt;br&gt;
i. Be sure to Save your changes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnyf98pu8rpa23xwq1bv3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnyf98pu8rpa23xwq1bv3.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
j. Try to delete the file in the container.&lt;br&gt;
k. Verify you are notified failed to delete blobs due to policy.&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;The developers require an encryption scope that enables infrastructure encryption. Learn more about infrastructure encryption.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;a. Navigate back to your storage account.&lt;br&gt;
b. In the Security + networking blade, select Encryption.&lt;br&gt;
c. In the Encryption scopes tab, select Add.&lt;br&gt;
d. Give your encryption scope a name.&lt;br&gt;
e. The Encryption type is Microsoft-managed key.&lt;br&gt;
f. Set Infrastructure encryption to Enable.&lt;br&gt;
g. Create the encryption scope.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3blwynwb3pfb32zu6hbz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3blwynwb3pfb32zu6hbz.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;br&gt;
h. Return to your storage account and create a new container.&lt;br&gt;
i. Notice on the New container page, there is the Name and Public access level.&lt;br&gt;
j. Notice in the Advanced section you can select the Encryption scope you created and apply it to all blobs in the container.&lt;/p&gt;

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

</description>
      <category>beginners</category>
      <category>learning</category>
      <category>azure</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
