<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Omoniyi</title>
    <description>The latest articles on DEV Community by Omoniyi (@presh1).</description>
    <link>https://dev.to/presh1</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1583845%2F8d347a1e-9be7-452d-9026-2ee1211c3f4b.png</url>
      <title>DEV Community: Omoniyi</title>
      <link>https://dev.to/presh1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/presh1"/>
    <language>en</language>
    <item>
      <title>CLOUD RESOURCE DEPLOYMENT ON AZURE USING TERRAFORM</title>
      <dc:creator>Omoniyi</dc:creator>
      <pubDate>Sat, 05 Oct 2024 16:39:34 +0000</pubDate>
      <link>https://dev.to/presh1/cloud-resource-deployment-on-azure-using-terraform-26j2</link>
      <guid>https://dev.to/presh1/cloud-resource-deployment-on-azure-using-terraform-26j2</guid>
      <description>&lt;p&gt;&lt;strong&gt;TERRAFORM&lt;/strong&gt; &lt;br&gt;
it is an infrastructure as code (IaC) tool that lets you build, change, and version cloud and on-prem resources safely and efficiently. It leverages HashiCorp Configuration Language (HCL) syntax to construct configuration files, allowing users to specify details about their cloud infrastructure, including the cloud provider such as Azure, GCP, AWS etc. You can then use a consistent workflow to provision and manage all of your infrastructure throughout its lifecycle using the configuration file.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MAIN STAGES IN TERRAFORM&lt;/strong&gt;&lt;br&gt;
The core Terraform workflow consists of three stages:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Write:&lt;/strong&gt; You define resources, which may be across multiple cloud providers and services. For example, you might create a configuration file to deploy an application on virtual machines in a Virtual Private Cloud (VPC) network with security groups and a load balancer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Plan:&lt;/strong&gt; Terraform creates an execution plan describing the infrastructure it will create, update, or destroy based on the existing infrastructure and your configuration file.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Apply:&lt;/strong&gt; On approval, Terraform performs the proposed operations in the correct order, respecting any resource dependencies. For example, if you update the properties of a VPC and change the number of virtual machines in that VPC, Terraform will recreate the VPC before scaling the virtual machines.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HOW TO DEPLOY A VIRTUAL MACHINE IN AZURE USING TERRAFORM&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;PREREQUISITES&lt;/strong&gt;&lt;br&gt;
Before we begin, make sure you have the following prerequisites:&lt;br&gt;
&lt;strong&gt;Azure Subscription:&lt;/strong&gt; You need an active Azure subscription ID, Tenant ID, Azure Portal login details.&lt;br&gt;
&lt;strong&gt;Azure CLI:&lt;/strong&gt; Install the Azure Command-Line Interface to interact with Azure from the command line. &lt;br&gt;
&lt;strong&gt;Terraform:&lt;/strong&gt; Install Terraform on your local machine. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEPS TO DELOYMENT&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a working directory (folder) eg Terraform. located in C:\Users\Presh\Documents. This can also be created by using &lt;strong&gt;mkdir&lt;/strong&gt; command.&lt;/li&gt;
&lt;li&gt;Open Virtual Studio Code, Go to File menu and open the directory you created above&lt;/li&gt;
&lt;/ul&gt;

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

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

&lt;ul&gt;
&lt;li&gt;Create a file in the directory and name it &lt;strong&gt;main.tf&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Open up the file as there is no content in it.&lt;/li&gt;
&lt;li&gt;Copy a Virtual Machine configuration file sample from &lt;strong&gt;&lt;a href="https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_machine" rel="noopener noreferrer"&gt;https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_machine&lt;/a&gt;&lt;/strong&gt; and paste it in main.tf file.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Customize as desired, edit the VM Parameters, Resource Group Parameters, Network Parameters etc and save.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On Terminal, &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;run the command &lt;strong&gt;az login&lt;/strong&gt; to confirm active azure subscription and set up authentication. 
Choose the account you want to use
Choose which of the desired subscriptions by inputting the corresponding figure.&lt;/li&gt;
&lt;/ul&gt;

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

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

&lt;ul&gt;
&lt;li&gt;run the command &lt;strong&gt;terraform init&lt;/strong&gt; to initialize Terraform in the working directory. this will create a &lt;strong&gt;.terraform&lt;/strong&gt; folder  and &lt;strong&gt;.terraform,lock,hcl&lt;/strong&gt; file in the working directory&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;run the command &lt;strong&gt;terraform plan&lt;/strong&gt;. This reviews the contents of the configuration files and give a summary for validation.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;run the command &lt;strong&gt;terraform apply&lt;/strong&gt;. This performs the configuration file proposed operation in the correct order.&lt;/li&gt;
&lt;/ul&gt;

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

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

&lt;p&gt;Go to the Azure Portal and navigate to the Resource Groups section. You should see the newly created resource group, "acctestrg".&lt;/p&gt;

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

&lt;p&gt;To remove the resource created using terraform, &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;run the command terraform destroy&lt;/li&gt;
&lt;li&gt;type &lt;strong&gt;yes&lt;/strong&gt; at the subsequent prompt&lt;/li&gt;
&lt;/ul&gt;

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

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

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Following through the step-by-step procedures, we have successfully deployed a cloud infrastructure (virtual machine in this case),it could be any cloud infrastructure. Exploring through additional resources and hand-on will definitely firm you grip.&lt;/p&gt;

&lt;p&gt;Its been nice having you again. Its been Sunday Omoniyi aka Presh&lt;/p&gt;

</description>
    </item>
    <item>
      <title>USING ARM TEMPLATE TO DEPLOY A VIRTUAL MACHINE</title>
      <dc:creator>Omoniyi</dc:creator>
      <pubDate>Fri, 06 Sep 2024 20:21:55 +0000</pubDate>
      <link>https://dev.to/presh1/using-arm-template-to-deploy-a-virtual-machine-364h</link>
      <guid>https://dev.to/presh1/using-arm-template-to-deploy-a-virtual-machine-364h</guid>
      <description>&lt;p&gt;&lt;strong&gt;WHAT ARE ARM TEMPLATES?&lt;/strong&gt;&lt;br&gt;
