<?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: SethGiddy</title>
    <description>The latest articles on Forem by SethGiddy (@sethgiddy).</description>
    <link>https://forem.com/sethgiddy</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%2F912897%2F833c6f37-2403-4552-944b-116611e1c526.png</url>
      <title>Forem: SethGiddy</title>
      <link>https://forem.com/sethgiddy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/sethgiddy"/>
    <language>en</language>
    <item>
      <title>Getting Started with Docker.</title>
      <dc:creator>SethGiddy</dc:creator>
      <pubDate>Sat, 14 Sep 2024 20:37:42 +0000</pubDate>
      <link>https://forem.com/sethgiddy/getting-started-with-docker-4g4f</link>
      <guid>https://forem.com/sethgiddy/getting-started-with-docker-4g4f</guid>
      <description>&lt;p&gt;&lt;strong&gt;Containerize Your Node.js Todo List Application with Docker.&lt;/strong&gt;&lt;br&gt;
Containerizing applications can streamline development and deployment, and it’s simpler than it seems! In this guide, we’ll walk through the process of containerizing a basic Node.js todo list manager using Docker. Don’t worry if you’re new to Docker, this guide is designed to be beginner-friendly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;br&gt;
Before we dive in, make sure you have the following tools installed on your machine:&lt;/p&gt;

&lt;p&gt;-Docker Desktop: This is essential for building and running Docker containers.&lt;br&gt;
&lt;a href="https://docs.docker.com/desktop/install/windows-install/" rel="noopener noreferrer"&gt;https://docs.docker.com/desktop/install/windows-install/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;-Git Client: For cloning repositories.&lt;a href="https://git-scm.com/downloads" rel="noopener noreferrer"&gt;https://git-scm.com/downloads&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;-IDE or Text Editor: Docker recommends Visual Studio Code, but any editor will work. In this write up, I will be using VM workstation pro.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Getting the Application&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;A. Clone repo from Github&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;First, we need the source code for our application. We’ll be using a simple todo list manager that’s already prepared for us. To get this code, clone the repository using the command:&lt;/p&gt;

&lt;p&gt;First, we need to get the source code for the todo list manager. Open terminal and clone the repository using: git clone &lt;a href="https://github.com/docker/getting-started-app.git" rel="noopener noreferrer"&gt;https://github.com/docker/getting-started-app.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;B. Build the app’s image.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In order to containerize our application, we will need to create a Docker image using a Dockerfile. This file contains a set of instructions that Docker will use to build our container.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. CD into the getting-started-app directory&lt;/strong&gt;- Navigate to the getting-started-app directory and create a Dockerfile. Depending on your operating system, use one of the following commands: cd /path/to/getting-started-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%2F1ctj61bhaxikilx2njzq.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%2F1ctj61bhaxikilx2njzq.png" alt="Image description" width="800" height="107"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Create the Dockerfile&lt;/strong&gt;&lt;br&gt;
Navigate to the getting-started-app directory and create a Dockerfile. Depending on your operating system, use one of the following commands:&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%2Flxuydmhpmppbsultmyd6.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%2Flxuydmhpmppbsultmyd6.png" alt="Image description" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Add Instructions to the Dockerfile&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Open the Dockerfile with your text editor i.e VIM and add the following content: vim Dockerfile&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%2Fat6m5l9z620p92mwjefi.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%2Fat6m5l9z620p92mwjefi.png" alt="Image description" width="800" height="304"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here’s a brief overview of what each line does:&lt;/p&gt;

&lt;p&gt;Here's a brief overview of what each line does:&lt;/p&gt;

&lt;p&gt;FROM node:18-alpine: Specifies the base image with Node.js installed.&lt;br&gt;
WORKDIR /app: Sets the working directory inside the container.&lt;br&gt;
COPY . .: Copies the current directory contents into the container.&lt;br&gt;
RUN yarn install --production: Installs the application's dependencies.&lt;br&gt;
CMD ["node", "src/index.js"]: Defines the default command to run the application.&lt;br&gt;
EXPOSE 3000: Informs Docker that the container will listen on port 3000.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Build the Docker Image&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the terminal, we will use the bellow command to build the Docker image :&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%2Ft5ai87nepmuzbzk1ex0n.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%2Ft5ai87nepmuzbzk1ex0n.png" alt="Image description" width="800" height="129"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This command uses the Dockerfile to create an image named getting-started. The -t flag tags the image with a name, making it easier to refer to. The . at the end tells Docker to look for the Dockerfile in the current directory.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;C. Start the getting-started App Container&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now that your image is ready, we can run it as a container:&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%2Fd2m8cv3zro2h4wix0fgi.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%2Fd2m8cv3zro2h4wix0fgi.png" alt="Image description" width="800" height="115"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here’s what the flags mean:&lt;/p&gt;

