<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mohit</title>
    <description>The latest articles on DEV Community by Mohit (@mohitjohri).</description>
    <link>https://dev.to/mohitjohri</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%2F939284%2F8eca698c-b36d-4d38-8963-fda09fdd9013.png</url>
      <title>DEV Community: Mohit</title>
      <link>https://dev.to/mohitjohri</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mohitjohri"/>
    <language>en</language>
    <item>
      <title>Building a Static website on Azure with CI-CD pipeline</title>
      <dc:creator>Mohit</dc:creator>
      <pubDate>Thu, 24 Nov 2022 06:44:51 +0000</pubDate>
      <link>https://dev.to/mohitjohri/building-a-static-website-on-azure-with-ci-cd-pipeline-56c0</link>
      <guid>https://dev.to/mohitjohri/building-a-static-website-on-azure-with-ci-cd-pipeline-56c0</guid>
      <description>&lt;p&gt;Lately, I have cleared some of the Azure certifications, but I feel my knowledge of Azure is more theoretical. Being in a project management role, I get less time to be around the coding and scripting aspect of technology, so I wanted to get my hands dirty. After seeing this challenge on LinkedIn, I felt there was no better way to sharpen my skills in DevOps while working on a real project.&lt;/p&gt;

&lt;p&gt;It is recommended that participants have at least the AZ-900 Microsoft certification before taking the challenge. Azure Fundamentals Certification (or another,more advanced Azure cert—your choice—to set a knowledge baseline. Additional rules can be seen in the &lt;a href="https://cloudresumechallenge.dev/docs/the-challenge/azure/" rel="noopener noreferrer"&gt;Cloud Resume Challenge (Azure)&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;So I create the static site, which is hosted on Microsoft Azure, and leverage the following services:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Azure Blob Storage&lt;/li&gt;
&lt;li&gt;Content Delivery Network&lt;/li&gt;
&lt;li&gt;Azure Cosmos DB&lt;/li&gt;
&lt;li&gt;Azure Functions&lt;/li&gt;
&lt;li&gt;GitHub Actions for CI/CD&lt;/li&gt;
&lt;li&gt;Terraform for IaC&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I have mainly used this challenge as a guide for myself and made some modifications along the way. E.g., instead of using Python for the Azure Function, I have used C#. I also used styleshout's HTML template. &lt;/p&gt;

&lt;p&gt;Below is a brief description of my journey in order to complete this cloud resume challenge.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;u&gt;HTML &amp;amp; CSS website&lt;/u&gt;
&lt;/h4&gt;

&lt;p&gt;In order to build a website, I brushed up on my skills in HTML and CSS by going through a course from Brad Hussey on Udemy and also built a basic website on my own; it didn’t look very impressive, but it worked just fine. So instead of using that plain, simple design, I got the resume HTML template from this &lt;a href="https://www.themezy.com/free-website-templates/151-ceevee-free-responsive-website-template" rel="noopener noreferrer"&gt;website&lt;/a&gt; and customised the text to put some information about myself, certifications, and previous experience.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;u&gt;Static Website&lt;/u&gt;
&lt;/h4&gt;

&lt;p&gt;The HTML resume was then deployed online as an Azure Storage static website on Azure Blob Storage, which I created using the Azure Portal (later using Terraform to automate).&lt;/p&gt;

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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PS D:\Learning\CloudResumeChallenge\my_resume&amp;gt; az storage blob upload-batch -s "D:\Learning\CloudResumeChallenge\my_resume\StaticWebsite" -d '$web' --account-name resumechallengeaz1234
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Deploying the static website using PowerShell also ensured that the website uses HTTPS for security by configuring a CDN.&lt;/p&gt;

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

&lt;h4&gt;
  
  
  &lt;u&gt;Azure Function &amp;amp; Cosmos DB&lt;/u&gt;
&lt;/h4&gt;

&lt;p&gt;The resume webpage also includes a visitor counter that displays how many people have accessed the site. I wrote an Azure function with an HTTP trigger to make this happen.&lt;br&gt;
I created the CosmosDB database using Core (SQL) as the API. I created the container to store my one record of the visitor count. The record has an id equal to "1" and a visitorCount property, which will be read and updated by an Azure function. Setting up CosmosDB was the most difficult part of this challenge because I was unfamiliar with this service, and it took a long time just to get CosmosDB to talk to the Azure function, but it finally worked after much struggle and googling :).&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;u&gt;Source Control &amp;amp; CI-CD pipeline&lt;/u&gt;
&lt;/h4&gt;

