<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: ANDREW ARIGU AYUBA</title>
    <description>The latest articles on Forem by ANDREW ARIGU AYUBA (@astranan).</description>
    <link>https://forem.com/astranan</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%2F2848884%2F5ee1ffb2-9b0a-4073-bdef-80e36c2f444e.JPG</url>
      <title>Forem: ANDREW ARIGU AYUBA</title>
      <link>https://forem.com/astranan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/astranan"/>
    <language>en</language>
    <item>
      <title>HOW TO CREATE AND CONFIGURE AZURE FIREWALL</title>
      <dc:creator>ANDREW ARIGU AYUBA</dc:creator>
      <pubDate>Wed, 14 May 2025 08:24:46 +0000</pubDate>
      <link>https://forem.com/astranan/how-to-create-and-configure-azure-firewall-29lh</link>
      <guid>https://forem.com/astranan/how-to-create-and-configure-azure-firewall-29lh</guid>
      <description>&lt;p&gt;Azure Firewall is a cloud-native, managed network security service provided by Microsoft Azure. It helps protect your Azure Virtual Network resources by controlling both inbound and outbound network traffic based on configured rules.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features of Azure Firewall
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Stateful Traffic Inspection&lt;/strong&gt;&lt;br&gt;
Maintains the state of connections, which means it can distinguish between legitimate and malicious traffic.&lt;br&gt;
&lt;strong&gt;Built-in High Availability and Scalability&lt;/strong&gt;&lt;br&gt;
Azure Firewall is highly available out of the box and can scale automatically based on traffic load.&lt;br&gt;
&lt;strong&gt;Centralized Policy Management&lt;/strong&gt;&lt;br&gt;
You can manage network and application rules across multiple subscriptions and virtual networks.&lt;br&gt;
&lt;strong&gt;Threat Intelligence-Based Filtering&lt;/strong&gt;&lt;br&gt;
Integrates with Microsoft threat intelligence to allow or deny traffic from known malicious IPs or domains.&lt;br&gt;
&lt;strong&gt;Application FQDN Filtering Rules&lt;/strong&gt;&lt;br&gt;
You can create rules based on fully qualified domain names (FQDNs), not just IP addresses.&lt;br&gt;
&lt;strong&gt;Network Traffic Logging and Analytics&lt;/strong&gt;&lt;br&gt;
Integration with Azure Monitor, Log Analytics, and Event Hubs for logging and diagnostics.&lt;br&gt;
&lt;strong&gt;DNS Proxy and Filtering&lt;/strong&gt;&lt;br&gt;
Azure Firewall can act as a DNS proxy and filter DNS queries.&lt;br&gt;
&lt;strong&gt;Support for Hybrid Connections&lt;/strong&gt;&lt;br&gt;
Works with on-premises environments using VPN or ExpressRoute.&lt;/p&gt;

&lt;h2&gt;
  
  
  Scenario
&lt;/h2&gt;

&lt;p&gt;Your organization requires centralized network security for the application virtual network. As the application usage increases, more granular application-level filtering and advanced threat protection will be needed. Also, it is expected the application will need continuous updates from Azure DevOps pipelines.&lt;/p&gt;

&lt;h2&gt;
  
  
  You identify these requirements.
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Azure Firewall is required for additional security in the app-vnet.&lt;/li&gt;
&lt;li&gt;A firewall policy should be configured to help manage access to the application.&lt;/li&gt;
&lt;li&gt;A firewall policy application rule is required. This rule will allow the application access to Azure DevOps so the application code can be updated.&lt;/li&gt;
&lt;li&gt;A firewall policy network rule is required. This rule will allow DNS resolution.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  This rule Skilling tasks
&lt;/h2&gt;

&lt;p&gt;Create an Azure Firewall.&lt;br&gt;
Create and configure a firewall policy&lt;br&gt;
Create an application rule collection.&lt;br&gt;
Create a network rule collection.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Architecture diagram&lt;/strong&gt;&lt;/p&gt;

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

&lt;h2&gt;
  
  
  STEPS ON CREATING AZURE FIREWALL
&lt;/h2&gt;

&lt;h2&gt;
  
  
  STEP 1: Create Azure Firewall subnet in our existing virtual network.
&lt;/h2&gt;

&lt;p&gt;In the search box at the top of the portal, enter Virtual networks and select Virtual networks in the search results.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Select app-vnet
&lt;/h2&gt;

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

&lt;h2&gt;
  
  
  STEP 2: Select subnet and click on +subnet.
&lt;/h2&gt;

&lt;p&gt;Enter these settings&lt;br&gt;
Subnet purpose: &lt;strong&gt;Azure Firewall&lt;/strong&gt;&lt;br&gt;
Name: &lt;strong&gt;AzureFirewallSubnet&lt;/strong&gt;&lt;br&gt;
Starting address: &lt;strong&gt;10.1.63.0&lt;/strong&gt;&lt;br&gt;
Click add after entering these settings&lt;/p&gt;

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

&lt;h2&gt;
  
  
  STEP 3: Search for and select Firewall
&lt;/h2&gt;

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

&lt;p&gt;Select + create and enter these settings:&lt;/p&gt;

&lt;p&gt;Name: &lt;strong&gt;app-vnet-firewall&lt;/strong&gt;&lt;br&gt;
Resource group: &lt;strong&gt;your resource group&lt;/strong&gt;&lt;br&gt;
Firewall SKU: &lt;strong&gt;Standard&lt;/strong&gt;&lt;br&gt;
Firewall management: &lt;strong&gt;Use a Firewall Policy to manage this firewall&lt;/strong&gt;&lt;br&gt;
Firewall policy: &lt;strong&gt;Add new&lt;/strong&gt;&lt;br&gt;
Policy name: &lt;strong&gt;policyastra&lt;/strong&gt;&lt;br&gt;
Region: &lt;strong&gt;East US&lt;/strong&gt;&lt;br&gt;
Policy Tier: &lt;strong&gt;Standard&lt;/strong&gt;&lt;br&gt;
Choose a virtual network: &lt;strong&gt;Use existing&lt;/strong&gt;&lt;br&gt;
Virtual network: &lt;strong&gt;app-vnet&lt;/strong&gt;&lt;br&gt;
Public IP address Add new: &lt;strong&gt;ipastra&lt;/strong&gt;&lt;br&gt;
Click Review + create when configured, click on create and wait for deployment to be completed.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  STEP 4: Search for and select Firewall Policies
&lt;/h2&gt;

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

&lt;p&gt;Select &lt;strong&gt;policyastra&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;Under Rules, select Application rules and then Add a rule collection.&lt;/p&gt;

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

&lt;p&gt;Configure the application rule and select add&lt;br&gt;
Name: &lt;strong&gt;app-vnet-fw-rule-collection&lt;/strong&gt;&lt;br&gt;
Rule collection type: &lt;strong&gt;Application&lt;/strong&gt;&lt;br&gt;
Priority: &lt;strong&gt;200&lt;/strong&gt;&lt;br&gt;
Rule collection action: &lt;strong&gt;Allow&lt;/strong&gt;&lt;br&gt;
Rule collection group: &lt;strong&gt;DefaultApplicationRuleCollectionGroup&lt;/strong&gt;&lt;br&gt;
Name: &lt;strong&gt;AllowAzurePipelines&lt;/strong&gt;&lt;br&gt;
Source type: &lt;strong&gt;IP address&lt;/strong&gt;&lt;br&gt;
Source: &lt;strong&gt;10.1.0.0/23&lt;/strong&gt;&lt;br&gt;
Protocol: &lt;strong&gt;https&lt;/strong&gt;&lt;br&gt;
Destination type: &lt;strong&gt;FQDN&lt;/strong&gt;&lt;br&gt;
Destination: &lt;strong&gt;dev.azure.com, azure.microsoft.com&lt;/strong&gt;&lt;/p&gt;

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

&lt;h2&gt;
  
  
  NOTE:
&lt;/h2&gt;

&lt;p&gt;The AllowAzurePipelines rule allows the web application to access Azure Pipelines. The rule allows the web application to access the Azure DevOps service and the Azure website.&lt;/p&gt;

&lt;h2&gt;
  
  
  Add a Network Rule
&lt;/h2&gt;

&lt;p&gt;In the Settings blade, select Network rules and then Add a network collection.&lt;/p&gt;

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

&lt;p&gt;Configure the network rule and then select Add.&lt;/p&gt;

&lt;h2&gt;
  
  
  Property Value
&lt;/h2&gt;