ARM stands for Azure Resource Manager, which is Microsoft’s deployment and management service for Azure. You use the ARM management layer for creating, updating, and deleting Azure resources.  ARM templates are a form of infrastructure as code, a concept where you define the infrastructure you need to be deployed. You no longer need to click around the portal creating virtual machines or writing scripts to deploy a storage account. Instead, the template defines the resources, and the Azure ARM management layer is responsible for creating the infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;USES OF ARM TEMPLATE&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Its a repeatable sets of code that helps in multiple repetitive deployment&lt;/li&gt;
&lt;li&gt;It controls order of operations for deployment
removes the requirement of writing complicated deployment scripts to handle multiple deployment scenarios&lt;/li&gt;
&lt;li&gt;It reduces human errors enhances consistency&lt;/li&gt;
&lt;li&gt;It saves time by parallel deployment&lt;/li&gt;
&lt;li&gt;It can be used to deploy different resources in Azure eg Virtual Networks, Web Apps etc&lt;/li&gt;
&lt;li&gt;Its usable with other deployment scripts written in powershell or bash.
These and many more are other uses and advantages of using ARM Templates.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;DEPLOYMENT PROPER&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Log on to &lt;a href="http://www.Portal.azure.com" rel="noopener noreferrer"&gt;www.Portal.azure.com&lt;/a&gt; with your details&lt;/li&gt;
&lt;li&gt;Search for &lt;strong&gt;template&lt;/strong&gt; and select &lt;strong&gt;deploy a custom template&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Click on the any of the options&lt;/li&gt;
&lt;li&gt;select &lt;strong&gt;build your own template in the editor&lt;/strong&gt; if you have a customised .json file to upload as template
OR&lt;/li&gt;
&lt;li&gt;select any of the common templates depending on the kind of resource you want to deploy. This option was selected for this lecture.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;edit template&lt;/strong&gt; to edit the template to your custom taste 
OR&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;edit parameter&lt;/strong&gt; to edit some of the custom parameter in the chosen template. This option was selected for this lecture&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Customize some of the parameter to your choice and save&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Select/create a &lt;strong&gt;Resource Group&lt;/strong&gt;, input the &lt;strong&gt;username&lt;/strong&gt; and &lt;strong&gt;password&lt;/strong&gt;. You will observe that other parameters as edited in the parameter file have taken effect. Then select *&lt;em&gt;Review and Create
*&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

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

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

&lt;ul&gt;
&lt;li&gt;The system validates your settings and pops the image below, select &lt;strong&gt;create&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;The deployment of the virtual machine is in progress with every accompany resources&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;When the deployment is complete, select &lt;strong&gt;go to resource&lt;/strong&gt; to access the configuration of the deployed resources.&lt;/li&gt;
&lt;/ul&gt;

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

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

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

&lt;p&gt;Just like that, VM deployment with ARM Template completed.&lt;/p&gt;

&lt;p&gt;I hope You Have Added Value.&lt;/p&gt;

&lt;p&gt;Its Been Omoniyi, S&amp;gt; A. Precious (Presh) &lt;/p&gt;

</description>
    </item>
    <item>
      <title>WEB APP DEPLOYMENT WITH A CI/CD PIPELINE ON AZURE APP SERVICE USING GITHUB AND VS CODE</title>
      <dc:creator>Omoniyi</dc:creator>
      <pubDate>Fri, 06 Sep 2024 12:06:58 +0000</pubDate>
      <link>https://dev.to/presh1/web-app-deployment-with-a-cicd-pipeline-on-azure-app-service-using-github-and-vs-code-2nkf</link>
      <guid>https://dev.to/presh1/web-app-deployment-with-a-cicd-pipeline-on-azure-app-service-using-github-and-vs-code-2nkf</guid>
      <description>&lt;p&gt;Today's focus is to deploy an already built html file on Azure App Service using CI/CD Pipeline.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DEFINITION OF TERMS&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;WEB APP:&lt;/strong&gt;A web application (web app) is an application program that is stored on a remote server and delivered over the internet through a browser interface eg netflix, canva, pinterest, spotify etc.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AZURE APP SERVICE:&lt;/strong&gt; App Services are an interconnected pool of internal and external services, like containers that provide the platform to build and deploy web, mobile, or integration applications. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CI/CD PIPELINE:&lt;/strong&gt;CI/CD, which stands for continuous integration and continuous delivery/deployment, aims to streamline and accelerate the software development lifecycle.&lt;br&gt;
Continuous integration (CI) refers to the practice of automatically and frequently integrating code changes into a shared source code repository. Continuous delivery and/or deployment (CD) is a 2 part process that refers to the integration, testing, and delivery of code changes. Continuous delivery stops short of automatic production deployment, while continuous deployment automatically releases the updates into the production environment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. SET UP A LOCAL DEPOSITORY TO PUSH THE FILE&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Install VSCode&lt;/li&gt;
&lt;li&gt;Call up VSCode&lt;/li&gt;
&lt;li&gt;Open up the folder that has the file to be deployed
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmhdxtw03424oqqpiy1nf.png" alt="Image description" width="466" height="364"&gt;
&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;The file to be deployed is PreshWebApp.html and its resident in WEBSITE folder.&lt;/p&gt;

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

&lt;p&gt;On VSCode, go to the 3dots beside Run, select &lt;strong&gt;Terminal&lt;/strong&gt;, then select &lt;strong&gt;New Terminal&lt;/strong&gt;. This opens a terminal below, issue the following commands...&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;git init  - to make the WEBSITE folder a git repository&lt;/li&gt;
&lt;li&gt;git status  - to know git status if there are files yet to be added or already added. From the image below, there are 2 files yet to be added i.e Presh.txt and PreshWebApp.html.&lt;/li&gt;
&lt;li&gt;git add filename i.e PreshWebApp.html in this case&lt;/li&gt;
&lt;li&gt;git status  - this now shows that PreshWebbApp.html has been added.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;&lt;strong&gt;2. CREATE A REMOTE REPOSITORY AND GET FILE FROM LOCAL REPOSITORY&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go to &lt;a href="http://www.git.com" rel="noopener noreferrer"&gt;www.git.com&lt;/a&gt;, register and log in&lt;/li&gt;
&lt;li&gt;Create a Remote Repository &lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Enter the parameters of the proposed remote repository, make it public, add a read me file and create Repository  &lt;/p&gt;

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

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

&lt;p&gt;Copy the url of the remote repository, this is the direction that the vscode will be pointed to so as to connect to the remote repository&lt;/p&gt;

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

&lt;p&gt;Go back to VSCode to connect it to GitHub with the copied link.&lt;/p&gt;

&lt;p&gt;Issue the following commands&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;git commit -m " commit message"  - This command saves the file and gets set to be pushed to the remote repository&lt;/li&gt;
&lt;li&gt;git push (url of the remote repository) - This command pushes the file to the remote repository&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ol&gt;
&lt;li&gt;CREATE A WEB APP USING AZURE APP SERVICES&lt;/li&gt;
&lt;li&gt;Login to &lt;a href="http://www.portal.azure.com" rel="noopener noreferrer"&gt;www.portal.azure.com&lt;/a&gt;. Search for app services, click on app services from the drop down.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;Click on CREATE, then WEB APP&lt;/p&gt;

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

&lt;p&gt;Customize the parameters as below. &lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft4dpll27zsxrh9nqcmjl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft4dpll27zsxrh9nqcmjl.png" alt="Image description" width="759" height="541"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;Click on Create afterwards&lt;/p&gt;

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