&lt;p&gt;I have created a &lt;a href="https://github.com/MicrosoftAZLabs/Cloud-Resume-Challenge" rel="noopener noreferrer"&gt;GitHub repository&lt;/a&gt; for my code and created GitHub Actions such that when I push new website code, the Azure Storage blob, the Azure Function, etc. automatically get updated.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;u&gt;Infrastructure as Code&lt;/u&gt;
&lt;/h4&gt;

&lt;p&gt;Lastly, as I created all the Azure resources—the static website (Blog Storage, CDN), the Azure Function, and the CosmosDB—manually, by clicking around in the Azure console, I automated the infrastructure creation using Terraform.&lt;/p&gt;

&lt;h4&gt;
  
  
  In the end
&lt;/h4&gt;

&lt;p&gt;That completes the Azure Resume Challenge! I found this to be a fun challenge that forced me to try a few different things that I had not worked with before, and I was surprised by how many services were necessary. It was good to use some PowerShell and Terraform, which I feel I will continue to use in the future.&lt;/p&gt;

&lt;p&gt;Here is the &lt;a href="https://mohitjohri-resume.azureedge.net/" rel="noopener noreferrer"&gt;link&lt;/a&gt; to my resume.&lt;/p&gt;

</description>
      <category>azure</category>
      <category>html</category>
      <category>cloudresumechallenge</category>
      <category>githubactions</category>
    </item>
    <item>
      <title>Do certification really matters..?</title>
      <dc:creator>Mohit</dc:creator>
      <pubDate>Sat, 15 Oct 2022 14:18:52 +0000</pubDate>
      <link>https://dev.to/mohitjohri/do-certification-really-matters-432o</link>
      <guid>https://dev.to/mohitjohri/do-certification-really-matters-432o</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Tell me and I forget, teach me and I may remember, involve me and I learn- Benjamin Franklin.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Something very apt to what I feel whenever I take up any certification. Generally, most people in the software industry either love or hate IT certifications. Some take this as proof that they are experts. For some, it is a money-making machine for companies, and these certifications don't hold any true value for them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The truth, as always, is somewhere in the middle.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Certifications, in my opinion, are useful to validate your knowledge on the topic, not so that you can display the badges on LinkedIn (though I do this on occasion), but rather so that you can pursue targeted learning. It provides the fundamental knowledge needed to get experience, gives you a road map and organizes your learning.&lt;/p&gt;

&lt;p&gt;I just passed the AZ-104(Azure Administrator Associate) and AZ-305(Designing Microsoft Azure Infrastructure Solutions) exams. Does that imply I have extensive knowledge of Azure? Not at all, no. I have never managed Azure for a full-fledged production project; I have only ever done it for my own personal projects. But I have discovered the fundamentals of the service by working toward the certifications, and I have demonstrated this through the tests. Am I going to present myself as an Azure expert or start consulting as one right away? No, but if I were looking for a new position, I would gladly highlight this achievement to demonstrate to a hiring manager that, despite my lack of experience, I do grasp the basics and have the motivation to move up. Your career is revitalized, which is sometimes necessary.&lt;/p&gt;

&lt;p&gt;Consider pursuing a certification to start your educational journey if you feel trapped, overburdened, or unsure of where to focus your time to sharpen your saw.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;We must never be too busy to take time to sharpen the saw- Stephen Covey&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>certification</category>
      <category>career</category>
      <category>devops</category>
      <category>azure</category>
    </item>
  </channel>
</rss>