&lt;p&gt;Name = &lt;strong&gt;app-vnet-fw-nrc-dns&lt;/strong&gt;&lt;br&gt;
Rule collection type = &lt;strong&gt;Network&lt;/strong&gt;&lt;br&gt;
Priority = &lt;strong&gt;200&lt;/strong&gt;&lt;br&gt;
Rule collection action = &lt;strong&gt;Allow&lt;/strong&gt;&lt;br&gt;
Rule collection group = &lt;strong&gt;DefaultNetworkRuleCollectionGroup&lt;/strong&gt;&lt;br&gt;
Rule = &lt;strong&gt;AllowDns&lt;/strong&gt;&lt;br&gt;
Source = &lt;strong&gt;10.1.0.0/23&lt;/strong&gt;&lt;br&gt;
Protocol = &lt;strong&gt;UDP&lt;/strong&gt;&lt;br&gt;
Destination ports = &lt;strong&gt;53&lt;/strong&gt;&lt;br&gt;
Destination addresses = &lt;strong&gt;1.1.1.1, 1.0.0.1&lt;/strong&gt;&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Verify the firewall and firewall policy status
&lt;/h2&gt;

&lt;p&gt;Search for and select firewall, View the app-vnet-firewall and ensure the Provisioning state is Succeeded.&lt;/p&gt;

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

&lt;p&gt;In the portal ,search for and select Firewall policies. View the policyastra and ensure the Provisioning state is Succeeded.&lt;/p&gt;

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

&lt;p&gt;This exercise builds on previous work by adding an Azure Firewall to control outbound traffic in your virtual network. A centralized firewall is now in place, enabling secure, policy-driven control of traffic in Azure.&lt;/p&gt;

</description>
      <category>azure</category>
      <category>cloud</category>
      <category>devops</category>
      <category>security</category>
    </item>
    <item>
      <title>HOW TO CREATE AND CONFIGURE NETWORK SECURITY GROUPS.</title>
      <dc:creator>ANDREW ARIGU AYUBA</dc:creator>
      <pubDate>Wed, 07 May 2025 09:36:19 +0000</pubDate>
      <link>https://forem.com/astranan/how-to-create-and-configure-network-security-groups-3b8n</link>
      <guid>https://forem.com/astranan/how-to-create-and-configure-network-security-groups-3b8n</guid>
      <description>&lt;p&gt;A Network Security Group (NSG) is a security feature used primarily in cloud environments—especially in Microsoft Azure—to control inbound and outbound traffic to networked resources. A Network Security Group (NSG) in Microsoft Azure is a security feature that allows you to control inbound and outbound network traffic to and from Azure resources within a virtual network. NSGs contain a list of security rules that permit or deny traffic based on various parameters such as source and destination IP addresses, ports, and protocols.&lt;/p&gt;

&lt;h2&gt;
  
  
  SCENARIO
&lt;/h2&gt;

&lt;p&gt;Your organization requires the network traffic in the app-vnet to be tightly controlled. You identify these requirements.&lt;/p&gt;

&lt;p&gt;The frontend subnet has web servers that can be accessed from the internet. An &lt;strong&gt;Application Security Group(ASG)&lt;/strong&gt; is required for those servers. The ASG should be associated with any virtual machine interface that is part of the group. This will allow the web servers to be easily managed.&lt;/p&gt;

&lt;p&gt;The backend subnet has database servers used by the frontend web servers. A network security group (NSG) is required to control this traffic. The NSG should be associated with any virtual machine interface that will be accessed by the web servers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Skilling tasks
&lt;/h2&gt;

&lt;p&gt;.Create a network security group.&lt;br&gt;
.Create network security group rules.&lt;br&gt;
.Associate a network security group to a subnet.&lt;br&gt;
.Create and use application security groups in network security group rules.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture diagram
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9lrmjvkp8cbftl8wkam8.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9lrmjvkp8cbftl8wkam8.webp" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;br&gt;
For testing, a virtual machines should be installed in the frontend subnet (VM1) and the backend subnet (VM2). Here two virtual machines will be created.&lt;/p&gt;

&lt;h2&gt;
  
  
  STEP 1: Create VM1
&lt;/h2&gt;

&lt;p&gt;In your Azure portal, search for virtual machine and click + 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%2Fagm4j972p60m8e3h0ek9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fagm4j972p60m8e3h0ek9.png" alt="Image description" width="800" height="492"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;creating a virtual machine is not difficult. In case you don't know how to go about it refer to my article on how to create a 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%2Fhurf1z7fda22klttwn1j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhurf1z7fda22klttwn1j.png" alt="Image description" width="800" height="585"&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%2Fb1n3sskbhmh0cnd2pk13.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb1n3sskbhmh0cnd2pk13.png" alt="Image description" width="800" height="635"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Review +create for validation, click on create for deployment and wait for deployment to be complete.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  STEP 2: Create VM2
&lt;/h2&gt;

&lt;p&gt;Just like creating VM1,follow the same procedure in creating VM2.&lt;/p&gt;

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

&lt;p&gt;Review +create for validation, click on create for deployment and wait for the deployment to be complete.&lt;/p&gt;

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

&lt;p&gt;Here I have successfully create and deploy the two virtual machines.&lt;/p&gt;

&lt;h2&gt;
  
  
  STEP 3: Search for and select &lt;strong&gt;Application security groups&lt;/strong&gt;.
&lt;/h2&gt;

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

&lt;p&gt;Select + Create and configure the application security group.&lt;/p&gt;

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

&lt;p&gt;Select Review + create and then select Create for Validating and 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%2Fo7a5gbh79ml97k2rybox.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo7a5gbh79ml97k2rybox.png" alt="Image description" width="800" height="487"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After creating Application Security Groups (ASG), associate the application security group to the network interface of the VM1.&lt;/p&gt;

&lt;h2&gt;
  
  
  STEP 4: In the Azure portal, search for and select VM1
&lt;/h2&gt;

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

&lt;p&gt;In the Networking blade, select Application security groups and then select Add application security groups. Select the app-frontend-asg and then select Add.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Create and Associate the Network Security Group
&lt;/h2&gt;

&lt;p&gt;Network security groups (NSGs) * secure network traffic in a virtual network.&lt;/p&gt;

&lt;h2&gt;
  
  
  STEP 5: In the portal search for and select Network security group.
&lt;/h2&gt;

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

&lt;p&gt;Select + Create and configure the network security group.&lt;/p&gt;

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

&lt;p&gt;Select Review + create then select Create and wait for the deployment to be complete.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Associate the NSG with the app-vnet backend subnet.
&lt;/h2&gt;

&lt;h2&gt;
  
  
  STEP 6: Go to resource or navigate to the app-vnet-nsg resource.
&lt;/h2&gt;

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

&lt;p&gt;In the Settings blade select Subnets. Select app-vnet (PRACTICE1) and then the Backend subnet. Select OK&lt;br&gt;
NOTE: Practice1 is a resource group I created instead of using RG1.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Create Network Security Group rules
&lt;/h2&gt;

&lt;p&gt;A Network Security Rules (NSG) use security rules to filter inbound and outbound network traffic.&lt;/p&gt;

&lt;h2&gt;
  
  
  STEP 7: Search and select Network Security Group.
&lt;/h2&gt;

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

&lt;p&gt;Select app-vnet-nsg from the list of network security groups.&lt;/p&gt;

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

&lt;p&gt;In the Settings blade, select Inbound security rules then select + Add and click on Add. &lt;/p&gt;

&lt;h2&gt;
  
  
  Property Value
&lt;/h2&gt;

&lt;p&gt;Source = Any&lt;br&gt;
Source port ranges = *&lt;br&gt;
Destination = Application Security group&lt;br&gt;
Destination application security group =app-frontend-asg&lt;br&gt;
Service = SSH&lt;br&gt;
Action = Allow&lt;br&gt;
Priority = 100&lt;br&gt;
Name = AllowSSH&lt;/p&gt;

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

&lt;p&gt;By completing this exercise, I have successfully configured secure access between frontend and backend workloads in Azure using Network Security Groups (NSGs) and Application Security Groups (ASGs).&lt;/p&gt;

</description>
      <category>network</category>
      <category>devops</category>
      <category>cloud</category>
      <category>azure</category>
    </item>
    <item>
      <title>AZURE APPLIED SKILLS: Create and configure virtual networks.</title>
      <dc:creator>ANDREW ARIGU AYUBA</dc:creator>
      <pubDate>Thu, 01 May 2025 14:09:10 +0000</pubDate>
      <link>https://forem.com/astranan/azure-applied-skills-create-and-configure-virtual-networks-b6a</link>
      <guid>https://forem.com/astranan/azure-applied-skills-create-and-configure-virtual-networks-b6a</guid>
      <description>&lt;p&gt;In this particular article, I will be walking on the process of configuring secure access to workloads using Azure virtual networking. In this exercise, we will put in place the virtual networks and subnets.&lt;/p&gt;

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

&lt;p&gt;Create a virtual network.&lt;br&gt;
Create a subnet.&lt;br&gt;
Configure vnet peering.&lt;/p&gt;

&lt;h2&gt;
  
  
  REQUIREMENTS
&lt;/h2&gt;

&lt;p&gt;To do this exercise you will need:&lt;br&gt;
An Azure subscription with Contributor RBAC role assigned. In this lab, when you are asked to create a resource, for any properties that are not specified, use the default value.&lt;/p&gt;