&lt;p&gt;-d: Runs the container in the background.&lt;br&gt;
-p 127.0.0.1:3000:3000: Maps port 3000 of the container to port 3000 on your localhost.&lt;br&gt;
After running this command, we can access the todo list app by opening a browser and navigating to &lt;a href="http://localhost:3000" rel="noopener noreferrer"&gt;http://localhost:3000&lt;/a&gt;. The application is up and running. Without the port mapping, you wouldn’t be able to access the application from the host. Feel free to add items to your todo list and check that everything functions as expected.&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%2F78quh22cm01wixynbyfa.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%2F78quh22cm01wixynbyfa.png" alt="Image description" width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;D. Verify the Container&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To ensure that our container is running, we will use the Docker Dashboard or run: docker ps&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%2Flfmznxqd7r24538apsl2.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%2Flfmznxqd7r24538apsl2.png" alt="Image description" width="800" height="119"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The out will be 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%2F3ua2t0mhhutn7tlk33pb.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%2F3ua2t0mhhutn7tlk33pb.png" alt="Image description" width="800" height="122"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This will list all running containers. You should see our container with the getting-started image and port 3000 mapped correctly.&lt;/p&gt;

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

&lt;p&gt;Congratulations! You’ve successfully containerized a Node.js application. By creating a Dockerfile, building an image, and running a container, you’ve taken your first steps into Docker containerization. This process not only makes your application easier to deploy but also ensures consistency across different environments. Happy containerizing!&lt;/p&gt;

</description>
      <category>docker</category>
      <category>containerization</category>
      <category>dockerfile</category>
      <category>node</category>
    </item>
    <item>
      <title>**MICROSOFT APPLIED SKILL. Guided Project**</title>
      <dc:creator>SethGiddy</dc:creator>
      <pubDate>Tue, 09 Jul 2024 13:03:32 +0000</pubDate>
      <link>https://forem.com/sethgiddy/microsoft-applied-skill-guided-project-2m5b</link>
      <guid>https://forem.com/sethgiddy/microsoft-applied-skill-guided-project-2m5b</guid>
      <description>&lt;p&gt;: &lt;br&gt;
Exercise - Provide shared file storage for the company offices. Below is the architecture of shared file storage we are creating.&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%2Fji256ouckfr03ejwuylk.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%2Fji256ouckfr03ejwuylk.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The skill objective of this task is to;&lt;br&gt;
-Create a storage account.&lt;br&gt;
-Configure a file share and directory.&lt;br&gt;
-Configure snapshots and practice restoring files.&lt;br&gt;
-Restrict access to a specific virtual network and subnet.&lt;/p&gt;

&lt;p&gt;A. &lt;strong&gt;CREATE A STORAGE ACCOUNT AND CONFIGURE HIGH AVAILABILITY&lt;/strong&gt;.&lt;br&gt;
1.Create a storage account for the finance department’s shared files.&lt;/p&gt;