&lt;p&gt;Click on GO TO RESOURCE to have an overview of the created Web App.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzwrurkrln5bkfu5iytte.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzwrurkrln5bkfu5iytte.png" alt="Image description" width="800" height="519"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. DEPLOY THE HTML FILE&lt;/strong&gt;&lt;br&gt;
At the overview page of the Web App, go to Deployment Center, Select the source of your file (ie the tool, GITHUB) and authorise&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6of59doxp70e4r7ae89t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6of59doxp70e4r7ae89t.png" alt="Image description" width="708" height="590"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on AUTHORISE AZURE APP SERVICE, this gives access to Azure App Service into GitHub to get the file for deployment. Enter all needed parameters.&lt;/p&gt;

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

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

&lt;p&gt;The Workflow file is as in the image. CI/CD procedures  for automation are as depicted in the file. This same file will be synced with GitHub for Git Action to implement also. Remember to save after all and done.&lt;/p&gt;

&lt;p&gt;Click on Browse to access the HTML file on the browser OR click the url on the DEFAULT DOMAIN in the webapp overview page.&lt;/p&gt;

&lt;p&gt;The same CI/CD workflow will be push to Git Action for implementation as below&lt;/p&gt;

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

&lt;p&gt;Its necessary to configure the deployment slot to all seamless integration and deployment so at to avoid reduce down time. It tells the percent to migrate at the smell of new deployment.&lt;/p&gt;

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

&lt;p&gt;Below is the Deployment of PreshWebApp.html using Azure App Service&lt;/p&gt;

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

&lt;p&gt;Hope You Have Added Value.&lt;/p&gt;

&lt;p&gt;Its Been Omoniyi, S. A. Precious (Presh)&lt;/p&gt;

</description>
    </item>
    <item>
      <title>GIT: Pulling and Pushing Commits Using Git</title>
      <dc:creator>Omoniyi</dc:creator>
      <pubDate>Mon, 02 Sep 2024 19:40:12 +0000</pubDate>
      <link>https://dev.to/presh1/git-pulling-and-pushing-commits-using-git-31bk</link>
      <guid>https://dev.to/presh1/git-pulling-and-pushing-commits-using-git-31bk</guid>
      <description>&lt;p&gt;&lt;strong&gt;WHAT IS GIT?&lt;/strong&gt;&lt;br&gt;
The simple sentence to describe Git is to describe it as an Open Source Distributed Version Control System. Its really a simple sentence but all encompassing.&lt;/p&gt;

&lt;p&gt;Breaking it down...&lt;br&gt;
&lt;strong&gt;Distributed Version Control System:&lt;/strong&gt; This basically means that Git is a content tracker. So Git can be used to store content — it is mostly used to store code due to the other features it provides. Git has a remote repository which is stored in a server and a local repository which is stored in the computer of each developer. This means that the code is not just stored in a central server, but the full copy of the code is present in all the developers’ computers. Git is a Distributed Version Control System since the code is present in every developer’s computer at different locations around the world. &lt;br&gt;
The code which is stored in Git keeps changing as more code is added. Also, many developers can add code in parallel. So Version Control System helps in handling this by maintaining a history of what changes have happened.&lt;br&gt;
Version control system like Git is always needed to ensure there are no code conflicts between the developers.&lt;br&gt;
Additionally, the requirements in such projects change often. So a version control system allows developers to revert and go back to an older version of the code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HOW TO START UP WITH GIT&lt;/strong&gt;&lt;br&gt;
With the assumption that the system has Visual Studio Code running on it, Download git:&lt;br&gt;
The link below has details on how to install Git in multiple operating systems:&lt;br&gt;
&lt;a href="https://git-scm.com/book/en/v2/Getting-Started-Installing-Git" rel="noopener noreferrer"&gt;https://git-scm.com/book/en/v2/Getting-Started-Installing-Git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Open Visual Studio Code as ADMINISTRATOR&lt;br&gt;
As annotated, go to the &lt;strong&gt;three dots&lt;/strong&gt;, select &lt;strong&gt;Teminal&lt;/strong&gt;, Select &lt;strong&gt;New Terminal&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz7o16b9eenze81ri69rr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz7o16b9eenze81ri69rr.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A terminal, an interface to run command will be created as below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx58zwhjsg3boz4bhv675.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx58zwhjsg3boz4bhv675.png" alt="Image description" width="800" height="218"&gt;&lt;/a&gt;&lt;br&gt;
Run the following commands on the terminal...&lt;br&gt;
&lt;strong&gt;git version&lt;/strong&gt; (To confirm that git is installed on the system)&lt;br&gt;
&lt;strong&gt;git status&lt;/strong&gt; (To know the status of git and confirm if there is any pending commit)&lt;br&gt;
&lt;strong&gt;git config --global user.name "username" **eg "Presh2005"  as used&lt;br&gt;
**git config --global user.email "email address"&lt;/strong&gt; eg "&lt;a href="mailto:preciousinsight2@gmail.com"&gt;preciousinsight2@gmail.com&lt;/a&gt;"  as used&lt;br&gt;
&lt;strong&gt;mkdir folder name&lt;/strong&gt; to create a folder to work with eg GitLabPresh&lt;br&gt;
&lt;strong&gt;git init&lt;/strong&gt; to make the folder GitLabPresh a repository folder for git to operate...ie put git in it. This will create a .git hidden folder in GitLabPresh folder.&lt;/p&gt;

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

&lt;p&gt;From VSCode, Go call up the GitLabPresh Folder to work with as below&lt;br&gt;
and create the file you want to push to the remote repository in the folder.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6kcz3rvnpr3569yihkw0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6kcz3rvnpr3569yihkw0.png" alt="Image description" width="631" height="474"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb8ed718pm2872zaz7r6w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb8ed718pm2872zaz7r6w.png" alt="Image description" width="800" height="594"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd7j377m4pp4phm7og4gs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd7j377m4pp4phm7og4gs.png" alt="Image description" width="674" height="575"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note the content in the file Presh.docx&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4dlu0h86qdrjxxondy9f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4dlu0h86qdrjxxondy9f.png" alt="Image description" width="800" height="230"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Call up a new terminal as below, click on the dropdown to select the code editor of your choice&lt;/p&gt;

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

&lt;p&gt;Issue the the following commands...&lt;br&gt;
git.status - comfirm that there is a change yet to be committed ie Presh.docx&lt;br&gt;
git add . - this is to add the file Presh.docx&lt;br&gt;
git commit -m "commit message" - this is to save the changes in git &lt;/p&gt;

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

&lt;p&gt;Go to &lt;a href="http://www.github.com" rel="noopener noreferrer"&gt;www.github.com&lt;/a&gt; to create a repository in which Presh.docx will be resident&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3emohjw8vihoe9n74wf8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3emohjw8vihoe9n74wf8.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;Copy The Link Of the remote Repository &lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3faquolp4e0xf1jju7pg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3faquolp4e0xf1jju7pg.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Issue a git push command using url of the remote repository. This action creates a file or sends the changes to the replica file on the remote repository&lt;/p&gt;

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

