<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: etidoekom</title>
    <description>The latest articles on Forem by etidoekom (@etidoumossoh).</description>
    <link>https://forem.com/etidoumossoh</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%2F939037%2Ffcb41ba5-74dc-4ecf-a3b2-c2d155aa719e.JPG</url>
      <title>Forem: etidoekom</title>
      <link>https://forem.com/etidoumossoh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/etidoumossoh"/>
    <language>en</language>
    <item>
      <title>PRACTICE WITH DOCKER</title>
      <dc:creator>etidoekom</dc:creator>
      <pubDate>Sat, 12 Nov 2022 23:13:29 +0000</pubDate>
      <link>https://forem.com/etidoumossoh/practice-with-docker-2bak</link>
      <guid>https://forem.com/etidoumossoh/practice-with-docker-2bak</guid>
      <description>&lt;p&gt;*&lt;strong&gt;&lt;em&gt;Introduction&lt;/em&gt;&lt;/strong&gt;*&lt;br&gt;
This article will help you through docker configuration, downloading and building a container image. &lt;/p&gt;

&lt;p&gt;*&lt;strong&gt;&lt;em&gt;Prerequisites&lt;/em&gt;&lt;/strong&gt;*&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;You must have installed the VM ware Work Station Pro&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Downloaded and configured your Ubuntu Desktop. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;*&lt;strong&gt;&lt;em&gt;STEP ONE: Pasting URL&lt;/em&gt;&lt;/strong&gt;* &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Open your broswer and paste the URL:&lt;a href="https://docs.docker.com/engine/install/ubuntu/"&gt;https://docs.docker.com/engine/install/ubuntu/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ersYmHe6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/djaqajzk5qm392i6wgyc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ersYmHe6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/djaqajzk5qm392i6wgyc.png" alt="Firefox Browser" width="771" height="420"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If copied correctly, you should be presented with the page as shown below. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BzhorGEO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8ki3jq4v1r3tx1a65otd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BzhorGEO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8ki3jq4v1r3tx1a65otd.png" alt="Browser screen" width="760" height="496"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;*&lt;strong&gt;&lt;em&gt;STEP TWO: Setting up Repository&lt;/em&gt;&lt;/strong&gt;* &lt;/p&gt;