&lt;p&gt;-In the portal, search for and select Storage accounts.&lt;br&gt;
-Select + Create.&lt;br&gt;
-For Resource group select Create new. Give your resource group a name and select OK to save your changes.&lt;br&gt;
-Provide a Storage account name. Ensure the name meets the naming requirements.&lt;br&gt;
-Set the Performance to Premium.&lt;br&gt;
-Set the Premium account type to File shares.&lt;br&gt;
-Set the Redundancy to Zone-redundant storage.&lt;br&gt;
-Select Review and then Create the storage account.&lt;br&gt;
-Wait for the resource to deploy.&lt;br&gt;
-Select Go to resource.&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%2Ff9yegiz0s19zod4di59q.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%2Ff9yegiz0s19zod4di59q.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;B. &lt;strong&gt;Create and configure a file share with directory&lt;/strong&gt;.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a file share for the corporate office.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;-In the storage account, in the Data storage section, select the File shares blade.&lt;br&gt;
-Select + File share and provide a Name.&lt;br&gt;
-Review the other options, but take the defaults.&lt;br&gt;
-Select Create.&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%2Fq337jo5e0vmu88yt9amx.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%2Fq337jo5e0vmu88yt9amx.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Add a directory to the file share for the finance department. For future testing, upload a file.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;-Select your file share and select + Add directory.&lt;br&gt;
-Name the new directory finance.&lt;br&gt;
-Select Browse and then select the finance directory.&lt;br&gt;
-Notice you can Add directory to further organize your file share.&lt;br&gt;
-Upload a file of your choosing.&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%2Fwsl1nlzlilwi7aibb4b7.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%2Fwsl1nlzlilwi7aibb4b7.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;C. &lt;strong&gt;Configure and test snapshots.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Similar to blob storage, you need to protect against accidental deletion of files. You decide to use snapshots.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;-Select your file share.&lt;br&gt;
-In the Operations section, select the Snapshots blade.&lt;br&gt;
-Select + Add snapshot. The comment is optional. Select OK.&lt;br&gt;
-Select your snapshot and verify your file directory and uploaded file are included.&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%2Faqeqk72m4bpo2sh14mxo.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%2Faqeqk72m4bpo2sh14mxo.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;-Return to your file share.&lt;br&gt;
-Browse to your file directory.&lt;br&gt;
-Locate your uploaded file and in the Properties pane select Delete.&lt;br&gt;
-Select Yes to confirm the deletion.&lt;br&gt;
-Select the Snapshots blade and then select your snapshot.&lt;br&gt;
-Navigate to the file you want to restore,&lt;br&gt;
-Select the file and the select Restore.&lt;br&gt;
-Provide a Restored file name.&lt;br&gt;
-Verify your file directory has the restored file.&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%2Ffe2tcgylesmlrfyybzz2.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%2Ffe2tcgylesmlrfyybzz2.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;C. &lt;strong&gt;Configure restricting storage access to selected virtual networks.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;This tasks in this section require a virtual network with subnet. In a production environment these resources would already be created.
-Search for and select Virtual networks.
-Select Create. Select your resource group. and give the virtual network a name.
-Take the defaults for other parameters, select Review + create, and then Create.
-Wait for the resource to deploy.
-Select Go to resource.&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%2Fi5zb9nisfp0kzk50rusv.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%2Fi5zb9nisfp0kzk50rusv.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the Settings section.
-Select the Subnets blade.
-Select the default subnet.
-In the Service endpoints section choose Microsoft.Storage in the -Services drop-down.
-Do not make any other changes.
-Be sure to Save your changes.&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%2Fwckm5p8xvd61erjfh8b4.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%2Fwckm5p8xvd61erjfh8b4.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The storage account should only be accessed from the virtual network you just created. Learn more about using private storage endpoints..&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;-Return to your files storage account.&lt;br&gt;
-In the Security + networking section, select the Networking blade.&lt;br&gt;
    -Change the Public network access to Enabled from selected virtual networks and IP addresses.&lt;br&gt;
    -In the Virtual networks section, select Add existing virtual network.&lt;br&gt;
    -Select your virtual network and subnet, select Add.&lt;br&gt;
    -Be sure to Save your changes.&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%2Fliw23dyn8o4w332te51w.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%2Fliw23dyn8o4w332te51w.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;-Select the Storage browser and navigate to your file share.&lt;br&gt;
    -Verify the message not authorized to perform this operation.&lt;br&gt;