&lt;p&gt;The committed file Presh.docx reflects on the remote repository and the content is the same as the one in the local repository&lt;/p&gt;

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

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

&lt;p&gt;We will add the content below to file in the remote repository and save.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;from the remote repository&lt;br&gt;
i can edit and i am confirming that your clain it true&lt;br&gt;
Keep it up&lt;br&gt;
Your are a good Devops engineer in the making&lt;br&gt;
Kindly note that you can now collaborate with your colleagues using GIT&lt;br&gt;
No git! No Collaboration!! No Devops&lt;br&gt;
Weldone&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;From VSCode, issue a git pull command to track changes at the remote repository. These changes immediately reflect on the Presh.docx above&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbvayofl3yj7e9y9wdixt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbvayofl3yj7e9y9wdixt.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Conclusively, it is clear that the steps to get starting with git, to create local and remote directories, to commit change from any vantage, and to pull or push across the repository is simpler than one would have thought of.&lt;/p&gt;

&lt;p&gt;On this note, happy reading.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>HOW TO CREATE AN AZURE VIRTUAL NETWORK WITH MULTIPLE SUBNETS USING SPECIFIED ADDRESS SPACE</title>
      <dc:creator>Omoniyi</dc:creator>
      <pubDate>Fri, 12 Jul 2024 15:53:05 +0000</pubDate>
      <link>https://dev.to/presh1/how-to-create-an-azure-virtual-network-with-multiple-subnets-using-specified-address-space-2ph2</link>
      <guid>https://dev.to/presh1/how-to-create-an-azure-virtual-network-with-multiple-subnets-using-specified-address-space-2ph2</guid>
      <description>&lt;p&gt;&lt;strong&gt;INTRODUCTION&lt;/strong&gt;&lt;br&gt;
An Azure Virtual Network is a service that provides the fundamental building block for your private network in Azure. An instance of the service (a virtual network) enables many types of Azure resources to securely communicate with each other, the internet, and on-premises networks. A virtual network is similar to a traditional network that you'd operate in your own datacenter but it brings extra benefits of the Azure infrastructure, such as scale, availability, and isolation which are actually beyond the scope of this write-up.&lt;/p&gt;

&lt;p&gt;When a network, big or small is divided or grouped into smaller categories, the smaller categories are called SUBNETS. Subnet is actually SUBNETWORK which means a part of the parent network but in a smaller representation. Network or subnetworks can be virtual as well as on-premise.&lt;/p&gt;

&lt;p&gt;The scope of this write-up is to use Azure resources to create virtual networks and create 4 nos of subnetworks from the virtual network, all these using a specified address range of 192.148.30.0/26. Lets start...&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. LOGIN TO AZURE PORTAL&lt;/strong&gt; with your login details, only then can you access the resources needed to carry out this task.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.CREATE VIRTUAL NETWORK&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the search bar, type virtual machine and select it from the dropdown menu as below&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7or92vx0pi6vfm9vg6sq.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7or92vx0pi6vfm9vg6sq.jpg" alt="First Step To Create Virtual Machine" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select_ &lt;strong&gt;CREATE&lt;/strong&gt;_ or &lt;em&gt;&lt;strong&gt;CREATE VIRTUAL NETWORK&lt;/strong&gt;&lt;/em&gt; as shown in the image below. any of the routes leads to the same destination&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Under the &lt;em&gt;&lt;strong&gt;BASIC&lt;/strong&gt;&lt;/em&gt;, &lt;em&gt;**_Project Details&lt;/em&gt;**_
*Select the desired subscription type (Azure Subscription 1 in this writeup)
*Create or Select the desired resource group ( INFOTECH for in this writeup)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Under Instant Details&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
   *Select the Virtual network unique name (ITEngineering for example)&lt;br&gt;
   *Select the preferred and available region and click NEXT to setup other parameters&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Under IP Addressing Menu,&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
   *Be sure the IP Address is IPv4&lt;br&gt;
   *Edit the address to the address space you want to work with&lt;br&gt;
   *Edit the subnet space too&lt;br&gt;
   *Remember to delete the default subnet, it can be edited to your spec though.&lt;/p&gt;

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

&lt;p&gt;At this stage, the configuration for the Virtual Network is completed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CREATE THE SUBNETS&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;After all the steps above, you will have a replica of the image as below, then select ADD A SUBNET.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;We are going to create 4 subnets as below&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;ITServersupport&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;ATMsupport&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;POSsupport&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;IToperations &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Kindly note that all these units are under IT Engineering&lt;/p&gt;

&lt;p&gt;When adding each of the subnets above, set the parameters as below...&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Subnet Purpose - Default&lt;/li&gt;
&lt;li&gt;Name - The Name of the subnetwork that you want to create ie each the 4 departmental names as listed above &lt;/li&gt;
&lt;li&gt;Be sure to select the version of the IP you want to run, IPv4 in this case.&lt;/li&gt;
&lt;li&gt;Starting address - This is the first IP of the address range you want to use&lt;/li&gt;
&lt;li&gt;Size - This determines how big each subnet will be. I want equal division of the 64 addresses in my address range into the 4 subnets, meaning each subnet has 16 addresses to work with.
&lt;/li&gt;
&lt;li&gt;Leave every other things as default and add.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The images below show the subnet for each of the department. Kindly note the changed names and IP address range.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Subnet for IT Server Support Unit&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgszp74ipjzgntuo7l1uo.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgszp74ipjzgntuo7l1uo.jpg" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;** Subnet for ATM Support Unit**&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj03tzm0ab0nyla1yd0oc.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj03tzm0ab0nyla1yd0oc.jpg" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Subnet for POS Support Unit&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq3zd7q3l5c8mjt36szv0.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq3zd7q3l5c8mjt36szv0.jpg" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Subnet for IT Operation Unit&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs971iybwsaw7ym1oa7ha.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs971iybwsaw7ym1oa7ha.jpg" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will observe that the left pane of &lt;strong&gt;ADD SUBNET&lt;/strong&gt; increases as we add another subnet for each of the added subnet and the image below shows that the four subnets for the four named units has been added to the configured Virtual Network, the select &lt;strong&gt;REVIEW +CREATE&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;At this stage, the Azure validates your parameters. If validation process is successful, it pops up a screen and tells you to  CREATE as below&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;After a while, Azure creates the virtual network as well as the 4 subnets and pops up the screen as below. At this stage, the deployment is successful.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Select** GO TO RESOURCE **to have an overview of the just created Virtual Network&lt;/li&gt;
&lt;/ul&gt;

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

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