&lt;p&gt;An Azure virtual network enables many types of Azure resources to securely communicate with each other, the internet, and on-premises networks. All Azure resources in a virtual network are deployed into subnets within the virtual network.&lt;/p&gt;

&lt;h2&gt;
  
  
  STEP 1:Sign into the Azure portal and search for and select Virtual Networks.
&lt;/h2&gt;

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

&lt;p&gt;Click on &lt;strong&gt;+ Create&lt;/strong&gt; and complete the configuration of the app-vnet.&lt;/p&gt;

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

&lt;p&gt;Subscription and Resource group: Your valid subscription and choose or create your resource group&lt;br&gt;
Virtual network name: &lt;strong&gt;app-vnet&lt;/strong&gt;&lt;br&gt;
Region: (US) East US&lt;/p&gt;

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

&lt;p&gt;Click IP addresses, then add IPV4 address space.&lt;/p&gt;

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

&lt;p&gt;Ensure that the new space starts at 10.1.0.0 and the size is /16 and delete the default address space.&lt;/p&gt;

&lt;p&gt;Click add a &lt;strong&gt;subnet&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;Call it &lt;strong&gt;frontend&lt;/strong&gt;, make sure the starting address is &lt;strong&gt;10.1.0.0&lt;/strong&gt; and the size is 24. Click add when settings are configured and save 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%2Fhjumhkk3f3zlnvfzetbn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhjumhkk3f3zlnvfzetbn.png" alt="Image description" width="800" height="642"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click Add subnet again in the same address space. Name it &lt;strong&gt;backend&lt;/strong&gt; also a size of 24. Make sure that the starting address is &lt;strong&gt;10.1.1.0&lt;/strong&gt;. Click add&lt;/p&gt;

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

&lt;p&gt;When you are done creating the frontend and the backend, here is how the final setup will look like.&lt;/p&gt;

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

&lt;p&gt;Click &lt;strong&gt;review + create&lt;/strong&gt;. Then &lt;strong&gt;create&lt;/strong&gt; again and wait for deployment.&lt;/p&gt;

&lt;h2&gt;
  
  
  STEP 2: Search for and select virtual networks again. Click + create, like in the first steps.
&lt;/h2&gt;

&lt;p&gt;Use these settings for the configuration:&lt;br&gt;
Subscription and Resource Group: Same as previous virtual network&lt;br&gt;
Virtual Network Name: &lt;strong&gt;hub-vnet&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;Click IP addresses and Click &lt;strong&gt;Add subnet&lt;/strong&gt;. Select &lt;strong&gt;Azure Firewall&lt;/strong&gt; as the subnet purpose. Leave the default settings, and click &lt;strong&gt;Add&lt;/strong&gt;.&lt;/p&gt;

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

&lt;p&gt;Remove the default space, click &lt;strong&gt;review + create&lt;/strong&gt; then click create again.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  STEP 3: In the virtual networks portal, click &lt;strong&gt;app-vnet&lt;/strong&gt;
&lt;/h2&gt;

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

&lt;h2&gt;
  
  
  Configure a peer relationship between the virtual networks
&lt;/h2&gt;

&lt;p&gt;Virtual network peering enables you to seamlessly connect two or more Virtual Networks in Azure.&lt;/p&gt;

&lt;p&gt;In the Settings blade, select &lt;strong&gt;Peerings&lt;/strong&gt; and click on &lt;strong&gt;+ Add&lt;/strong&gt;.&lt;/p&gt;

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

&lt;p&gt;Use these settings:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Peering link name: &lt;strong&gt;app-vnet-to-hub&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Subscription: same subscription used earlier&lt;/li&gt;
&lt;li&gt;Virtual network: &lt;strong&gt;hub-vnet&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Local virtual network peering link name: &lt;strong&gt;hub-to-app-vnet&lt;/strong&gt;
Leave the rest on defaults and click &lt;strong&gt;"Add&lt;/strong&gt;"&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;Once the deployment completes, verify the Peering status is &lt;strong&gt;Connected&lt;/strong&gt; (in the peering menu of app-vnet)&lt;/p&gt;

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

&lt;p&gt;At this point, I have successfully created and peered two virtual networks: &lt;strong&gt;app-vnet&lt;/strong&gt; and &lt;strong&gt;hub-vnet&lt;/strong&gt; .&lt;/p&gt;

</description>
      <category>devops</category>
      <category>frontend</category>
      <category>networking</category>
      <category>backend</category>
    </item>
    <item>
      <title>Understanding Linux Package Manager: Deploying A Lamp Stack in Linux.</title>
      <dc:creator>ANDREW ARIGU AYUBA</dc:creator>
      <pubDate>Sun, 30 Mar 2025 07:40:20 +0000</pubDate>
      <link>https://forem.com/astranan/understanding-linux-package-manager-deploying-a-lamp-stack-in-linux-j83</link>
      <guid>https://forem.com/astranan/understanding-linux-package-manager-deploying-a-lamp-stack-in-linux-j83</guid>
      <description>&lt;p&gt;A package manager in Linux is a command-line or graphical tool that automates the process of installing, updating, configuring, and removing software packages. It simplifies software management by handling dependencies, repositories, and system consistency.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Functions of a Package Manager:
&lt;/h2&gt;

&lt;p&gt;Installation: Downloads and installs software packages from a repository.&lt;br&gt;
Upgrades: Updates software packages to the latest versions.&lt;br&gt;
Removal: Removes software packages from the system.&lt;br&gt;
Dependency Management: Automatically resolves and installs any required dependencies for a package.&lt;br&gt;
Package Integrity: Verifies the authenticity and integrity of packages.&lt;br&gt;
Repository Management: Allows users to add or remove software repositories.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why are Package Managers Important?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Simplified Software Management:&lt;/strong&gt;&lt;br&gt;
They automate the process of installing, updating, and removing software, making it easier for users to manage their systems. &lt;br&gt;
&lt;strong&gt;Dependency Resolution:&lt;/strong&gt;&lt;br&gt;
They automatically handle dependencies, ensuring that all required packages are installed, which prevents "dependency hell". &lt;br&gt;
&lt;strong&gt;Security and Integrity:&lt;/strong&gt;&lt;br&gt;
They help ensure that software packages are authentic and haven't been tampered with. &lt;br&gt;
&lt;strong&gt;Centralized Repositories:&lt;/strong&gt;&lt;br&gt;
They allow users to access a centralized repository of software packages, making it easier to find and install software. &lt;/p&gt;

&lt;h2&gt;
  
  
  Example Workflow (Ubuntu):
&lt;/h2&gt;

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

&lt;p&gt;Without wasting much time, let us begin by downloading Ubuntu's package manager. To do this, you need to download Ubuntu Multipass. After downloading and installing it successful , here is how it will look once you open the Multipass;&lt;/p&gt;

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

&lt;p&gt;You will need to download an Ubuntu image.After the downloaded the image, open the instance on the left hand pane of the multipass app. Click on new terminal.&lt;/p&gt;

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

&lt;p&gt;Once you open the shell a welcome note will appear, to clear that welcome note you will need to run the command &lt;strong&gt;"clear"&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;To install anything in Ubuntu, you need to be on admin mode. The command for that is &lt;strong&gt;"Sudo Su"&lt;/strong&gt;. Now if you do not want to be on admin mode (root mode)but still want to perform an installation, lets say you want to install NGINX, &lt;strong&gt;"Sudo apt install nginx"&lt;/strong&gt;&lt;/p&gt;

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

&lt;h2&gt;
  
  
  NOTE:
&lt;/h2&gt;

&lt;p&gt;Provided you're not in root mode, you will need to add &lt;strong&gt;"Sudo"&lt;/strong&gt; to every command. Sudo gives you that administrative privilege.&lt;/p&gt;

&lt;h2&gt;
  
  
  DEPLOYING A LAMP STACK
&lt;/h2&gt;

&lt;p&gt;The LAMP stack is a robust, open-source software suite used to build and host dynamic websites and web applications. A LAMP stack is a popular open-source software bundle used for building and hosting web applications. The acronym "LAMP" stands for the four core components: Linux, Apache, MySQL and PHP.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;em&gt;Here's a breakdown of each component:&lt;/em&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Linux:&lt;/strong&gt;&lt;br&gt;
The open-source operating system that serves as the foundation for the LAMP stack, providing a stable and secure environment for running web applications. &lt;br&gt;
&lt;strong&gt;Apache:&lt;/strong&gt;&lt;br&gt;
A widely used web server software that handles HTTP requests and delivers web content to users. &lt;br&gt;
&lt;strong&gt;MySQL:&lt;/strong&gt;&lt;br&gt;
A relational database management system used for storing and managing data for web applications. &lt;br&gt;
&lt;strong&gt;PHP:&lt;/strong&gt;&lt;br&gt;
A server-side scripting language used to create dynamic web content, interacting with MySQL to fetch and display data. &lt;/p&gt;