&lt;p&gt;The next step is to set up the docker repository to enable you install and update docker from the repository.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Copy and paste the following command on your terminal:&lt;br&gt;
*&lt;strong&gt;&lt;em&gt;sudo su&lt;/em&gt;&lt;/strong&gt;* &lt;br&gt;
The above command will require the password used in setting up the Ubuntu desktop. Once inputted, copy and paste the following commands accordingly: &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--EeCB6VaH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/deh2d24y847rf4zncekj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--EeCB6VaH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/deh2d24y847rf4zncekj.png" alt="command 1" width="512" height="149"&gt;&lt;/a&gt;&lt;br&gt;
Your screen should appear like this&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--LepjOx3E--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fgvc3fum0n4nnvzfmdx8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LepjOx3E--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fgvc3fum0n4nnvzfmdx8.png" alt="Setting up docker" width="747" height="292"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Next, copy and paste the paste the command to add Docker official GPG Key&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--G5Z6SlHk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ed87fpklhh8oodsvn3zs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--G5Z6SlHk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ed87fpklhh8oodsvn3zs.png" alt="Command 2" width="645" height="57"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1Q-is66q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j0a1ftswwwb7ih068ifz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1Q-is66q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j0a1ftswwwb7ih068ifz.png" alt="Adding Docker key" width="880" height="62"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Then, set up the repository with the code below
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AESQChQZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vnfz6liaht9jo4rk6nl4.png" alt="Command 3" width="693" height="84"&gt;
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iwuR5bYC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jnemjbtp1b3rok4zr5x6.png" alt="Set up repository" width="880" height="70"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;*&lt;strong&gt;&lt;em&gt;STEP THREE:Install Docker Engine&lt;/em&gt;&lt;/strong&gt;* &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;First you will have to update the &lt;em&gt;apt&lt;/em&gt; package index with the command below&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yaZItLhU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gx6cujetvnl5hm660kpx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yaZItLhU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gx6cujetvnl5hm660kpx.png" alt="Command 1" width="686" height="77"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FbIItA4S--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vxo4pbeq5ym1vos783dw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FbIItA4S--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vxo4pbeq5ym1vos783dw.png" alt="Update apt package index" width="880" height="149"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;After sucessfully updating, we will go with installing the latest version of your docker engine. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yfrss5qq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/62if9r1iqzf615x9ck37.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yfrss5qq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/62if9r1iqzf615x9ck37.png" alt="Command 2" width="692" height="76"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Fgiyl-Q3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r41n4md32qbuzbe8iqj0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Fgiyl-Q3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r41n4md32qbuzbe8iqj0.png" alt="Install latest version" width="880" height="259"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Next step is to verify the successful installation of your emgine by running the command below:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8OdFNx63--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n24fzvnfra1fvsdx44tu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8OdFNx63--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n24fzvnfra1fvsdx44tu.png" alt="Command 3" width="664" height="37"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ChUSK0L0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vf3m9eyn9h6i0czyhouq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ChUSK0L0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vf3m9eyn9h6i0czyhouq.png" alt="Successful installation" width="880" height="254"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;*&lt;strong&gt;&lt;em&gt;STEP FOUR: Download a Container Image&lt;/em&gt;&lt;/strong&gt;*&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Go to *&lt;strong&gt;&lt;em&gt;&lt;a href="https://hub.docker.com/"&gt;https://hub.docker.com/&lt;/a&gt;&lt;/em&gt;&lt;/strong&gt;*&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click on Explore and search for Nginx&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;On the left hand side of your screen, copy *&lt;strong&gt;&lt;em&gt;docker pull nginx&lt;/em&gt;&lt;/strong&gt;* &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--l2AhBdVc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wj518raipxj59cwbvuip.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--l2AhBdVc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wj518raipxj59cwbvuip.png" alt="Nginx" width="880" height="141"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Paste the copied command in your terminal and hit enter to download the container image in your local environment. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rMXJtndO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fo1qhmcrlmth8uwx1c8o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rMXJtndO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fo1qhmcrlmth8uwx1c8o.png" alt="Download Nginx in local environment" width="880" height="194"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;*&lt;strong&gt;&lt;em&gt;STEP FIVE: Start a Container Image&lt;/em&gt;&lt;/strong&gt;* &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;On your terminal, run the command *&lt;strong&gt;&lt;em&gt;docker run nginx --detach --publish-all nginx:latest&lt;/em&gt;&lt;/strong&gt;*&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cdyGRxu5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ljcdc5kc932umudebvgr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cdyGRxu5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ljcdc5kc932umudebvgr.png" alt="Run command" width="880" height="32"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run *&lt;strong&gt;&lt;em&gt;docker ps&lt;/em&gt;&lt;/strong&gt;* to display the port number &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--A6AcNVNv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y9d6gq5wh14wpw9hx4km.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--A6AcNVNv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y9d6gq5wh14wpw9hx4km.png" alt="Display Port" width="880" height="103"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run *&lt;strong&gt;&lt;em&gt;ip addr show&lt;/em&gt;&lt;/strong&gt;* to get the ip address of your machine&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--x9afdlcv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ax4gq57e2hzw4lduo7m8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--x9afdlcv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ax4gq57e2hzw4lduo7m8.png" alt="IP address" width="880" height="151"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Copy your IP address and port number. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--lv7TnqGB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oombvtqk7epnfdt7qo79.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--lv7TnqGB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oombvtqk7epnfdt7qo79.png" alt="IP address" width="880" height="111"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CChjTZ0R--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x37swdoeckhkddc6xqee.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CChjTZ0R--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x37swdoeckhkddc6xqee.png" alt="Port number" width="880" height="86"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go to your browser and type: *&lt;strong&gt;&lt;em&gt;ip address:port&lt;/em&gt;&lt;/strong&gt;* You show see something like the picture below&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--n5h6JQdI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bwrsvakx6wz6fy5gbabt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--n5h6JQdI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bwrsvakx6wz6fy5gbabt.png" alt="Welcome to nginx" width="880" height="272"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;*&lt;strong&gt;&lt;em&gt;STEP SIX: Build a Container Image&lt;/em&gt;&lt;/strong&gt;* &lt;/p&gt;