&lt;ul&gt;
&lt;li&gt;To have an overview of the 4 subnets we just created, go to SETTING, then SUBNET&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;&lt;strong&gt;CONCLUSION&lt;/strong&gt;&lt;br&gt;
Its quite an easy task to create subnets using Azure portals but care should be taken when dealing with the address ranges.&lt;br&gt;
Its worth noting also that so many things can still be done on these virtual subnets like, peering, setting of firewall, creating Network Security Group, Application Security Group, DDoS Protection and all sort. We end here considering the scope of this write-up.&lt;/p&gt;

&lt;p&gt;Remember to cleanup unused resources on your Azure portal.&lt;/p&gt;

&lt;p&gt;Thanks&lt;br&gt;
Omoniyi, S. A. Precious &lt;/p&gt;

</description>
      <category>introduction</category>
      <category>virtualnetworks</category>
      <category>subnetworks</category>
    </item>
    <item>
      <title>HOSTING A STATIC WEBSITE</title>
      <dc:creator>Omoniyi</dc:creator>
      <pubDate>Fri, 05 Jul 2024 18:44:10 +0000</pubDate>
      <link>https://dev.to/presh1/hosting-a-static-website-2kgg</link>
      <guid>https://dev.to/presh1/hosting-a-static-website-2kgg</guid>
      <description>&lt;p&gt;&lt;strong&gt;INTRODUCTION&lt;/strong&gt;&lt;br&gt;
Static websites are the kind of websites that always maintain the same appearance to every of the users that access them at any point in point. It only changes when the website developer modifies the source file. Our task today is to host a website of sort on an Azure Blob Storage. This is divided into 4 major tasks as itemised and explained below with images.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CREATE A STORAGE ACCOUNT&lt;/strong&gt;&lt;br&gt;
1.Log on with your username and password to &lt;strong&gt;&lt;em&gt;&lt;a href="http://www.portal.azure.com" rel="noopener noreferrer"&gt;www.portal.azure.com&lt;/a&gt;&lt;/em&gt;&lt;/strong&gt; to have access to the needed resources.&lt;/p&gt;

&lt;p&gt;2.At the home page, select &lt;strong&gt;STORAGE ACCOUNT&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4pwtxyq7vbpqg8jm5j5z.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4pwtxyq7vbpqg8jm5j5z.jpg" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.Select &lt;strong&gt;CREATE&lt;/strong&gt; and then select &lt;strong&gt;CREATE STORAGE ACCOUNT&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvmwb1wkj6o8o04xnj73z.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvmwb1wkj6o8o04xnj73z.jpg" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Under &lt;strong&gt;PROJECT DETAILS&lt;/strong&gt;, Select the &lt;strong&gt;SUBSCRIPTION&lt;/strong&gt;,select an existing &lt;strong&gt;RESOURCE GROUP&lt;/strong&gt; or create a new one.&lt;/p&gt;

&lt;p&gt;5.Under &lt;strong&gt;INSTANCE DETAILS&lt;/strong&gt;, input the desired STORAGE ACCOUNT NAME and the preferred &lt;strong&gt;REGION&lt;/strong&gt; and leave others as default.  Leave other TAB as default and select &lt;strong&gt;REVIEW AND CREATE&lt;/strong&gt; as below.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4otxm1byo0agrpv16mkl.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4otxm1byo0agrpv16mkl.jpg" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.The system tries to validate all the inputs and pops error if any, if not, it comes up with the page below...select &lt;strong&gt;CREATE&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flar9f8vceu87m9yyd53i.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flar9f8vceu87m9yyd53i.jpg" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7.The system creates the storage account and all accompanying resources that will be needed. it pops up another page. Select &lt;strong&gt;GO TO RESOURCE&lt;/strong&gt; this will unveil the configuration of the created storage account.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzf3g3r9qh8rk5dpnqu3t.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzf3g3r9qh8rk5dpnqu3t.jpg" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;AT THIS STAGE AZURE STORAGE ACCOUNT HAS BEEN CREATED WITH THE NAME &lt;strong&gt;PRESHSTATICWEB&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ENABLE STATIC WEBSITE&lt;/strong&gt;&lt;br&gt;
The static website is not enabled by default and thus needs to be activated in three or four simple steps.&lt;/p&gt;

&lt;p&gt;1.From the created storage account, select &lt;strong&gt;CAPABILITY (7)&lt;/strong&gt; and then select &lt;strong&gt;ENABLE&lt;/strong&gt;&lt;/p&gt;

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

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

&lt;p&gt;2.After selecting ENABLE, it pops up 2 different fields to input the &lt;strong&gt;INDEX DOCUMENT NAME **(this is the name of the file for the host page) and the **ERROR DOCUMENT NAME&lt;/strong&gt; (This is the error page it will display for users to see in case of any error).&lt;/p&gt;

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

&lt;p&gt;3.Remember to save after this action. The system creates a web container ($Web), also includes the &lt;strong&gt;PRIMARY ENDPOINT&lt;/strong&gt; field and automatically fills the url for the static website as below, copy the url and make it handy for use soonest.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;UPLOAD THE FILES&lt;/strong&gt;&lt;br&gt;
After all well said and well done, the next step is to upload the files to the storage account for reference purpose. We will use the web container created above to upload the needed files for the task.&lt;/p&gt;

&lt;p&gt;CLick on $web and select &lt;strong&gt;upload&lt;/strong&gt; upload the necessary files via the pop-up screen and click on &lt;strong&gt;UPLOAD&lt;/strong&gt;&lt;/p&gt;

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

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

&lt;p&gt;At this stage, the needed files and folders are resident on the storage account for references.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TEST THE STATIC WEBSITE USING THE URL ON BROWSER&lt;/strong&gt;&lt;br&gt;
1.In the created static web, go to DATA MANAGEMENT/STATIC WEBSITE/PRIMARY ENDPOINT and copy the URL or use the copied URL in Step 3 above if its still handy&lt;/p&gt;

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

&lt;ol&gt;
&lt;li&gt;Open a web browser and paste the URL  for this example, &lt;a href="https://preshstaticweb.z1.web.core.windows.net/" rel="noopener noreferrer"&gt;https://preshstaticweb.z1.web.core.windows.net/&lt;/a&gt; and below is the static website&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;ALWAYS REMEMBER TO DELETE THE RESOURCES THAT ARE NOT NEEDED.&lt;/p&gt;

&lt;p&gt;Thanks for following, I promise more educating resources.&lt;/p&gt;

&lt;p&gt;I am Omoniyi, S.A. Precious A.K.A. Presh&lt;/p&gt;