&lt;h2&gt;
  
  
  Step-by-Step Deployment
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1: System Update&lt;/strong&gt;&lt;br&gt;
To do this, run the command &lt;strong&gt;"sudo apt update &amp;amp;&amp;amp; sudo apt upgrade -y"&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Step 2: Install Apache Web Server&lt;/strong&gt;&lt;br&gt;
To install apache2, run the command &lt;strong&gt;"sudo apt install apache2 -y"&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Step 3: Enable and start the service&lt;/strong&gt;&lt;br&gt;
Run the command &lt;strong&gt;"sudo systemctl enable apache2 --now"&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;To know if Apache2 is installed, run the command &lt;strong&gt;"ip addr show."&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;Copy the IP address and paste on a browser.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Install MySQL Database&lt;/strong&gt;&lt;br&gt;
Run the command  &lt;strong&gt;"sudo apt install mysql-server -y"&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Step 5: Secure MySQL&lt;/strong&gt; &lt;br&gt;
Run the command &lt;strong&gt;"sudo mysql_secure_installation"&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Step 6: Install PHP&lt;/strong&gt;&lt;br&gt;
Run the command &lt;strong&gt;"sudo apt install php libapache2-mod-php php-mysql php-cli php-curl php-json -y"&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Step 7: Test PHP Configuration&lt;/strong&gt;&lt;br&gt;
Run the command  &lt;strong&gt;echo "&amp;lt;?php phpinfo(); ?&amp;gt;" | sudo tee /var/www/html/info.php&lt;/strong&gt; &lt;/p&gt;

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

&lt;p&gt;Visit: http:// your IP address/info.php to view the PHP details page.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Step 8: Remove the test file afterward&lt;/strong&gt;&lt;br&gt;
Run the command &lt;strong&gt;sudo rm /var/www/html/info.php&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Step 9: Security Best Practices&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Configure Firewall&lt;br&gt;
Allow only necessary traffic:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Allow HTTP/HTTPS&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Run the command &lt;strong&gt;sudo ufw allow 'Apache Full'&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Allow SSH&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Run the cammand &lt;strong&gt;"sudo ufw allow ssh"&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Activate firewall&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Run the command &lt;strong&gt;"sudo ufw enable"&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;We have successfully deployed a LAMP Stack on Linux for hosting dynamic websites and web applications. That wasn't difficult.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>linux</category>
      <category>azure</category>
      <category>ubuntu</category>
    </item>
    <item>
      <title>UNDERSTANDING WHAT LINUX COMMAND IS ALL ABOUT.</title>
      <dc:creator>ANDREW ARIGU AYUBA</dc:creator>
      <pubDate>Thu, 20 Mar 2025 11:14:24 +0000</pubDate>
      <link>https://forem.com/astranan/understanding-what-linux-command-is-all-about-3jho</link>
      <guid>https://forem.com/astranan/understanding-what-linux-command-is-all-about-3jho</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;INTRODUCTION&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
A Linux command is a text-based instruction entered into a terminal or command-line interface to perform a specific task on a Linux operating system. These commands allow users to interact with the system, manage files, configure settings, run programs, and more. Linux commands are typically executed in a shell (like Bash), which interprets and processes the input.&lt;br&gt;
Linux commands are the backbone of interacting with a Linux operating system through the terminal. They allow users to perform tasks ranging from file management to system administration, often with more precision and flexibility than graphical interfaces.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Are Commands in Linux?
&lt;/h2&gt;

&lt;p&gt;Commands in Linux are essentially programs or utilities that perform operations when invoked. They can be built into the shell (internal commands) or exist as separate executable files (external commands). Here’s a breakdown:&lt;br&gt;
&lt;strong&gt;Internal Commands:&lt;/strong&gt; These are part of the shell itself (e.g., Bash) and don’t require separate executable files. Examples include:&lt;br&gt;
&lt;strong&gt;cd&lt;/strong&gt;: (change directory)&lt;br&gt;
&lt;strong&gt;echo&lt;/strong&gt;: (display text)&lt;br&gt;
&lt;strong&gt;pwd&lt;/strong&gt;: (print working directory)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;External Commands:&lt;/strong&gt; These are standalone programs located in directories like /bin, /usr/bin, or /usr/local/bin. Examples include:&lt;br&gt;
&lt;strong&gt;ls&lt;/strong&gt;: (list directory contents, though often aliased to dir in some setups)&lt;br&gt;
&lt;strong&gt;cat&lt;/strong&gt;: (concatenate and display file content)&lt;br&gt;
&lt;strong&gt;grep&lt;/strong&gt;: (search text in files)&lt;/p&gt;

&lt;h2&gt;
  
  
  Common Linux Commands
&lt;/h2&gt;

&lt;p&gt;Here are some widely used Linux commands, categorized by purpose:&lt;/p&gt;

&lt;h2&gt;
  
  
  File Management
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;ls:&lt;/strong&gt; Not typically a native command, but often dir or aliases simulate it; use ls in many distributions with proper setup.&lt;br&gt;
&lt;strong&gt;cp:&lt;/strong&gt; Copy files or directories.&lt;br&gt;
&lt;strong&gt;mv:&lt;/strong&gt; Move or rename files or directories.&lt;br&gt;
&lt;strong&gt;rm:&lt;/strong&gt; Remove or delete files or directories.&lt;br&gt;
&lt;strong&gt;touch:&lt;/strong&gt; Create an empty file or update a file's timestamp.&lt;br&gt;
&lt;strong&gt;ls:&lt;/strong&gt; List directories or files.&lt;br&gt;
&lt;strong&gt;clear:&lt;/strong&gt; Clear the terminal display.&lt;/p&gt;

&lt;h2&gt;
  
  
  Directory Navigation
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;cd:&lt;/strong&gt; Change the current directory or to navigate through directories.&lt;br&gt;
&lt;strong&gt;mkdir:&lt;/strong&gt; Create a new directory.&lt;br&gt;
&lt;strong&gt;rmdir:&lt;/strong&gt; Remove an empty directory.&lt;br&gt;
&lt;strong&gt;pwd:&lt;/strong&gt; Show the current directory path or print working directory.&lt;br&gt;
&lt;strong&gt;cat:&lt;/strong&gt; Display file content on the terminal.&lt;br&gt;
&lt;strong&gt;cmp:&lt;/strong&gt; allows to check if two files are identical.&lt;br&gt;
&lt;strong&gt;diff:&lt;/strong&gt; find the difference between two files.&lt;br&gt;
&lt;strong&gt;sort:&lt;/strong&gt; Rearrange a file’s content in a specific order.&lt;/p&gt;

&lt;h2&gt;
  
  
  File Viewing and Editing
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;cat:&lt;/strong&gt; Display file contents.&lt;br&gt;
&lt;strong&gt;less:&lt;/strong&gt; View file contents page by page.&lt;br&gt;
&lt;strong&gt;nano&lt;/strong&gt;, &lt;strong&gt;vi&lt;/strong&gt;, or &lt;strong&gt;vim:&lt;/strong&gt; Edit text files.&lt;br&gt;
&lt;strong&gt;tail:&lt;/strong&gt; Return specified number of lines from the bottom.&lt;br&gt;
&lt;strong&gt;head:&lt;/strong&gt; Return specified number of lines from the top.&lt;/p&gt;

&lt;h2&gt;
  
  
  System Information
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;uname:&lt;/strong&gt; Display system information (e.g., uname -a for all details).&lt;br&gt;
&lt;strong&gt;top:&lt;/strong&gt; Monitor running processes.&lt;br&gt;
&lt;strong&gt;df:&lt;/strong&gt; Show disk space usage or disk file system information.&lt;br&gt;
&lt;strong&gt;free:&lt;/strong&gt; Display memory usage.&lt;br&gt;
&lt;strong&gt;pwd:&lt;/strong&gt; Show name of current working directory&lt;/p&gt;

&lt;h2&gt;
  
  
  Permissions and Ownership
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;chmod:&lt;/strong&gt; Change file permissions.&lt;br&gt;
&lt;strong&gt;chown:&lt;/strong&gt; Change file ownership.&lt;br&gt;
&lt;strong&gt;passwd:&lt;/strong&gt; Create password&lt;br&gt;
useradd and usermod: Add a new user or change existing user data.&lt;/p&gt;

&lt;h2&gt;
  
  
  Process Management
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;ps:&lt;/strong&gt; List running processes.&lt;br&gt;
&lt;strong&gt;kill:&lt;/strong&gt; Terminate a process by its ID.&lt;br&gt;
&lt;strong&gt;bg/fg:&lt;/strong&gt; Manage background or foreground jobs.&lt;br&gt;
&lt;strong&gt;zip:&lt;/strong&gt; To compress one or multiple files.&lt;br&gt;
&lt;strong&gt;unzip:&lt;/strong&gt; To extract a compressed file or files.&lt;/p&gt;