You are not connecting from the virtual network.&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%2Fxl8e5ggryedcus36joof.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%2Fxl8e5ggryedcus36joof.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>devops</category>
      <category>aws</category>
      <category>fileshare</category>
    </item>
    <item>
      <title>Simple steps on how to create a Windows 11 Virtual machine that is highly available, with a free tier azure account.</title>
      <dc:creator>SethGiddy</dc:creator>
      <pubDate>Tue, 09 Jul 2024 11:36:52 +0000</pubDate>
      <link>https://forem.com/sethgiddy/simple-steps-on-how-to-create-a-windows-11-virtual-machine-that-is-highly-available-with-a-free-tier-azure-account-2f33</link>
      <guid>https://forem.com/sethgiddy/simple-steps-on-how-to-create-a-windows-11-virtual-machine-that-is-highly-available-with-a-free-tier-azure-account-2f33</guid>
      <description>&lt;p&gt;In this short post I will explore creation of a highly available windows 11 virtual machine. Below are the steps to creating a windows 11 virtual machine. High availability refers to the ability of a system or application to remain operational and accessible even in the face of disruptions or failures. This is achieved through a combination of redundancy, failover mechanisms, and automatic recovery processes. Any or a combination of the following components will ensure high availability of azure cloud resources, to mention a few.&lt;br&gt;
-Availability Sets&lt;br&gt;
-Load Balancing&lt;br&gt;
-Virtual Machine Scale Sets&lt;br&gt;
-Backup and Restore&lt;br&gt;
I will discuss these concepts in a different post&lt;/p&gt;

