<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[The tech Merchant's Blog.]]></title><description><![CDATA[The tech Merchant's Blog.]]></description><link>https://ezekiel-adesanya.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sun, 21 Jun 2026 01:51:28 GMT</lastBuildDate><atom:link href="https://ezekiel-adesanya.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Azure Command Line Interface (Azure CLI) Series 3: Practical Experience on Usage and Functionalities.]]></title><description><![CDATA[I am delighted to welcome you to the third series on the Azure CLI topic. We have gone far with a background understanding of the concept of Azure CLI. In this learning, we will be going further by going into practical learning on the usage and funct...]]></description><link>https://ezekiel-adesanya.hashnode.dev/practical-learning-on-azure-cli-usage-and-functionalities</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/practical-learning-on-azure-cli-usage-and-functionalities</guid><category><![CDATA[azure-devops]]></category><category><![CDATA[Azure CLI]]></category><category><![CDATA[Microsoft Cloud App Security]]></category><category><![CDATA[Cloud Computing]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Wed, 15 Nov 2023 08:35:40 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1699999823722/3cf03c86-cb53-471f-b5ea-380b773f4dad.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I am delighted to welcome you to the third series on the Azure CLI topic. We have gone far with a background understanding of the concept of Azure CLI. In this learning, we will be going further by going into practical learning on the usage and functionalities of Azure CLI in resource management and creation on Azure. This is the point where we will see everything we have learnt so far in action. This promises to be a great learning experience. Let's look at the prerequisite</p>
<ul>
<li><p>Installation of the Azure CLI (Please refer to the first series for further guidance).</p>
</li>
<li><p>To finish the tasks in this tutorial, you may alternatively use Azure Cloud Shell if you'd like. Through your browser, you may interact with the Azure Cloud Shell environment. This is with the assumption that there is an existing Azure account.</p>
<p>  <strong>Use one of these techniques to launch Cloud Shell:</strong></p>
<ol>
<li><p>Go to <a target="_blank" href="https://shell.azure.com">CloudShell web</a> to launch Cloud Shell.</p>
<p> <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700010050161/c6b99ce5-1122-4efc-aac0-e15f57aa7a22.png" alt class="image--center mx-auto" /></p>
</li>
<li><p>You can also access the CloudShell from the Azure Portal.</p>
</li>
</ol>
</li>
</ul>
<p>    In the top right corner of the Azure portal, click the Cloud Shell icon.</p>
<p>    <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700011270914/58c5a40d-85b9-4b7f-afa8-63b74d7a9c4a.png" alt class="image--center mx-auto" /></p>
<p>    <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700011818294/e0611560-bed9-4153-b398-e53b22a29a22.png" alt class="image--center mx-auto" /></p>
<p>    <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700011993352/2a4f3c77-9ddc-44b7-bfe9-729b04fd00d9.png" alt class="image--center mx-auto" /></p>
<p>    <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700012131963/e228972e-aea3-4d10-b341-f9b919acfc1a.png" alt class="image--center mx-auto" /></p>
<p>    <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700012637094/b9cbaff3-cce4-4636-8199-8352a0556f39.png" alt class="image--center mx-auto" /></p>
<ol>
<li>Follow these steps if you are using a local installation of the Azure CLI on your system:</li>
</ol>
<ul>
<li><p>Open the Window PowerShell on your local computer.</p>
</li>
<li><p>Use the az login command to log in, then follow the instructions in your terminal to finish the authentication procedure.</p>
<p>  <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700014870370/25148f0a-4251-4146-abf1-d27df94693f6.png" alt class="image--center mx-auto" /></p>
<p>  This shows that you have access to your Azure subscription from your local computer.</p>
<h2 id="heading-azure-resource-creation-using-cli"><strong>AZURE RESOURCE CREATION USING CLI.</strong></h2>
<p>  When creating a new Azure resource, typically, there are three high-level steps:</p>
<ol>
<li><p>Connect to your Azure subscription.</p>
</li>
<li><p>Create the resource.</p>
</li>
<li><p>Verify that creation was successful.</p>
</li>
</ol>
</li>
</ul>
<p><img src="https://learn.microsoft.com/en-us/training/wwl-azure/create-azure-resources-by-using-azure-cli/media/create-resources-overview-697de4ba.png" alt="An illustration has the three steps to create an Azure resource using the command-line interface." /></p>
<p>Source: Microsoft Learn.</p>
<h3 id="heading-1-connect"><strong>1. Connect</strong></h3>
<p>Because you're working with a local Azure CLI installation, you'll need to authenticate before you can execute Azure commands.</p>
<p>You do it by using the Azure CLI <strong>login</strong> command:</p>
<p>Azure CLICopy</p>
<pre><code class="lang-plaintext">az login
</code></pre>
<p>Azure CLI will typically launch your default browser to open the Azure sign-in page.</p>
<p>If it doesn't work, follow the command-line instructions, and enter an authorization code in the <a target="_blank" href="https://aka.ms/devicelogin">Enter Code</a> dialog box.</p>
<p>After a successful sign-in, you'll be connected to your Azure subscription. This step has been taken in the prerequisite guideline earlier.</p>
<h3 id="heading-2-create"><strong>2. Create</strong></h3>
<p>You'll often need to create a new resource group before you create a new Azure service. So we'll use resource groups as an example to show how to create Azure resources from the Azure CLI. The Azure CLI "<strong>group create"</strong> command creates a resource group.</p>
<p>Take note of the following:</p>
<ul>
<li><p>You need to specify a name and location in the command you are to run.</p>
</li>
<li><p>The <em>name</em> parameter must be unique within your subscription.</p>
</li>
<li><p>The <em>location</em> parameter determines where the metadata for your resource group will be stored.</p>
</li>
<li><p>You use strings like "West US," "North Europe," or "West India" to specify the location.</p>
</li>
<li><p>Instead, you can use single-word equivalents, such as "westus," "northeurope," or "westindia."</p>
</li>
</ul>
<p>The core syntax to create a resource group is:</p>
<pre><code class="lang-plaintext">az group create --name &lt;name&gt; --location &lt;location&gt;
</code></pre>
<p>Modify this command syntax and run it on the CLI in your local system through the Powershell tool.</p>
<p>Example: To create a resource group, take the name of the resource group to be "AzureCLIDemo" and the location to be "uksouth".</p>
<pre><code class="lang-plaintext">az group create --name AzureCLIDemo --location uksouth
</code></pre>
<p>Copy and run the command.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700016910738/93d0fce4-eac1-4926-9b22-5e456b5576d0.png" alt class="image--center mx-auto" /></p>
<p>Check out these resources from the Azure portal for confirmation</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700017185080/56c65e7b-903b-48a4-8d29-33eba4003b13.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-3-verify-installation"><strong>3. Verify installation</strong></h3>
<p>For many Azure resources, Azure CLI provides a <strong>list</strong> subcommand to get resource details. For example, the Azure CLI <strong>group list</strong> command lists your Azure resource groups. It's helpful to verify whether resource group creation was successful not necessarily by confirmation from the Azure Portal but with CLI. Run the below command to verify your installation.</p>
<pre><code class="lang-plaintext">az group list
</code></pre>
<p>You will be able to see the list of the resource groups in your Azure environment.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700017863290/5039b017-fb50-491c-8fd4-c205cd5a3bca.png" alt class="image--center mx-auto" /></p>
<p>To get more concise information, you can format the output as a simple table:</p>
<pre><code class="lang-plaintext">az group list --output table
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700018069020/04a21265-6db7-47cb-945c-49353c028d84.png" alt class="image--center mx-auto" /></p>
<p>If you have several items in the group list, you can filter the return values by adding a <strong>query</strong> option using, for example, the following command:</p>
<pre><code class="lang-plaintext">az group list --query "[?name == '&lt;rg name&gt;']"
</code></pre>
<p>Take "DefaultResourceGroup-EUS" for example from the list resource group listed above. modify the above command and run to verify the item in the resource group.</p>
<pre><code class="lang-plaintext">az group list --query "[?name == 'DefaultResourceGroup-EUS']"
</code></pre>
<p>There are no resources in the resources group. Otherwise, It would have been specified.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700019062744/cf1b67a4-5018-48bb-b101-70a22e5475f3.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-using-azure-cli-in-scripts"><strong>Using Azure CLI in scripts</strong></h2>
<p>To use Azure CLI commands in scripts, you'll need to be aware of any issues around the shell or environment you use to run the script. For example, in a bash shell, you can use the following syntax when setting variables:</p>
<p>Azure CLI</p>
<pre><code class="lang-plaintext">variable="value"
variable=integer
</code></pre>
<p>If you use a PowerShell environment for running Azure CLI scripts, you'll need to use the following syntax for variables:</p>
<p>PowerShell.</p>
<pre><code class="lang-plaintext">$variable="value"
$variable=integer
</code></pre>
<h2 id="heading-exercise-2-creating-virtual-machinesvm-with-azure-cli">Exercise 2: Creating Virtual Machines(VM) with Azure CLI.</h2>
<p>In Creating Azure VM, the first step is to create the resource group the VM will reside in. As established in the first exercise, we created a resource group with the command below.</p>
<pre><code class="lang-plaintext">az group create --name AzureCLIDemo --location uksouth
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700021449096/5eb915a8-b7d3-4f44-bf7b-e66fa7fa6c5a.png" alt class="image--center mx-auto" /></p>
<p>Now, let's deploy a virtual machine. We'll use a simple Ubuntu Server image for this example with running the below command.</p>
<p>We must take note of every component of the command to be used to create the VM with the CLI. The components of the command script are:</p>
<ul>
<li><p><strong>az vm create</strong>: This is an indication of what we want to our intention which is to create VM.</p>
</li>
<li><p><strong>--resource-group AzureCLIDemo</strong>: This is an indication that we intend to have the VM located in the specified resource named "AzureCLIDemo".</p>
</li>
<li><p><strong>--name CLIVM</strong>: This is indicative of the name given to the VM to be created which is "CLIVM".<br />  <strong>--image ubuntu2204</strong>: This is the specified operating system of the VM to be created which Linux VM.<br />  <strong>--admin-username azureuser</strong>: This is to specify the Username of the VM user.<br />  <strong>--admin-password Password12345:</strong> This is to specify the password that would be used to access the VM by the user.</p>
<p>  Putting everything together will give you the below command script. Copy this command line and run it on Azure Powershell.</p>
</li>
</ul>
<p><code>az vm create --resource-group AzureCLIDemo --name CLIVM --image ubuntu2204 --admin-username azureuser --admin-password Password123#</code></p>
<p>Running the above Command on Powershell will give you the below result</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700028815874/e6ab0252-87f1-4f81-be26-08b896bc5d40.png" alt class="image--center mx-auto" /></p>
<p>Now you have created the VM. How do you access the VM Created?</p>
<h2 id="heading-accessing-azure-vm-through-the-cli-interface">Accessing Azure VM Through the CLI Interface.</h2>
<p>To access the VM you have created, Let us assume that you do not know vital information about the created VM except for the name of the VM and the resource group. You need to follow the following steps.</p>
<ol>
<li><p><strong>Access the Public IP address of the VM from the Azure portal.</strong></p>
<p> <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700031524443/a310c459-7826-4cf8-9441-b3221b58650c.png" alt class="image--center mx-auto" /></p>
</li>
<li><p><strong>Use SSH to connect to the Linux VM:</strong></p>
<p> Run the following command, with the VM Public IP address obtained from the Azure portal: <code>ssh azureuser@172.167.66.55</code></p>
<p> Type "yes" in response to the question of authentication and input your password.</p>
</li>
</ol>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700033915617/9bcd68d1-f4bf-4101-91b4-7f297e58d79c.png" alt class="image--center mx-auto" /></p>
<p>You will get access to the Linux VM you have created in your Azure Environment.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700035732343/f9703ae0-6383-4915-af51-bceb2f41f36b.png" alt class="image--center mx-auto" /></p>
<p>You will agree with me that this has been an intresting practical learning on the Usage of Azure CLI for resource deployment. In subsequent series, we would delve more into hands on practical learning of this topic. Looking forward to learning with you in the next series of the Topic.</p>
]]></content:encoded></item><item><title><![CDATA[Azure Command Line Interface (Azure CLI) Series 2.]]></title><description><![CDATA[Welcome to the second series of our learning on Azure Command Line Interface otherwise known as Azure CLI. In this series, we will be looking at the comparative analysis of the two command scripting tools provided by Microsoft for resource management...]]></description><link>https://ezekiel-adesanya.hashnode.dev/azure-command-line-interface-azure-cli-series-2</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/azure-command-line-interface-azure-cli-series-2</guid><category><![CDATA[Azure]]></category><category><![CDATA[azure-devops]]></category><category><![CDATA[Azure CLI]]></category><category><![CDATA[Cloud Computing]]></category><category><![CDATA[Cloud]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Tue, 14 Nov 2023 01:06:42 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1699916124426/9e5cd808-2682-48d2-8c8c-04d1ca729a29.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the second series of our learning on Azure Command Line Interface otherwise known as Azure CLI. In this series, we will be looking at the comparative analysis of the two command scripting tools provided by Microsoft for resource management and deployment.</p>
<h2 id="heading-azure-cli-vs-azure-powershell">Azure CLI Vs Azure PowerShell.</h2>
<p>Azure CLI (Command-Line Interface) and Azure PowerShell are both tools provided by Microsoft for interacting with Azure services and resources, but they have different approaches and are suited for different preferences and use cases. It has been discovered that new users of the command scripting tools take one for the other and there is a need to have a comparative analysis of the two to get an understanding of what each of them represents.</p>
<p>In practice, many users use a combination of both Azure CLI and Azure PowerShell based on their specific needs and preferences. They are complementary tools rather than mutually exclusive, and the choice often depends on the task at hand.</p>
<p>When choosing which command-line tool is right for you, consider your experience and what type of environment you work in. If you are primarily a Linux administrator, the Azure CLI syntax is similar to Bash scripting. Learning Azure CLI may feel more natural than learning Azure PowerShell.</p>
<p>The Azure CLI follows a syntax where each command begins with the reference name "az" followed by the name of a resource. After the reference name is the command name, which designates which resource you are working with. Finally, many commands also have parameters for passing values, such as a resource group name.</p>
<p><strong>COMPARATIVE ANALYSIS.</strong></p>
<div class="hn-table">
<table>
<thead>
<tr>
<td></td><td><strong>Azure CLI</strong></td><td><strong>Azure PowerShell</strong></td></tr>
</thead>
<tbody>
<tr>
<td><strong>Platform Requirement</strong></td><td>Azure CLI is designed to be cross-platform and works on Windows, macOS, and Linux. This makes it a good choice for users who work in mixed environments.</td><td>Azure PowerShell is more closely integrated with Windows and is a natural choice for users who are already familiar with PowerShell on Windows.</td></tr>
<tr>
<td><strong>Command Syntax</strong></td><td>Azure CLI commands use a consistent syntax across different operating systems. The commands are generally short and follow a pattern like az &lt;group&gt; &lt;command&gt; &lt;subcommand&gt;.</td><td>Azure PowerShell commands are typically longer and use a verb-noun pattern (e.g., Get-AzResourceGroup, New-AzVM).</td></tr>
<tr>
<td><strong>Scripting</strong></td><td>Azure CLI is often preferred for scripting and automation, especially in scenarios where Bash scripting is common. It's easy to integrate into various automation workflows.</td><td>Azure PowerShell is powerful for scripting and automation, especially for users who are comfortable with PowerShell scripting.</td></tr>
<tr>
<td><strong>Output Format:</strong></td><td>Azure CLI provides output in various formats, including JSON, which is suitable for processing in scripts.</td><td>The default output is typically objects, making it easy to work with the output in PowerShell scripts.</td></tr>
<tr>
<td><strong>Other comparative Analysis:</strong></td><td><strong>Human-Readable Output:</strong> The default output of Azure CLI commands is often human-readable and concise, making it easier to understand at a glance</td><td><strong>Integration with Other PowerShell Modules:</strong> Azure PowerShell integrates seamlessly with other PowerShell modules, allowing users to leverage PowerShell features and modules for various tasks.</td></tr>
<tr>
<td></td><td><strong>Interactive Mode:</strong> Azure CLI supports an interactive mode that provides a more user-friendly and guided experience.</td><td><strong>Rich Cmdlet Library:</strong> Azure PowerShell offers a rich set of cmdlets that closely align with Azure services, providing a comprehensive range of capabilities.</td></tr>
</tbody>
</table>
</div><h3 id="heading-choosing-between-azure-cli-and-azure-powershell"><strong>Choosing Between Azure CLI and Azure PowerShell:</strong></h3>
<ul>
<li><p><strong>Preference and Familiarity:</strong></p>
<p>  Choose the tool that aligns with your personal preference and existing skills. If you are more comfortable with Bash and a cross-platform experience, Azure CLI might be preferable. If you are familiar with PowerShell and work primarily in a Windows environment, Azure PowerShell might be a better fit.</p>
</li>
<li><p><strong>Scripting Needs:</strong></p>
<p>  Consider the scripting needs of your workflow. Both Azure CLI and Azure PowerShell are powerful scripting tools, but if you are already invested in PowerShell scripting, Azure PowerShell might offer a more natural fit.</p>
</li>
<li><p><strong>Cross-Platform Requirements:</strong></p>
<p>  If you need to work in a cross-platform environment, Azure CLI is a strong choice. It works consistently across different operating systems.</p>
</li>
<li><p><strong>Integration with Existing Tools:</strong></p>
<p>  Consider the integration requirements with other tools and processes. If you are already using PowerShell extensively, Azure PowerShell might seamlessly fit into your existing workflows.</p>
</li>
</ul>
<p>This is the end of this series on the Azure CLI Topic. Watch out for the final series of the Topic on the next publication of The Tech Merchant Blog.</p>
]]></content:encoded></item><item><title><![CDATA[Azure Command Line Interface (Azure CLI)]]></title><description><![CDATA[Welcome to today's learning on the Tech Merchant blog. We have gone far in this journey of learning cloud computing and I believe that you have enjoyed every bit of the learnings and the discoveries just as I have.
All along, we have done so much con...]]></description><link>https://ezekiel-adesanya.hashnode.dev/azure-command-interface-a-viable-tool-for-efficiency-and-automation-in-resource-deployment-and-management-in-azure</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/azure-command-interface-a-viable-tool-for-efficiency-and-automation-in-resource-deployment-and-management-in-azure</guid><category><![CDATA[azure-devops]]></category><category><![CDATA[Azure]]></category><category><![CDATA[azure certified]]></category><category><![CDATA[Cloud Computing]]></category><category><![CDATA[technology]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Fri, 10 Nov 2023 00:13:55 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1695883536956/60d8905c-b48e-4c26-b759-f043388d0ccf.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to today's learning on the Tech Merchant blog. We have gone far in this journey of learning cloud computing and I believe that you have enjoyed every bit of the learnings and the discoveries just as I have.</p>
<p>All along, we have done so much concerning Azure resource management and deployment using the "Azure Portal" otherwise known as the GUI which means "Graphical User Interface". The Azure portal or the GUI is used at the elementary level when you are newly introduced to resource management and deployment on Azure.</p>
<p>However, In the real-world scenario when there is a need to have massive resource management as a professional Azure cloud solution architect or as a power user of the Azure cloud, the GUI becomes tedious and cumbersome as a result of having to click through all the menu on the portal. This is when it becomes necessary to have a more efficient tool that can bring about automation to your activities and make you more effective and efficient in your activities on Azure. This tool is what is known as the Azure Command Line Interface or simply Azure CLI. This learning will be in series as we have a lot to learn on this topic. Highlighted below are the sub-topics we would be looking at.</p>
<p>• <strong>Overview of Azure CLI: What is Azure CLI?</strong></p>
<p><strong>• Features of Azure CLI</strong></p>
<p><strong>• Using Azure CLI without Installation</strong></p>
<p><strong>• How to Install Azure CLI: Emphasis on Windows OS.</strong></p>
<p><strong>• Azure CLI Vs Azure PowerShell</strong></p>
<p><strong>• Managing Resources with Azure CLI.</strong></p>
<p> Interactive Mode in Azure CLI</p>
<p> Signing/Logging into Azure</p>
<p> Selecting an Azure Subscription</p>
<p> Creating Resources Using Azure CLI</p>
<p> Role Assignment</p>
<p> Querying</p>
<p> Debugging.</p>
<h2 id="heading-overview-of-azure-cli-what-is-azure-cli"><strong>Overview of Azure CLI: What is Azure CLI?</strong></h2>
<p>According to the Microsoft Learn document, the Azure Command-Line Interface (CLI) is a cross-platform command-line tool to connect to Azure and execute administrative commands on Azure resources. It allows the execution of commands and task automation through a terminal using interactive command-line prompts or a script. Azure CLI interacts with the Azure Resource Manager (ARM) service, which is the management layer to interact with resources in your account.</p>
<p>Azure CLI could be installed locally on Linux, Mac, or Windows computers. It can also be used from a browser through the Azure Cloud Shell or run from inside a Docker container.</p>
<h2 id="heading-features-of-azure-command-line-interface"><strong>Features of Azure Command Line Interface.</strong></h2>
<p>Azure CLI comes with a variety of features that make it efficient and flexible for interacting with Azure. Here are some key features of Azure CLI:</p>
<ol>
<li><p><strong>Cross-Platform Compatibility:</strong></p>
<p> Azure CLI is designed to work seamlessly across different operating systems, including Windows, macOS, and Linux. This cross-platform compatibility ensures a consistent experience for users regardless of their preferred development environment.</p>
</li>
<li><p><strong>Interactive Mode:</strong></p>
<p> Azure CLI provides an interactive mode (<code>az interactive</code>) that allows users to explore and manage Azure resources in a more user-friendly and guided manner. This mode simplifies the process of executing commands and managing resources interactively.</p>
</li>
<li><p><strong>Scripting and Automation:</strong></p>
<p> Azure CLI is scriptable and supports various scripting languages, including Bash and PowerShell. This enables users to automate repetitive tasks, create scripts for resource provisioning, and integrate Azure CLI into their automation workflows.</p>
</li>
<li><p><strong>Rich Command Set:</strong></p>
<p> Azure CLI offers a comprehensive set of commands that cover a wide range of Azure services and functionalities. Users can manage resources related to computing, storage, networking, databases, security, identity, and more, all through the command-line interface.</p>
</li>
<li><p><strong>Output Formats:</strong></p>
<p> Azure CLI provides multiple output formats for command results, including table, JSON, YAML, and others. Users can customize the output format based on their preferences or integrate Azure CLI into other tools and processes.</p>
</li>
<li><p><strong>Built-in Help and Documentation:</strong></p>
<p> Azure CLI includes built-in help features that provide detailed information about commands, parameters, and usage. Users can use the <code>--help</code> option with any command to access quick help, and they can refer to the comprehensive Azure CLI documentation for more in-depth information.</p>
</li>
<li><p><strong>Role-Based Access Control (RBAC):</strong></p>
<p> Azure CLI integrates with Azure's RBAC system, allowing users to manage access permissions to Azure resources. Users can assign roles and permissions to individuals or groups, controlling who can perform specific actions on Azure resources.</p>
</li>
<li><p><strong>Azure Resource Manager (ARM) Integration:</strong></p>
<p> Azure CLI is closely integrated with Azure Resource Manager, enabling users to deploy and manage resources using ARM templates. This integration supports the declarative deployment of infrastructure as code.</p>
</li>
<li><p><strong>Azure Cloud Shell Integration:</strong></p>
<p> Azure CLI is available in the Azure Cloud Shell, a browser-based shell environment provided by Azure. Users can access Azure CLI directly from the Azure portal without installing any software locally.</p>
</li>
<li><p><strong>Extensibility:</strong></p>
<p>Azure CLI is extensible, allowing users to install and use additional command modules and extensions. This extensibility enhances the capabilities of Azure CLI, providing support for new Azure services and features.</p>
</li>
<li><p><strong>Global and Resource-Specific Commands:</strong></p>
<p>Azure CLI commands are organized into global commands and resource-specific commands. Global commands are used for tasks that are not tied to a specific resource, while resource-specific commands are used for managing specific Azure resources.</p>
</li>
<li><p><strong>Azure DevOps Integration:</strong></p>
<p>Azure CLI can be easily integrated into Azure DevOps pipelines, enabling users to automate the deployment and management of Azure resources as part of their continuous integration and continuous deployment (CI/CD) processes.</p>
</li>
</ol>
<p>These features collectively make Azure CLI a versatile and powerful tool for managing Azure resources efficiently and automating various aspects of the cloud workflow.</p>
<h2 id="heading-azure-cli-usage-without-installation"><strong>Azure CLI Usage without Installation</strong></h2>
<p>One of the best features of this cross-platform is its ability to run on a web browser. So users don’t need to install it on their devices. Just opening the browser and typing in <a target="_blank" href="https://shell.azure.com/">AzureCLI web link</a> will land you right into Azure CLI.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1699560406322/5df47b74-aec6-4dbe-96c4-613dee4af949.png" alt class="image--center mx-auto" /></p>
<p>It can also be accessed from the Microsoft Azure mobile app. After logging in using the Azure account in the app, users can click on Cloud Shell to launch the CLI where the Power shell and bash interface could be assessed.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1699561468856/14e08e3b-efa5-470b-a32f-85fded074f8f.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-how-to-install-azure-cli-emphasis-on-windows-os">How to Install Azure CLI: Emphasis on Windows OS.</h2>
<p>This CLI is available on a variety of platforms, including macOS, Linux, and Docker containers. Azure CLI being cross-platform has the huge advantage of collaboration with users who are accustomed to different platforms. The user can install CLI on the OS of his/her own choice. For this learning, our focus will be on InstallinG Azure CLI on Windows OS.</p>
<p>You can download Azure CLI on Windows in two ways – using a standard Windows MSI installer or through Windows PowerShell.</p>
<p><strong>1. Installing Azure CLI With MSI Installer</strong>:</p>
<p>Download the <a target="_blank" href="https://aka.ms/installazurecliwindows">MSI</a> installer and save it to your preferred folder.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1700008104696/94f9f4a3-a322-4eb9-ae98-842f1789fc74.png" alt class="image--center mx-auto" /></p>
<ul>
<li><p>Then, click on the downloaded file and accept all of the settings in the MSI installation wizard.</p>
<p>  <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1699563271565/59379aa3-82c8-4612-ba66-cfd5731598fa.png" alt class="image--center mx-auto" /></p>
<p>  <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1699563458416/93f0417b-a001-4afc-9570-70c77ba19821.png" alt class="image--center mx-auto" /></p>
<p>  Wait for the installation process to be complete.</p>
<p>  <img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1699563531550/41146b23-7a10-4147-974b-608f5fc42b4f.png" alt class="image--center mx-auto" /></p>
</li>
<li><p>Make sure that the Azure CLI is operational after you’ve installed it. To do so, run Windows PowerShell and use the "az --version" parameter to check the version.</p>
<p>  <strong>2 Installing Azure CLI Using The window PowerShell.</strong></p>
<p>  Windows PowerShell can be used to download and install the Azure CLI MSi.</p>
<ul>
<li><p>Run the Windows PowerShell as Administrator.</p>
</li>
<li><p>Copy and paste the following commands into the PowerShell terminal.</p>
</li>
</ul>
</li>
</ul>
<p>    First Download the MSI by running the command below on PowerShell.</p>
<ul>
<li><pre><code class="lang-plaintext">
     Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msiInvoke the MSI installer suppressing all outpu