&lt;h2&gt;
  
  
  Networking
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;ping:&lt;/strong&gt; Test network connectivity.&lt;br&gt;
&lt;strong&gt;wget:&lt;/strong&gt; Download files from the web.&lt;br&gt;
&lt;strong&gt;curl:&lt;/strong&gt; Transfer data to/from a server.&lt;/p&gt;

&lt;p&gt;Linux commands are powerful and flexible, forming the backbone of system administration and user interaction in a Linux environment. Also, Linux commands are usually case sensitive.&lt;/p&gt;

</description>
      <category>career</category>
      <category>java</category>
      <category>linux</category>
      <category>devops</category>
    </item>
    <item>
      <title>HOW TO CREATE A SHARED FILED STORAGE FOR OFFICES IN AZURE.</title>
      <dc:creator>ANDREW ARIGU AYUBA</dc:creator>
      <pubDate>Mon, 17 Mar 2025 11:08:01 +0000</pubDate>
      <link>https://forem.com/astranan/how-to-create-a-shared-filed-storage-for-offices-in-azure-20e3</link>
      <guid>https://forem.com/astranan/how-to-create-a-shared-filed-storage-for-offices-in-azure-20e3</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;INTRODUCTION&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Shared file storage in Azure refers to Azure Files, a fully managed file storage service provided by Microsoft Azure that allows you to create and manage file shares in the cloud. These file shares can be accessed by multiple users, applications, or virtual machines (VMs) simultaneously over standard protocols like Server Message Block (SMB) or Network File System (NFS), depending on the configuration. It’s designed to provide a centralized, scalable, and highly available solution for storing and sharing files, similar to traditional on-premises file servers but with the benefits of cloud infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features of Azure Files:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Shared Access:&lt;/strong&gt; Multiple clients (e.g., VMs, on-premises servers, or applications) can mount the same file share and access it concurrently, making it ideal for collaboration or distributed workloads.&lt;br&gt;
&lt;strong&gt;Scalability:&lt;/strong&gt; You can scale storage and performance dynamically based on your needs, with options for Standard (general-purpose) and Premium (high-performance) tiers.&lt;br&gt;
&lt;strong&gt;Integration:&lt;/strong&gt; Works seamlessly with Azure services like Azure Virtual Machines, Azure Kubernetes Service (AKS), and Azure Blob Storage (via sync tools like Azure File Sync).&lt;br&gt;
&lt;strong&gt;Security:&lt;/strong&gt; Supports encryption at rest and in transit, private endpoints, and integration with Azure Active Directory for access control.&lt;br&gt;
&lt;strong&gt;Snapshots:&lt;/strong&gt; Provides point-in-time file share snapshots for backup and recovery.&lt;/p&gt;

&lt;h2&gt;
  
  
  Types of Shared Files Storage Solutions
&lt;/h2&gt;

&lt;p&gt;There are three primary types of storage solutions businesses can adopt to provide shared file storage. They are cloud-based, on-premises, and hybrid models.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Cloud-Based Storage&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
Cloud-based storage is increasingly popular due to its scalability and ease of access. With cloud storage services like Dropbox, Google Drive, and Microsoft OneDrive, users may store files on remote servers and retrieve them from any location with an internet connection.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;On-Premises Storage&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
On-premises storage refers to physical hardware that is kept within the organization's infrastructure, such as Storage Area Networks (SAN) or Network Attached Storage (NAS). Although it can demand a large amount of IT resources, this strategy gives total control over data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Hybrid Storage&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
Hybrid storage offers the advantages of both on-premises and cloud systems. Here, data can be stored on-premises for sensitive files and in the cloud for scalability and easy access.&lt;/p&gt;

&lt;h2&gt;
  
  
  STEP 1: Create and configure a storage account for Azure Files.
&lt;/h2&gt;

&lt;p&gt;On this article I will be creating a storage account for operation department.&lt;br&gt;
In the Azure portal, search for and select &lt;strong&gt;Storage accounts&lt;/strong&gt;.&lt;/p&gt;

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

&lt;p&gt;select &lt;strong&gt;+ create&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;For Resource group select Create new. Give your resource group a name and select OK to save your changes. Provide a storage account name and set the performance to &lt;strong&gt;premium&lt;/strong&gt;. Set the premium account type to &lt;strong&gt;File shares&lt;/strong&gt;. Set the Redundancy to &lt;strong&gt;Zone-redundant storage&lt;/strong&gt;. Then select Review and then Create the storage account.&lt;/p&gt;

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

&lt;p&gt;Wait for the resource to deploy and Select &lt;strong&gt;Go to resource&lt;/strong&gt;.&lt;/p&gt;

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

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

&lt;p&gt;In the Data storage section, select the File shares blade. Select &lt;strong&gt;+ File share&lt;/strong&gt; .&lt;/p&gt;

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

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

&lt;p&gt;Add a directory to the file share for the operation department. Select &lt;strong&gt;+ Add directory&lt;/strong&gt; and name the new directory finance.&lt;/p&gt;

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

&lt;p&gt;Select browse and then select the finance directory. Notice you can Add directory to further organize your file share. &lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Upload a file of your choosing&lt;/strong&gt;.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  STEP 3: Configure and test snapshots.
&lt;/h2&gt;

&lt;p&gt;Select your file share in the &lt;strong&gt;Operations&lt;/strong&gt; section, select the &lt;strong&gt;Snapshots&lt;/strong&gt; blade. Select &lt;strong&gt;+ Add snapshot&lt;/strong&gt;.&lt;/p&gt;

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

&lt;p&gt;Select your snapshot and verify your file directory and uploaded file are included. The comment is optional. Select 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%2Fz5inx8mqt4yzz4uvr5im.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz5inx8mqt4yzz4uvr5im.png" alt="Image description" width="800" height="154"&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%2Fpqj6scweed5mj29138gq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpqj6scweed5mj29138gq.png" alt="Image description" width="800" height="169"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Mine is there&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Practice using snapshots to restore a file.
&lt;/h2&gt;

&lt;p&gt;Return to your file share. &lt;strong&gt;Browse&lt;/strong&gt; to your file directory. Locate your uploaded file and in the &lt;strong&gt;Properties&lt;/strong&gt; pane select &lt;strong&gt;Delete&lt;/strong&gt;. Select &lt;strong&gt;Yes&lt;/strong&gt; to confirm the deletion.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Select the Snapshots blade and then select your snapshot.
&lt;/h2&gt;

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

&lt;p&gt;Navigate to the file you want to restore, select the file and the select restore.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Provide a Restored file name and press Ok.
&lt;/h2&gt;

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

&lt;h2&gt;
  
  
  Verify your file directory has the restored file.
&lt;/h2&gt;

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

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

&lt;p&gt;Search for and select &lt;strong&gt;Virtual networks&lt;/strong&gt;.&lt;/p&gt;

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

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

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

&lt;p&gt;Select your resource group and give the virtual network a name. Take the defaults for other parameters, select &lt;strong&gt;Review + create&lt;/strong&gt;, and then &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;

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

&lt;p&gt;Wait for the resource to deploy and select &lt;strong&gt;go to resource&lt;/strong&gt;.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  In the Settings section, select the Subnets blade.
&lt;/h2&gt;

&lt;p&gt;Select the &lt;strong&gt;default subnet&lt;/strong&gt;. In the Service endpoints section choose &lt;strong&gt;Microsoft.Storage&lt;/strong&gt; in the Services drop-down. Do not make any other changes. Be sure to **save **your changes.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  The storage account should only be accessed from the virtual network you just created.
&lt;/h2&gt;

&lt;p&gt;Return to your files &lt;strong&gt;storage account&lt;/strong&gt;. In the &lt;strong&gt;Security + networking&lt;/strong&gt; section, select the &lt;strong&gt;Networking&lt;/strong&gt; blade. Change the &lt;strong&gt;Public network access&lt;/strong&gt; to &lt;strong&gt;Enabled from selected virtual networks and IP addresses&lt;/strong&gt;. In the &lt;strong&gt;Virtual networks&lt;/strong&gt; section, select Add existing virtual network. Select your &lt;strong&gt;virtual network and subnet&lt;/strong&gt;, select &lt;strong&gt;Add&lt;/strong&gt;. Be sure to &lt;strong&gt;Save&lt;/strong&gt; your changes.&lt;/p&gt;

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

&lt;p&gt;Select the storage browser and navigate to your file share. Verify the message &lt;strong&gt;"not authorized to perform this operation."&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;&lt;em&gt;CONCLUSION&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
It's important to evaluate your organization's needs, set up proper infrastructure, and apply best practices for security and administration regardless of whether you choose a cloud-based, on-premises, or hybrid storage solution. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;DONT FORGET TO LIKE SHARE AND COMMENT!&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>devops</category>
      <category>career</category>
      <category>webdev</category>
      <category>azure</category>
    </item>
    <item>
      <title>HOW TO CREATE A RESOURCE GROUP IN AZURE.</title>
      <dc:creator>ANDREW ARIGU AYUBA</dc:creator>
      <pubDate>Wed, 12 Mar 2025 09:30:31 +0000</pubDate>
      <link>https://forem.com/astranan/how-to-create-a-resource-group-in-azure-202j</link>
      <guid>https://forem.com/astranan/how-to-create-a-resource-group-in-azure-202j</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;INTRODUCTION&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