</description>
      <category>createstorageaccount</category>
      <category>enablestaticwebsite</category>
      <category>uploadfiles</category>
      <category>testwebsiteusingurl</category>
    </item>
    <item>
      <title>AZURE VIRTUAL MACHINE SCALE SET (VMSS)</title>
      <dc:creator>Omoniyi</dc:creator>
      <pubDate>Thu, 27 Jun 2024 19:39:35 +0000</pubDate>
      <link>https://dev.to/presh1/azure-virtual-machine-scale-set-vmss-2lo3</link>
      <guid>https://dev.to/presh1/azure-virtual-machine-scale-set-vmss-2lo3</guid>
      <description>&lt;p&gt;&lt;strong&gt;INTRODUCTION TO VIRTUAL MACHINE SCALE SET&lt;/strong&gt;&lt;br&gt;
Azure Virtual Machine Scale Sets (VMSS) is a feature on the Azure portal that allows you create and manage a group of load balanced virtual machines (VM). The number of VM instances can automatically increase or decrease in response to demand or a defined schedule following a predifined setting. Scale sets provide the following key benefits:&lt;br&gt;
Easy to create and manage multiple VMs&lt;br&gt;
Provides high availability and application resiliency by distributing VMs across availability zones or fault domains&lt;br&gt;
Allows your application to automatically scale as resource demand changes&lt;br&gt;
Works at large-scale&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CREATION OF VIRTUAL MACHINE&lt;/strong&gt;&lt;br&gt;
You can deploy a scale set with a Windows Server image or Linux image, Ubuntu image was used in the training session.&lt;/p&gt;

&lt;p&gt;1.Type vmss in the search box. In the results, under services, select Virtual Machine Scale Sets. Select Create on the Virtual Machine Scale Sets page, which opens the Create a Virtual Machine Scale Set page.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fseovtntelwmxssxxbjqi.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fseovtntelwmxssxxbjqi.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2ltnsdxsvrs0w5lg9e6j.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2ltnsdxsvrs0w5lg9e6j.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.In the Basics tab, under Project details, make sure the correct subscription is selected and select the desired Resource Group from resource group list or or you create new, be sure the desire VM scale set name, the region and availability zone as desired too.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff0c6ga3cfqhfoxrs2n54.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff0c6ga3cfqhfoxrs2n54.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.Under Orchestration, ensure the &lt;strong&gt;Uniform option&lt;/strong&gt; is selected for Orchestration mode, &lt;strong&gt;standard&lt;/strong&gt; for security type and &lt;strong&gt;autoscaling&lt;/strong&gt; for scaling mode&lt;/p&gt;

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

&lt;p&gt;4.Select &lt;strong&gt;configure&lt;/strong&gt; under scaling configuration and get prepared to do the necessary configurations as in the images below&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpjsfm2whw6f3fjpkghkb.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpjsfm2whw6f3fjpkghkb.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

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

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

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

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

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

&lt;p&gt;5.Select the VMSS condition that you just configured. Select a marketplace image for Image. In this example, we have chosen Ubuntu Server 18.04 LTS.&lt;/p&gt;

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

&lt;p&gt;6.Select the desired scale-in policy. &lt;strong&gt;Newest VM&lt;/strong&gt; is the desired option in this example and click save&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4hk5qs2v2ril9fe6ask7.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4hk5qs2v2ril9fe6ask7.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7.Under Administration account, Enter your desired username, and select which authentication type you prefer. A Password must be at least 12 characters long and meet three out of the four following complexity requirements: one lower case character, one upper case character, one number, and one special character.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9093rlqcdzc8xtff42dp.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9093rlqcdzc8xtff42dp.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8.Select Next to move the other pages. Leave the defaults for the Disks page.&lt;/p&gt;

&lt;p&gt;9.On the Networking page, use a preferred network name or use default, under Load balancing, select the Use a load balancer option to put the scale set instances behind a load balancer.&lt;/p&gt;

&lt;p&gt;In Load balancing options, select Azure load balancer.&lt;/p&gt;

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

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

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

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

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

&lt;p&gt;In Select a load balancer, select the load balancer that you created earlier.&lt;/p&gt;

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

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

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

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

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

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

&lt;p&gt;10.When you're done, select Review + create.&lt;/p&gt;

&lt;p&gt;11.After it passes validation, select Create to deploy the scale set.&lt;/p&gt;

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

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

&lt;p&gt;12.Click to generate key and save it in a known location&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1av6iwdryda5c7oldvrl.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1av6iwdryda5c7oldvrl.jpg" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;13.It takes a few seconds before deployment is achieved. Thereafter, go to resource to check the configuration of the VMSS.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F82lkrrhxqdqogr7ug85i.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F82lkrrhxqdqogr7ug85i.jpg" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;To check the instances created, go to instances as below. it will show the number of instances created, 2 for this example.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fytc7c1zo39h7wznex362.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fytc7c1zo39h7wznex362.jpg" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;REMEMBER TO CLEAN UP RESOURCES WHEN YOU ARE DONE.&lt;/p&gt;

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

</description>
      <category>introductiontovmss</category>
      <category>creationofvmss</category>
    </item>
    <item>
      <title>HOW TO CREATE AND CONNECT TO A LINUX VM USING A PUBLIC KEY</title>
      <dc:creator>Omoniyi</dc:creator>
      <pubDate>Fri, 21 Jun 2024 20:35:22 +0000</pubDate>
      <link>https://dev.to/presh1/how-to-create-and-connect-to-a-linux-vm-using-a-public-key-2h1h</link>
      <guid>https://dev.to/presh1/how-to-create-and-connect-to-a-linux-vm-using-a-public-key-2h1h</guid>
      <description>&lt;p&gt;In this blog, you will be taught how to create a Linux Virtual Machine running on Ubuntu image, how to connect to the virtual machine through a SSH protocol using a Public Key and go the extra mile of creating a web application, connect to it using the public key and lastly browse the web server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SIGN IN TO AZURE PORTAL&lt;/strong&gt;&lt;br&gt;