&lt;p&gt;PART A&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;STEP 1. This is involves creating a free tier account on azure portal (&lt;a href="https://azure.microsoft.com/en-gb/free" rel="noopener noreferrer"&gt;https://azure.microsoft.com/en-gb/free&lt;/a&gt;) The free tier azure account comes with a $200 subscription credit from azure.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;STEP 2. Create Virtual machine. Search for the resources to be created (Virtual machine) from the search box on azure portal. Another way to get to the resources is by clicking all service.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;STEP 3. Select the correct subscription (free tier in this article), An Azure subscription is a logical container used to provision related business or technical resources in Azure. Choose an existing resource group or create a new one. A resource group is a container that holds related resources for an Azure solution. Add a create a name for the virtual machine. Select the number of availability zones desired. You can select up to 3 availability zones, this process will create multiple virtual machines.&lt;/p&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%2F7d39a5hndboh2ojoq1xj.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%2F7d39a5hndboh2ojoq1xj.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;STEP 4. Input all other necessary details require on the basic tab. The image for this write is Windows 11, memory size is the free tier. Complete the Administrator account section. Select SSH public key for the authentication type. Create a username for the virtual machine. For the public inbound ports select Allow selected port. Select RDP and  for inbound ports.&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%2Fwdeyf32e69vrsaeeobpq.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%2Fwdeyf32e69vrsaeeobpq.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;STEP 5. Click next button to disks, Networking, Management, Monitoring, Advanced, Tags review as desired and add resources if so desired. click Review + create, once validation passed click create.&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%2Fpys30d9am4ol4gxcf65z.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%2Fpys30d9am4ol4gxcf65z.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;STEP 6. The progress for creation of the virtual machine in 2 availability zones is shown 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%2Fptsu4fwoipphuvzyxf3u.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%2Fptsu4fwoipphuvzyxf3u.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;STEP 7.The newly created virtual machine will appear just like so. Click go to resource to access the virtual machine.&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%2F9t1ynsub3m9e5s32maun.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%2F9t1ynsub3m9e5s32maun.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;STEP 8. Click connect button and click connect from the drop down. I will be using RDP to connect to the virtual machine on my local machine. Click download RDP after the native RDP is configured. Enter admin name and password to connect.&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%2Fzvcnb9ooqlbq447kbtda.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%2Fzvcnb9ooqlbq447kbtda.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;STEP 9. Below is the virtual machine.&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%2Fni56p7u6pamlxlj87vjv.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%2Fni56p7u6pamlxlj87vjv.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;STEP 10. After connecting to the virtual on the local machine. We have to stop/delete the virtual machine depending on the purpose of usage and other factors. Stopping virtual machine will deallocate the resource.&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%2Fwhb6154a4hf8kgvtez6w.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%2Fwhb6154a4hf8kgvtez6w.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this write up I used just one component to make my resource highly available which is creating my virtual machine in 2 separate availability zones. I will be discussing the components of high availability in another post.&lt;/p&gt;

&lt;p&gt;Lastly, always remember to delete resources you are not currently using.&lt;/p&gt;

&lt;p&gt;This is not an exhaustive step to creating a high availability resource i.e virtual machine using to RDP connect.&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>MICROSOFT APPLIED SKILL. Guided Project:</title>
      <dc:creator>SethGiddy</dc:creator>
      <pubDate>Thu, 20 Jun 2024 22:47:56 +0000</pubDate>
      <link>https://forem.com/sethgiddy/microsoft-applied-skill-guided-project-4ci9</link>
      <guid>https://forem.com/sethgiddy/microsoft-applied-skill-guided-project-4ci9</guid>
      <description>&lt;p&gt;This is exercise 2b of the Microsoft Applied skill guided project.&lt;/p&gt;

&lt;p&gt;A. &lt;strong&gt;CREATE A STORAGE ACCOUNT AND CONFIGURE HIGH AVAILABILITY&lt;/strong&gt;.&lt;br&gt;
1.&lt;strong&gt;Create a storage account for the internal private company documents.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; In the portal, search for and select Storage accounts.&lt;/li&gt;
&lt;li&gt; Select + Create.&lt;/li&gt;
&lt;li&gt; Select the Resource group created in the previous lab.&lt;/li&gt;
&lt;li&gt; Set the Storage account name to private. Add an identifier to the name to ensure the name is unique.&lt;/li&gt;
&lt;li&gt; Select Review, and then Create the storage account.&lt;/li&gt;
&lt;li&gt; Wait for the storage account to deploy, and then select Go to resource.&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%2F7ns7uzdlqqjasioz3kp5.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%2F7ns7uzdlqqjasioz3kp5.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;In the storage account, in the Data management section, select the&lt;/li&gt;
&lt;li&gt;Redundancy blade.&lt;/li&gt;
&lt;li&gt;Ensure Geo-redundant storage (GRS) is selected.&lt;/li&gt;
&lt;li&gt;Refresh the page.&lt;/li&gt;
&lt;li&gt;Review the primary and secondary location information.&lt;/li&gt;
&lt;li&gt;Save your changes.&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%2Fvawm4s27b9qmnx0bddoj.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%2Fvawm4s27b9qmnx0bddoj.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;B. &lt;strong&gt;CREATE A STORAGE CONTAINER, UPLOAD A FILE, AND RESTRICT ACCESS TO THE FILE&lt;/strong&gt;.&lt;br&gt;
1.&lt;strong&gt;Create a private storage container for the corporate data&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the storage account, in the Data storage section, select the Containers blade.&lt;/li&gt;
&lt;li&gt; Select + Container.&lt;/li&gt;
&lt;li&gt; Ensure the Name of the container is private.&lt;/li&gt;
&lt;li&gt; Ensure the Public access level is Private (no anonymous access).&lt;/li&gt;
&lt;li&gt; As you have time, review the Advanced settings, but take the defaults.&lt;/li&gt;
&lt;li&gt; Select Create.&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%2Fz6bsm46rtcp6ett980ps.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%2Fz6bsm46rtcp6ett980ps.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt; Select the container.&lt;/li&gt;
&lt;li&gt; Select Upload.&lt;/li&gt;
&lt;li&gt; Browse to files and select a file.&lt;/li&gt;
&lt;li&gt; Upload the file.&lt;/li&gt;
&lt;li&gt; Select the uploaded file.&lt;/li&gt;
&lt;li&gt; On the Overview tab, copy the URL.&lt;/li&gt;
&lt;li&gt; Paste the URL into a new browser tab.&lt;/li&gt;
&lt;li&gt; Verify the file doesn’t display and you receive an error.&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%2F66uy78japcutjo7v5jfh.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%2F66uy78japcutjo7v5jfh.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Select your uploaded blob file and move to the Generate SAS tab.&lt;/li&gt;
&lt;li&gt;In the Permissions drop-down, ensure the partner has only Read permissions.&lt;/li&gt;
&lt;li&gt;Verify the Start and expiry date/time is for the next 24 hours.&lt;/li&gt;
&lt;li&gt;Select Generate SAS token and URL.&lt;/li&gt;
&lt;li&gt;Copy the Blob SAS URL to a new browser tab.&lt;/li&gt;
&lt;li&gt;Verify you can access the file. If you have uploaded an image file it will display in the browser. Other file types will be downloaded.&lt;/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%2F2ukcp8gerv0nusem8ict.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%2F2ukcp8gerv0nusem8ict.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;C. &lt;strong&gt;CONFIGURE STORAGE ACCESS TIERS AND CONTENT REPLICATION.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;To save on costs, after 30 days, move blobs from the hot tier to the cool tier. Learn more how manage the Azure Blob storage lifecycle.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt; Return to the storage account.&lt;/li&gt;
&lt;li&gt; In the Overview section, notice the Default access tier is set to Hot.&lt;/li&gt;
&lt;li&gt; In the Data management section, select the Lifecycle management blade.&lt;/li&gt;
&lt;li&gt; Select Add rule.&lt;/li&gt;
&lt;li&gt; Set the Rule name to move-to-cool.&lt;/li&gt;
&lt;li&gt; Set the Rule scope to Apply rule to all blobs in the storage account.&lt;/li&gt;
&lt;li&gt; Select Next.&lt;/li&gt;
&lt;li&gt; Ensure Last modified is selected.&lt;/li&gt;
&lt;li&gt; Set More than (days ago) to 30.&lt;/li&gt;
&lt;li&gt; In the Then drop-down select Move to cool storage.&lt;/li&gt;
&lt;li&gt; As you have time, review other lifecycle options in the drop-down.&lt;/li&gt;
&lt;li&gt; Add the rule.&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%2F2v5vec2hctz61h8ipwy4.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%2F2v5vec2hctz61h8ipwy4.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The public website files need to be backed up to another storage account.[Learn more about object replication.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt; In your storage account, create a new container called backup. Use the default values. Refer back to Lab 02a if you need detailed instructions.&lt;/li&gt;
&lt;/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%2Ftgw340litbokp5pgojck.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%2Ftgw340litbokp5pgojck.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Navigate to your publicwebsite storage account. This storage account was created in the previous exercise.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; In the Data management section, select the Object replication blade.&lt;/li&gt;
&lt;li&gt; Select Create replication rules.&lt;/li&gt;
&lt;li&gt; Set the Destination storage account to the private storage account.&lt;/li&gt;
&lt;li&gt; Set the Source container to public and the Destination container to 
backup.&lt;/li&gt;
&lt;li&gt; Create the replication rule.&lt;/li&gt;
&lt;li&gt; Optionally, as you have time, upload a file to the public container. &lt;/li&gt;
&lt;li&gt; Return to the private storage account and refresh the backup 
container. Within a few minutes your public website file will 
appear in the backup folder.&lt;/li&gt;
&lt;/ul&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%2Fvw2t8bzk3villbz45zup.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%2Fvw2t8bzk3villbz45zup.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>MICROSOFT APPLIED SKILL. Guided Project: Provide storage for the IT department testing and training</title>
      <dc:creator>SethGiddy</dc:creator>
      <pubDate>Thu, 20 Jun 2024 17:14:28 +0000</pubDate>
      <link>https://forem.com/sethgiddy/microsoft-applied-skill-guided-project-provide-storage-for-the-it-department-testing-and-training-31je</link>
      <guid>https://forem.com/sethgiddy/microsoft-applied-skill-guided-project-provide-storage-for-the-it-department-testing-and-training-31je</guid>
      <description>&lt;p&gt;This is exercise 1 of the Microsoft Applied skill guided project.&lt;/p&gt;

&lt;p&gt;What is Azure storage account &lt;/p&gt;

&lt;p&gt;An azure storage account is a container that groups a set of Azure Storage services together. Only data services from Azure Storage can be included in a storage account. &lt;br&gt;
Below are the 4 types of azure storage account&lt;/p&gt;

&lt;p&gt;1.Azure Blobs. 2. Azure Files. 3.Azure Queues. 4. Azure Tables.&lt;/p&gt;

&lt;p&gt;How to create an azure storage account Azure portal.&lt;br&gt;
There are 4 different tools to create storage account with, depending on whether an organisation want GUI and automation.&lt;/p&gt;

&lt;p&gt;Azure portal&lt;br&gt;
Azure CLI (Command-line interface)&lt;br&gt;
Azure PowerShell&lt;br&gt;
Management client libraries&lt;/p&gt;

&lt;p&gt;But in this write up we will be exploring the use of Azure portal to complete exercise.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A. CREATE A STORAGE ACCOUNT WITH HIGH AVAILABILITY&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.On the Basics tab, enter the required details, subscription, resource group, Storage name. From Performance select Standard and from Redundancy Select Locally redundant storage (LRS) to safe cost for now.&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%2Fg2tm3pmfgm6xm8gg6t51.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%2Fg2tm3pmfgm6xm8gg6t51.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It takes a couple of minutes for the deployment to complete, select Go to resource to view Essential details about your new storage account.&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%2Ffz4ct5e74t1origgx3rw.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%2Ffz4ct5e74t1origgx3rw.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3.This storage requires high availability if there’s a regional outage. Additionally, enable read access to the secondary region, Learn more about storage account redundancy.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;This storage requires high availability if there’s a regional outage. Additionally, enable read access to the secondary region, Learn more about storage account redundancy.
-In the storage account, in the Data management section, select the Redundancy blade.
-Ensure Read-access Geo-redundant storage is selected.
-Review the primary and secondary location information.&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%2Fszk8w2yqljwzgp71t01d.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%2Fszk8w2yqljwzgp71t01d.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Information on the public website should be accessible without requiring customers to login.&lt;br&gt;
-In the storage account, in the Settings section, select the Configuration blade.&lt;br&gt;
-Ensure the Allow blob anonymous access setting is Enabled.&lt;br&gt;
-Be sure to Save your changes.&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%2Fg1j8bv4j655fhe1iyml1.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%2Fg1j8bv4j655fhe1iyml1.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;B. CREATE A BLOB STORAGE CONTAINER WITH ANONYMOUS READ ACCESS&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The public website has various images and documents. Create a blob storage container for the content. Learn more about storage containers.
-In your storage account, in the Data storage section.
-Select the Containers blade.
-Select + Container.
-Ensure the Name of the container is public.
-Select Create.&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%2Fdxepnqvyemk3d8y0q3mh.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%2Fdxepnqvyemk3d8y0q3mh.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;C. PRACTICE UPLOADING FILES AND TESTING ACCESS.&lt;br&gt;
1.&lt;strong&gt;For testing, upload a file to the public container. The type of file doesn’t matter. A small image or text file is a good choice.&lt;/strong&gt;&lt;br&gt;
-Ensure you are viewing your container.&lt;br&gt;
-Select Upload.&lt;br&gt;
-Browse to files and select a file. Browse to a file of your choice.&lt;br&gt;
-Select Upload.&lt;br&gt;
-Close the upload window, Refresh the page and ensure your file was uploaded.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8sq25kx6kj29tqq197ge.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%2F8sq25kx6kj29tqq197ge.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.&lt;strong&gt;Determine the URL for your uploaded file. Open a browser and test the URL&lt;/strong&gt;.&lt;br&gt;
-Select your uploaded file.&lt;br&gt;
-On the Overview tab, copy the URL.&lt;br&gt;
-Paste the URL into a new browser tab.&lt;br&gt;
-If you have uploaded an image file it will display in the browser. Other file types should be downloaded.&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%2F0w8yyibzlllv2xhi28ug.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%2F0w8yyibzlllv2xhi28ug.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;D.CONFIGURE SOFT DELETE&lt;br&gt;
1.&lt;strong&gt;It’s important that the website documents can be restored if they’re deleted. Configure blob soft delete for 21 days. Learn more about soft delete for blobs&lt;/strong&gt;.&lt;br&gt;
-Go to the Overview blade of the storage account.&lt;br&gt;
-On the Properties page, locate the Blob service section.&lt;br&gt;
-Select the Blob soft delete setting.&lt;br&gt;
-Ensure the Enable soft delete for blobs is checked.&lt;br&gt;
-Change the Keep deleted blobs for (in days setting is 21.&lt;br&gt;
-Notice you can also Enable soft delete for containers.&lt;br&gt;
-Don’t forget to Save your changes.&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%2Fs6lbpvm6h4l4cudkqoro.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%2Fs6lbpvm6h4l4cudkqoro.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.&lt;strong&gt;If something gets deleted, you need to practice using soft delete to restore the files&lt;/strong&gt;.&lt;br&gt;
-Navigate to your container where you uploaded a file.&lt;br&gt;
-Select the file you uploaded and then select Delete.&lt;br&gt;
-Select OK to confirm deleting the file.&lt;br&gt;
-On the container Overview page, toggle the slider Show deleted blobs. This toggle is to the right of the search box.&lt;br&gt;
-Select your deleted file, and use the ellipses on the far right, to Undelete the file.&lt;br&gt;
-Refresh the container and confirm the file has been restored.&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%2Fzlod7m4asi71ah74koji.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%2Fzlod7m4asi71ah74koji.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;CONFIGURE BLOB VERSIONING&lt;br&gt;
1.&lt;strong&gt;It’s important to keep track of the different website product document versions. Learn more about blob versioning&lt;/strong&gt;.&lt;br&gt;
-Go to the Overview blade of the storage account.&lt;br&gt;
-In the Properties section, locate the Blob service section.&lt;br&gt;
-Select the Versioning setting.&lt;br&gt;
-Ensure the Enable versioning for blobs checkbox is checked.&lt;br&gt;
-Notice your options to keep all versions or delete versions after.&lt;br&gt;
-Don’t forget to Save your changes.&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%2F4inuy2eo1dey0lnc35ax.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%2F4inuy2eo1dey0lnc35ax.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.As you have time experiment with restoring previous blob versions.&lt;br&gt;
-Upload another version of your container file. This overwrites your existing file.&lt;br&gt;
-Your previous file version is listed on Show deleted blobs page.&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%2F1iz0zod6ov08hkz52bff.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%2F1iz0zod6ov08hkz52bff.png" alt="Image description" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Exercise 2 Next. Stay tuned&lt;/p&gt;

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

</description>
      <category>azure</category>
      <category>storage</category>
    </item>
    <item>
      <title>Simple Cloud terminologies for Beginners.</title>
      <dc:creator>SethGiddy</dc:creator>
      <pubDate>Sat, 11 May 2024 15:12:35 +0000</pubDate>
      <link>https://forem.com/sethgiddy/simple-cloud-terminologies-for-beginners-4o0l</link>
      <guid>https://forem.com/sethgiddy/simple-cloud-terminologies-for-beginners-4o0l</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Virtualisation. This is the an abstract version of physical computer components. Virtualisation allows software to create non-physical computer (virtual machine) on a physical computer. The created non-physical computer is referred to as virtual machines. The virtual machines share the components on the physical hardware - such as processors, memory and storage—into multiple virtual machines (VMs). One major advantage of virtualisation is that it allows companies to o partition a single physical computer or server into several virtual machines. Each virtual machine can then interact independently and run different operating systems or applications while sharing the resources of a single host machine.
Virtualisation is made possible by what is called the hypervisor.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;2.Scalability. This is the ability of organisations to increase or decrease cloud resources to meet customer demands.In certain times organisations experience huge traffic or increase usage of their cloud resources, such that the resource could crash if the demand or traffic is too much. Scalability will help improve customer's experience and help organisations fulfil customers demands as required. There are 2 types of scalability ; Vertical scalability (scale-up/scale-down) requires adding more more CPU,RAM OR Storage to an existing server or reducing the listed resources. Horizontal scalability involves adding more servers or computers to an already existing resource instead of increasing the component of the servers. Horizontal scalability can scale-in or scale-out.&lt;/p&gt;

&lt;p&gt;3.Agility allows organisation to allocation or deallocate, develop, test or launch cloud-based resources easily and quickly.&lt;/p&gt;

&lt;p&gt;4.High Availability is one of the benefits of cloud computing, it ensures organisations enjoy non-interuptions of services in the face of disruptions or failures. High availability ensures business continuity and business scalability.This is achieved through a combination of redundancy, failover mechanisms, and automatic recovery processesThis is made possible.&lt;/p&gt;

&lt;p&gt;5.Fault Tolerant is the ability of a system (computer, network, cloud resource, storage etc) to continue operating without interruption even if one or more of its components fail. Configuration or system is duplicated in  and that takes over for the main configuration in case there is an outage&lt;/p&gt;

&lt;p&gt;6.Global Reach. Cloud services has enabled organisations to provide niche goods and services to their customers in any part of the world. &lt;/p&gt;

&lt;p&gt;I will right about individual concept in subsequent write ups. Thanks for reading &lt;/p&gt;

</description>
      <category>devops</category>
      <category>terminologies</category>
      <category>azure</category>
    </item>
  </channel>
</rss>