In Microsoft Azure, a Resource Group is a logical container that holds related resources for an Azure solution. It is a fundamental concept in Azure Resource Manager (ARM), which is the deployment and management service in Azure. Resource groups help you organize, manage, and monitor your Azure resources efficiently.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Features of a Resource Group:&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Logical Grouping:&lt;/em&gt;&lt;/strong&gt; Resources like virtual machines, databases, storage accounts, or networking components that are part of the same application or project can be grouped together.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Management:&lt;/em&gt;&lt;/strong&gt;You can deploy, update, or delete all resources in a resource group as a single unit. This simplifies tasks like provisioning or cleanup.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Location:&lt;/em&gt;&lt;/strong&gt; Every resource group is tied to a specific Azure region (e.g., East US, West Europe), though the resources within it can reside in different regions.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Access Control:&lt;/em&gt;&lt;/strong&gt; You can apply Role-Based Access Control (RBAC) at the resource group level to define who can manage or access the resources.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Tagging:&lt;/em&gt;&lt;/strong&gt; You can add metadata tags to resource groups for better organization, cost tracking, or automation.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Billing:&lt;/em&gt;&lt;/strong&gt; Resource groups help track costs for a set of resources, making it easier to manage budgets.&lt;br&gt;
This article explains how to setup a Resource Group on Azure. Ride with me as I take you all on the various steps on how to create a resource group on Azure.&lt;/p&gt;

&lt;h2&gt;
  
  
  STEP 1 : Log into Azure Portal and sign into your account.
&lt;/h2&gt;

&lt;p&gt;In the search bar at the top, type Resource Groups. Select Resource Groups from the search results.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  STEP 2: Create Resource Group
&lt;/h2&gt;

&lt;p&gt;Click on the + create button.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 3:&lt;/strong&gt; Select your Azure subscription. After which you enter a resource group name. Select an Azure location. &lt;/p&gt;

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

&lt;h2&gt;
  
  
  STEP 4: Click on Review + Create.
&lt;/h2&gt;

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

&lt;p&gt;To open the newly created resource group, select it from the list Or select Notification (the bell icon) from the top, and then select Go to resource group to open the newly created resource group.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;&lt;em&gt;CONCLUSION&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
You have successfully set up a Resource groups (RG) in Microsoft Azure.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>devops</category>
      <category>career</category>
      <category>learning</category>
    </item>
    <item>
      <title>HOW TO CREATE LOAD BALANCER IN AZURE.</title>
      <dc:creator>ANDREW ARIGU AYUBA</dc:creator>
      <pubDate>Mon, 10 Mar 2025 17:45:54 +0000</pubDate>
      <link>https://forem.com/astranan/how-to-create-load-balancer-in-azure-2o1a</link>
      <guid>https://forem.com/astranan/how-to-create-load-balancer-in-azure-2o1a</guid>
      <description>&lt;p&gt;In Azure, "load balancing" refers to a service that distributes incoming network traffic across a group of backend servers (like virtual machines) to ensure no single server becomes overloaded, thereby improving application performance and availability by distributing workloads across multiple resources. The term load balancing refers to the distribution of workloads across multiple computing resources. Load balancing aims to optimize resource use, maximize throughput, minimize response time, and avoid overloading any single resource. &lt;br&gt;
Azure Load Balancer can either be &lt;strong&gt;public load balancer&lt;/strong&gt; or &lt;strong&gt;internal load balancer.&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Public Load Balancer&lt;/strong&gt;: Used for internet-facing applications.&lt;br&gt;
&lt;strong&gt;Internal Load Balancer&lt;/strong&gt;: Used for internal applications, not exposed to the internet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Uses of Azure Load Balancer:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;High Availability&lt;/strong&gt;: Ensures high availability by distributing traffic across multiple resources.&lt;br&gt;
&lt;strong&gt;Scalability&lt;/strong&gt;: Enables scalability by adding or removing resources as needed.&lt;br&gt;
&lt;strong&gt;Improved Responsiveness&lt;/strong&gt;: Improves responsiveness by directing traffic to the closest available resource.&lt;br&gt;
&lt;strong&gt;Fault Tolerance&lt;/strong&gt;: Provides fault tolerance by automatically removing unhealthy resources from rotation.&lt;br&gt;
&lt;strong&gt;Security&lt;/strong&gt;: Enhances security by hiding backend resources from public access.&lt;br&gt;
&lt;strong&gt;Load Balancing for Web Applications&lt;/strong&gt;: Load balances web applications, ensuring efficient traffic distribution.&lt;/p&gt;

&lt;h2&gt;
  
  
  Best Practices for Using Azure Load Balancer:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Use Health Probes&lt;/strong&gt;: Regularly monitor the health of backend resources.&lt;br&gt;
&lt;strong&gt;Configure Session Persistence&lt;/strong&gt;: Ensure user sessions are directed to the same backend resource.&lt;br&gt;
&lt;strong&gt;Use Multiple Backend Pools&lt;/strong&gt;: Separate applications or services into different backend pools.&lt;br&gt;
&lt;strong&gt;Monitor Performance&lt;/strong&gt;: Regularly monitor load balancer performance and adjust configurations as needed.&lt;/p&gt;

&lt;p&gt;Stay with me as I take you on the various steps on how to create a load balancer in Azure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 1:&lt;/strong&gt; On Your Azure portal, search for  Load Balancer.&lt;/p&gt;

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

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

&lt;p&gt;&lt;strong&gt;STEP 3:&lt;/strong&gt; Input your resource or create one if none is available and give your instance name. &lt;br&gt;
Leave other parameters as default and click next for Frontend IP configuration.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 4:&lt;/strong&gt; Frontend IP Configuration.&lt;br&gt;
On the frontend page click add frontend, enter Frontend name, choose your Vnet and subnet and click save.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 5:&lt;/strong&gt; Click Next: Backend Pools.&lt;br&gt;
Backend pool refers to a group of virtual machines or instances within a virtual machine scale set that are designated to receive and process incoming traffic from a load balance.&lt;br&gt;
&lt;strong&gt;Click Add a Backend Pool&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3p9jcoy8alnwaub88tpy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3p9jcoy8alnwaub88tpy.png" alt="Image description" width="800" height="234"&gt;&lt;/a&gt;&lt;br&gt;
Provide a Name, Select Virtual Machines and add the VMs to the pool.&lt;br&gt;
Click Add, then Save and Next: Inbound Rules.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 6:&lt;/strong&gt; Configure Load Balancing Rules.&lt;br&gt;
Click Add a load balancing rule.&lt;br&gt;
Set:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Name:&lt;/em&gt;&lt;/strong&gt; arigurule&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Frontend IP:&lt;/em&gt;&lt;/strong&gt; Select the one created earlier -arigu_IP_config&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Protocol:&lt;/em&gt;&lt;/strong&gt; TCP.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Port:&lt;/em&gt;&lt;/strong&gt; (e.g., 70 for web traffic).&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Backend Port:&lt;/em&gt;&lt;/strong&gt; Same as Frontend Port.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Backend Pool:&lt;/em&gt;&lt;/strong&gt; Select the one created earlier - arigubackendpool&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Health Probe:&lt;/em&gt;&lt;/strong&gt; Create a probe&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Session Persistence:&lt;/em&gt;&lt;/strong&gt; None (or as required).&lt;br&gt;
Click save and click on 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%2F19e6o5b0r3fhlmpzwseb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F19e6o5b0r3fhlmpzwseb.png" alt="Image description" width="800" height="344"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 7:&lt;/strong&gt; Click on create.&lt;br&gt;
Wait for validation to be pass before clicking 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%2Fonhh5bh7n7rlzj0ugqsy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fonhh5bh7n7rlzj0ugqsy.png" alt="Image description" width="800" height="581"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 8:&lt;/strong&gt; Wait for deployment to complete, then 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%2Fyc6tgwrz1gxc6y19fqnq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyc6tgwrz1gxc6y19fqnq.png" alt="Image description" width="800" height="395"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Finally here goes our load balancer titled &lt;strong&gt;&lt;em&gt;myloadbalancer&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

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