To do anything on Azure portal, the first thing is to login to the portal (&lt;a href="http://www.portal.azure.com"&gt;www.portal.azure.com&lt;/a&gt;) with your sign in details (Username and Password). You may need to register and sign up if you are a new user.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CREATE A VIRTUAL MACHINE ON AZURE PORTAL&lt;/strong&gt;&lt;br&gt;
After signing in, the next thing to is to create VM. The steps are as detailed below with images and annotations&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Enter virtual machines in the search or select "Create a Resource" or select "Resource Group". any of the 3 will guide your steps.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F51oi56xyjlyc1p0hyq1n.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F51oi56xyjlyc1p0hyq1n.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select Virtual Machine&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzla9ez1bbpoacg8pzuow.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzla9ez1bbpoacg8pzuow.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In the Virtual machines page, select Create and then Virtual machine. The Create a virtual machine page opens.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faq27xq9na2wtbzxx2g8f.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faq27xq9na2wtbzxx2g8f.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In the Basics tab, under Project details, make sure the correct subscription is selected and then choose to Create new resource group or select an existing one. I entered PRENNIEX for sample purpose. Type in the preferred virtual name for your VM (PreshlinuxVM for me) , pick the other options as in the image&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0bihu1gtrrfpfquwuw35.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0bihu1gtrrfpfquwuw35.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Let the security type be standard and choose &lt;strong&gt;Ubuntu Server 22.04 LTS - Gen2&lt;/strong&gt; for your Image. This is one of the differences between Windows Vm and Linux VM.  Leave the other defaults. Size availability and pricing are dependent on your region and subscription. If you experience any error at any stage or during validation and its referencing the Region, please, option for another region.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyz6fz4g0cl51kmqj5ks1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyz6fz4g0cl51kmqj5ks1.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Choose the memory size of your VM&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3kfvtukg04k8hj34ibxk.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3kfvtukg04k8hj34ibxk.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Under Administrator account, select &lt;strong&gt;SSH public key&lt;/strong&gt;. This basically indicates that you want to connect to your VM using public keys.  In Username enter your desired username (&lt;strong&gt;PreshlinuxVM&lt;/strong&gt; for me). For SSH public key source, leave the default of &lt;strong&gt;Generate new key pair&lt;/strong&gt;, pick other options as in the image&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fduz198q1g3wjve0x2vil.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fduz198q1g3wjve0x2vil.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Under Inbound port rules &amp;gt; Public inbound ports, choose Allow selected ports and then select SSH (22) and HTTP (80) from the drop-down. Then choose, &lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe7xn0hveaxjxr341nqd6.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe7xn0hveaxjxr341nqd6.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
Leave the remaining defaults and then select the Review + create button at the bottom of the page.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When the Generate new key pair window opens, select Download private key and create resource. Your key file will be download as PreshlinuxVM.pem. Make sure you know where the .pem file was downloaded; you will need the path to it in the next step.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;When the deployment is finished, select Go to resource&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F944ynnso1a7edksgrl3o.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F944ynnso1a7edksgrl3o.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;On the page for your new VM, select the public IP address and copy it to your clipboard.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8g4kjzkj9m80x5xdumsh.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8g4kjzkj9m80x5xdumsh.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;CONNECT TO THE VIRTUAL MACHINE&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Go to windows, search for Powershell and run as administrator&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fddb1f6xm6rjpgt172hau.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fddb1f6xm6rjpgt172hau.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;At your prompt, open an SSH connection to your virtual machine. Replace the IP address with the one from your VM, and replace the complete path to the .pem ( for this sample, the path is &lt;strong&gt;&lt;em&gt;c:/user/prenniex/Downloads/PreshlinuxVM.pem&lt;/em&gt;&lt;/strong&gt;)  This is the path that the key file was downloaded. For sample sake, the command is as below&lt;br&gt;
&lt;em&gt;&lt;strong&gt;ssh -i c:/user/prenniex/Downloads/PreshlinuxVM.pem &lt;a href="mailto:PreshlinuxVM@40.84.55.12"&gt;PreshlinuxVM@40.84.55.12&lt;/a&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;INSTALL A WEBSERVER&lt;/strong&gt;&lt;br&gt;
To see your VM in action, install the NGINX web server. From your SSH session, first update your package sources and then install the latest NGINX package with the commands below&lt;br&gt;
&lt;em&gt;**sudo apt-get -y update&lt;br&gt;
sudo apt-get -y install nginx&lt;/em&gt;&lt;br&gt;
**&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmegy2pezfth2p3o2e3yf.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmegy2pezfth2p3o2e3yf.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;BROWSE THE WEBSERVER&lt;/strong&gt;&lt;br&gt;
Use a web browser of your choice to view the default NGINX welcome page. Type the public IP address of the VM as the web address. The public IP address can be found on the VM overview page or as part of the SSH connection string you used earlier.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3t66d7d5y714gg2icllj.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3t66d7d5y714gg2icllj.jpg" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DO NOT FORGET TO CLEAN UP RESOURSES BY DELETING RESOURCE GROUPS AND THE RESOURCES THAT ARE NOT NEEDED.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;GOODLUCK!&lt;/p&gt;

</description>
      <category>signintoazure</category>
      <category>createavirtualmachine</category>
      <category>connecttothevirtualmachine</category>
    </item>
    <item>
      <title>VIRTUAL MACHINE-VM PROVISION ON AZURE PORTAL</title>
      <dc:creator>Omoniyi</dc:creator>
      <pubDate>Fri, 14 Jun 2024 19:26:01 +0000</pubDate>
      <link>https://dev.to/presh1/virtual-machine-vm-provision-on-azure-portal-2d7e</link>
      <guid>https://dev.to/presh1/virtual-machine-vm-provision-on-azure-portal-2d7e</guid>
      <description>&lt;p&gt;&lt;strong&gt;WHAT ARE VIRTUAL MACHINES?&lt;/strong&gt; &lt;br&gt;
The easiest way to think of a virtual machine (VM) would be as a computer within a computer. Current technology and processing power now allow for easy creation of virtual computing environments within a “host on-prem” computer. VMs may be more sophisticated or less sophisticated compared to the host computer depending on configuration demands. VMs are not physical but virtual.  &lt;/p&gt;

&lt;p&gt;To create a Virtual Machine on an Azure portal, the following are the steps.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SIGN IN TO AZURE PORTAL&lt;/strong&gt;&lt;br&gt;
Its totally impossible to provision a VM on an Azure portal without logging in to the portal. You cant log in to the portal without having a an Azure Account/login detail. Azure account must be created if not created earlier and login details provided at the portal gateway as below&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;CREATE A VIRTUAL MACHINE&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;1.Enter The Virtual Machine:&lt;/strong&gt; After gaining access to the Azure portal, the next step is to get a way to start up the creation a the VM.&lt;/p&gt;

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

&lt;p&gt;There are 3 ways to start up the VM creation&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;By typing "Virtual Machine" in the search bar as in 1 in the diagram above&lt;/li&gt;
&lt;li&gt;By clicking on "Create Resource" as in 2 in the image above&lt;/li&gt;
&lt;li&gt;By clicking on "Virtual Machine " icon as in 3 in the image above&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2. In the Virtual Machines Page,&lt;/strong&gt; select Create (arrow 1) and then Azure virtual machine (arrow 2), then Create a virtual machine page opens.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;3. Under Instance Details:&lt;/strong&gt; Enter the desired name  for the Virtual machine name eg PreshVM (arrow 4 below), the desired Regions by proximity (arrow 5), Availability Option (arrow 6), Security Type (arrow 7), desired image of the windows (arrow 8), architecture of the virtual machine (arrow 9). All these basic configuration are based on requests, if in doubt others can be left as defaults.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;4. Under Administrator Account&lt;/strong&gt;: Provide a customized username, such as PreshVM and a password. The password must be at least 12 characters long and meet the defined complexity requirements. Confirm password by typing the same password as typed in the first password bar.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;5.Under Inbound Port Rules:&lt;/strong&gt; As shown ain the above diagram, Choose Allow selected ports to scrutinize the port way to the VM and then select RDP (3389) and HTTP (80) from the drop-down. These are set protocols and port rules for incoming traffics.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Licensing:&lt;/strong&gt;Check the box to confirm Windows Eligibility License.&lt;/p&gt;