</code></pre>
</li>
</ul>
<p>    Invoke the MSI installer to suppress all output</p>
<pre><code class="lang-plaintext">
     Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'
</code></pre>
<p>    Running this command downloads the CLI installer and installs it. If you have it already installed, this command updates it.</p>
<p>    After installation make sure it is operational. To do so, in the Windows Power</p>
<p>    Shell terminal, use the "az --version" parameter to check the version.</p>
<p>    <img src="https://intellipaat.com/blog/wp-content/uploads/2021/09/image-4.png" alt="Azure CLI PowerShell Installation" /></p>
<ul>
<li><p>With the steps taken so far, Azure CLI has been installed on your local system and It could be assessed through the Powershell windows on your system.</p>
<p>  This will mark the end of this series of learning on Azure CLI. In the next series, we will be looking at other features and capabilities of Azure CLI and how it is being used to efficiently manage and deploy Azure resources.</p>
</li>
</ul>
]]></content:encoded></item><item><title><![CDATA[Azure Virtual Machine Scale Set (VMSS).]]></title><description><![CDATA[Welcome to today's learning on the Tech Merchant Blog. In our last learning, we looked into the scenario of a business that needs to maintain consistency in the operational delivery across different locations and we looked into how Azure Compute Gall...]]></description><link>https://ezekiel-adesanya.hashnode.dev/azure-virtual-machine-scale-set-vmss</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/azure-virtual-machine-scale-set-vmss</guid><category><![CDATA[Azure Cloud]]></category><category><![CDATA[Cloud Computing]]></category><category><![CDATA[azure-devops]]></category><category><![CDATA[Azure Functions]]></category><category><![CDATA[#cloudcomputing #cloud #technology #cybersecurity #aws #bigdata #devops #it #datacenter #azure #cloudstorage #linux #programming #software #tech #iot #cloudservices #coding #cloudsecurity #machinelearning #informationtechnology #datascience #business #python #security #microsoft #dataprotection #networksecurity #data #artificialintelligence]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Tue, 05 Sep 2023 22:29:02 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1693956716240/9dcf84ac-1f3c-481d-9329-1fc30a13fae2.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to today's learning on the Tech Merchant Blog. In our last learning, we looked into the scenario of a business that needs to maintain consistency in the operational delivery across different locations and we looked into how Azure Compute Gallery could be used to capture an Image of a VM that could be used to deploy a business operational application that could be duplicated in other region.</p>
<p>In Today's learning, we are looking at the Virtual Machine Scale Set (VMSS) which is a complementary Azure service or resource to Azure Compute Gallery.</p>
<h2 id="heading-what-is-a-virtual-machine-scale-set-vmss"><strong>What is a Virtual Machine Scale Set (VMSS)</strong></h2>
<p>It is a high-availability service provided by Microsoft Azure that enables you to deploy and manage a group of identical virtual machines (VMs) as a single unit. VMSS is designed to simplify the deployment and management of applications that require scalability, high availability, and load balancing.</p>
<h2 id="heading-why-use-virtual-machine-scale-sets"><strong>Why use Virtual Machine Scale Sets?</strong></h2>
<p>To provide redundancy and improved performance, applications are typically distributed across multiple instances. Customers may access your application through a load balancer that distributes requests to one of the application instances. If you need to perform maintenance or update an application instance, your customers must be distributed to another available application instance. To keep up with extra customer demand, you may need to increase the number of application instances that run your application.</p>
<p>Azure Virtual Machine Scale Sets provide management capabilities for applications that run across many VMs, automatic scaling of resources, and load balancing of traffic. Scale sets provide the following key benefits:</p>
<ol>
<li><p><strong>Scalability</strong>: VMSS allows you to automatically adjust the number of VM instances in the scale set based on metrics like CPU utilization, memory usage, or custom-defined application metrics. This automatic scaling ensures that your application can handle varying workloads efficiently.</p>
</li>
<li><p><strong>Load Balancing</strong>: VMSS instances are automatically load-balanced, distributing incoming network traffic across all VM instances in the scale set. This helps improve the availability and performance of your application.</p>
</li>
<li><p><strong>High Availability</strong>: VMSS distributes VM instances across multiple fault domains and updates domains to ensure high availability. In the event of hardware failures or planned maintenance, your application remains accessible.</p>
</li>
<li><p><strong>Rolling Updates</strong>: You can perform rolling updates on VMSS instances to apply OS updates, security patches, or application changes without causing downtime. VM instances are updated in small batches to maintain application availability.</p>
</li>
<li><p><strong>Custom Images</strong>: You can create custom VM images with the desired configuration and software stack, which can be used to deploy VM instances within the scale set. This allows you to maintain consistency across VM instances.</p>
</li>
<li><p><strong>Automatic Instance Replacement</strong>: VMSS monitors the health of individual VM instances. If an instance becomes unhealthy due to application issues, it can be automatically replaced to maintain the desired level of availability.</p>
</li>
<li><p><strong>Integration with Azure Services</strong>: VMSS integrates seamlessly with other Azure services like Azure Load Balancer, Azure Monitor, Azure Auto-Scaling, and Azure Virtual Network, allowing you to build comprehensive and resilient cloud applications.</p>
</li>
<li><p><strong>Stateless Workloads</strong>: VMSS is particularly well-suited for stateless workloads like web applications, microservices, and batch processing, where multiple identical instances can serve requests independently.</p>
</li>
<li><p><strong>Global Deployment</strong>: You can deploy VMSS instances in multiple Azure regions to build globally distributed applications, ensuring low latency access for users worldwide.</p>
</li>
<li><p><strong>Cost Optimization</strong>: VMSS helps optimize costs by automatically scaling down during periods of low demand and scaling up when demand increases, ensuring that you only pay for the resources you need.</p>
</li>
</ol>
<p>Azure Virtual Machine Scale Sets provide a powerful tool for achieving scalability and high availability for your applications in the Azure cloud. They simplify infrastructure management and allow you to focus on delivering a reliable and performant application to your users.</p>
<h2 id="heading-steps-by-steps-guidelines-on-how-to-create-azure-vmss">Steps By Steps Guidelines on How To Create Azure VMSS.</h2>
<p>In creating a VMSS in the Azure environment, you need to have the following prerequisites.</p>
<ol>
<li><p>A parent Virtual Machine</p>
</li>
<li><p>A compute gallery with the captured image of the Virtual Machine.</p>
</li>
</ol>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693881972590/2761c903-84c8-431f-9be9-b8327fa27ad7.png" alt class="image--center mx-auto" /></p>
<p>Click on Gallery on the Azure portal.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693882091248/471ff048-5f81-483f-b892-c87b795d36d3.png" alt class="image--center mx-auto" /></p>
<p>Look out for the image definition of the parent VM that was created in the gallery and click.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693882866599/07400967-38bd-4ccc-9041-bb927776a76c.png" alt class="image--center mx-auto" /></p>
<p>Look out for "Create VMSS" and click.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693882815206/7f4a9102-8ca1-43ca-9ec1-71953d0c2a2b.png" alt class="image--center mx-auto" /></p>
<p>On the Project detail part, Look out for the subscription and resource group in which you have your Virtual Machine and select.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693883165376/96f24317-b02c-4055-915b-a50624f40b13.png" alt class="image--center mx-auto" /></p>
<p>Move to the Scale set details part and give a name to the VMSS, Select the region and availability zone(s) you want the VMSS located.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693883646927/b16dff36-9914-46e9-a1fb-3b350439ccd2.png" alt class="image--center mx-auto" /></p>
<p>Move to the Orchestration session and select the flexible orchestration option. It is important to understand the differences and implications of each of the orchestration options.</p>
<h2 id="heading-scale-sets-with-uniform-orchestration"><strong>Scale sets with Uniform orchestration</strong></h2>
<p><em>In this mode, Virtual Machine Scale Sets use a VM profile or a template to scale up to the desired capacity. While there is some ability to manage or customize individual VM instances, Uniform uses identical VM instances. These instances are exposed through the Virtual Machine Scale Sets VM APIs and are not compatible with the standard Azure IaaS VM API commands. Since the scale set performs all the actual VM operations, reservations are associated with the Virtual Machine Scale Set directly. Once the scale set is associated with the reservation, all the subsequent VM allocations are done against the reservation.</em></p>
<h2 id="heading-scale-sets-with-flexible-orchestration"><strong>Scale sets with Flexible orchestration</strong></h2>
<p><em>This scale set option helps achieve high availability at scale with identical or multiple virtual machine types. With Flexible orchestration, Azure provides a unified experience across the Azure VM ecosystem. Flexible orchestration offers high availability guarantees (up to 1000 VMs) by spreading VMs across fault domains in a region or within an Availability Zone. This enables you to scale out your application while maintaining fault domain isolation that is essential to run quorum-based or stateful workloads, including:</em></p>
<ul>
<li><p><em>Quorum-based workloads</em></p>
</li>
<li><p><em>Open-Source databases</em></p>
</li>
<li><p><em>Stateful applications</em></p>
</li>
<li><p><em>Services that require High Availability and large-scale</em></p>
</li>
<li><p><em>Services that want to mix virtual machine types or Spot and on-demand VMs</em></p>
</li>
<li><p><em>Existing Availability Set applications.</em></p>
</li>
</ul>
<p>It is also important to note that the orchestration mode is defined when you create the scale set and cannot be changed or updated later.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693885646425/aa0dcf5a-bd9a-4bd6-92cc-db2986272f8d.png" alt class="image--center mx-auto" /></p>
<p>Scroll down to the "Instance Details" part and take note that the image definition of the VM captured in the gallery has been included in the drop-down of the Image. Ensure you select the option of the excelGallery image.</p>
<p>On the part of the size, choose to ensure that the option selected is suitable for business needs.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693887359821/c86ff605-5e3e-42b8-b4ef-26645be9ac78.png" alt class="image--center mx-auto" /></p>
<p>In the Administrator Account session, you will notice that Administrator profiling was blank out. This is because we chose a specialised operating system when we were creating the compute gallery.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693888461467/74403e82-09f6-4835-8f56-a45243aecc97.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693888815539/b65d2d97-e76b-4c27-b876-17c3b009226b.png" alt class="image--center mx-auto" /></p>
<p>On the Spot page, Leave everything to default.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693889225174/6a460b10-eadc-4a49-a4ff-5029f9ee0205.png" alt class="image--center mx-auto" /></p>
<p>Leave every configuration here to default.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693889428450/9139e898-bec5-4ba0-87e6-e60db67c6669.png" alt class="image--center mx-auto" /></p>
<p>Leave the virtual network configuration to default and scroll down to create a load balancer for the VMSS.</p>
<h2 id="heading-what-is-a-load-balancer-in-vmss-creation"><strong>What is a Load Balancer in VMSS Creation:</strong></h2>
<p><em>Azure Load Balancer is a highly available and scalable network load-balancing service provided by Microsoft Azure. It plays a crucial role in distributing incoming network traffic across multiple virtual machines (VMs) or instances to ensure the high availability, reliability, and scalability of applications hosted on Azure. Azure Load Balancer is a critical component for ensuring the availability and scalability of applications and services hosted on the Azure cloud platform. It can be used for a wide range of scenarios, from web applications to multi-tiered architectures, and helps maintain a high level of service availability for your applications. Scroll down to create a load balancer.</em></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693889563189/3b706313-3862-4805-99e3-89247bcb9b2b.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693892460757/8e213b19-6032-4b66-8bad-192c847d3cbc.png" alt class="image--center mx-auto" /></p>
<p>Depending on the source of traffic to your Azure resources, Select Public if the traffic would be from an external source and Internal if the traffic is within a private LAN environment.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693892653801/7720ee4f-197b-4f08-9217-0b2a65655174.png" alt class="image--center mx-auto" /></p>
<p>Leave other configurations to default.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693892711909/f4eaf3e0-0ab0-4e53-86c9-7b1217d862d5.png" alt class="image--center mx-auto" /></p>
<p>Select Create and move to the scaling page. On the Scaling policy option, select custom scaling policy to enable auto-scaling of instances based on metrics that will be predetermined. Otherwise, choose the Manual scaling policy option.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693891213253/68a2e969-e863-436a-a5cb-4b431c67f432.png" alt class="image--center mx-auto" /></p>
<p>Select the determinant metric in situations that would warrant either scaling in or out accordingly.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693891598052/c78ec39e-5222-47b6-b966-3c543247cc0f.png" alt class="image--center mx-auto" /></p>
<p>Make other configurations based on your unique scenario and click on next to access the management page.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693891763051/2590642d-e20d-46e0-b4a8-828a4c95a636.png" alt class="image--center mx-auto" /></p>
<p>Leave every configuration to default and click next to the health page.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693891886698/88065891-cdde-419f-b593-977940d15347.png" alt class="image--center mx-auto" /></p>
<p>On the Health page, allow for application health monitoring and automatic repairs accordingly and click on next to access the advanced page.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693891999717/e3c0a5ef-6897-4351-8994-46b2a36b5ea1.png" alt class="image--center mx-auto" /></p>
<p>Leave everything here to default and click on review and create.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693892108694/be19bd2a-58ed-4e92-9c96-01f778c1bf5b.png" alt class="image--center mx-auto" /></p>
<p>Upon successful review, click on Create.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693892856400/dac31e91-aa40-406e-a3ab-f96a6a5747f1.png" alt class="image--center mx-auto" /></p>
<p>Click on Go to Resources to access the VMSS.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693893195584/d7c42123-3db7-418d-9f81-0dae267b42b2.png" alt class="image--center mx-auto" /></p>
<p>You have your VMSS created.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693893397578/48fdaf23-1cbb-41d3-be48-5765b462fefa.png" alt class="image--center mx-auto" /></p>
<p>Compare the configuration of your VMSS with that of the Parent Virtual machine to ensure that they have similar configuration. You can do this by checking if the data disk in the parent VM is also available in the VMSS.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693893615175/0ce09cf8-52c4-44a9-900e-464ff44daedb.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693893733156/41cb671a-ace7-4492-8cda-fcb024c92754.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693893784588/781b384f-4334-4145-a42d-b041e810ff81.png" alt class="image--center mx-auto" /></p>
<p>All thing being equal, you should have the same configuration on both the Parent VM and each of the Instances in the VMSS.</p>
<p>This is the end of the Virtal Machine Scale Set learning. I hope you found this learning informative. Stay tune for other Intersting and informative topic on Azure cloud infrastructure.</p>
]]></content:encoded></item><item><title><![CDATA[Azure Compute Gallery; A Service Tool for Replicating Operational Structure and Organisation in a Multi-Location Scenario.]]></title><description><![CDATA[Imagine a business leader who has a business organisation that has scaled over the years to say 6 geographical regions within Africa. Knowing fully well that the survival of a Multi-location business enterprise hinges on consistency in quality servic...]]></description><link>https://ezekiel-adesanya.hashnode.dev/azure-compute-gallery-a-service-tool-for-replicating-operational-structure-and-organisation-in-a-multi-location-scenario</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/azure-compute-gallery-a-service-tool-for-replicating-operational-structure-and-organisation-in-a-multi-location-scenario</guid><category><![CDATA[Cloud Computing]]></category><category><![CDATA[Azure]]></category><category><![CDATA[microsoft azure certification]]></category><category><![CDATA[#azuredevop]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Fri, 01 Sep 2023 03:37:28 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1693263487603/979e6914-fb90-4d02-b468-7828a2891b10.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Imagine a business leader who has a business organisation that has scaled over the years to say 6 geographical regions within Africa. Knowing fully well that the survival of a Multi-location business enterprise hinges on consistency in quality service delivery across the locations of the business. How do we ensure that the structure and the organisational efficiency that is in the business's first location are replicated in the other location where the business is located? The solution is for the business leader to replicate or mirror the image and the operating system of the first successful business location to the other target location. This is only possible by using Azure Compute Gallery.</p>
<h2 id="heading-what-is-azure-compute-gallery">What is Azure Compute Gallery:</h2>
<p>According to Microsoft, Azure Compute Gallery is a service that helps you build structure and organization around your Azure resources, like pre-configured images; and applications. It provides global replication, versioning and grouping of resources for easier management. You can share your resources with everyone or limit sharing to different users, service principals, or AD groups within your organization. Resources can be replicated to multiple regions for quicker scaling of your deployments.</p>
<h2 id="heading-functions-and-benefits-of-azure-compute-gallery">Functions and Benefits Of Azure Compute Gallery.</h2>
<h3 id="heading-scaling"><strong>Scaling:</strong></h3>
<p>Azure Compute Gallery allows you to specify the number of replicas you want to keep. This helps in multi-VM deployment scenarios as the VM deployments can be spread to different replicas reducing the chance of instance creation processing being throttled due to overloading of a single replica. You can set a different replica count in each target region, based on the scale needs for the region. Since each replica is a copy of your resource, this helps scale your deployments linearly with each extra replica.</p>
<h3 id="heading-global-replication"><strong>Global Replication:</strong></h3>
<p>Azure Compute Gallery also allows you to replicate your resources to other Azure regions automatically. Each image version can be replicated in different regions depending on what makes sense for your organization.</p>
<h3 id="heading-highly-availability-of-resources-with-zone-redundant-storage-zrs"><strong>Highly availability of resources with Zone Redundant Storage (ZRS):</strong></h3>
<p><a target="_blank" href="https://azure.microsoft.com/blog/azure-zone-redundant-storage-in-public-preview/">Azure Zone Redundant Storage (ZRS)</a> provides resilience against an Availability Zone failure in the region. With the general availability of Azure Compute Gallery, you can choose to store your images in ZRS accounts in regions with Availability Zones. You can also choose the account type for each of the target regions. The default storage account type is Standard_LRS, but you can choose Standard_ZRS for regions with Availability Zones.</p>
<h3 id="heading-other-functions-and-benefits"><strong>Other Functions and Benefits:</strong></h3>
<ul>
<li><p>It allows for Versioning and grouping of resources for easier management.</p>
</li>
<li><p>Possibility of Premium storage support (Premium_LRS).</p>
</li>
<li><p>Sharing to the community, across subscriptions, and between Active Directory (AD) tenants.</p>
</li>
<li><p>With a gallery, you can share your resources with everyone, or limit sharing to different users, service principals, or AD groups within your organization. Resources can be replicated to multiple regions, for quicker scaling of your deployments.</p>
<h2 id="heading-guidelines-on-how-azure-compute-gallery-is-created">Guidelines On How Azure Compute Gallery is Created.</h2>
</li>
<li><p><strong>Prerequisite:</strong></p>
</li>
<li><p>1: Azure Subscription from Azure Portal.</p>
</li>
<li><p>2: Resource Group to house your compute gallery resources.</p>
</li>
<li><p>3: Virtual Machine that you intend to create images from.</p>
</li>
</ul>
<p>Once you have all the pre-requisite in place, follow the following guidelines to create your Compute Gallery:</p>
<p>Click on the Big + sign on the Azure portal.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693449694874/8bd84a89-2ef4-4403-9a0c-a9b90fce77c1.png" alt class="image--center mx-auto" /></p>
<p>Type Azure Compute Gallery on the search bar.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693537691468/6b01cb00-df9f-4fbf-874d-3ea5a31a0c53.png" alt class="image--center mx-auto" /></p>
<p>Click on Create on the Azure Compute Gallery.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693459678073/c4bbd5e9-390c-4837-869e-c7f0463a41c3.png" alt class="image--center mx-auto" /></p>
<p>Select the resource group to which the gallery will reside. Give a name and description to the gallery and click next.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693460101982/8c3cacd2-01ed-4c2a-b587-8f6eafbbb6a4.png" alt class="image--center mx-auto" /></p>
<p>Click on the next button to access the Sharing method.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693460324412/4c35ca27-bb52-403f-b774-e344de5d2006.png" alt class="image--center mx-auto" /></p>
<p>Step 5: Choose the sharing method based on the level of access required on the gallery from external stakeholders.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693460768883/1787652b-73b0-40b4-8190-9ce529d94add.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-sharing-methods"><strong>Sharing Methods:</strong></h3>
<p>There are 3 types of Sharing Methods on this page which are:</p>
<p>1: <strong>Role Based Access Control (RBAC):</strong></p>
<p>is a security model used to manage access to resources within a computer system or application. It's a method of ensuring that only authorized users have access to specific resources, data, or functionalities based on their roles and responsibilities within an organization. In an RBAC system, users are assigned specific roles, and each role is associated with certain permissions or access rights.</p>
<p><strong>2: RBAC + Share directly:</strong></p>
<p>In some systems, you might need to extend RBAC to accommodate the concept of sharing resources with specific users who might not belong to the predefined roles. The integration of RBAC and sharing can provide a flexible access control mechanism that combines the benefits of both role-based permissions and individual resource sharing. However, this can also introduce complexities in terms of design, implementation, and maintenance. Careful planning and thorough testing are crucial to ensure that the combined system works as intended and maintains the desired security levels.</p>
<p><strong>3: RBAC + share to public community gallery:</strong></p>
<p>Combining Role-Based Access Control (RBAC) with a public community gallery involves integrating controlled access for users with predefined roles while allowing certain resources to be shared with the public or a broader community. By integrating RBAC with a public community gallery, you can provide a flexible and controlled environment where users can share content while maintaining the security and access control of your platform.</p>
<p>For this learning, we are going with the first option which is the RBAC option. Click on the RBAC option.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693479268044/cab9e4ce-a72e-4262-8bcf-40e5206e93f5.png" alt class="image--center mx-auto" /></p>
<p>Click on next to tag the gallery accordingly and click on Review &amp; Create.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693479924679/08e1156c-007d-43db-aee5-67a593b0e5b3.png" alt class="image--center mx-auto" /></p>
<p>The Configuration of the compute is valid.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693480178339/92186ffe-f5e6-4837-8757-ceddb6a0aade.png" alt class="image--center mx-auto" /></p>
<p>Your Compute Gallery is ready. It is important to note that you can choose to create your compute gallery separately as a service just as we have done here. You can also create the Compute gallery during the process of capturing your VM. Either way, you will arrive at the Azure compute gallery.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693480412185/481902d1-83fb-44f9-bac3-a6d363b3c1ab.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693480551840/97c79970-9e1b-4261-9efa-47a92da006dd.png" alt class="image--center mx-auto" /></p>
<p>The next thing is to capture the image of the VM with the created gallery. To do this, you need to go back to the home page and look out for the VM you intend to capture.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693522076536/e179a95f-7e33-4244-8a2b-6677715ad2f0.png" alt class="image--center mx-auto" /></p>
<p>On the "Overview" page of the VM, look out for the "Capture" button and click.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693522297280/b41d5666-81b9-4a06-9937-735059a43374.png" alt class="image--center mx-auto" /></p>
<p>The process of capturing the VM has started.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693522887728/2bb39533-6bad-45d3-9920-fe3d6ef57ef4.png" alt class="image--center mx-auto" /></p>
<p>Scroll down a bit and provide all the required information accordingly.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693524071995/436f9f1e-950c-4f7e-bc4f-f7f44a50786d.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693527334638/38e489a1-2ae2-4d22-bc0e-e372cbf8189e.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-operating-system-in-vm-image-capturing"><strong>Operating System in VM Image Capturing:</strong></h2>
<p>Now we must know the implications and uniqueness of using a <strong>Generalized</strong> or <strong>Specialized</strong> operating system when capturing the image of a VM in a compute gallery.</p>
<h3 id="heading-generalized-operating-system"><strong>Generalized Operating System:</strong></h3>
<p>A "generalized operating system image" refers to an image of a virtual machine that has been prepared and stripped of specific machine-specific information so that it can be used as a template for creating multiple instances of VMs. This process is often called "generalization" or "sys prepping" the VM image. By creating and using generalized operating system images, you can streamline the process of provisioning new VMs with consistent configurations and software setups. This is particularly useful when you need to deploy multiple VMs with the same specifications, such as in a scale-out scenario or for maintaining consistent development or testing environments.</p>
<h3 id="heading-specialised-operating-system"><strong>Specialised Operating System:</strong></h3>
<p>A "specialized operating system image" in the context of Azure Virtual Machines (VMs) refers to an image of a VM that has been customized and configured with specific applications, settings, and configurations to serve a particular purpose. Unlike a "generalized" image, which is prepared for creating multiple instances with varying configurations, a specialized image is tailored for a specific use case or application. Specialized images are useful when you have a specific workload or application that requires a consistent and predefined environment. They allow you to quickly deploy instances with the same configuration, reducing the time and effort required to set up each VM manually.</p>
<p><strong>Create VM Image Divination:</strong></p>
<p>In Azure Virtual Machines (VMs), an "Image Definition" refers to a description or configuration that defines how a VM image should be created. It specifies various settings and properties that determine how the virtual machine image is constructed, including the source image, OS settings, application configurations, and more.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693533502708/342ee895-421c-4de1-897a-9b7a635813a1.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693533829201/efe91104-983c-4882-955e-e99abe8ce4cd.png" alt class="image--center mx-auto" /></p>
<p><strong>Versioning Of The Image:</strong></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693534444479/b288d3c8-99c0-4807-b063-bc0242c9725b.png" alt class="image--center mx-auto" /></p>
<p>In the context of capturing VM images on Azure, "versioning" refers to the practice of creating and managing different iterations or versions of an image. When you capture an image of a virtual machine (VM) in Azure, you can choose to create multiple versions of that image over time. Each version represents a snapshot of the VM's state, including the operating system, applications, configurations, and any customizations you've made. When capturing VM images on Azure, it's a good practice to include a version number or identifier in the image's name to help you keep track of different versions. Regularly updating your images with new versions can contribute to better management, maintainability, and reliability of your virtual infrastructure.</p>
<p><strong>Replication:</strong></p>
<p>In the context of capturing VM images on Azure, "replication" typically refers to the process of creating duplicate or copied images of virtual machines (VMs) in different Azure regions or storage accounts. Replication is often used for backup, disaster recovery, and redundancy purposes. It's important to note that replication is not the same as versioning. While versioning involves creating different iterations of the same image with changes over time, replication involves creating copies of the same image in different locations.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693535686322/4a71bfb1-4eb3-4033-92b8-ab758e622063.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693535961088/7d440509-06f7-4245-b1b2-2ddc907fc2dd.png" alt class="image--center mx-auto" /></p>
<p>Once you click create, the system while creating the VM image will automatically shut down the VM and you will receive a notification to this effect.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693536131763/765864b4-91e2-49b3-beb4-2740c0f7a11d.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693537487516/c1d9a70e-365d-4c03-b2d5-5a45665f7c96.png" alt class="image--center mx-auto" /></p>
<p>The Compute gallery is successfully created.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693537541929/8ba89aa2-ec3e-4e62-9d18-d97bdeb3410b.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-conclusion"><strong>Conclusion:</strong></h2>
<p>I hope that you enjoyed every bit of this learning. I am also delighted to be your partner in this learning. Let us do it together again in the next edition of the Tech Merchant blog. Until then, be great.</p>
]]></content:encoded></item><item><title><![CDATA[Understanding Azure Virtual Machine Disk. Lesson 2.]]></title><description><![CDATA[You are welcome to today's learning on the second part of understanding Azure storage disk. Today we will be concluding this topic on Understanding Azure Virtual Machine Disk and I would appreciate if we could embark on this learning journey together...]]></description><link>https://ezekiel-adesanya.hashnode.dev/understanding-azure-virtual-machine-disk-lesson-2</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/understanding-azure-virtual-machine-disk-lesson-2</guid><category><![CDATA[Azure]]></category><category><![CDATA[Cloud Computing]]></category><category><![CDATA[azure-devops]]></category><category><![CDATA[Azure Functions]]></category><category><![CDATA[#AzureVirtualMachines #CloudComputing #AzureCloud #CloudInfrastructure #MicrosoftAzure #CloudBestPractices #VMManagement #AzureTips #TechBlogs #ITInfrastructure #CostOptimization #AzureSecurity #Virtualization #AzureSolutions #CloudPerformance #AzureMonitoring #HybridCloud #DisasterRecovery #CloudGovernance #ManagedDisks]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Sat, 26 Aug 2023 11:08:38 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1692986963801/ea7bcaa1-71ac-4d11-b716-75f94d035365.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>You are welcome to today's learning on the second part of understanding Azure storage disk. Today we will be concluding this topic on Understanding Azure Virtual Machine Disk and I would appreciate if we could embark on this learning journey together. I will appreciate your comments and contribution on the topic.</p>
<p>We learned in the last edition the functions of Data disk in Azure VM. We also learned the two broad classifications of Azure VM disc which are <strong>Managed Disk</strong> and <strong>Unmanaged Disk.</strong></p>
<p>In this edition of the Tech Merchant Blog, we will be looking at another classification of Azure storage disk before we look at the step-by-step guidelines on how to add data disk and initialise it to make it usable on Azure VM.</p>
<h2 id="heading-functional-classification-of-azure-virtual-machine-disk">Functional Classification of Azure Virtual Machine Disk.</h2>
<p>Azure virtual machine disks can be functionally classified based on their roles and purposes within the virtual machine (VM) environment. Here's a functional classification of Azure VM disks:</p>
<ol>
<li><p><strong>Operating System Disk (OS Disk)</strong>:</p>
<ul>
<li><p><strong>Function</strong>: Contains the operating system files, boot files, and system files required for the VM to start and run.</p>
</li>
<li><p><strong>Role</strong>: Facilitates the installation, booting, and initial setup of the VM's operating system.</p>
</li>
</ul>
</li>
<li><p><strong>Data Disks</strong>:</p>
<ul>
<li><p><strong>Function</strong>: Provide additional storage space for data, applications, databases, and user files used by the VM.</p>
</li>
<li><p><strong>Role</strong>: Separates data from the OS disk, enabling efficient management, scaling, and backup of application-specific data.</p>
</li>
</ul>
</li>
<li><p><strong>Temporary Disk</strong>:</p>
<ul>
<li><p><strong>Function</strong>: Offers fast, temporary storage for caching, scratch space, and other transient data.</p>
</li>
<li><p><strong>Role</strong>: Supports temporary data processing needs and should not be relied upon for persistent storage.</p>
</li>
</ul>
</li>
<li><p><strong>Read-Only OS Disk</strong>:</p>
<ul>
<li><p><strong>Function</strong>: Enables creating a read-only copy of the OS disk to ensure the integrity of the OS image.</p>
</li>
<li><p><strong>Role</strong>: Useful for scenarios where you want to prevent accidental modifications to the OS image.</p>
</li>
</ul>
</li>
<li><p><strong>Snapshot Disks</strong>:</p>
<ul>
<li><p><strong>Function</strong>: Captures a point-in-time image of a disk, including OS and data disks.</p>
</li>
<li><p><strong>Role</strong>: Used for creating backups, data recovery, testing, and creating new VM instances from a known state.</p>
</li>
</ul>
</li>
<li><p><strong>Ultra Disks</strong>:</p>
<ul>
<li><p><strong>Function</strong>: High-performance SSD option designed for I/O-intensive workloads.</p>
</li>
<li><p><strong>Role</strong>: Provides extremely low latency and high throughput for applications demanding top-tier storage performance.</p>
</li>
</ul>
</li>
<li><p><strong>Caching</strong>:</p>
<ul>
<li><p><strong>Function</strong>: Temporarily stores frequently accessed data for faster retrieval.</p>
</li>
<li><p><strong>Role</strong>: Improves read performance and reduces latency by serving data from cache instead of slower storage.</p>
</li>
</ul>
</li>
<li><p><strong>Data Migration</strong>:</p>
<ul>
<li><p><strong>Function</strong>: Facilitates moving data between on-premises environments and Azure.</p>
</li>
<li><p><strong>Role</strong>: Supports hybrid scenarios where data needs to be migrated to or from the cloud.</p>
</li>
</ul>
</li>
<li><p><strong>Custom Image Disks</strong>:</p>
<ul>
<li><p><strong>Function</strong>: Captures a VM disk as an image for creating new VM instances with the same configuration.</p>
</li>
<li><p><strong>Role</strong>: Simplifies deployment and ensures consistency across VM instances.</p>
</li>
</ul>
</li>
<li><p><strong>Load Balancing and Scaling</strong>:</p>
<ul>
<li><p><strong>Function</strong>: Distributes workloads across multiple VM instances for improved performance and availability.</p>
</li>
<li><p><strong>Role</strong>: Combined with shared data disks, supports scaling out applications and load balancing.</p>
</li>
</ul>
</li>
</ol>
<p>By understanding the functional roles of each type of Azure VM disk, you can make informed decisions when provisioning and configuring storage for your virtual machines. This allows you to optimize the performance, availability, and management of your cloud-based infrastructure.</p>
<h2 id="heading-guidelines-on-how-data-disk-could-be-added-and-initialized-on-azure-virtual-machine">Guidelines on How Data Disk Could be Added and Initialized on Azure Virtual Machine.</h2>
<p>The step-by-step guideline below should be followed in adding a data disk to an Azure Virtual Machine and initialising the disk to make it functional.</p>
<p>Step 1:</p>
<p>Create a Windows Virtual Machine and connect to it through RDP. The picture below is what your window VM look like after the right configuration has been put in place. You can refer to the third edition of The Tech Merchant blog for guidelines on how to create a Windows virtual machine. Click on the "go to resource" button.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693006237250/9f217e16-9c8a-4bb7-9918-4edd9ea0dd5e.png" alt class="image--center mx-auto" /></p>
<p>Step 2:</p>
<p>Please take note of this second step and make it a standard practice whenever you are to create your VM. This step has to do with increasing the time of your idle time out from 4 minutes to 30 minutes. Not doing this can lead to your VM timing out every 4 minutes and you need to keep refreshing it which can give you a frustrating experience when working on the VM.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693006725367/afe31408-6dcc-4c39-be12-aa2e5e92ed33.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693007018436/a35893f3-28fd-4189-8c63-e31450a21662.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693007357743/2e9e42ad-5a8a-41c8-bc3d-623189fa21d4.png" alt class="image--center mx-auto" /></p>
<p>Step 3:</p>
<p>Click the "overview" to go back to the previous page and click on connect.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693007687231/7fc4b9e2-b849-4e01-8fca-4413b8589456.png" alt class="image--center mx-auto" /></p>
<p>Step 4:</p>
<p>Scroll down to click on the select button in the native RDP box.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693007928469/8b2e0f7a-3db2-4de4-8893-0fd65be2e3ea.png" alt class="image--center mx-auto" /></p>
<p>Step 5:</p>
<p>Look out for the local RDP page pop-up on the right. scroll down and to click the "Download RDP File"</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693008129268/fe5511b1-50e8-4842-bcb7-8c973b8718e8.png" alt class="image--center mx-auto" /></p>
<p>Step 6:</p>
<p>Look out for another pop-up and click on "keep".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693008253503/f706062b-d70d-4321-9453-4c3ce26868dc.png" alt class="image--center mx-auto" /></p>
<p>Step 7:</p>
<p>Click on "Connect" on the Remote Desktop Connection</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693008398363/2d14e637-fde8-45c9-9184-2078dff918cf.png" alt class="image--center mx-auto" /></p>
<p>Step 8:</p>
<p>Input the user name and password and press ok.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693008780385/fe0b8daf-4b5b-42eb-8c54-4e063eb0f1cd.png" alt class="image--center mx-auto" /></p>
<p>Click on "Ok" on the new pop-up.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693008678362/4fc0a934-4b90-47a2-9841-0da074ab58d1.png" alt class="image--center mx-auto" /></p>
<p>You have successfully accessed the VM via the RDP path.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693008915333/929eaa72-4618-4fe9-b534-5820742a2f39.png" alt class="image--center mx-auto" /></p>
<p>Step 9:</p>
<p>Go back to the overview page of the VM in the Azure portal; look out for "disks" and click.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693009381216/3eedf99b-0995-4825-85a4-0afa9ccdab37.png" alt class="image--center mx-auto" /></p>
<p>Step 10:</p>
<p>You are now on the disk page. Look out for the Operating system disk (OS Disk) that was earlier configured when we were deploying the VM. We learnt this OS disk in our functional classification of the disk. Check the Data Disk section and click on "Create and attach a new disk" to create a new data disk.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693009934092/fa8e5b5e-f421-4082-a5a7-921fa0e6d206.png" alt class="image--center mx-auto" /></p>
<p>Step 11.</p>
<p>Identify the disk with a number. Name the disk accordingly, and increase the disk size based on the desired capacity. Click on "Save" to create the data disk.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693010580328/6b111c59-4e76-4e25-8a48-1bf765bfa812.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693010808557/a2f4c91c-5d38-4e4c-9ee8-3d547ac96c93.png" alt class="image--center mx-auto" /></p>
<p>Step 12:</p>
<p>It is time for the created disk to be initialised to make it functional. To do this, you need to go to the Virtual Machine created. On the search bar in the VM, Search for "disk management" and click on "create and format hard disk partition".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693012361239/548f8d81-495e-450e-989b-aa28d5eefd76.png" alt class="image--center mx-auto" /></p>
<p>Click "ok" on the pop-up box.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693012669785/034befb6-4305-4379-b95c-42649b1d256f.png" alt class="image--center mx-auto" /></p>
<p>On the right-hand side of the Pop-up box scroll down gently till you locate the created disk that needs to be initialised. You can identify the disk by looking out for the disk that is "unallocated".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693012891058/5d07c592-65bd-42d3-be86-f337802563ea.png" alt class="image--center mx-auto" /></p>
<p>Right-click on the unallocated disk box</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693013157901/29cd10a1-ff99-4120-97aa-58061fc99d91.png" alt class="image--center mx-auto" /></p>
<p>On the pop-up, click on "new simple volume"</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693013271085/a49bebf2-498f-42bb-8d5e-1e8761350790.png" alt class="image--center mx-auto" /></p>
<p>Continue to click on "Next" on all the pop-ups and leave everything in the pop-ups to default.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693013402594/0caf63f9-5250-46e6-8aed-f6cfe65bce26.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693013491033/1d72fb8f-bebd-44e4-b2d3-ac4ebda54b35.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693013569480/0b98f3f5-41a7-43ee-ab98-b2869dc04bc7.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693013669516/7bd7da62-b429-46a7-a323-ded9023da2f9.png" alt class="image--center mx-auto" /></p>
<p>This is the last Pop-up and signifies the last stage in the disk initialisation project. Click on "finish" to end the process.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693013927990/60ba7f80-f57d-4c88-b383-9c01b4a549bb.png" alt class="image--center mx-auto" /></p>
<p>The created data disk has been initialised and ready for usage.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1693014145376/fd5e4543-6563-4403-ab98-a72cc17ec56c.png" alt class="image--center mx-auto" /></p>
<p>This will be the end of our learning on Understanding Azure VM Disk. I hope you had an informative learning journey on the topic. Stay tuned for more editions of new informative learning on The Tech Merchant Blog.</p>
]]></content:encoded></item><item><title><![CDATA[Understanding Azure Virtual Machine Disk.]]></title><description><![CDATA[Welcome to today's learning on the Tech Merchant's Blog. In today's learning, we will be looking at one of the very important components of Azure Virtual Machine that serves various functions that contribute to the performance, scalability, and manag...]]></description><link>https://ezekiel-adesanya.hashnode.dev/understanding-azure-virtual-machine-disk</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/understanding-azure-virtual-machine-disk</guid><category><![CDATA[Azure]]></category><category><![CDATA[Azure VM Instances]]></category><category><![CDATA[Cloud Computing]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Fri, 25 Aug 2023 08:32:42 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1692890963255/ff4ba7bc-57cd-42f2-a384-ce719c1d159e.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to today's learning on the Tech Merchant's Blog. In today's learning, we will be looking at one of the very important components of Azure Virtual Machine that serves various functions that contribute to the performance, scalability, and management of your virtual machine (VM). This Component is the Azure Disk Storage. An Azure virtual machine disk is a storage device that is created and attached to a virtual machine running on the Azure cloud computing platform.</p>
<h2 id="heading-the-functions-of-azure-vm-disk-storage"><strong>The Functions of Azure VM Disk Storage.</strong></h2>
<p>Below are the critical functions of Azure Disk Storage.</p>
<ol>
<li><p><strong>Operating System Installation and Booting</strong>: The OS disk is used to install the operating system and contains the necessary boot files for the VM. It's critical for the initial setup and booting process of the virtual machine.</p>
</li>
<li><p><strong>Data Storage</strong>: Data disks provide additional storage space for applications, files, databases, and other data used by your VM. By separating data from the OS disk, you can better manage and scale your storage independently.</p>
</li>
<li><p><strong>Application Hosting</strong>: Disks store the applications and software that run on your virtual machine. This includes all the files and resources required to operate your applications effectively.</p>
</li>
<li><p><strong>Performance Optimization</strong>: Choosing between HDDs and SSDs allows you to optimize the performance of your VM. SSDs generally offer faster read and write speeds, making them suitable for I/O-intensive workloads and applications that demand low latency.</p>
</li>
<li><p><strong>Scaling and Performance Improvement</strong>: By attaching multiple data disks to a VM, you can distribute I/O operations and improve overall performance. This is particularly useful for applications that require high disk I/O.</p>
</li>
<li><p><strong>High Availability and Redundancy</strong>: Azure Managed Disks provide built-in redundancy within an availability zone or across zones, improving the availability and reliability of your VM's data.</p>
</li>
<li><p><strong>Snapshots and Backups</strong>: You can take snapshots of managed disks to create point-in-time backups. These snapshots can be used for data recovery, testing, or creating new VM instances.</p>
</li>
<li><p><strong>Cloning and Replication</strong>: Managed disks can be cloned to create new VMs with similar configurations. This is useful for quickly deploying multiple instances of the same VM or for creating development and testing environments.</p>
</li>
<li><p><strong>Scaling Out and Load Balancing</strong>: In scenarios where you need to scale out your application horizontally, you can attach additional VMs with load balancers and shared data disks to distribute the workload.</p>
</li>
<li><p><strong>Temporary Storage</strong>: The temporary disk provides a local, high-speed storage option for temporary files, caching, and intermediate data storage. It's especially useful for applications that require fast access to scratch space or working files.</p>
</li>
<li><p><strong>Custom Image Creation</strong>: You can capture a VM's disk as an image, which can then be used to create new VM instances. This is beneficial for creating standardized environments and deploying them quickly.</p>
</li>
<li><p><strong>Security and Isolation</strong>: Separating data onto different disks or using read-only OS disks can enhance security and isolation. It helps prevent accidental data loss and unauthorized modifications to the OS.</p>
</li>
<li><p><strong>Data Migration and Hybrid Scenarios</strong>: Azure Disks facilitate data migration between on-premises environments and the cloud, supporting hybrid scenarios where data needs to be moved seamlessly.</p>
</li>
</ol>
<p>Each function of disks in Azure VMs contributes to the overall performance, resilience, and flexibility of your cloud-based infrastructure. Properly configuring and utilizing these disks based on your workload requirements is essential for achieving optimal performance and reliability.</p>
<h2 id="heading-classification-of-azure-virtual-machine-data-disk"><strong>Classification of Azure Virtual Machine Data Disk.</strong></h2>
<p>The disks on Azure virtual machines can be broadly classified into two categories: <strong>Managed disks</strong> and <strong>Unmanaged disks</strong>.</p>
<h3 id="heading-managed-disk"><strong>Managed Disk:</strong></h3>
<p>Managed disks are the recommended disk storage option for Azure VMs. They are an abstraction layer over the physical disks that provide high availability, reliability, scalability, and security. They also simplify disk management by handling the storage account creation, encryption, replication, and performance optimization. Listed below are the features of Managed Disk.</p>
<ol>
<li><p><strong>Abstraction and Simplification</strong>:</p>
<ul>
<li><p>Managed disks abstract the underlying storage infrastructure and simplify disk management by automating certain tasks, such as disk provisioning, scaling, and availability.</p>
</li>
<li><p>They handle storage account management internally, reducing administrative overhead.</p>
</li>
</ul>
</li>
<li><p><strong>Scalability</strong>:</p>
<ul>
<li>Managed disks can be easily scaled up or down in terms of size and performance without the need to move VMs or detach disks.</li>
</ul>
</li>
<li><p><strong>Availability</strong>:</p>
<ul>
<li>Managed disks provide built-in high availability. They are stored as page blobs in Azure Storage, and Azure manages replication for redundancy.</li>
</ul>
</li>
<li><p><strong>Snapshots and Backups</strong>:</p>
<ul>
<li>Managed disk support point-in-time snapshots and managed disk backups, simplifying the process of creating and managing backups for disaster recovery.</li>
</ul>
</li>
<li><p><strong>Disk Types</strong>:</p>
<ul>
<li>Managed disks offer various disk types, including Standard HDD, Standard SSD, Premium SSD, and Ultra Disk, allowing you to choose the appropriate performance level for your needs.</li>
</ul>
</li>
<li><p><strong>Role-Based Access Control (RBAC)</strong>:</p>
<ul>
<li>Managed disks leverage Azure RBAC for access control, providing fine-grained permissions management.</li>
</ul>
</li>
</ol>
<h2 id="heading-types-of-managed-disk-on-azure"><strong>Types of Managed Disk on Azure.</strong></h2>
<h3 id="heading-premium-ssd"><strong>Premium SSD</strong></h3>
<p>Premium SSDs are high-performance Solid-state Drive (SSD) based storage designed to support I/O intensive workloads with significantly high throughput and low latency. With Premium SSDs, you can provision a persistent disk and configure its size and performance characteristics.</p>
<h3 id="heading-premium-ssd-v2"><strong>Premium SSD v2</strong></h3>
<p>Premium SSD v2 is the next-generation Premium SSD offering for Azure Disks Storage. Premium SSD v2 Disk Storage is designed for performance-sensitive workloads that consistently require low average read and write latency combined with high IOPS and throughput. This offering is well suited to support data-intensive workloads such as SQL Server, Oracle Database, Cassandra, and Mongo DB. With Premium SSD v2, you can provision the IOPS and throughput you need without necessarily purchasing additional storage capacity. As a result, you can cost-effectively scale performance when deploying transaction-intensive workloads. Premium SSD v2 provides a baseline performance of 3,000 IOPS and 125 MB/s for any disk size that is offered at no additional cost. Disk storage capacity can range from a minimum of 1 GiB to a maximum of 64 TiBs.</p>
<p><strong>Standard SSD</strong></p>
<p>Standard SSDs, a low-cost SSD offering, are optimised for test and entry-level production workloads requiring consistent latency. Standard SSDs can also be used for big data workloads that require high throughput. Standard SSDs deliver lower latency compared to Standard HDDs, while improving reliability and scalability for your applications, and are available with all Azure VM sizes. Standard SSDs can be easily upgraded to Premium SSDs for more demanding and latency-sensitive enterprise workloads. Standard SSDs come with the same industry-leading durability and availability that you expect from Premium SSDs.</p>
<p><strong>Standard HDD</strong></p>
<p>Standard HDDs use Hard Disk Drive (HDD)-based storage media. They are best suited for dev/test and other infrequent access workloads that are less sensitive to performance variability.</p>
<p>The total cost of Standard HDDs depends on the size and number of disks, the number of transactions and the number of <a target="_blank" href="https://azure.microsoft.com/en-au/pricing/details/bandwidth/">outbound data transfers.</a> Standard HDDs only support locally redundant storage (LRS).</p>
<p><strong>Ultra Disk</strong></p>
<p>Ultra Disk is our next-generation high-performance Solid State Drive (SSD) with configurable performance attributes that provide the lowest latency and consistently high IOPS/throughput. Ultra Disk offers unprecedented and extremely scalable performance with sub-millisecond latency. As a customer, you can start small on IOPS and throughput and adjust your performance as your workload becomes more IO intensive. Ultra Disk is available in different sizes that provide a configurable range of input/output operations per sec (IOPS), and a configurable range of throughput (MB/s), and is billed at an hourly rate. You choose the option that best meets your required storage size, IOPS and throughput. Ultra Disk only supports locally redundant storage (LRS).</p>
<h3 id="heading-unmanaged-disks"><strong>Unmanaged Disks</strong>:</h3>
<p>Unmanaged disks in Azure virtual machines refer to storage devices that are manually managed by the user. Unlike managed disks, which are created and managed by Azure, unmanaged disks require the user to manage the underlying storage account that hosts the disks. When using unmanaged disks, users can choose to store the disks in an existing storage account or create a new one specifically for the virtual machine. They also have the option to choose the type of storage account to use, whether it's a standard or premium account. Unmanaged disks allow more flexibility in terms of creating, managing, and accessing disks. However, they also require more effort from the user to manage and maintain the underlying storage accounts. Below are the basic features of unmanaged disk.</p>
<ol>
<li><p><strong>Storage Account Dependency</strong>:</p>
<ul>
<li>Unmanaged disks require you to manage the associated Azure Storage accounts manually. You need to create and manage storage accounts for VM disks.</li>
</ul>
</li>
<li><p><strong>Flexibility and Control</strong>:</p>
<ul>
<li>Unmanaged disks provide more control over storage configurations, such as specifying the storage account type and location for each disk.</li>
</ul>
</li>
<li><p><strong>Availability Sets and Fault Domains</strong>:</p>
<ul>
<li>To achieve high availability with unmanaged disks, you need to manually distribute VMs across availability sets and fault domains.</li>
</ul>
</li>
<li><p><strong>Disk Snapshots and Backups</strong>:</p>
<ul>
<li>You can take snapshots of unmanaged disks for backups, but the process is more manual and involves creating blob snapshots.</li>
</ul>
</li>
<li><p><strong>Performance Scalability</strong>:</p>
<ul>
<li>Unmanaged disks might require additional configuration, such as striping multiple disks together, to achieve higher I/O performance.</li>
</ul>
</li>
<li><p><strong>RBAC and Access Control</strong>:</p>
<ul>
<li>Access to unmanaged disks is managed through Azure RBAC and shared access signatures.</li>
</ul>
</li>
</ol>
<p>Choosing between managed and unmanaged disks depends on your workload requirements and the level of management overhead you are comfortable with. Managed disks simplify many aspects of disk management and are generally recommended for most scenarios due to their ease of use, high availability, and scalability benefits. However, unmanaged disks offer more granular control over storage accounts and can be useful in specific situations where fine-tuning storage configurations is essential.</p>
<p>I hope you enjoyed learning about the classification and usage of Azure virtual machine disk. In the second part of this blog, we will be looking at further classification of Azure virtual machine disk based on functionality and also have a practical learning on how data disk could be mounted on Azure virtual machine.</p>
]]></content:encoded></item><item><title><![CDATA[Introducing Azure Mobile App.]]></title><description><![CDATA[Imagine that you are a cloud service engineer and you took out time to relax in a resort out of town where you wish to have a nice time to escape from work-related issues. A few hours into your relaxation, you receive a notification from your colleag...]]></description><link>https://ezekiel-adesanya.hashnode.dev/introducing-azure-mobile-app</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/introducing-azure-mobile-app</guid><category><![CDATA[Azure]]></category><category><![CDATA[Microsoft]]></category><category><![CDATA[Cloud Computing]]></category><category><![CDATA[Devops]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Wed, 23 Aug 2023 06:54:27 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1692572284811/f8c3dad4-1ed5-4a18-9120-67d1d1fa7f6f.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Imagine that you are a cloud service engineer and you took out time to relax in a resort out of town where you wish to have a nice time to escape from work-related issues. A few hours into your relaxation, you receive a notification from your colleague about one of the resources you deployed that you need to scale up to accommodate an immediate need of one of your strategic clients as a result of their unexpected surge in business activities. How do you help yourself to handle such an impromptu request without major disruption to your time out and yet maintain the standard of efficiency that your job required? That is the reason why Azure Mobile App was created.</p>
<h2 id="heading-what-is-azure-mobile-app"><strong>What is Azure Mobile App?</strong></h2>
<p>The Azure mobile app is a free app that helps you keep track of your resources while on the go. It enables developers to build and deploy mobile applications quickly and easily. The app could be used to monitor your Azure resources, such as virtual machines, even when you are away from your computer. With the Azure mobile app, you can:</p>
<ol>
<li><p>Stay connected to your Azure resources—anytime, anywhere.</p>
</li>
<li><p>Monitor resources and get Azure Service Health alerts.</p>
</li>
<li><p>Keep track of the status of your Azure resources, such as virtual machines (VMs) and web apps, from your mobile device. And get alerts on your environment.</p>
</li>
<li><p>Quickly diagnose and fix issues. Respond quickly to alerts, view metrics, and take corrective actions. Restart services like App Service web apps or connect to a VM directly.</p>
</li>
<li><p>Manage your resources through Azure Cloud Shell. Use Azure CLI or PowerShell commands to manage your Azure environment. Work in Bash or PowerShell through Cloud Shell and persist files across interfaces.</p>
</li>
<li><p>Azure Mobile Apps (also known as the Microsoft Data Sync Framework) gives enterprise developers and system integrators a mobile-application development platform that’s highly scalable and globally available. The framework provides your mobile app with Authentication, Data query, and Offline data synchronization</p>
</li>
</ol>
<p>To get the Azure mobile app you can download it from IoS or the Google Play Store. Alternatively, you can scan and download from the Azure resource interface.</p>
<p>The focus of this blog is to give a guideline on the usage of the app and how could be downloaded from the Azure resource interface.</p>
<p>On the resource page on Azure, look out for "open in mobile" ande click.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692575294511/1b5d0ec6-b4c5-47d7-ac5e-bba559f4e609.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692575529374/de7913fb-54a6-4a28-8136-d10245e9f2b2.png" alt class="image--center mx-auto" /></p>
<p>I used an Android device to scan the QR code.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692577174143/750931d0-dfae-43bd-8db3-6fac958f3053.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692578206456/63149205-d440-43d8-b195-6d12809aba03.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692578897308/c42db210-717e-4aa0-8ea4-38c21282c0c0.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692579582290/c09b2acc-4efd-4cd9-b7bc-b37ef7cb320e.png" alt class="image--center mx-auto" /></p>
<p>You will be launched into the mobile application version of your Azure account where you can view the status of the resources you have in your Azure account.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692764246765/24ef3854-db3e-4a21-8fca-1c87c90152cb.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692766322405/ff93b6f0-9d2a-419b-af46-7c7c6ab7bea2.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692771366206/ae74a07c-9bdc-497a-8627-6b47f522232e.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692772405550/01645448-82dc-4481-af7e-05a078baad53.png" alt class="image--center mx-auto" /></p>
<p>You can also monitor your SubscripCosting on the Mobile app.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692772834005/eb025d5a-7f7d-45ee-80b2-3b8ecd7125c7.png" alt class="image--center mx-auto" /></p>
<p>Azure mobile app is your sure plug to access your azure environment and perform simple and quick task on the go.</p>
<p>Download the app now and follow the guidelines to in this blog to experience the simplicity of of managing your azure environment on the go.</p>
<p>Thank you for being part of todays learning. I look forward to sharing another intresting topic with you in the next blog.</p>
]]></content:encoded></item><item><title><![CDATA[Linux Vitual Machine Set Up On Azure.]]></title><description><![CDATA[You are welcome to today's edition of the Tech Merchant blog. In one of our previous learning, we looked at the step-by-step guide on the deployment of a window operating system Virtual Machine (VM) in an Azure environment.
Today, we will be looking ...]]></description><link>https://ezekiel-adesanya.hashnode.dev/linux-vitual-machine-set-up-on-azure</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/linux-vitual-machine-set-up-on-azure</guid><category><![CDATA[Azure]]></category><category><![CDATA[azurecloud]]></category><category><![CDATA[Cloud Computing]]></category><category><![CDATA[CloudEngineer]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Sun, 20 Aug 2023 00:12:48 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1692412140852/7bd8272f-05e5-450f-b805-751355f2d04e.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>You are welcome to today's edition of the Tech Merchant blog. In one of our previous learning, we looked at the step-by-step guide on the deployment of a window operating system Virtual Machine (VM) in an Azure environment.</p>
<p>Today, we will be looking at the deployment of a Linux operating system VM in the Azure environment. This will necessitate a login into the Azure portal.</p>
<p>Step 1</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692413211007/ec3ca230-59f5-43d6-89a3-aca7c166432f.png" alt class="image--center mx-auto" /></p>
<p>Step 2:</p>
<p>Upon login, look out for the Big + Sign and click.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692440223671/1dd8c74b-2bfb-40e7-97fa-18f0f0cb1a91.png" alt class="image--center mx-auto" /></p>
<p>Step 3:</p>
<p>On the next interface, look out for the virtual machine logo and click on Create.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692440549037/4d70c370-64fd-4029-9bbe-a420267868aa.png" alt class="image--center mx-auto" /></p>
<p>Step 4:</p>
<p>You will land on the "Create a virtual Machine page" where you have "Project detail" under which you would choose the Azure subscription you are creating the VM on and also create a new resource group where the VM would reside.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692441413414/790d9b7e-9e76-4e97-bd59-93b414ac936e.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692441684850/e69b84d2-7d1c-4daa-98b3-99cfc583a88a.png" alt class="image--center mx-auto" /></p>
<p>Check out for a name box that would pop out and give a name to the new resource group. For this learning, the name of the new resource group created is "ManifoldGRP".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692442324066/0f5c9504-451e-4eae-a73a-dcf9be14c5e8.png" alt class="image--center mx-auto" /></p>
<p>Step 5:</p>
<p>Scroll down and check out the "Instance detail" section on the page where you can give a name to the VM, Select a region where the VM would reside; select the availability option depending on the level of service availability and resilience desired for the VM and choose the number of zones (s) to determine how you want the VM to be replicated based on the level of desired application redundancy on business need. For the sake of this learning, we would be adopting "ManifoldlinuxVM" as our VM name, "(Europe) UK South" as the region for the VM, the Availabilty option will be "Availabilty Zone" and the VM will be in Zone 1.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692471817095/a187a355-d1e1-47f0-b4c2-e41107a4a870.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692472124967/782741e3-2bc5-4e6c-9ec4-7adceb3cd135.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692472451156/e360b1f9-f15f-433b-b72c-6f3c527b876b.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692473110834/49af7cdc-bdc4-43f8-a2b8-b1cc6cda4f67.png" alt class="image--center mx-auto" /></p>
<p>Step 6:</p>
<p>Scroll down to the next section to select the type of security you desired for the VM. For the sake of this learning, we will choose the lowest level of security which is "Standard".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692474033691/2bcdec53-4bfb-4d75-ae21-4c0163caf286.png" alt class="image--center mx-auto" /></p>
<p>Step 7:</p>
<p>Click on the image box to select the type of operating system you desired to work in the VM. In this case, we are deploying Linux VM. The reason why Ubuntu server 20.04 LTS-x64 Gen2 is selected. Leave the VM architecture and the size to default and scroll down to "Administrative Account".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692474415458/16b8301f-8abd-4520-8cfe-5799f692b038.png" alt class="image--center mx-auto" /></p>
<p>Step 8:</p>
<p>Under the "Administrative account" part, there are two types of Authentication type or methods to access the VM which are SSH public key and Password. This learning part will focus on how to access a VM with SSH public key. The second part will focus on using "a password as a means of access into the VM.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692475135717/c91cd92e-11ef-4613-a499-16284d71e62d.png" alt class="image--center mx-auto" /></p>
<p>Step 9:</p>
<p>Scroll down to Username and create a unique username for the VM that you could always remember. Ensure that the SSH Public key source is "Generate new key". Give a unique key pair name you could always remember. For this learning, the VM username is "Linuxuser123" and the key pair name is "money123"</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692475756494/fd3a1dd7-79ad-4cb5-bc0e-416e00460985.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692476274760/28e4fa29-0f46-40fc-b16b-3f306703c6f0.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692476514317/6025bdf4-fab6-42bf-bdb3-df535501d698.png" alt class="image--center mx-auto" /></p>
<p>Step 10:</p>
<p>At this stage of learning, we should have every other thing to default. Click on "Review and Create"</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692476605572/4f3490a4-f8b9-43ba-9c17-1af2ff708672.png" alt class="image--center mx-auto" /></p>
<p>After clicking on "Review + Create", you will wait for a few seconds till you see the caption "Validation passed" on the page. this shows that the configuration all along is valid and you can go ahead and create.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692477016822/401a07b7-1c5e-4d41-a503-e0f23abad55b.png" alt class="image--center mx-auto" /></p>
<p>Also, take note of the configuration cost advice on this page to know how much you are being charged for the VM resource on Azure.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692477529434/336cd443-32d2-405f-96ef-3a7b228f5999.png" alt class="image--center mx-auto" /></p>
<p>Step 11:</p>
<p>Continue by clicking on the tag button. It is important to always tag accordingly for resource identification purposes.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692477868802/74cb9720-560f-4084-8292-504d39b6065b.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692478180589/419a5b8a-e87c-4200-9786-b8453e44865b.png" alt class="image--center mx-auto" /></p>
<p>Step 12:</p>
<p>Upon clicking on "Review+create", the deployment of the virtual machine will start. while the deployment is ongoing, a "generate new key pair" box would pop up. This is a result of the option taken in step 9 where who choose "Generate new pair" for SSH public key source.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692476274760/28e4fa29-0f46-40fc-b16b-3f306703c6f0.png" alt /></p>
<p>Click on "download private key and create resource"</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692478416834/46a45611-fe59-4078-9422-b473df2aa981.png" alt class="image--center mx-auto" /></p>
<p>After clicking the download from the first pop-up, the VM deployment is still ongoing. you will notice another pop-up by the top right. This pop-up is to notify you that the private key with which to access your VM is being downloaded in the download folder of your computer.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692478981996/52a00ef9-433d-4bd1-8b8c-7c0221ddced9.png" alt class="image--center mx-auto" /></p>
<p>Step 13:</p>
<p>Upon clicking on the blue download box, you wait for some seconds until you receive a notification that your deployment is complete. Then click on "go to resource"</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692479440854/51e36930-50bb-4874-9f58-8bbcb89eb7ba.png" alt class="image--center mx-auto" /></p>
<p>Step 14:</p>
<p>When you get to this page, it means your virtual machine is ready and you need to connect to it.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692479688052/2e70e470-d72c-451d-8700-857df98ed778.png" alt class="image--center mx-auto" /></p>
<p>Step 15:</p>
<p>At this point, you have connected with your Linux Virtual Machine and it is already running. Now you need to "SSH" into the Virtual Machine and at this point, we need a whole lot of attention on the next few steps we will be taking.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692479773635/8ba0884e-4725-4aef-9293-e5aad4097342.png" alt class="image--center mx-auto" /></p>
<p>Scroll down a bit to steps 1,2,3 and 4. For Mac and Linux system users, the second step is to be followed. If you are a window system user, steps 3 and 4 are to be followed</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692480672967/99457061-255d-44a2-b237-2ebbddbef5fa.png" alt class="image--center mx-auto" /></p>
<p>Step 16:</p>
<p>Now open the window power shell on your window system and perform az login for you to get into the CLI environment on Azure.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692480879507/b17a37f1-45dd-4c17-823e-3e03aa8ea04e.png" alt class="image--center mx-auto" /></p>
<p>Step 17:</p>
<p>Select the appropriate email address for your Azure portal on the new tab on your browser.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692480987329/b4ce637e-9bac-468b-88f8-4578abe18582.png" alt class="image--center mx-auto" /></p>
<p>Step 18:</p>
<p>After getting to this page in step 17, close the tab and go back to your window PowerShell. The screenshot below is what you will see. Signifying that you have successfully accessed the CLI environment on your system.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692481107886/e57a5993-817b-4ea9-993b-a67ad417368d.png" alt class="image--center mx-auto" /></p>
<p>Step 19</p>
<p>The next step is to go to the download folder on your system and check out the downloaded private key that ends in ".pem"</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692481483761/28080525-f24c-470d-85c1-a1ff8dacccd1.png" alt class="image--center mx-auto" /></p>
<p>Step 20:</p>
<p>Right-click on the private key file and copy it as a path.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692481680650/34f620e1-0412-43ac-b287-055a0142eb0a.png" alt class="image--center mx-auto" /></p>
<p>Step 21:</p>
<p>Paste the copied private key path into the box in the 3rd step</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692482057633/4d5cff69-888d-4310-921b-10c2f0b45467.png" alt class="image--center mx-auto" /></p>
<p>Step 22:</p>
<p>After pasting the copied key part in the private key path box, Check the box in the 4th step and confirm that the command path has been adjusted accordingly. Copy the command path and run it on your Azure power shell</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692482890970/aa64bf3e-6846-41a7-b236-46560283fc7c.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692483132347/e0976d71-0ba6-4b4c-bbcd-f0a4650964f2.png" alt class="image--center mx-auto" /></p>
<p>Step 23:</p>
<p>Click on "enter" and answer yes to continue.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692483305461/65d98718-0349-41cb-ac43-995446c856ec.png" alt class="image--center mx-auto" /></p>
<p>You have successfully SSH into the Linux Virtual Machine.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692483627115/c772ece7-f9e6-43e0-9852-5296c8ac3dd8.png" alt class="image--center mx-auto" /></p>
<p><strong>HOW TO SSH INTO LINUX VIRTUAL MACHINE BY PASSWORD.</strong></p>
<p>In the first part of learning we just concluded, we learnt how to ssh into a VM using the SSH Public Key.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692475135717/c91cd92e-11ef-4613-a499-16284d71e62d.png" alt /></p>
<p>We are going to learn the second part which has to do with how to ssh into a Linux VM using a password.</p>
<p>To be able to do this, repeat the whole process of creating a Linux VM from Step 1 to Step 8.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692486193771/7f7d553c-0512-4a67-a8b6-151b2ac96614.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692486448575/7ef5dda9-10bf-4600-931d-9444ff6866a8.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692486596991/2a9123bf-14dd-4c11-8a47-92a17ea5729c.png" alt class="image--center mx-auto" /></p>
<p>Leave everything to default and click on "review+create".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692486763172/66b8d307-fb06-4e28-99ba-7cfe400ac052.png" alt class="image--center mx-auto" /></p>
<p>Click on the tag button to tag the resource accordingly.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692487011530/def91ee4-5b67-428e-a1a3-14731d81c79f.png" alt class="image--center mx-auto" /></p>
<p>Click on Review+Create</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692487176011/ea1c814c-54d4-46e3-a18d-f2ef0755bc6e.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692487385871/79571afd-2578-4530-bbbf-7fe1264d1bcf.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692487542160/b5c380d9-3840-49f2-9731-7c10aa8b4c6c.png" alt class="image--center mx-auto" /></p>
<p>At this point, The password you created when you created your user name will be imputed into the private key path box.</p>
<p>Confirm that the command part in step 4 has been adjusted as a result of the changes implemented on the private key path.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692488000692/e6aadb35-44b3-4a4b-b885-76d4a9f3f1d5.png" alt class="image--center mx-auto" /></p>
<p>Open Powershell and perform az login accordingly. Run the copied command line part on the CLI environment in your power shell.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692488154028/2e938401-d328-492e-9146-0a1528142f93.png" alt class="image--center mx-auto" /></p>
<p>Type "yes" accordingly.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692488365744/13927d51-b84a-4667-bbfd-5638b870a1bd.png" alt class="image--center mx-auto" /></p>
<p>Now the Command line is asking for the password again. carefully type it in and click enter.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692488443417/2afbb0d7-f00b-4a88-a979-ac78a9b3bcd2.png" alt class="image--center mx-auto" /></p>
<p>You have successfully ssh into your Linux VM through the password you created.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1692488504079/eacc7fe0-0ca1-44ff-951d-d704d8356ab9.png" alt class="image--center mx-auto" /></p>
<p>I hope this learning has added to you a great deal. I look forward to learning with you in the next edition of The Tech Merchant Blog.</p>
]]></content:encoded></item><item><title><![CDATA[Azure Resource Deployment; Management Tools and Features:]]></title><description><![CDATA[Welcome to the final series on this topic. Today, we would be looking at the last two of the most commonly used Azure resource management and deployment tools which are Azure Resource Management and Azure ARM Template. These two deployment resources ...]]></description><link>https://ezekiel-adesanya.hashnode.dev/azure-resource-deployment-management-tools-and-features-1-1</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/azure-resource-deployment-management-tools-and-features-1-1</guid><category><![CDATA[Cloud Computing]]></category><category><![CDATA[azurecloud]]></category><category><![CDATA[Microsoft]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Wed, 02 Aug 2023 03:26:24 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1690946687030/1f762eec-e386-4ff3-9d42-aadf30c907c8.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to the final series on this topic. Today, we would be looking at the last two of the most commonly used Azure resource management and deployment tools which are Azure Resource Management and Azure ARM Template. These two deployment resources are closely related in the Azure environment but perform different purposes and functions. Let's look at the first one which is;</p>
<h2 id="heading-azure-resource-management">Azure Resource Management.</h2>
<p>This is the deployment and management service provided by Microsoft Azure for organizing and managing resources in an Azure environment. It acts as a control plane that allows users to create, update, and delete resources in a consistent and unified manner and as a single logical unit.</p>
<p>ARM provides a declarative approach to resource management, enabling users to define the desired state of their infrastructure and applications and handles the underlying complexities to achieve that state. It helps with resource grouping, versioning, access control, and tagging. Highlighted below are the major features of ARM.</p>
<p><strong>Features of Azure Resource Manager (ARM).</strong></p>
<p>●<strong>Resource Group:</strong> ARM organizes resources into logical containers called "Resource Groups." Resource Groups are used to manage related resources as a single unit and to apply common lifecycle operations, such as deployment, monitoring, and access control, to all resources within the group.</p>
<p>●<strong>Template-based Deployment</strong>: ARM supports deployment templates, which are JSON (JavaScript Object Notation) files defining the resources and their configurations. Templates enable users to specify the infrastructure and configurations required for their applications and services, facilitating consistent and repeatable deployments.</p>
<p>●<strong>Declarative Model:</strong> ARM uses a declarative model, where users define the desired state of the resources they want to deploy, and ARM handles the process of achieving that state. This approach allows for operations, where multiple deployments of the same template result in the same end state.</p>
<p>●<strong>Resource Providers:</strong> ARM uses resource providers to interact with different types of Azure resources. Each resource type has an associated resource provider responsible for handling resource operations specific to that type.</p>
<p>●<strong>Access Control (RBAC):</strong> ARM integrates with Azure Active Directory (Azure AD) to provide Role-Based Access Control (RBAC). This allows administrators to grant appropriate permissions to users and groups for managing specific resources or resource groups.</p>
<p>●<strong>Tagging:</strong> ARM allows users to assign metadata tags to resources, enabling easy categorization, tracking, and management of resources based on custom-defined attributes.</p>
<p>●<strong>Managed Applications:</strong> ARM supports Managed Applications, which allow third-party developers to build and offer applications on top of Azure, making them available in the Azure Marketplace and allowing customers to deploy them directly through the Azure portal.</p>
<p>●<strong>Extensibility</strong>: ARM is extensible and integrates with various Azure services, tools, and third-party solutions to provide a comprehensive resource management experience.</p>
<h2 id="heading-azure-resource-management-template"><strong>Azure Resource Management Template.</strong></h2>
<p>An Azure Resource Manager template is a JSON (JavaScript Object Notation) file that defines the infrastructure and configuration of resources that you want to deploy in Azure. It's a declarative template that describes the desired state of the resources, rather than prescribing a series of steps to achieve that state. The template contains the definitions of resources, their properties, dependencies, and other settings necessary for the deployment.</p>
<p>Resource Manager templates are used to automate the deployment and configuration of Azure resources in a consistent and repeatable manner. They enable Infrastructure-as-Code (IaC) practices, where you define your infrastructure in code and version it using source control systems.</p>
<p>By using templates, you can create complex Azure environments, ensuring that all resources are deployed in the correct order and with the right configuration. Templates can be parameterized, allowing you to customize the deployment for different environments or scenarios.</p>
<p><strong>Features of Azure Resource Manager Template.</strong></p>
<p>●<strong>JSON Format:</strong> ARM templates are written in JSON format, which is a lightweight data-interchange format that is human-readable and easy to understand.</p>
<p>●<strong>Resource Definition:</strong> An ARM template consists of one or more resource definitions. Each resource definition specifies the details of an Azure resource to be deployed, including its type, name, location, properties, and any dependencies on other resources.</p>
<p>●<strong>Parameters:</strong> ARM templates can include parameters, allowing users to provide dynamic values during deployment. Parameters make templates reusable and customizable for different scenarios.</p>
<p>●<strong>Variables:</strong> Variables in ARM templates enable users to declare and use values that remain constant throughout the deployment. They can be used to store settings, configurations, or calculated values.</p>
<p>●<strong>Output:</strong> ARM templates can define outputs, which are values derived from the deployment that can be useful for post-deployment actions or for making information available to other resources.</p>
<p>●<strong>Functions:</strong> ARM templates support various built-in functions that can be used for expressions, calculations, and transformations of values within the template.</p>
<p>●<strong>Resource Group:</strong> Although not explicitly defined within the template, each deployment of an ARM template creates a resource group in which the resources specified in the template are grouped.</p>
<p>In summary, Azure Resource Manager (ARM) is the management framework, while Azure Resource Manager templates are JSON files used to define and automate the deployment of Azure resources in a declarative manner. ARM templates are an essential tool to implement Infrastructure-as-Code practices and maintain consistency and repeatability in your Azure deployments.</p>
<p>We have come to the end of the series on the topic of the Azure Resource Management and deployment tool. State tune for more interesting discoveries on the Azure cloud environment.</p>
]]></content:encoded></item><item><title><![CDATA[Azure Resource Deployment; Management Tools and Features:]]></title><description><![CDATA[Series 2
You are welcome to series 2(two) of the topic: Azure Resource Deployment; Management Tools and Features. In the first series, we looked at 2 Azure resource deployment and management tools which were the Azure Portal and Azure power shells an...]]></description><link>https://ezekiel-adesanya.hashnode.dev/azure-resource-deployment-management-tools-and-features-1</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/azure-resource-deployment-management-tools-and-features-1</guid><category><![CDATA[#AzureDevOps]]></category><category><![CDATA[azure certified]]></category><category><![CDATA[Azure]]></category><category><![CDATA[Cloud Computing]]></category><category><![CDATA[microsoft azure certification]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Sat, 29 Jul 2023 06:15:57 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1690604714077/efeb2192-a32e-416c-908e-7b162f985948.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="heading-series-2"><strong>Series 2</strong></h2>
<p>You are welcome to series 2(two) of the topic: Azure Resource Deployment; Management Tools and Features. In the first series, we looked at 2 Azure resource deployment and management tools which were the <strong>Azure Portal</strong> and <strong>Azure power shells</strong> and their features. In this series, we will continue by looking at more Azure Resources deployment and management tools. Azure Deployment tools we will be considering today are <strong>Azure Command Line Interface (CLI)</strong>; <strong>The Cloud Shell</strong> and the <strong>Azure Arc.</strong> Let's embark on this interesting discovery.</p>
<h2 id="heading-azure-command-line-interface-cli"><strong>Azure Command Line Interface (CLI) :</strong></h2>
<p>This is a cross-platform command-line tool provided by Microsoft to interact with and manage Microsoft Azure resources and services. It allows users to execute various commands to create, configure, and manage Azure resources without using the Azure portal or a graphical user interface. Like Azure PowerShell, the Azure CLI is a command-driven scripting environment that also uses the Azure REST API to execute management tasks in Azure. It is nearly identical to Azure PowerShell in capability and function, running on Windows, Linux, and Mac. It simply uses a different command syntax with which you might be more familiar as a Bash shell user in a Linux environment. Also, as with Azure PowerShell, you can run the Azure CLI in a web browser through the Azure Cloud Shell, giving you the capability to run the Azure CLI in scenarios where running it natively might not be possible or feasible.</p>
<h2 id="heading-features-of-azure-cli"><strong>Features of Azure CLI</strong></h2>
<p>●<strong>Cross-Platform:</strong> Azure CLI is designed to work on different operating systems, including Windows, macOS, and various Linux distributions, providing users with flexibility in their choice of development environment.</p>
<p>●<strong>Scripting and Automation:</strong> Azure CLI is commonly used for scripting and automation tasks, enabling users to automate the deployment and management of Azure resources.</p>
<p>●<strong>Azure Resource Manager (ARM) Integration:</strong> Azure CLI interacts with Azure Resource Manager (ARM), which is the deployment and management service for Azure resources. It allows users to manage resources using ARM templates and resource groups.</p>
<p>●<strong>Extensive Coverage:</strong> Azure CLI provides access to a broad range of Azure services, including virtual machines, storage accounts, networking resources, databases, web apps, AI and machine learning services, and more.</p>
<p>●<strong>Command Structure:</strong> Azure CLI uses a simple and consistent syntax with the following structure: az &lt;group&gt; &lt;command&gt; &lt;subcommand&gt;. Each command is designed to be self-descriptive, making it easier for users to discover and use different features.</p>
<p>●<strong>Interactive Mode:</strong> Azure CLI includes an interactive mode (az interactive) that offers a more user-friendly experience, allowing users to browse available commands and dynamically generate arguments.</p>
<p>●<strong>Integration with Azure Cloud Shell</strong>: Azure CLI is also available within Azure Cloud Shell, providing a browser-based command-line experience without requiring any local installation.</p>
<p>●<strong>Output Formats:</strong> Azure CLI supports multiple output formats, such as JSON, YAML, and table format, which can be helpful when scripting or parsing the command output.</p>
<p>●Authentication: Users can authenticate with Azure CLI using their Azure account credentials, service principals, or managed identities, depending on the scenario and requirements.</p>
<p>●<strong>Version Control Integration:</strong> Azure CLI commands can be integrated with version control systems like Git to manage scripts and configurations effectively.</p>
<h2 id="heading-azure-cloud-shell">Azure Cloud Shell</h2>
<p>This is a browser-based command-line interface (CLI) provided by Microsoft Azure. It enables users to access a pre-configured shell environment directly from the Azure portal, without requiring any additional setup or installation on their local machines. Azure Cloud Shell supports both PowerShell and Bash command-line environments, providing a familiar and consistent experience for users. Below is what the Azure Cloud Shell environment looks like when is being accessed via the Azure Portal.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690610231008/8849b3b0-1080-43b1-b3a5-280bd0048b7d.jpeg" alt class="image--center mx-auto" /></p>
<h2 id="heading-features-of-azure-cloud-shell"><strong>Features Of Azure Cloud Shell,</strong></h2>
<p>●<strong>Cross-Platform:</strong> Azure CLI is designed to work on different operating systems, including Windows, macOS, and various Linux distributions, providing users with flexibility in their choice of development environment.</p>
<p>●<strong>Scripting and Automation:</strong> Azure CLI is commonly used for scripting and automation tasks, enabling users to automate the deployment and management of Azure resources.</p>
<p>●<strong>Azure Resource Manager (ARM) Integration:</strong> Azure CLI interacts with Azure Resource Manager (ARM), which is the deployment and management service for Azure resources. It allows users to manage resources using ARM templates and resource groups.</p>
<p>●<strong>Extensive Coverage:</strong> Azure CLI provides access to a broad range of Azure services, including virtual machines, storage accounts, networking resources, databases, web apps, AI and machine learning services, and more.</p>
<p>●<strong>Command Structure:</strong> Azure CLI uses a simple and consistent syntax with the following structure: az &lt;group&gt; &lt;command&gt; &lt;subcommand&gt;. Each command is designed to be self-descriptive, making it easier for users to discover and use different features.</p>
<p>●<strong>Interactive Mode:</strong> Azure CLI includes an interactive mode (az interactive) that offers a more user-friendly experience, allowing users to browse available commands and dynamically generate arguments.</p>
<p>●<strong>Integration with Azure Cloud Shell</strong>: Azure CLI is also available within Azure Cloud Shell, providing a browser-based command-line experience without requiring any local installation.</p>
<p>●<strong>Output Formats:</strong> Azure CLI supports multiple output formats, such as JSON, YAML, and table format, which can be helpful when scripting or parsing the command output.</p>
<p>●Authentication: Users can authenticate with Azure CLI using their Azure account credentials, service principals, or managed identities, depending on the scenario and requirements.</p>
<p>●<strong>Version Control Integration:</strong> Azure CLI commands can be integrated with version control systems like Git to manage scripts and configurations effectively.</p>
<h2 id="heading-azure-arc">Azure Arc</h2>
<p>This is a set of Azure services that extend Azure's capabilities beyond the Azure cloud to on-premises environments and multi-cloud environments. It enables customers to manage and govern resources that are not part of the Azure cloud, bringing Azure services and management tools to their own data centre, edge locations, and other cloud providers.</p>
<h2 id="heading-features-of-azure-arc">Features of Azure Arc.</h2>
<p>●<strong>Azure Arc-enabled Services:</strong> Azure Arc allows customers to deploy and manage Azure services such as Azure Kubernetes Service (AKS), Azure App Service, Azure Data Services (e.g., Azure SQL Database), and more on their own infrastructure. This brings the benefits of Azure services to on-premises and multi-cloud environments, providing a consistent management experience.</p>
<p>●<strong>Hybrid Resource Management:</strong> With Azure Arc, organizations can use the Azure portal, Azure Policy, and other Azure management tools to manage resources across their hybrid cloud environments, including both Azure cloud resources and on-premises resources.</p>
<p>●<strong>Azure Arc-enabled Kubernetes:</strong> Azure Arc enables customers to connect and manage Kubernetes clusters running in various environments, such as on-premises or other cloud providers, using Azure Kubernetes Service (AKS). This provides centralized management, monitoring, and security for these clusters.</p>
<p>●<strong>Azure Policy and Governance:</strong> Azure Arc extends Azure Policy to on-premises and multi-cloud environments, allowing organizations to enforce compliance policies consistently across all their resources, regardless of their location.</p>
<p>●<strong>Data Services Everywhere:</strong> With Azure Arc, customers can deploy and manage Azure data services, like Azure SQL Managed Instance and Azure PostgreSQL Hyperscale, on their own infrastructure, enabling modern data platform capabilities anywhere.</p>
<p>●<strong>Inventory and Monitoring:</strong> Azure Arc provides a centralized inventory and monitoring solution, giving organizations a unified view of their resources, whether they are in the Azure cloud or spread across hybrid and multi-cloud environments.</p>
<p>●<strong>Security and Compliance:</strong> By extending Azure security features to hybrid environments, Azure Arc helps organizations maintain security and compliance standards consistently across their entire infrastructure.</p>
<p>●<strong>Cost Management:</strong> Azure Arc also brings cost management capabilities to hybrid environments, enabling organizations to analyze, optimize, and govern costs for resources running outside of the Azure cloud.</p>
<p>This will be where we stop this second series of Azure Resource Management and Tools. In our next series which will be the last series on this topic, we would look at additional resource management tools in the Azure environment. I hope you have enjoyed the series of learning so far. I look forward to new learning snd discoveries with you in our next series.</p>
]]></content:encoded></item><item><title><![CDATA[Azure Resource Deployment; Management Tools and Features:]]></title><description><![CDATA[Series 1.
Welcome to today's learning on the Tech Merchant Blog. Today, we are going to start a series of learning that bothers resource management and deployment on Microsoft Azure. Azure is a very rich, complex offering. As the number of services a...]]></description><link>https://ezekiel-adesanya.hashnode.dev/azure-resource-deployment-management-tools-and-features</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/azure-resource-deployment-management-tools-and-features</guid><category><![CDATA[#AzureDevOps]]></category><category><![CDATA[azure certified]]></category><category><![CDATA[Azure Functions]]></category><category><![CDATA[Cloud Computing]]></category><category><![CDATA[Web Development]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Thu, 27 Jul 2023 23:17:25 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1690476738674/ec99a4eb-a9f4-4c11-ae1b-cd535538a416.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3 id="heading-series-1"><strong>Series 1</strong>.</h3>
<p>Welcome to today's learning on the Tech Merchant Blog. Today, we are going to start a series of learning that bothers resource management and deployment on Microsoft Azure. Azure is a very rich, complex offering. As the number of services and resources rises, so does the complexity of deploying and managing resources. Fortunately, Azure offers multiple methods for managing the resources in your Azure environment. In most cases, you can use one of several management tools for the same task, enabling you to choose a tool that offers the appropriate balance between ease and functionality. This series explores the management tools available in Azure and helps you put them to use to gain some experience in creating and managing your own Azure resources.</p>
<p>In today's series, we would look at 2 (two) of the Azure resources and management tools that are commonly used in the Azure environment while the others would be examined in subsequent learning. The 2 Azure resources and management tools we would be considering today are :</p>
<h2 id="heading-1-azure-portal"><strong>1: Azure Portal</strong></h2>
<p>It is the web-based graphical user interface (GUI) provided by Microsoft for managing various services and resources on the Microsoft Azure cloud platform. It serves as a central hub where users can access and configure their Azure resources, monitor their applications, and interact with different services.</p>
<p>When choosing a management tool for Azure, the most important considerations for the Azure portal are ease of use and visualization. The Azure portal is easy to use because it offers a familiar web-based user experience. It also provides a wealth of visualization tools and reports for understanding your Azure environment and managing it. One benefit of the Azure portal is that, as a web-based tool, it is available on most devices with a browser. So, if you need to create a VM from an Android laptop or tablet, doing so is as easy as on a Windows device. Fig 1.1 below shows what a typical Azure portal looks like.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690488095238/81ef4ffc-1e30-4d86-95bb-7c488233dc66.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-features-of-azure-portal"><strong>Features of Azure Portal:</strong></h2>
<p>Highlighted below are the features of Azure Portal.</p>
<p>●<strong>Dashboard:</strong> The Azure Portal offers a customizable dashboard where users can pin their frequently used resources, services, and metrics for quick access and monitoring.</p>
<p>●<strong>Resource Management</strong>: Users can create, configure, and manage various Azure resources such as virtual machines, databases, storage accounts, virtual networks, web apps, and more through the portal.</p>
<p>●<strong>Services and Solutions:</strong> Azure Portal provides access to a wide range of services and solutions offered by Azure, such as AI and machine learning, data and analytics, networking, security, and identity management, among others.</p>
<p>●<strong>Monitoring and Diagnostics</strong>: Users can monitor the performance and health of their applications and resources using various monitoring tools, charts, and metrics provided by Azure Monitor.</p>
<p>●<strong>Role-Based Access Control (RBAC)</strong>: Azure Portal supports RBAC, allowing administrators to assign specific roles and permissions to users and groups, controlling access to Azure resources and services.</p>
<p>●<strong>Notifications and Alerts:</strong> Users can configure notifications and alerts to receive important updates about the status of their resources, enabling them to respond promptly to any issues.</p>
<p>●<strong>Resource Groups:</strong> Resources can be logically organized using resource groups, making it easier to manage and apply consistent settings to related resources.</p>
<p>●<strong>Marketplace</strong>: Azure Marketplace can be accessed from the portal, where users can find and deploy a wide variety of applications and services provided by Microsoft and third-party vendors.</p>
<p>●<strong>Cost Management</strong>: Azure Cost Management features are accessible through the portal, helping users monitor and optimize their cloud spending.</p>
<h2 id="heading-2-azure-power-shell">2: Azure Power Shell:</h2>
<p>Azure PowerShell is a scripting environment that you can use to execute commands (called cmdlets, pronounced command-lets) that perform management tasks in Azure through the Azure REST API (Representational State Transfer Application Programming Interface). You can perform essentially any task in Azure using Azure PowerShell. You can also combine cmdlets into scripts to execute multiple commands to orchestrate more complex tasks. These scripts can be quite simple or very complex, potentially deploying hundreds of resources and supporting services in a very short period.</p>
<p>With Azure PowerShell, users can perform a wide range of tasks, such as creating and managing virtual machines, storage accounts, networking resources, web apps, databases, and more. It provides a powerful and flexible way to manage Azure resources programmatically.</p>
<p>Azure PowerShell is available on Windows, Linux, Mac, and ARM. You can also access Azure PowerShell through the Azure Cloud Shell, which we will be considering in subsequent series. in this chapter in the section “Azure Cloud Shell.”</p>
<h2 id="heading-features-of-azure-powershell">Features of Azure PowerShell</h2>
<p>●<strong>Azure Resource Management</strong>: Azure PowerShell allows users to interact with Azure Resource Manager (ARM) and use it to create, update, and delete resources within Azure. ARM is the deployment and management service for Azure resources and provides a consistent management layer for all Azure services.</p>
<p>●<strong>Automation and Scripting</strong>: PowerShell scripts can be written to automate various Azure tasks, enabling users to streamline repetitive operations and deploy complex configurations consistently.</p>
<p>●<strong>Integration with Azure Cloud Shell</strong>: Azure PowerShell is also available in the Azure Cloud Shell, a browser-based shell environment that provides access to Azure CLI, PowerShell, and various other tools.</p>
<p>●<strong>Azure Module</strong>: Azure PowerShell comes with a dedicated Azure module that provides cmdlets (PowerShell commands) specifically designed for working with Azure resources. These cmdlets abstract the underlying REST APIs and provide a more user-friendly interface.</p>
<p>●<strong>Authentication and Security</strong>: Azure PowerShell supports various methods of authentication, including using service principals, managed identities, or user credentials, to securely interact with Azure resources.</p>
<p>●<strong>Integration with Azure DevOps</strong>: Azure PowerShell can be integrated with Azure DevOps pipelines to automate continuous deployment and configuration management processes.</p>
<p>This will be the end of our learning in this new series of Azure Resource Deployment and Management tools on the Tech Merchant Blog. Watch out for more learning on this interesting topic in our subsequent series</p>
]]></content:encoded></item><item><title><![CDATA[Virtual Machine (VM) Creation on Azure Cloud.]]></title><description><![CDATA[Welcome to today's learning on the tech Merchant's Blog. Today, we delve a bit into technical learning through the creation of a resource on the cloud. This is a step further on our learning journey into the world of "cloud computing". At the moment,...]]></description><link>https://ezekiel-adesanya.hashnode.dev/virtual-machine-vm-creation-on-azure-cloud</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/virtual-machine-vm-creation-on-azure-cloud</guid><category><![CDATA[Cloud Computing]]></category><category><![CDATA[Azure]]></category><category><![CDATA[virtual machine]]></category><category><![CDATA[Microsoft]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Mon, 24 Jul 2023 01:03:53 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1690141436844/9df241d6-8a9a-4e18-a5da-c941e2911e5f.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome to today's learning on the tech Merchant's Blog. Today, we delve a bit into technical learning through the creation of a resource on the cloud. This is a step further on our learning journey into the world of "cloud computing". At the moment, we would be learning with one of the world's leading cloud service providers which is "Microsoft Azure" otherwise referred to as Azure. Working on Microsoft Azure would require an account subscription and sign-up. This could be done on <a target="_blank" href="https://portal.azure.com/">https://portal.azure.com/</a>. A successful sign-in after registration on the Azure portal will look like the picture below:</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690147307898/abced979-0ee8-4aab-8556-9ba69da02091.png" alt class="image--center mx-auto" /></p>
<p>After Successful sign-in, the steps below should be followed to create a Virtual Machine.</p>
<p>1: Look out for the Plus sign by the top left side under Azure Services and click.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690148262754/6092e67a-3294-4466-a546-5764b5de6701.jpeg" alt class="image--center mx-auto" /></p>
<p>2: A click on the plus sign will lead you to a page where you will see different resources that could be created. Since we intend to create a virtual machine, we click on create under the virtual machine resource that is displayed.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690148754982/31fb18d2-4081-4991-b598-8a3f155a6ca3.jpeg" alt class="image--center mx-auto" /></p>
<p>3: A click on "create" under the virtual machine will take you to another page where you can create a resource group under your listed Azure subscription. It is advisable to create a resource group in which the virtual machine will be located. The resource group could be created first before creating the Virtual machine and you can also create the resource group in the process of creating the virtual machine. The second option is being adopted for this learning.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690149189593/3ef955a6-3c22-490d-84ed-2dd39ef02801.jpeg" alt class="image--center mx-auto" /></p>
<p>4: Click on "Create new" under the resource group box to have a pop-up where you can give a name to the new resource group you want to create. For this learning, our new resource group was named "TechMerchant".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690150168560/cc1e69cf-3928-4cb0-8cc2-8aa78ac15732.jpeg" alt class="image--center mx-auto" /></p>
<p>5: Scroll down the page to give a name to the virtual machine you intend to create. Our Virtual machine name for this learning is "TechMerchant-VM".</p>
<p>6: Select the Azure region you would love the VM to reside. It is advisable you carefully choose a region that is in the shortest proximity to your location to avoid excessive charges. For our learning, we are choosing (Europe) UK South.</p>
<p>7: Select your Availability options based on your needs. For this learning, the least availability option was selected which is "no infrastructure redundancy required" because we only need it for just learning purposes.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690150585496/7b9c9a54-d6f0-4974-9162-d8e7bcd92793.jpeg" alt class="image--center mx-auto" /></p>
<p>8: Select the security type based on your unique scenario or business need. For learning, we select the "standard" option which is the least security option.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690152697458/bdcc165c-241f-43be-bb07-9ba48ba70aae.jpeg" alt class="image--center mx-auto" /></p>
<p>9: Select the operating system you would like to have on the Virtual Machine.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690153190332/62e6a856-776b-4fe1-a41f-1505dd988903.jpeg" alt class="image--center mx-auto" /></p>
<p>10: Select the suitable memory base on your need and unique requirement and scenario.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690161192511/156211ec-5de6-4742-81b8-3e78d1c6afc0.jpeg" alt class="image--center mx-auto" /></p>
<p>11: Scroll down to the Administration credentials i.e. the Username and unique password. For this learning, our user name credential is "TheTechMerchant".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690161245352/295d4427-5e63-4e9e-89f6-52e4e22ed511.jpeg" alt class="image--center mx-auto" /></p>
<p>12: Scroll down and ensure the inbound ports is RDP (3389). RDP simply means "Remote Desktop Protocol" It is a gateway that connects your local computer to the VM on the cloud and it is a prerequisite to hosting the Windows operating system on the cloud VM. Scroll down and tick the licensing box and click "next" to access the "Disk" page.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690163045859/d2a56bee-bf39-45b4-b993-e793ebb351a8.jpeg" alt class="image--center mx-auto" /></p>
<p>13: You can leave this page to default or modify the configuration based on unique requirements and scenarios. Click on Next to access the "networking" page.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690161336572/c6d5cc88-55ac-4474-9290-39ab6d39a3dc.jpeg" alt class="image--center mx-auto" /></p>
<p>14: The networking page could leave at default. Click on "next" to access the management page.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690161381442/911fa3db-4791-4092-bb5c-af4337c19fb9.jpeg" alt class="image--center mx-auto" /></p>
<p>15: The management page should be left by default. Click on "next" to access the "monitoring page"</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690161414753/7c96c675-5c1a-4337-9bc0-2e794eeae5b0.jpeg" alt class="image--center mx-auto" /></p>
<p>16: The "monitoring" page should be left by default. click on "next" to access the advanced setting page.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690161497944/e26cb17d-5d58-40aa-83e0-159af70fe96a.jpeg" alt class="image--center mx-auto" /></p>
<p>17: The Advance page should be left by default. Click on "next" to tag the resources accordingly. Click on Next to tag.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690161545328/8b4aedd4-9c72-47f1-b63d-7b083baac7db.jpeg" alt class="image--center mx-auto" /></p>
<p>18: Tag the Virtual Machine with a name and value that is suitable for you. Click "next" to review and create your VM.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690164332434/a582f833-a058-4739-9c38-e61437b3e3d4.jpeg" alt class="image--center mx-auto" /></p>
<p>19: Watch out for the message "validation Passed" to signify that the configuration so far is right then click on "create".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690161637030/65738764-bb94-45a1-9804-6ec49ede2f1a.jpeg" alt class="image--center mx-auto" /></p>
<p>20: Watch out for the message "Your deployment is complete" and click on "go to resource".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690161746005/f9608447-d485-4af1-85d0-e89695d86df7.jpeg" alt class="image--center mx-auto" /></p>
<p>21: This is the stage where you connect with your Virtual Machine. Click on "Connect".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690161786890/d5b2a47d-fb42-472c-b5bd-6ceb714f67fe.jpeg" alt class="image--center mx-auto" /></p>
<p>22: At this stage, ensure your local computer is RDP (Remote Desktop Protocol) enabled as it is a prerequisite to connecting local computers to the VM with the Windows operating system. Click on "Download RDP File".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690161828216/a63d0c28-7f66-4d0e-a0f9-b69d7f5ea54c.jpeg" alt class="image--center mx-auto" /></p>
<p>23: From your download pop-up, VM/RDP to have the remote desktop connector pop up and then click "connect".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690161854539/7e800936-1952-4d86-856d-510b63ab9ffb.jpeg" alt class="image--center mx-auto" /></p>
<p>24: Input the Administrators credentials i.e. the Username and password configured in step 11.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690161888464/4ba0820c-888c-45a8-9761-ec1701a5d003.jpeg" alt class="image--center mx-auto" /></p>
<p>25: Click on "Yes" on the Remote Desktop Connector pop-up.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690161916457/24f99a31-61b0-4904-a037-c2d1333de23a.jpeg" alt class="image--center mx-auto" /></p>
<p>We have successfully hosted a Virtual Machine on Microsoft Azure.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1690162103740/f886eb80-8501-4d5d-b709-f88483fdec6c.png" alt class="image--center mx-auto" /></p>
<p>I hope you enjoyed the learning journey of creating a virtual machine on Microsoft Azure. Stay tuned for more interesting learning and discovery on cloud computing. Until our next edition of the tech merchant blog, stay motivated.</p>
]]></content:encoded></item><item><title><![CDATA[Classification and Types of Cloud Computing Models.]]></title><description><![CDATA[Let me welcome you to today's reading on the tech merchant blogs. Treated in the last edition of the tech merchant blogs was the concept of cloud computing and how it has helped relieved organisations with the challenge of on-the-premises data centre...]]></description><link>https://ezekiel-adesanya.hashnode.dev/classification-and-types-of-cloud-computing-models</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/classification-and-types-of-cloud-computing-models</guid><category><![CDATA[Cloud Computing]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[AWS]]></category><category><![CDATA[microsoft azure certification]]></category><category><![CDATA[Azure]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Tue, 18 Jul 2023 12:11:39 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1689636953683/b51dc483-4a37-4f9d-8b39-497dafa6b7ff.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Let me welcome you to today's reading on the tech merchant blogs. Treated in the last edition of the tech merchant blogs was the concept of cloud computing and how it has helped relieved organisations with the challenge of on-the-premises data centres and physical computing resources.</p>
<p>In today's blog, we will delve further into how cloud computing works by looking into the different classifications and types of cloud computing models.</p>
<p>According to <em>Jatinder Kumar</em> and <em>Ashutosh Kumar Singh</em> of the Department of Computer Applications National Institute of Technology Kurukshetra, India; in their publication <em>"Security and privacy-preservation of IOT data in cloud-fog computing environment</em>" published on research gate in December 2022, There are two major classifications of Cloud Computing which are based on Service and Deployments.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1689645641509/e9acecd6-eda1-4b8a-a501-2400979259d6.png" alt class="image--center mx-auto" /></p>
<p><strong>A: Classification of cloud computing by Service model:</strong></p>
<p>According to the diagram, the service model of cloud computing is in 3 (three) categories and they are:</p>
<p><strong>1: Infrastrastructure as a Service (Iaas):</strong></p>
<p>In this type of arrangement in cloud computing, the cloud service provider manages the infrastructure, actual servers, network, virtualization, and data storage through an internet connection. The user has access through an API or dashboard and essentially rents the infrastructure. The user manages things like the operating system, and apps, while the provider takes care of any hardware, networking, hard drives, data storage, and servers; and has the responsibility of taking care of outages, repairs, and hardware issues.</p>
<p><strong>2: Platform as a Service (Paas):</strong></p>
<p>Under this category, the hardware and an application-software platform are provided and managed by the cloud service provider, but the user handles the apps running on top of the platform and the data the app relies on. this type of scenario in cloud computing is majorly for developers and programmers, PaaS gives users a shared cloud platform for application development and management without having to build and maintain the infrastructure usually associated with the process.</p>
<p><strong>3: Software as a Service (SaaS):</strong></p>
<p>This is a category under the service model in cloud computing where the cloud service providers are responsible for the management and delivery of the software application for its users or subscribers. Typically, SaaS apps are web applications or mobile apps that users can access via a web browser. Software updates, bug fixes, and other general software maintenance are taken care by the cloud service provider for the user, and they connect to the cloud applications via a dashboard or API. SaaS also eliminates the need to have an app installed locally on each user’s computer, allowing greater methods of group or team access to the software.</p>
<p><strong>B: Classification of Cloud Computing Model by deployment.</strong></p>
<p>According to <em>Jatinder Kumar</em> and <em>Ashutosh Kumar Singh; the</em> cloud computing model by deployments is categorised into 4 (four):</p>
<p><strong>1 Private Cloud:</strong></p>
<p>This could be defined as cloud environments solely dedicated to a single end-user or group, All clouds become private clouds when the underlying IT infrastructure is dedicated to a single customer with completely isolated access. private clouds are those pools of computing resources that are offered via a private network of computers for the exclusive use of a single organization over a long period.</p>
<p>Under the private clouds, different scenarios could be adopted based on the peculiarity of the end user or subscriber's need. The different kinds of possible scenarios under the private cloud are:</p>
<h4 id="heading-managed-private-clouds"><strong>Managed private clouds</strong></h4>
<p>This is a scenario where end-user organisations create and use a private cloud that's deployed, configured, and managed by a third-party vendor. Managed private clouds are a cloud delivery option that helps enterprises with understaffed or underskilled IT teams provide better private cloud services and infrastructure.</p>
<h4 id="heading-dedicated-clouds"><strong>Dedicated clouds</strong></h4>
<p>this is a scenario where you have a cloud within another cloud. You can have a dedicated cloud on a private cloud. For example, an accounting department in an organisation could have its dedicated cloud within the organization's private cloud.</p>
<p><strong>2: Public Cloud:</strong></p>
<p>This refers to a set of computing services that are being provided over the Internet by third-party providers. In contrast to private clouds, public clouds offer a wide range of services that can be purchased or used by anyone interested in using or purchasing them. There are several cloud computing types with examples where these services are available free of charge or can be purchased on-demand, with users only paying per CPU cycle, storage, or bandwidth that is used.</p>
<p><strong>3: Hybrid Cloud:</strong></p>
<p>A hybrid cloud is just what it sounds like—a combination of public and private cloud environments. Specifically, and ideally, a hybrid cloud connects an organization's private cloud services and public clouds into a single, flexible infrastructure for running the organization’s applications and workloads.</p>
<p>The goal of a hybrid cloud is to establish a mix of public and private cloud resources with a level of orchestration between them that gives an organization the flexibility to choose the optimal cloud for each application or workload and to move workloads freely between the two clouds as circumstances change. This enables the organization to meet its technical and business objectives more effectively and cost-efficiently than it could with public or private cloud alone.</p>
<p><strong>4: Community Cloud:</strong></p>
<p>A community cloud is shared between/among organizations with a common goal or that fits into a specific community (professional community, geographic community, etc.). For example, a community cloud can belong to the government of a single country. Community clouds can be located both on and off the premises.</p>
<p>Below are other types of cloud deployment that are applicable based on unique scenarios and needs of business organisations.</p>
<p><strong>Multi-Cloud:</strong></p>
<p>Multicloud is the use of two or more clouds from two or more different cloud providers. Having a multi-cloud environment can be as simple as using email SaaS from one vendor and image editing SaaS from another. But when enterprises talk about multi-cloud, they're typically talking about using multiple cloud services—including SaaS, PaaS, and IaaS services—from two or more of the leading public cloud providers.</p>
<p><strong>Hybrid Multi-Cloud:</strong></p>
<p>Hybrid multi-cloud is the use of two or more public clouds together with a private cloud environment.</p>
<p>Organizations choose multi-cloud to avoid vendor lock-in, to have more services to choose from and to access more innovation. However, it should be considered that the more clouds that an organisation subscribe to; each with its own set of management tools, data transmission rates, and security protocols; the more difficult it can be to manage the organisation's environment. Multi-cloud management platforms provide visibility across multiple provider cloud services through a central dashboard, where development teams can see their projects and deployments, operations teams can keep an eye on clusters and nodes, and the cybersecurity staff can monitor for threats.</p>
<p>I Hope the above-explained information is helpful to you. Watch out for more updates and publications on Cloud Computing services on the tech merchant's blog.</p>
]]></content:encoded></item><item><title><![CDATA[How does Computing get into the cloud?]]></title><description><![CDATA[The question was what came straight into my mind the very first day I heard of the concept of "Cloud Computing".
I used to be a complete novice to technology not until the year 2021 when I started my journey of self-discovery in the tech space. It wa...]]></description><link>https://ezekiel-adesanya.hashnode.dev/how-does-computing-get-into-the-cloud</link><guid isPermaLink="true">https://ezekiel-adesanya.hashnode.dev/how-does-computing-get-into-the-cloud</guid><category><![CDATA[Cloud Computing]]></category><category><![CDATA[Azure]]></category><category><![CDATA[AWS]]></category><category><![CDATA[#cloudsolutionarchitect]]></category><dc:creator><![CDATA[Ezekiel Adesanya]]></dc:creator><pubDate>Tue, 18 Jul 2023 09:26:08 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/80sv993lUKI/upload/153957f4ae1b657bbc8f01759f20d744.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>The question was what came straight into my mind the very first day I heard of the concept of "Cloud Computing".</p>
<p>I used to be a complete novice to technology not until the year 2021 when I started my journey of self-discovery in the tech space. It was during a discussion with some colleagues in a software development company that I heard of Cloud Computing for the very first time and the explanation they gave me of the concept that day did more harm to my understanding than good and I know that there would be many who are currently in the shoe I was then and are curious to understand what the meaning of "Cloud Computing" is all about.</p>
<p>Let me start with a simple definition of what Cloud Computing is:</p>
<p>According to Microsoft, one of the tech giants, Cloud computing is the delivery of computing services over the Internet. Computing services include common IT infrastructure such as virtual machines, storage, databases, and networking.</p>
<p>Let's go back to what was happening before the era of Cloud Computing. Before the era of cloud computing, the traditional scenario of an organisation buying and maintaining a physical server base on business needs was the norm. The implication of this is the fact that there must be a location within the organisation's business space that is mapped out for housing the servers.</p>
<p>In such a situation, the challenge organisations face majorly is the challenge that is brought about by increasing business needs that would warrant buying more computer resources or more servers which will lead to looking for additional space until there is no space available. Organisations also have situations whereby they get more server space in preparation for future business needs or preparation for business peak periods thereby leading to unused server space for much of the time which will result in tying down capital that could better be utilized for better productive purposes.</p>
<p><strong>The Difference Cloud Computing introduced:</strong></p>
<p>To address the challenges being faced by organisations with having physical server houses otherwise known as data centres, we have some reputable technology giants known as "Cloud Service Providers" that undertake to take the headache of building and maintaining physical data centres off the radi of businesses to allow business leaders focus their time and energy on core business matters.</p>
<p>These Cloud service providers build their own giant data centres and compute resources on a very wide expanse of land across different locations across the world to host computing-based infrastructure and platform services for customer organizations who subscribed to having access to the computing resources through internet connectivity which is priced using various <a target="_blank" href="https://www.techtarget.com/searchstorage/definition/pay-as-you-go-cloud-computing-PAYG-cloud-computing">pay-as-you-go</a> subscription models. Customers are charged only for resources they consume, such as the amount of time a service is used or the storage capacity or virtual machines used.</p>
<p>We can otherwise say that cloud computing is the usage or access to another organisation's (Cloud Service Providers) physical computing resources, Servers or data centres on a rent basis through internet connectivity. This is what Cloud Computing is all about.</p>
<h2 id="heading-why-is-it-called-cloud-computing">Why is it called cloud computing?</h2>
<p>A fundamental concept behind cloud computing is that the location of the service, and many of the details such as the hardware or operating system on which it is running, are largely irrelevant to the user. It's with this in mind that the metaphor of the cloud was borrowed from old telecoms network schematics, in which the public telephone network (and later the internet) was often represented as a cloud to denote that the location didn't matter.</p>
<p>In subsequent blogs, we would be delving more into how cloud computing works and the different types of Cloud computing deployment and models.</p>
]]></content:encoded></item></channel></rss>