&lt;p&gt;Follow the  following steps to build the specified image. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Create a directory and change to the directory created by running the following command. In this tutorial, our directory will be named *&lt;strong&gt;&lt;em&gt;cloud&lt;/em&gt;&lt;/strong&gt;* &lt;br&gt;
*&lt;strong&gt;&lt;em&gt;mk dir cloud&lt;/em&gt;&lt;/strong&gt;*&lt;br&gt;
*&lt;strong&gt;&lt;em&gt;cd cloud&lt;/em&gt;&lt;/strong&gt;*&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--MW0_iIA2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ica1inaarr5q0lhp1wi0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--MW0_iIA2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ica1inaarr5q0lhp1wi0.png" alt="Create Directory" width="880" height="59"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a linux text document called *&lt;strong&gt;&lt;em&gt;Dockerfile&lt;/em&gt;&lt;/strong&gt;* using the command *&lt;strong&gt;&lt;em&gt;vim Dockerfile&lt;/em&gt;&lt;/strong&gt;*&lt;br&gt;
If done correctly, your screen should appear like the one below&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xo5aDY8a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j7xqlfk2pkahkimffjby.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xo5aDY8a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j7xqlfk2pkahkimffjby.png" alt="Dockerfile" width="880" height="493"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Paste the following into the text editor. N/B You can only input anything into the text editor by pressing your "I" button&lt;br&gt;
*&lt;strong&gt;&lt;em&gt;FROM&lt;/em&gt;&lt;/strong&gt;* ubuntu****&lt;br&gt;
*&lt;strong&gt;&lt;em&gt;MAINTAINER (your email address)&lt;/em&gt;&lt;/strong&gt;*&lt;br&gt;
*&lt;strong&gt;&lt;em&gt;CMD ['echo', 'hello world']&lt;/em&gt;&lt;/strong&gt;*&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--snSaFHGz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6vs1wjnwb13zafsvzht1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--snSaFHGz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6vs1wjnwb13zafsvzht1.png" alt="Text editor" width="831" height="294"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Press *&lt;strong&gt;&lt;em&gt;esc&lt;/em&gt;&lt;/strong&gt;&lt;em&gt;, *&lt;/em&gt;&lt;strong&gt;shift + :&lt;/strong&gt;&lt;strong&gt;, then type **&lt;/strong&gt;wq**** to save your text&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5_65PgmD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5uu5kbbwbb37km55lgds.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5_65PgmD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5uu5kbbwbb37km55lgds.png" alt="Save text" width="247" height="72"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Exit the text editor by pressing &lt;strong&gt;enter&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Build the container image using the following code &lt;br&gt;
*&lt;strong&gt;&lt;em&gt;docker build -t (name of your choice) .&lt;/em&gt;&lt;/strong&gt;*&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6WpGEul5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a7esrpkv0vsg4jks03od.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6WpGEul5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a7esrpkv0vsg4jks03od.png" alt="Build Container Image" width="761" height="381"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>azure</category>
      <category>beginners</category>
      <category>devops</category>
      <category>microservices</category>
    </item>
    <item>
      <title>VIRTUAL MACHINE SCALE SETS (VMSS) AND AVAILABILITY SET</title>
      <dc:creator>etidoekom</dc:creator>
      <pubDate>Fri, 04 Nov 2022 17:47:19 +0000</pubDate>
      <link>https://forem.com/etidoumossoh/virtual-machine-scale-sets-vmss-and-availability-set-24l</link>
      <guid>https://forem.com/etidoumossoh/virtual-machine-scale-sets-vmss-and-availability-set-24l</guid>
      <description>&lt;p&gt;A VMSS is a service offered by Azure that aids in the creation and management of several identical virtual machines. According to usage or a predetermined schedule, the number of VM instances can automatically increase or decrease.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What are the Benefits of VMSS?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;VMSS keeps your environment's configuration (VM size, disc configuration) uniform using the same basic OS image and parameters to produce all VM instances. This method frees you from additional configuration effort or network administration to manage hundreds of VMs. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It provides application resiliency and high availability. If ever one of the VM instances experiences an issue, Customers will still access your application through one of the other VM instances with little disruption.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;VMSS gives your application the ability to scale automatically as resource demand varies. Judging from your application’s customer demands, VM Scale Sets automatically increases or decreases the number of VM instances to match customer demand.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Its auto scale ability to reduce the number of superfluous VM instances that run your application when demand is low enables cost-reduction while still giving customers performance satisfaction. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;AVAILABILITY SETS&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Availability set is a logical grouping of virtual machines (VMs) to help Azure comprehend how you created your application that is hosted on the virtual machines in order to provide redundancy and availability. In other words, it ensures that virtual machines are deployed across multiple isolated hardware nodes in a cluster to help manage maintenance updates and hardware problems so resources do not all go down at once. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How Does Availability Set Work?&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Once two or more VMs are created within an availability set, each in your availability set is assigned an update domain and a fault domain by the underlying Azure platform.&lt;br&gt;
 &lt;br&gt;