&lt;p&gt;In summary azure load balancer distribute workloads effectively across multiple virtual machines and services reduces downtime risks and improves application responsiveness, even during peak traffic. By following these steps, you can successfully and easily set up a Load Balancer and ensure a resilient infrastructure in Azure.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>azure</category>
      <category>beginners</category>
      <category>cloud</category>
    </item>
    <item>
      <title>HOW TO USE AN AZURE CUSTOM TEMPLATE TO DEPLOY A VIRTUAL MACHINE.</title>
      <dc:creator>ANDREW ARIGU AYUBA</dc:creator>
      <pubDate>Fri, 07 Mar 2025 21:54:53 +0000</pubDate>
      <link>https://forem.com/astranan/how-to-use-an-azure-custom-template-to-deploy-a-virtual-machine-3mk9</link>
      <guid>https://forem.com/astranan/how-to-use-an-azure-custom-template-to-deploy-a-virtual-machine-3mk9</guid>
      <description>&lt;p&gt;Deploying a custom template in Azure refers to the process of using an Azure Resource Manager (ARM) template to provision and configure resources in your Azure environment programmatically. An ARM template is a JSON (JavaScript Object Notation) file that defines the infrastructure and configuration you want to deploy, such as virtual machines, storage accounts, networks, or other Azure services.&lt;br&gt;
Deploying a custom template in Azure means using a JSON file to define and automate the creation of resources like storage accounts or virtual machines. Practically, it’s like handing Azure a detailed instruction manual and letting it build your setup. You start with a template, deploy it via the portal (or tools like Azure CLI/PowerShell), and end up with live resources—all repeatable and customizable.&lt;br&gt;
"Deploying" means taking this template and instructing Azure to create or update the resources as specified in the file. The term "custom" indicates that the template is tailored to your specific needs, either by writing it from scratch or modifying an existing one (e.g., from Azure Quickstart Templates).&lt;br&gt;
There are different ways or options of creating a virtual machine. While Azure portal is most widely used, other options include Azure PowerShell, Azure Mobile app, Command Line Interface(CLI), Azure REST API, Azure Cloud Shell and Azure Resource Manager Templates. An example of Azure Resource Manager Templates is Quickstart Template.&lt;br&gt;
This article will show how to use an azure custom template to deploy a virtual machine.&lt;br&gt;
&lt;strong&gt;Let's get started.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 1&lt;/strong&gt;&lt;br&gt;
On Azure search bar, search and click deploy Custom Template then click on it on the dropdown menu.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 2&lt;/strong&gt;&lt;br&gt;
Click on create a window virtual machine under Common templates.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 3&lt;/strong&gt;&lt;br&gt;
Create a resource group, enter username and create password. Leave other parameters at default.&lt;/p&gt;

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

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

&lt;p&gt;&lt;strong&gt;STEP 5&lt;/strong&gt;&lt;br&gt;
After validation has been passed, click on "Create" and wait for it to be fully deployed.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 6&lt;/strong&gt;&lt;br&gt;
Click on go to resource group.&lt;/p&gt;

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

&lt;p&gt;*&lt;em&gt;STEP 7 *&lt;/em&gt;&lt;br&gt;
Go to the Resource group where you have everything that is needed for a virtual machine to be created 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%2F889md19a5b6ef0iai9ey.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F889md19a5b6ef0iai9ey.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Finally, you will see the VM status indicating &lt;strong&gt;RUNNING.&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;em&gt;## THE END&lt;/em&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>beginners</category>
      <category>devops</category>
      <category>cloud</category>
    </item>
    <item>
      <title>How to Create an Azure Compute Gallery and capture the image of the Virtual Machine.</title>
      <dc:creator>ANDREW ARIGU AYUBA</dc:creator>
      <pubDate>Tue, 04 Mar 2025 18:07:46 +0000</pubDate>
      <link>https://forem.com/astranan/how-to-create-an-azure-compute-gallery-and-capture-the-image-of-the-virtual-machine-2eej</link>
      <guid>https://forem.com/astranan/how-to-create-an-azure-compute-gallery-and-capture-the-image-of-the-virtual-machine-2eej</guid>
      <description>&lt;p&gt;Azure Compute Gallery is a service provided by Microsoft Azure that allows users to manage, share, and deploy custom virtual machine (VM) images, applications, and other compute resources across an organization or with external users. Azure Compute Gallery simplifies the management of compute resources by providing a scalable, organized way to handle custom images and applications in the Azure cloud ecosystem.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features of Azure Compute Gallery:
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Image Management:&lt;/strong&gt;&lt;/em&gt; You can create, version, and store custom VM images (e.g., generalized or specialized images) tailored to your organization’s needs.&lt;br&gt;
&lt;em&gt;&lt;strong&gt;Sharing:&lt;/strong&gt;&lt;/em&gt; Images and resources can be shared within your organization, across subscriptions, or even with external users via Azure role-based access control (RBAC) or public access options.&lt;br&gt;
&lt;em&gt;&lt;strong&gt;Versioning:&lt;/strong&gt;&lt;/em&gt; Supports versioning of images, allowing you to update and manage multiple iterations of an image while maintaining backward compatibility.&lt;br&gt;
&lt;em&gt;&lt;strong&gt;Replication:&lt;/strong&gt;&lt;/em&gt; You can replicate images across multiple Azure regions for low-latency access and high availability.&lt;br&gt;
&lt;em&gt;&lt;strong&gt;Integration:&lt;/strong&gt;&lt;/em&gt; Works seamlessly with other Azure services like Azure Virtual Machines, Azure DevOps, and Azure Resource Manager (ARM) templates for automated deployments.&lt;br&gt;
&lt;em&gt;&lt;strong&gt;Application Support:&lt;/strong&gt;&lt;/em&gt; Beyond VM images, it can store and manage application packages for use with VM scale sets or other compute resources.&lt;/p&gt;

&lt;h2&gt;
  
  
  Azure Compute Gallery can be use for the following purpose;
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Standardized Deployments:&lt;/strong&gt; _Ensure all teams use the same pre-configured VM images for development, testing, or production.&lt;br&gt;
_&lt;strong&gt;Disaster Recovery:&lt;/strong&gt;&lt;/em&gt; Replicate images across regions to support recovery strategies.&lt;br&gt;
&lt;em&gt;&lt;strong&gt;DevOps Pipelines:&lt;/strong&gt;&lt;/em&gt; Integrate custom images into CI/CD (Continuous Integration/Continuous Deployment or Continuous Delivery) workflows for consistent environments.&lt;br&gt;
&lt;em&gt;&lt;strong&gt;Partner Sharing:&lt;/strong&gt;&lt;/em&gt; Share images with external partners or customers securely.&lt;/p&gt;

&lt;h2&gt;
  
  
  NECCESSARY STEPS TO BE TAKEN
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;STEP 1:&lt;/strong&gt; Create an Azure Compute Gallery&lt;br&gt;
Search Compute gallery in the Azure portal and select Azure compute galleries.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 2:&lt;/strong&gt; Click on + create button.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 3:&lt;/strong&gt; create a new resource or select from anyone you previously created, give gallery a name and select a region. You can also add a Description (optional), Click Review and 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%2Flw3di6foc5o1czigoh49.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flw3di6foc5o1czigoh49.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
After validation has been passed, click on the create button.&lt;/p&gt;

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

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

&lt;p&gt;&lt;strong&gt;STEP 4: Capture the image of a VM and store in a Compute Gallery&lt;/strong&gt;.&lt;br&gt;
Go back to the VM created. Click on the Capture button and select Image from the drop-down.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Make sure the VM and the compute gallery are in the same resource group.
&lt;/h2&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 5:&lt;/strong&gt; Select the Compute gallery created. When saving an image it can either be Generalized or Specialized&lt;/p&gt;

&lt;p&gt;Generalized: VMs created from this image require hostname, admin user, and other VM related setup to be completed on first boot. What it means is that it requires username and password.&lt;/p&gt;

&lt;p&gt;Specialized: VMs created from this image are completely configured and do not require parameters such as hostname and admin username and 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%2Fwzy5kbbbvpr58otb6f6t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwzy5kbbbvpr58otb6f6t.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 6:&lt;/strong&gt; In the Target VM image definition section, Create new and give the VM image a Name. click on 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%2Fq9fc38nziy6o1h698e8g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq9fc38nziy6o1h698e8g.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 7:&lt;/strong&gt; Give the VM image a Version number. Click on Review and 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%2Frkf638v57tuttuxovhe9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frkf638v57tuttuxovhe9.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;click on create button.&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;NOTE:&lt;/strong&gt; Before an image will be created it will automatically stop a running 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%2Fo4hoqunlzd2dgptq33ti.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo4hoqunlzd2dgptq33ti.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Wait till deployment is complete and click Go to resource.
&lt;/h2&gt;

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

&lt;p&gt;We can use a captured image to create two things which are; &lt;strong&gt;virtual machine&lt;/strong&gt; and &lt;strong&gt;virtual machine scale set&lt;/strong&gt;.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  DONT FORGET TO LIKE, SHARE AND COMMENT.
&lt;/h2&gt;