&lt;p&gt;Kindly note that every of the steps in 1 to 6 are the basic configuration of the VM. All other option can be at default setting.&lt;/p&gt;

&lt;p&gt;Click on NEXT to peruse through all other configuration options under &lt;strong&gt;DISK, NETWORKING, MANAGEMENT, MONITORING,ADVANCED, TAG&lt;/strong&gt; for possible change of options. if none, the default setting is not a bad configuration too.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. Review And Create:&lt;/strong&gt; Select this option button at the bottom of the page or the last submenu after TAG. It will peruse, review through all the selections and option you have made, displace the financial implications as  its runs to validate stuffs. The system will request for your consent to CREATE the VM as below&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;8. Create:&lt;/strong&gt;On selecting the CREATE button, the system starts the deployment of the Virtual Machine. It will take a couple to minutes before this can be actualize. As this stage, other associated resources are created with the VM that would be created and the list will be displayed &lt;/p&gt;

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

&lt;p&gt;On completing this task, it displays the image below, then you can be sure that your deployment is complete.&lt;/p&gt;

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

&lt;p&gt;AFTER DEPLOYMENT, SELECT *&lt;em&gt;GO TO RESOURCE *&lt;/em&gt; this will allow you check the configuration of the Virtual Machine or any resource that you just created.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CONNECTING TO VIRTUAL MACHINE&lt;/strong&gt;&lt;br&gt;
Create a remote desktop connection to the virtual machine. These directions tell you how to connect to your VM from a Windows computer. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;On the overview page for your virtual machine, select the Connect &lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Click on DOWNLOAD RDP FILE&lt;/li&gt;
&lt;li&gt;SELECT "KEEP" ON THE DOWNLOADED PAGE
Open the downloaded RDP file and click Connect when prompted.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In the Windows Security window, select More choices and then Use a different account. Type the username as localhost\username, enter the password you created for the virtual machine, and then click OK.&lt;/p&gt;

&lt;p&gt;You may receive a certificate warning during the sign-in process. Click Yes or Continue to create the connection.&lt;/p&gt;

</description>
      <category>signintoazure</category>
      <category>createvirtualmachine</category>
      <category>connecttovirtualmachine</category>
    </item>
    <item>
      <title>CORE ARCHITECTURAL COMPONENTS OF AZURE By OMONIYI, S. A. PRECIOUS</title>
      <dc:creator>Omoniyi</dc:creator>
      <pubDate>Fri, 07 Jun 2024 09:04:32 +0000</pubDate>
      <link>https://dev.to/presh1/core-architectural-components-of-azure-12gc</link>
      <guid>https://dev.to/presh1/core-architectural-components-of-azure-12gc</guid>
      <description>&lt;p&gt;&lt;strong&gt;INTRODUCTION&lt;/strong&gt;&lt;br&gt;
The core architectural components of Azure may be broken down into two main groupings as below; &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The Physical Infrastructure &lt;/li&gt;
&lt;li&gt;The Management Infrastructure.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;1. THE PHYSICAL INFRASTRUCTURE&lt;/strong&gt;&lt;br&gt;
The physical infrastructure for Azure starts with datacenters. Conceptually, the datacenters are the same as large corporate datacenters. They’re facilities with resources arranged in racks, with dedicated power, cooling, and networking infrastructure.&lt;br&gt;
As a global cloud provider, Azure has datacenters around the world. However, these individual datacenters aren’t directly accessible. Datacenters are grouped into Azure Regions or Azure Availability Zones that are designed to help you achieve resiliency and reliability for your business-critical workloads.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;REGIONS&lt;/strong&gt;: A region is a geographical area on the planet that contains at least one, but potentially multiple datacenters that are nearby and networked together with a low-latency network. Azure intelligently assigns and controls the resources within each region to ensure workloads are appropriately balanced. When a resource is deployed in Azure, you'll often need to choose the region where you want your resource deployed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AVAILABILITY ZONES&lt;/strong&gt;: Availability zones are physically separate datacenters within an Azure region. Each availability zone is made up of one or more datacenters equipped with independent power, cooling, and networking. An availability zone is set up to be an isolation boundary. If one zone goes down, the other continues working. Availability zones are connected through high-speed, private fiber-optic networks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. THE MANAGEMENT INFRASTRUCTURE&lt;/strong&gt;&lt;br&gt;
The management infrastructure explains how the Azure Infrastructures are being managed, This includes Azure resources and resource groups, subscriptions, and accounts. Understanding the hierarchical organization will help in projects and products planning with within Azure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;RESOURCES&lt;/strong&gt;:A resource is the basic building block of Azure. Anything you create, provision, deploy, etc. is a resource. Virtual Machines (VMs), virtual networks, databases, cognitive services, etc. are all considered resources within Azure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;RESOURCE GRUOPS&lt;/strong&gt;:Resource groups are simply groupings of resources. When you create a resource, you’re required to place it into a resource group. While a resource group can contain many resources, a single resource can only be in one resource group at a time. Some resources may be moved between resource groups, but when you move a resource to a new group, it will no longer be associated with the former group. Additionally, resource groups can't be nested, meaning you can’t put resource group B inside of resource group A.&lt;/p&gt;

&lt;p&gt;Resource groups provide a convenient way to group resources together. When you apply an action to a resource group, that action will apply to all the resources within the resource group. If you delete a resource group, all the resources will be deleted. If you grant or deny access to a resource group, you’ve granted or denied access to all the resources within the resource group.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AZURE SUBSCRIPTIONS&lt;/strong&gt;:In Azure, subscriptions are a unit of management, billing, and scale. Similar to how resource groups are a way to logically organize resources, subscriptions allow you to logically organize your resource groups and facilitate billing. U&lt;br&gt;
sing Azure requires an Azure subscription. A subscription provides you with authenticated and authorized access to Azure products and services. It also allows you to provision resources. An Azure subscription links to an Azure account, which is an identity in Microsoft Entra ID or in a directory that Microsoft Entra ID trusts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AZURE RESOURCE MANAGER&lt;/strong&gt;:Azure Resource Manager (ARM)&lt;br&gt;
The deployment and management service for Azure&lt;br&gt;
Key Points&lt;br&gt;
● Provides a uniﬁed way to manage Azure resources ● Allows users to create, update, and delete resources as a group ● Uses templates to automate deployment&lt;/p&gt;

</description>
      <category>physicalinfrastructure</category>
      <category>managementinfrastructure</category>
    </item>
  </channel>
</rss>