The update domain is a collection of virtual computers that may be restarted or maintained simultaneously. System updates are ensured to be uninterrupted by the update domain. Each time an update domain is updated or restarted, it is given 30 minutes to recuperate before maintenance on another update domain is started.&lt;/p&gt;

&lt;p&gt;Fault domains define the group of virtual machines that share a common power source and network switch. The virtual machines that are set up in your availability configuration by default are dispersed across up to three fault domains by Azure. This strategy lessens the effects of any hardware malfunctions, network attacks, or power outages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Differences Between VMSS AND Availability Set&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;VMSS is used for unpredictable work load while Availability set works for predictable work loads.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;With VMSS, one can increase or decrease VMs based on demand while with Availability set, VMs can only be added upon creation. No modification or transfer can be made in and out of the set. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;VMSS consist of identical configured VMs created and spread across domains while Availability set can consist of distinct VMs with unique properties and identity spanned across domains&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>beginners</category>
      <category>tutorial</category>
      <category>cloud</category>
      <category>azure</category>
    </item>
    <item>
      <title>HOW TO CREATE A VIRTUAL MACHINE, CONNECT TO IT USING REMOTE DESKTOP AND INSTALL A WEB BROWSER- (MAC USERS)</title>
      <dc:creator>etidoekom</dc:creator>
      <pubDate>Fri, 28 Oct 2022 02:00:57 +0000</pubDate>
      <link>https://forem.com/etidoumossoh/how-to-create-a-virtual-machine-connect-to-it-using-remote-desktop-and-install-a-web-broswer-mac-users-4p8l</link>
      <guid>https://forem.com/etidoumossoh/how-to-create-a-virtual-machine-connect-to-it-using-remote-desktop-and-install-a-web-broswer-mac-users-4p8l</guid>
      <description>&lt;p&gt;One of the common ways to connect to an Azure VM is through the Remote Desktop Protocol. This article will take you through the steps in creating a remote desktop connection to your VM already created and running in Azure. &lt;/p&gt;