</description>
      <category>devops</category>
      <category>cloud</category>
      <category>azure</category>
      <category>beginners</category>
    </item>
    <item>
      <title>HOW TO ADD DATA DISK TO A VIRTUAL MACHINE.</title>
      <dc:creator>ANDREW ARIGU AYUBA</dc:creator>
      <pubDate>Mon, 03 Mar 2025 20:44:32 +0000</pubDate>
      <link>https://forem.com/astranan/how-to-add-data-disk-to-a-virtual-machine-2pid</link>
      <guid>https://forem.com/astranan/how-to-add-data-disk-to-a-virtual-machine-2pid</guid>
      <description>&lt;p&gt;A data disk is a managed disk that's attached to a virtual machine to store application data or other data that you need to keep. The term is often used in the context of computing and IT infrastructure, such as in virtual machines, servers, or cloud computing environments.&lt;br&gt;
Here is a breakdown of what it typically means:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Physical Context:&lt;/strong&gt; A data disk could refer to a hard drive (HDD), solid-state drive (SSD), or other storage medium dedicated to holding files, databases, documents, or other user-generated data.&lt;br&gt;
&lt;strong&gt;Virtual/Cloud Context:&lt;/strong&gt; In platforms like Microsoft Azure, AWS, or Google Cloud, a "data disk" is a virtual storage volume attached to a virtual machine (VM). It’s separate from the disk that holds the operating system (often called the OS disk) and is used for storing application data, logs, or other persistent information.&lt;/p&gt;

&lt;h2&gt;
  
  
  STEPS TO CREATING A DATA DISK ON VM
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;STEP 1:&lt;/strong&gt; Create a virtual machine, click on the + create button and select Azure 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%2Fldjpja9xu3iqmqp2sj5s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fldjpja9xu3iqmqp2sj5s.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  STEP 2: Give your resource group and virtual machine a name.
&lt;/h2&gt;

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

&lt;h2&gt;
  
  
  STEP 3: Select image, here I selected window server 2022 datacenter: Azure Edition Hotpatch-X64 Gen2.
&lt;/h2&gt;

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

&lt;h2&gt;
  
  
  STEP 4: Administration account and Inbound port rules.
&lt;/h2&gt;

&lt;p&gt;For administration account, make use of the username and password that will be accepted/ meets requirement and you can easily remember while for inbound port make use of RDP(3389)and HTTP(80).&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%2Fcj827bd7lntriebp11zc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcj827bd7lntriebp11zc.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
All done at this point, Click on Review + create. Once this has been validated and every other settings is ok, validation would be passed. Click on create and wait for your deployment to be completed. click on the button "Go to Resource"&lt;/p&gt;

&lt;h2&gt;
  
  
  STEP 5: Add a Data Disk
&lt;/h2&gt;

&lt;p&gt;Go to settings and click disk. Select + create and attach a new disk. Give your disk a name in the Disk name section. Select the best option under Storage type, give the disk a Size(GiB) and select Apply to save.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  STEP 6: Initialize the disk so as to make it usable.
&lt;/h2&gt;

&lt;p&gt;Connect to your virtual machine and click on select. Wait for it to show configured before you download the RDP file. Once you've downloaded follow the prompt, input your username and password.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  STEP 7: Search for Disk Management
&lt;/h2&gt;

&lt;p&gt;Now that we have been able to gain remote access to the Windows Desktop, search and select on Disk Management.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  STEP 8: Right click on the disk 2 below.
&lt;/h2&gt;

&lt;p&gt;From the drop-down click on "new simple volume", remember that the disk size was 12 GB. Also the disk is not yet healthy 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%2Fp2366mpaqvtk8scsm18t.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp2366mpaqvtk8scsm18t.jpg" alt="Image description" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;To continue click next on the new simple volume wizard&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpzulj9okkkfaa71exwrq.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpzulj9okkkfaa71exwrq.jpg" alt="Image description" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Click on Ok in the Initialize disk pop_up&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1le9uotteskqa8rnp69j.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1le9uotteskqa8rnp69j.jpg" alt="Image description" width="800" height="600"&gt;&lt;/a&gt;&lt;br&gt;
Give the Volume label a name. I renamed the volume label to "my data disk". click on next button. (sorry I couldn't get picture on this).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;To close the  New Simple Volume Wizard, click finish&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnfvw7cjb7lgqjmy3dhbf.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnfvw7cjb7lgqjmy3dhbf.jpg" alt="Image description" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Notice the disk says Healthy now&lt;/strong&gt;.&lt;br&gt;
You can see that our new data disk has been initialized.&lt;/p&gt;

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

&lt;p&gt;As shown below, our new data disk is available and ready for use.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;DONT FORGET TO LIKE,COMMENT AND SHARE&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>devops</category>
      <category>azure</category>
    </item>
    <item>
      <title>HOW TO CREATE A STORAGE ACCOUNT, UPLOAD A FILE AND CONTENT REPLICATION.</title>
      <dc:creator>ANDREW ARIGU AYUBA</dc:creator>
      <pubDate>Fri, 28 Feb 2025 14:58:52 +0000</pubDate>
      <link>https://forem.com/astranan/how-to-create-a-storage-account-upload-a-file-and-content-replication-1g3b</link>
      <guid>https://forem.com/astranan/how-to-create-a-storage-account-upload-a-file-and-content-replication-1g3b</guid>
      <description>&lt;p&gt;A storage account in Microsoft Azure is a fundamental resource that provides a unique namespace to store and access data in the Azure cloud. It can be set to public or private and supports various blob types. It acts as a container for various types of data services offered by Azure Blob Storage, File Storage, Queue Storage, and Table Storage. Each storage account is associated with a subscription and has a globally unique name, which forms part of the endpoint URLs used to access the stored data.&lt;/p&gt;

&lt;h2&gt;
  
  
  STEPS TO CREATING STORAGE ACCOUNT.
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;STEP 1:&lt;/strong&gt; Log into your azure account, search and click on storage account in the search bar.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 2:&lt;/strong&gt; Click on + create to create a storage account.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 3:&lt;/strong&gt; Choose resource group if one is available or create new one, enter the storage account name and leave other parameters as default depending on what is requested.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 4:&lt;/strong&gt;  Click create and wait for the storage account to deploy, and then select 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%2Fbf6wezrir5cok5dcq70i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbf6wezrir5cok5dcq70i.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;From here we have created a storage account, let us Create a storage container, upload a file, and restrict access to the file.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 5:&lt;/strong&gt; In the storage account, in the Data storage section, select the Containers blade.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 6:&lt;/strong&gt; Select + Container, Name the container any name of your choice. Ensure the Public access level is private (no anonymous access)and 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%2Fx8lylp0a131pn6vwnucm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx8lylp0a131pn6vwnucm.png" alt="Image description" width="800" height="249"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 7:&lt;/strong&gt; To upload a file, click on the container created. Select Upload, Browse to files and select a file. Upload the 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%2Fnuoojlij4l6syr9636kx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnuoojlij4l6syr9636kx.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 8:&lt;/strong&gt; Select the uploaded file and on the overview tab, copy the URL.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Paste the URL into a new browser tab and verify the file doesn’t display and you receive an error.&lt;/strong&gt;&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Configure and test a shared access signature (SAS).
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Select your uploaded blob file and move to the Generate SAS tab&lt;/strong&gt;.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Verify the Start and expiry date/time is for the next 24 hours and Select Generate SAS token and URL. Ensure the partner has only Read permissions&lt;/strong&gt;.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;On the Overview tab, Copy the Blob SAS URL to a new browser tab. Verify you can access the file&lt;/strong&gt;.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 9:&lt;/strong&gt; In the storage account, navigate to data management section and select the Lifecycle management.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 10:&lt;/strong&gt; Select + Add rule, set the rule name, set the Rule scope to Apply rule to all blobs in the storage account and Select 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%2Ff7emrzyskuqamo7kssck.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff7emrzyskuqamo7kssck.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 11:&lt;/strong&gt; Ensure last modified is selected, set more than (days ago) to 30 in the Then drop-down, select Move to cool storage and click add.&lt;/p&gt;

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

&lt;p&gt;Now we need to create a content replication. &lt;strong&gt;Content replication is a core feature of Azure Storage Accounts that ensures your data is copied and maintained in different physical locations to protect against hardware failures, outages, or disasters. It’s a built-in mechanism to enhance redundancy and reliability&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 12:&lt;/strong&gt; In the Data management section, select the Object replication blade. Select Create replication rules&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;STEP 13:&lt;/strong&gt; Set the Destination storage account to the new storage account. Set the Source container to the first storage account and the Destination container to the new container in the new storage account and click Create.&lt;br&gt;
&lt;strong&gt;After clicking the create button, it will load for a while and what you uploaded on your source account will drop on your new destination account&lt;/strong&gt;.&lt;br&gt;
In summary, you have just created a storage container, uploaded a file and restricted  access to the file. BRAVO!!!&lt;/p&gt;

&lt;h2&gt;
  
  
  DON'T FORGET TO LIKE, SHARE AND COMMENT.
&lt;/h2&gt;

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