&lt;p&gt;STEP ONE: &lt;br&gt;
Open your web browser, navigate to portal.azure.com and sign in using your Azure credentials &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--AXIoRUxu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/53zmufbn4623ol756oh9.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AXIoRUxu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/53zmufbn4623ol756oh9.jpg" alt="Azure page" width="880" height="453"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;STEP TWO: &lt;br&gt;
Click on Virtual machines in the home page and then click create to see options for creating VMs in Azure. Click on the first option (Azure Virtual machine) and this will take you to create a virtual machine. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fIDlzxXG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0qt22rp68lrmb1rpxmx0.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fIDlzxXG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0qt22rp68lrmb1rpxmx0.jpg" alt="Creating a VM" width="880" height="384"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;STEP THREE: &lt;br&gt;
Under the Basics tab, fill in the appropriate information in your project details by first, selecting the correct subscription. For the resource group, you have the option of choosing existing resource groups earlier created using the drop-down option. If none, then click on the Create New option to create a new resource group. For this tutorial, we will use *&lt;em&gt;psr_group. *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--eR1H546B--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1fjm79139wt2gn5wdh9y.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--eR1H546B--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1fjm79139wt2gn5wdh9y.jpg" alt="Providing Project details" width="880" height="280"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Set up the instance details with the following information: &lt;br&gt;
• Virtual machine: &lt;strong&gt;windowsvm&lt;/strong&gt;&lt;br&gt;
• Region: From the drop-down icon, you have the option of selecting the region closest to you. This helps minimize network latency when connecting to your VM. For this tutorial, we will select &lt;strong&gt;(Europe) UK South&lt;/strong&gt;. &lt;br&gt;
• Image: Select Windows Server 2019 Datacenter- Gen 2&lt;br&gt;
• Size: Standard_DS1_V2 -1 vcpus, 3.5 GiB Memory &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--nftry-Aw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a4qnwak9xeedt7eveyfw.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nftry-Aw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a4qnwak9xeedt7eveyfw.jpg" alt="Setting up instance details" width="880" height="363"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, input a username and password of choice for the administrator account. This tutorial will use &lt;strong&gt;azureuser&lt;/strong&gt; as username. For the inbound rules, select allow selected ports and from the drop-down menu in select inbound ports, click HTTP and RDP before proceeding to click on Review + create. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Us5LKlIg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mp8fky28tvyxwf7yoy33.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Us5LKlIg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mp8fky28tvyxwf7yoy33.jpg" alt="Seeing up administrator account and port rules" width="880" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Upon selecting the Review +create button, it will run a final validation check for some minutes and if all details were inputted correctly, it will show a “validation passed” message on the top of the screen. When seen, click on create to finalize the creation and deployment of the VM. Once deployment is complete, you should see the VM page appear as the one below. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--GVivXQqN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3kpt34kn18irq4frt7wf.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GVivXQqN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3kpt34kn18irq4frt7wf.jpg" alt="Validation and deployment of VM" width="880" height="468"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;STEP FOUR: &lt;br&gt;
Click on Go to resource and this will take you to the overview page of the VM created. The overview page gives you a breakdown of information about your VM such as the resource group, Public IP address, size, status of your VM etc. Note that even though you may have successfully deployed your VM and the status shows running, you cannot make use of it until you connect to it. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--LjCNwgk9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yvdsl6x4f7up4r19ztqo.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LjCNwgk9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yvdsl6x4f7up4r19ztqo.jpg" alt="Accessing VM's information" width="880" height="382"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;STEP FIVE: &lt;br&gt;
While on the overview page, click on the connect option. It will give you a list of how you can connect to your VM. Select RDP and click on download RDP file. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--qisWe8Qz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j6gbdun28ojtbblswrum.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qisWe8Qz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j6gbdun28ojtbblswrum.jpg" alt="Downloading RDP file" width="880" height="397"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;STEP SIX:&lt;br&gt;
Once the RDP file is downloaded, double-click on the file to initiate connection to your VM. A pop-up screen demanding for username and password will appear. Enter the username: azureuser and the password you created for your administrator account. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1FbK4XyR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/001gvq27sfi0px1kkr1o.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1FbK4XyR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/001gvq27sfi0px1kkr1o.jpg" alt="Providing password and username" width="528" height="273"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, click continue when this next pop-up window appears. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--i-y3Jfi3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i87gln3h2h4rss31gtnq.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--i-y3Jfi3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i87gln3h2h4rss31gtnq.jpg" alt="Connecting to VM via RDP" width="602" height="192"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If successful, you will get to your VM’s desktop like the picture shown below. At this point, you can use the VM for any task just like your physical computer. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZKhiVaWv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oq9pbpwypojqdo0temil.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZKhiVaWv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oq9pbpwypojqdo0temil.jpg" alt="VM's Desktop" width="880" height="518"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;STEP SEVEN: &lt;br&gt;
Once logged into your VM’s desktop, click on the search icon and type PowerShell.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--t6_-NPGP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6exqy95axqzi836aqtn1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--t6_-NPGP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6exqy95axqzi836aqtn1.jpg" alt="Accessing PowerShell" width="880" height="505"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, right-click on Windows PowerShell ISE and select the Run as administrator option from the menu presented.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_1HlZOPt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0n9nrcxeq4gahqzxx886.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_1HlZOPt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0n9nrcxeq4gahqzxx886.jpg" alt="Run as administrator" width="845" height="609"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;STEP EIGHT: &lt;br&gt;
The picture below should appear on your screen next. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7lxI6rc_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/njlmavgo9t1xn80h682p.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7lxI6rc_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/njlmavgo9t1xn80h682p.jpg" alt="Loading PowerShell" width="880" height="513"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once seen, paste the following command in the box to install the webserver feature: *&lt;em&gt;Install-WindowsFeature Web-Server *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--SgnEIk-j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ydlsu8gum37t00hrrqld.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SgnEIk-j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ydlsu8gum37t00hrrqld.jpg" alt="webserver installation" width="880" height="516"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;STEP NINE: &lt;br&gt;
Upon completion of the instalment, your screen will display the following information attached below. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ie50CvG9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ct2lryvkj8fmjtz56uvg.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ie50CvG9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ct2lryvkj8fmjtz56uvg.jpg" alt="Successful installation" width="880" height="505"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Return to the overview page of your VM in your azure portal and copy your Public IP address. Run the copied address on a new browser page. If successful, your browser page should appear like the picture.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--voU-ld9S--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/emx6rnwl58gqqfsx4lkd.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--voU-ld9S--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/emx6rnwl58gqqfsx4lkd.jpg" alt="Access web browser" width="880" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;STEP TEN: &lt;br&gt;
After successfully connecting to your VM and installing a web browser, it is always advisable to clean up your resources to avoid being charged. To clean up, you will need to delete the VM or the resource group that houses all the resources used. To initiate a clean-up, navigate to your virtual machine page, tick the box on the lefthand-side next to your VM, and click on the Delete icon (top-right corner) to initialise deleting your VM. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pGqhuXx4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xsiefyjuesx70ha2jg16.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pGqhuXx4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xsiefyjuesx70ha2jg16.jpg" alt="Cleaning up resource" width="880" height="298"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A box will pop up requiring you to confirm deleting your VM. Type yes in the Confirm Delete box and select Delete. This will finalize the deleting of your VM, and you will not be charged for the resource. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7ZI0uyl_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qwyj3d14ql78mxw83mzx.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7ZI0uyl_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qwyj3d14ql78mxw83mzx.jpg" alt="Deleting VM" width="445" height="675"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;CONCLUSION &lt;br&gt;
In this tutorial, you have learnt how to create a VM and connect to your VM using the Remote Desktop as well as installing a web browser via PowerShell. &lt;/p&gt;

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