<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sudharshan Chadaga Ravish on Medium]]></title>
        <description><![CDATA[Stories by Sudharshan Chadaga Ravish on Medium]]></description>
        <link>https://medium.com/@sudharshanchadaga?source=rss-bde69b84e917------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*rrQ3hQt1D5vkzTIBGIrpcQ.jpeg</url>
            <title>Stories by Sudharshan Chadaga Ravish on Medium</title>
            <link>https://medium.com/@sudharshanchadaga?source=rss-bde69b84e917------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 05:39:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sudharshanchadaga/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Serverless website deployment is 100% automated in multiple environments (Test, QA, and Production)…]]></title>
            <link>https://medium.com/@sudharshanchadaga/erverless-website-deployment-is-100-automated-in-multiple-environments-test-qa-and-production-b831aa526023?source=rss-bde69b84e917------2</link>
            <guid isPermaLink="false">https://medium.com/p/b831aa526023</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[azure-artifacts]]></category>
            <category><![CDATA[azure-pipelines]]></category>
            <category><![CDATA[azure-devops]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Sudharshan Chadaga Ravish]]></dc:creator>
            <pubDate>Tue, 11 Apr 2023 14:25:28 GMT</pubDate>
            <atom:updated>2023-04-11T14:25:40.964Z</atom:updated>
            <content:encoded><![CDATA[<h3>Serverless website deployment is 100% automated in multiple environments (Test, QA, and Production) using Azure DevOps Repos and Pipelines (CI/CD).</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YUze-wzPXZcZgQRjl7LWRA.png" /></figure><p><strong>Project description:</strong></p><p>In another project based on a real-world scenario, I worked as a Cloud Engineer using DevOps, where I deployed a serverless website in a 100% automated way using Azure DevOps Repos and Azure DevOps Pipelines resources.</p><p>Azure DevOps Organization and a new project have been created. The Azure DevOps Repos stored the website files, and the CI/CD Pipelines automated the entire website deployment process in 3 different environments (Test, QA, and Production).</p><p>Solutions Architecture</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g3iuXnMU6tY0xV-_qdbhqA.png" /></figure><p>Create 3 storage accounts</p><p>tcbsr1tst<br>tcbsr1qa<br>tcbsr1prd</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pOgGzNVZMlQmCvUS623ArQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t2BZjOQaQjaNfon6MhkrXQ.png" /></figure><p>To enable a static website, setting up the index.html file as the home page is necessary. This can be achieved by following a few simple steps. Firstly, select the appropriate hosting service that supports static websites. Next, create the index.html file and upload it to the server. Finally, configure the server to recognize the index.html file as the default home page. The static website will be enabled by completing and the index.html file will serve as the primary landing page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u_Qoan8GNd-qMZnJRvdj9A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x5KKH4MzkdbM5v1-jQYmZA.png" /></figure><p>Our next task involves establishing a DevOps organization and initiating the development of a new project website01 through Azure DevOps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K83qfTUG_a3-YSvPapx2fA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0pYOoJYdzsHaIdJ8yrB6Hw.png" /></figure><p>Clone GitHub</p><p>To replicate a GitHub repository, one can use the “git clone” command in the terminal. This command will create a local copy of the repository on the user’s machine. Once cloned, the user can make changes to the code and push those changes back to the original repository. This process is commonly used for collaborative software development, allowing multiple contributors to work on the same codebase simultaneously. It is important to note that the user must have the appropriate permissions to clone and push changes to the repository.</p><pre>curl -O https://tcb-bootcamps.s3.amazonaws.com/bootcamp-microsoft-azure/en/mod7-azuredevops.zip<br>unzip mod7-azuredevops.zip</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*cnzzIJa6HhNTmGoC8sk04g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*3AWqe0LEoID3zb7ALHFFeQ.png" /></figure><p>Git pushing the code to Azure repos</p><pre>cd azuredevops<br><br>git remote remove origin <br>git remote add origin https://chadagasudharshan@dev.azure.com/chadagasudharshan/website01/_git/website01<br>git push -u origin --all</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*3AWqe0LEoID3zb7ALHFFeQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*W1x456l8g4woTdzbPpZYSg.png" /></figure><p>Creating Pipeline | CI in Azure DevOps</p><p>Pipelines &gt; Pipelines<br>New pipeline<br>Use Classic Editor<br>Empty Job</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EqSHHdFBx3ipmeZ8XOu6cQ.png" /></figure><p>Pipeline name: website01-CI</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zcg0c6onm41KKRbtBzHp0Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2_CftDeESbgAJwY0Pys_rQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E1zr6L__adLe_R0yFWLayw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E1zr6L__adLe_R0yFWLayw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AnFy8OsKOJXQgywWzuqqbw.png" /></figure><p>Adding task: Archive files<br>Display name: Zip files<br>Root folder or file to archive: files</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ueqWCSqO8EKcALP13OgXMg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eOPevCYura1eyN7NaV2ilA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zHQ-m-2z_BX0-Puf8BI1UQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g1Sgq3ybvMCPadJGCWad7w.png" /></figure><p>Adding task: Publish build artifacts<br>Display name: Artifacts Publish</p><p>Click on Trigger<br>Check: Enable continuous integration</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g1Sgq3ybvMCPadJGCWad7w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XMcGxuaLBFurbJ36vbtnFA.png" /></figure><p>Creating Pipeline | CD<br>Pipelines &gt; Release<br>New pipeline</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aNNxRYvsYDbBPNzoq8TCKg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*35yl0Jaqm_aWoHIgSjp-Pw.png" /></figure><p>Adding artifact<br>Enable: Trigger de Continuous deployment</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*35yl0Jaqm_aWoHIgSjp-Pw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*znWHWJxomCVgsL5XVRmeAQ.png" /></figure><p>Adding a new Stage: Testing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7LYs2j6fNcuJT84_R9zONA.png" /></figure><p>Adding task: Extract files<br>Display name: Extract files from website<br>Archive file patterns: **/$(Build.BuildId).zip<br>Destination folder: $(Build.DefaultWorkingDirectory)/$(Build.BuildId)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*40Wsu1ERxqnD0-YZUwDrQA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lS4KHTKEu2xzoLOffaUcFA.png" /></figure><p>Adding task: Azure CLI<br>Display name: Upload files to Azure Blob<br>Authorizing: Azure Resource Manager connection</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xTzO9IhwOro2-xqzCC1nxw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ArZLToVEwvvruIeVd8zOWg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DjdjvoXAC5ENvlby9aXG8g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WnWrK-vgbM6-9DHr8fTFyQ.png" /></figure><p>Script Type: Shell<br>Script location: Inline script<br>Inline scripts: az storage blob upload-batch — account-name tcbsr1tst — destination “\$web” — source ./files — overwrite</p><p>Working Directory: $(Build.DefaultWorkingDirectory)/$(Build.BuildId)</p><p>Rename pipeline to website01-CD and Save</p><p>Clone the stage to QA</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tBLmG88msO2de3gSV5ebVA.png" /></figure><p>Click on Tasks<br>Click on Upload files to Azure Blob</p><p>Rename the storage account in the inline script to the QA account</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uiIfkAfMdheQwQ9i7BpmtQ.png" /></figure><p>Cloning Stage: Production</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*unpc6oxvmLfZpfQlb_p61A.png" /></figure><p>Click on Tasks<br>Click on Upload files to Azure Blob</p><p>Rename the storage account in the inline script to the Production account</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hOXZz61wjiKMS7dDVuN3QQ.png" /></figure><p>Click on Pipeline</p><p>From the Production stage, Enable Pre-deployment conditions to get approval before deploying to production.</p><p>Pre-deployment approvals: put your Azure access email</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wq_qS9SaEPhGp-lQ3J4aiQ.png" /></figure><p>Testing:</p><p>click on Pipelines &gt; Pipelines<br>Select pipeline website01-CI<br>Click on run Pipeline &gt; Run</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xiPxYs37rgI4QwM21PH0ag.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rK1iJkA-bxdFQCuhBPjbWA.png" /></figure><p>Monitoring Pipeline</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sA6YgSRVKbCknL0qlc2eNg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rD0cPHciOkDQmdeflzMZgQ.png" /></figure><p>Validating URL access</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xtrAE9x97I8PHiFFvtzAuA.png" /></figure><p>Approving Production</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NB1xmyfxQvKUsJzOQsfNbw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t-fy8o0fBTtCpwcj2x5srg.png" /></figure><p>Testing the URL on production</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xqq30QNw1z8smqsv6lpNFw.png" /></figure><p>Changing the file: Change Congratulations to Good Job</p><p>vi index.html</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dlH58JhPLeATI7h1Dfsodw.png" /></figure><p>git add files/index.html</p><p>git config — global user.email “<a href="/service/mailto:chadaga.sudharshan@gmail.com">chadaga.sudharshan@gmail.com</a>”</p><p>git commit -m “index.html change”</p><p>git push -u origin — all</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T9WQufg94Cl54_hDv4l_FQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K6nlL5wBamufjHLs-ZpPcw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VTDThDdidYAZ5OHJSKqPEg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wud72XU8Jazhy4w0SFiNTg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b831aa526023" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Home Office Solution during the COVID-19 Pandemic using Microsoft Azure VPN Gateway.]]></title>
            <link>https://medium.com/@sudharshanchadaga/home-office-solution-during-the-covid-19-pandemic-using-microsoft-azure-vpn-gateway-64f1f6bc2a14?source=rss-bde69b84e917------2</link>
            <guid isPermaLink="false">https://medium.com/p/64f1f6bc2a14</guid>
            <category><![CDATA[virtual-machine]]></category>
            <category><![CDATA[vpn]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Sudharshan Chadaga Ravish]]></dc:creator>
            <pubDate>Thu, 30 Mar 2023 23:50:40 GMT</pubDate>
            <atom:updated>2023-03-30T23:50:40.301Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mlcMqmfSbZksv6P_KduWoQ.png" /></figure><p>Project Description</p><p>In this real-world-based project, I acted as a Cloud Specialist to create a solution for people who were working in the office to start working from home, normally accessing the environment in Microsoft Azure, without exposing the entire environment to the internet.</p><p>To solve this business problem and come up with a solution compatible with the requirements, I defined that it was necessary to implement Point-to-Site (P2S) VPNs, so that employees who were working from home would close an encrypted tunnel between their computer and the Microsoft Azure environment.</p><p>Solution Architecture</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pm4Vyy89rIxn2L9Xz0G_GQ.png" /></figure><p>To implement this solution, the initial step involves the establishment of an Azure virtual network, followed by the provisioning of a virtual machine to host the requisite applications. The private VPN operates on a private IP address, protecting it from external access. To address this issue, We determined that implementing Point-to-Site (P2S) VPNs was the most viable solution. This would enable employees working from home to establish an <strong>encrypted</strong> tunnel between their computer and the Microsoft Azure environment, thereby ensuring secure access.</p><p>Create Virtual Network</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rHHoFSsgG6NFtvS39wetHw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y9XSuDR3fqbmQYs9dd0q4A.png" /></figure><p>Create Virtual Machine</p><p>Ensure that the virtual machine in question is configured to disallow any inbound port access. Additionally, for the inbound port rule, it is imperative that the public inbound ports are set to None. This measure is necessary as the VM is intended to be accessed solely through the VPN tunnel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2HieBLnc-yzGuYAG_o5d0A.png" /></figure><p>Create Virtual Network Gateway (VPN)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*khJunXC4UJDy2q3jBNPyDw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*NOicMykCVE4i9E_ulHmo6Q.png" /></figure><p>Open the VPN Gateway that’s created</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L01CIgW60wFvHEpEPOd5AA.png" /></figure><p>Download the Digital Certificates</p><p>Copy the Key into</p><p>Under the Point to Site Configuration → Authentication Type (Azure Certificate) → Root certificates</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v-YVZpbG-ISKxruoAfe8RA.png" /></figure><p>Download the VPN Client</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XamJ4PzDXK-q1aabpcPU8w.png" /></figure><p>Please proceed with the installation of the downloaded VPN client on your Windows 10 laptop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/335/1*pGu9kZtVOBKpcPDq_aUVcQ.png" /></figure><p>The status of connectivity indicates that the VPN has been successfully established with Azure. To verify the VPN connection’s functionality, we can conduct a cross-check by pinging the private IP address of the Azure virtual machine. We can achieve this by connecting to GitBash and running the ping command.</p><p>Connect to the VM image and Install Apache server</p><pre>sudo apt-get update<br>sudo apt-get install apache2<br>sudo systemctl restart apache2.service</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*gYLI6sGhHl_aXCnvwcELYg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*64ku_ltyHeJHjL0tGl9tdQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/938/1*jZ1M2FK8KI2tgoYgF8BIjA.png" /></figure><p>To access the point-to-site sessions of remotely connected clients, navigate to Aure home, and select the virtual network gateway, followed by the designated VNGatewayName. From there, you will be able to view and manage the current sessions, including the ability to disconnect as needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WAP_PTQWIyFotR7AJWWd4Q.png" /></figure><p>Upon conducting an assessment of the services via the web browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f7gNBqvOB5xK5WvdEY7Sug.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64f1f6bc2a14" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preparation, Docker Image Push and Deployment for Containerized Voting Application in Kubernetes…]]></title>
            <link>https://medium.com/@sudharshanchadaga/preparation-docker-image-push-and-deployment-for-containerized-voting-application-in-kubernetes-2c4ce53b9bae?source=rss-bde69b84e917------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c4ce53b9bae</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[azure-kubernetes-service]]></category>
            <category><![CDATA[azure-app]]></category>
            <category><![CDATA[redis]]></category>
            <dc:creator><![CDATA[Sudharshan Chadaga Ravish]]></dc:creator>
            <pubDate>Wed, 29 Mar 2023 00:23:46 GMT</pubDate>
            <atom:updated>2023-03-29T00:23:46.280Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Preparation, Docker Image Push and Deployment for Containerized Voting Application in Kubernetes Cluster using Docker, Azure Container Registry (ACR) and Azure Kubernetes Service (AKS)</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4VgrbNk22da9Q3oQpItx8A.png" /></figure><p><strong>Project description:</strong></p><p>In another project based on a real world scenario, I had to act as a DevOps Engineer, and show a new team member how to deploy an application on a Kubernetes cluster.</p><p>This cluster is part of The Cloud Bootcamp project, and I prepared this new team member to deploy the voting application that was developed for the MultiCloud Experience, an online event where participants had the opportunity to learn about Cloud technologies.</p><p>I deployed it to Microsoft Azure cloud, where I first pushed the application’s Docker image to Azure Container Registry (ACR) and then used the Azure Kubernetes Service (AKS) service to deploy a cluster managed by Microsoft Azure.</p><p>Solution Architecture</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QP4AHNkWy5_vg-wyDupvrA.png" /></figure><p>Login to Azure Console and click on Cloudshell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*522kLHP6AoGAIuf839Wa4A.png" /></figure><p>Initiating the process of acquiring and extracting the application.<br>wget <a href="https://thecloudbootcamp.blob.core.windows.net/azure-bootcamp/tcb-voting-app.zip">https://thecloudbootcamp.blob.core.windows.net/azure-bootcamp/tcb-voting-app.zip</a><br>unzip tcb-voting-app.zip</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QwQAKaVx5SBlV1HX82oabA.png" /></figure><p>Creating Azure Container Registry</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*qO1UkTImgWQXHt8ipXbQqw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7jO0l5ye9sWYFyhFjMOzDQ.png" /></figure><p>Please verify that the containers have been appropriately generated on the web platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X16wXAM4Z9XFpk7jinTRLg.png" /></figure><p>Kindly access the ACR platform, log in to retrieve the token, and proceed to copy and paste it onto the notepad.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AgxYqXpK-6bLoilwCLKhUw.png" /></figure><p>Kindly execute the commands below, ensuring to replace &lt;acrName&gt; with the appropriate loginserver, and &lt;token&gt; with the accessToken obtained from the previous output.</p><p>docker login &lt;acrName&gt; -u 00000000–0000–0000–0000–000000000000 -p &lt;token&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*edyYY3almHZJ_5RATvHTXQ.png" /></figure><p>Generate a Docker image and proceed with uploading it to the Azure container registry.</p><p>Navigate to the designated application folder housing the docker image file. Execute the AZ acr build command to initiate the creation of the docker image and subsequent upload to the ACR registry. Following the successful transfer of the files to the ACR registry, the image will be visible within the Repositories service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SYgBCCSjJ65_IvlsTG_Xag.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*99_MGtdlWCbZIshZ0cyciw.png" /></figure><p><strong>Creating a cluster in the Azure Kubernetes Service (AKS)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v6G1BG0k2PCwj4XS1CjE6g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*75tRa-kbijt2j4MFNrH5Vw.png" /></figure><p>Integrate the ACR registry with the Kubernetes Cluster.</p><pre>az aks update -n AKSClusterTCB -g tcb-vote --attach-acr &lt;acrName&gt;  </pre><p>Acquiring the necessary login credentials for accessing the Kubernetes Cluster.</p><pre>az aks get-credentials --resource-group tcb-vote --name sudharshanravish</pre><p>The process of deploying the application into the cluster has been initiated.</p><p>Please ensure that your container image files are up-to-date with the accurate reference of the Azure container registry name that was previously established. Additionally, you may review the deployment status in Kubernetes resources under the workload section.</p><pre>kubectl apply -f &lt;deploymentFileName&gt;.yaml</pre><p>Retrieve the Public IP address of the Load Balancer and initiate application testing.</p><p>Kubernetes will establish a connection with the external IP address, which can be obtained either by executing the command below or navigating to Kubernetes resources, specifically Services and Ingresses, and verifying the LoadBalancer External IP.</p><pre>Pay Attention: make sure you’re inside ‘tcb-voting-app’<br>cd ~/tcb-voting-app<br><br>vi tcb-vote-plus-redis.yaml<br><br>File section:<br><br>- name: tcb-vote-front<br>image: thecloudbootcamp/tcb-vote:latest<br><br>FROM:<br><br>containers:<br>- name: tcb-vote-front<br>image: thecloudbootcamp/tcb-vote:latest<br><br>TO:<br><br>containers:<br>- name: tcb-vote-front</pre><p><strong>Deploying the application into the cluster</strong></p><pre>kubectl apply -f tcb-vote-plus-redis.yaml</pre><p><strong>Getting the Public IP of the Load Balancer and Testing the application</strong></p><pre>kubectl get service --watch</pre><p>To evaluate the functionality of the application, kindly replicate the external load balancer’s Public IP Address in your preferred browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f5AUxBpyYjtqp0FUMQiJbg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c4ce53b9bae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MultiCloud Federation — Microsoft Azure and Oracle Cloud Infrastructure using Single Sign-On for…]]></title>
            <link>https://medium.com/@sudharshanchadaga/multicloud-federation-microsoft-azure-and-oracle-cloud-infrastructure-using-single-sign-on-for-725a4f50788?source=rss-bde69b84e917------2</link>
            <guid isPermaLink="false">https://medium.com/p/725a4f50788</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[multi-cloud]]></category>
            <category><![CDATA[oci]]></category>
            <category><![CDATA[single-sign-on]]></category>
            <category><![CDATA[azure-active-directory]]></category>
            <dc:creator><![CDATA[Sudharshan Chadaga Ravish]]></dc:creator>
            <pubDate>Sat, 25 Mar 2023 21:55:43 GMT</pubDate>
            <atom:updated>2023-03-25T21:55:43.033Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong><em>MultiCloud Federation — Microsoft Azure and Oracle Cloud Infrastructure using Single Sign-On for Teams Authentication</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fdsly54jOCJbJ4Di9rX9zA.png" /></figure><p>In this project, based on a real scenario, I was responsible for designing and implementing a MultiCloud architecture by performing a MultiCloud federation of users and groups between Azure Active Directory and OCI IAM.</p><p>Multiple users needed to authenticate to Microsoft Azure and Oracle Cloud Infrastructure using the same login and password (single sign-on) to access resources.</p><p>Solution Architecture</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l-mlbzPTQf52UVrSfqP5uw.png" /></figure><p>To activate the Federation feature, navigate to Azure Active Directory, then proceed to Monitor and select Usage &amp; Insights. From there, enable the corresponding option. You have to upgrade from Azure AD Free to Azure Premium Free.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*sNsSvm8AVxbOsYXiYZbWsg.png" /></figure><p>Log in to the Oracle Cloud Infrastructure account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*TqaSdi3Kc7D_aY2FtynPAg.png" /></figure><p>To obtain the metadata.xml file, please navigate to the Identity and Security section and select the Federation option under Identity. From there, locate the information message and click the “Download the document” link to save the file.</p><p>Establish Azure AD groups comparable to those in Oracle Cloud (OCI) Identity →Groups.</p><p>Establishing an Administrator group within Azure AD is recommended to ensure seamless authentication and authorization. This group should be appropriately mapped to the corresponding OCI Administrator group bearing the same name.</p><p>To facilitate Oracle integration within Azure, kindly proceed to Azure Active Directory and access the Enterprise applications section. Subsequently, opt for the “New Application” feature and select the “Oracle Cloud Infrastructure Console” option. To finalize the process, click on “Create.” Upon completion, Oracle integration will be seamlessly incorporated into your Azure environment.</p><p>Configure the single sign-on functionality within the Oracle Cloud Infrastructure console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K_80RLMjGdZHHPW_1E0tJg.png" /></figure><p>To initiate the process, kindly navigate to the Set up single sign-on option and click Get Start. Proceed by selecting the SAML protocol and proceed to upload the metadata.xml file that was previously downloaded from our Oracle Cloud Infrastructure in Step 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*_79wHvkidnbsWAv9Af4FUA.png" /></figure><p>Next is to update Azure Basic SAML configuration settings</p><p>Please proceed to the OCI account and designate your preferred default region. Subsequently, kindly copy the corresponding URL.</p><p>To initiate Azure Basic SAML configuration settings, kindly upload the metadata.xml file in the preliminary stage. Then, copy the OCI default region link into the designated sign-on region text box.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w1yePv-2g2aHY0dOL6GUSg.png" /></figure><p>Please select the “Unique User Identifier (Name ID)” option and proceed to update the name identifier format to “Persistent.”</p><p>Obtaining the Oracle federation metadata.xml file from the Azure enterprise application is essential for the integration process. This file will be subsequently uploaded to the Oracle Cloud Infrastructure.</p><p>To access the Federation Metadata XML, kindly navigate to the Azure Active Directory home page, then proceed to Enterprise Applications, followed by Single sign-on. Select the Oracle Cloud Infrastructure Console from the provided options, then click on the Single sign-on left menu. Locate and download the Federation Metadata XML from the SAML signing certificate.</p><p>To add a user or group within the Oracle Cloud Infrastructure Console, navigate to the Users and Groups section and select the option to add a new user or group. If no option is currently selected, choose the Administrators group that was previously created and proceed to assign the appropriate permissions.</p><p>Adding a new Identity provider can be facilitated through the Oracle Cloud Infrastructure Federation. This feature allows for seamless integration and enhanced management of user identities. Please follow the appropriate procedures to ensure a smooth and successful implementation.</p><p>To initiate the process, kindly access the Oracle Cloud Infrastructure platform and proceed to the Identity &amp; Security section. From there, navigate to the Federation tab and click on the option labeled “New Identity Provider” to commence the setup.</p><p>Please furnish the preferred name and description. Ensure that the type is set to Microsoft ADFS and upload the Federation Metadata XML file downloaded from Azure AD.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*TQWolkCn0r0mEj1uEP-nDg.png" /></figure><p>On the subsequent screen, map the Azure Group to the corresponding Oracle Cloud Infrastructure Group. This step will guarantee that members of the Azure Administrators group will be automatically mapped to the OCI Administrators group with identical privileges on OCI.</p><p>Please navigate to your Azure AD Oracle Cloud Infrastructure console’s Users and Groups section and retrieve the Object ID for the Administrators group.</p><p>Once the identity provider, specifically Azure Active Directory, has been created, it can be accessed via the Oracle Cloud Infrastructure console. Upon selection, the user will be prompted to provide their Azure login credentials to gain authorization to OCI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zS5wsVU-qt1Pj4j6F7hbbA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=725a4f50788" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementation of an E-Commerce System on AWS in an automated way using Terraform and Ansible]]></title>
            <link>https://medium.com/@sudharshanchadaga/implementation-of-an-e-commerce-system-on-aws-in-an-automated-way-using-terraform-and-ansible-be89131822fc?source=rss-bde69b84e917------2</link>
            <guid isPermaLink="false">https://medium.com/p/be89131822fc</guid>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ecommerce]]></category>
            <dc:creator><![CDATA[Sudharshan Chadaga Ravish]]></dc:creator>
            <pubDate>Mon, 20 Mar 2023 17:55:31 GMT</pubDate>
            <atom:updated>2023-03-20T17:55:31.754Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zx71oTnvNn010ARqVGIrvg.png" /></figure><p><strong>Project description:</strong></p><p>In another project based in a real-world scenario, I worked as Cloud Engineer using DevOps, where I created and implemented an e-Commerce MVP (Minimum Viable Product) on AWS in less than 2 hours and in an automated way using Terraform and Ansible (Infrastructure as Code — IaC).</p><p>I provisioned the infrastructure in an automated way using Terraform and Ansible to automate the configuration management process, software installation, and package management of the EC2 instance. I also completed this project using Magento, PHP, MySQL, and Redis.</p><p><strong>Project Architecture:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*20hAjDunzoHchCDcdHR0Yw.png" /></figure><p><strong>Facilitate the deployment of EC2 infrastructure through the execution of an automated terraform configuration script.</strong></p><p>Create a Magento Free account @ <a href="https://marketplace.magento.com/">https://marketplace.magento.com/</a></p><p>Magento is an e-commerce website platform owned by Adobe that specializes in e-commerce websites. Magento users can access hundreds of unique features that help them connect with their customers and sell their products.</p><p>To ensure seamless retrieval of Magento software from the Ansible automated deployment script for installation on EC2 instances, we must generate new Access Keys. The Access Keys will comprise Public and Private Key values, which must be copied for future use.</p><p>Open AWS Cloud Shell and install Terraform</p><pre>sudo yum install -y yum-utils<br>sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo<br>sudo yum -y install terraform</pre><p>I have created and deployed terraform configuration files to an S3 bucket for the purpose of provisioning EC2 infrastructure on AWS via AWS CloudShell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IS962ATIWIMBK2-c_5vasQ.png" /></figure><p>To begin the deployment of EC2 via Terraform, kindly download the Terraform files through AWS Cloudshell. Once downloaded, proceed to execute the prescribed commands.</p><pre>terraform init<br>terraform plan<br>terraform apply</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*USt8XbMYBEZ5l52bU8XwHg.png" /></figure><p><strong>Leverage Ansible to seamlessly deploy the application and necessary software within the designated environment through a comprehensive automation process.</strong></p><p>Ansible is a highly effective software tool that offers robust automation capabilities for cross-platform computer support. It is ideally suited for IT professionals who leverage its capabilities for a wide range of tasks, including application deployment, workstation and server updates, cloud provisioning, configuration management, intra-service orchestration, and other everyday tasks that are part of a systems administrator’s daily or weekly routine. One of the critical benefits of Ansible is that it does not require any additional security infrastructure or agent software, making it incredibly easy to deploy and use.</p><p>Install Ansible to the provisioned EC2 instance.</p><pre>sudo yum-config-manager --enable epel<br>sudo yum install ansible -y</pre><p><strong>Install Ansible playbook</strong></p><p>Ansible Playbooks are a set of automated tasks that are executed on hosts automatically.</p><p>To install Ansible on multiple EC2 instances, one can configure Ansible locally or on a virtual machine to connect remotely to those instances and perform fully automated deployment using an SSH connection.</p><p>These Playbooks are predefined installation steps written in a script for the automated installation of software stacks for an e-commerce site that will be brought up and running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*KLAPuo1G2uZm1Otms21mVg.png" /></figure><p>Edit and save Ansible file parameters<br>cd ansible-magento2</p><p>File: group_vars/all.yml</p><ul><li>magento_domain<br>* server_hostname<br>* repo_api_key<br>* repo_secret_key</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*93ejfq4YP4Scw591HaqXCA.png" /></figure><p>Execute the Ansible command to deploy the comprehensive suite of tools necessary for the e-commerce platform.</p><pre>ansible-playbook -i hosts.yml ansible-magento2.yml -k -vvv --become</pre><p>The installation process is expected to take a few minutes for Magento, PHP, MySQL, and Redis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UtLIEr1iQaU1J9HjuEB96w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KvhDww8BUD-MrppHzT8KWg.png" /></figure><p>Test the e-commerce site</p><ul><li>Setting up the e-commerce:<br>http://&lt;EC2_PUBLIC_IP&gt;/securelocation</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_eYC1FFQ5Q-iClnD86vIaA.png" /></figure><p>Make changes to add your product.</p><p>Content &gt; Configuration &gt; HTML Head &gt; Edit (Default Store View)<br> — — Default page title: The Cloud Bootcamp Store<br> — — Header &gt; Logo image: The Cloud Bootcamp logo from images<br> — — Header &gt; Welcome text: Welcome to The Cloud Bootcamp Store!<br> — — Cache Refresh (Flush it)</p><p>— Catalog &gt; Products &gt; Add product &gt; The Cloud Bootcamp T-Shirt<br> — — Price: 80<br> — — Quantity: 100<br> — — Images And Videos &gt; Add images<br> — — Save</p><p>— Content &gt; Pages &gt; Edit Home Pages<br> — — Click Content &gt; Erase content<br> — — Insert Widget &gt; Widget type: Catalog New Products List &gt; Insert Widget</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5QHKUq-wKiAwyQwvhE5F7A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kbXQyamknmH6iUl86Tdf2Q.png" /></figure><h3>Imagine the incredible possibilities of quickly and efficiently deploying an E-Commerce System on AWS. Thanks to Terraform and Ansible.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be89131822fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementation of a set of EC2 instances using Terraform and AWS Systems Manager configuration with…]]></title>
            <link>https://medium.com/@sudharshanchadaga/implementation-of-a-set-of-ec2-instances-using-terraform-and-aws-systems-manager-configuration-with-75bfa17c2833?source=rss-bde69b84e917------2</link>
            <guid isPermaLink="false">https://medium.com/p/75bfa17c2833</guid>
            <category><![CDATA[aws-waf]]></category>
            <category><![CDATA[aws-system-manager]]></category>
            <category><![CDATA[aws-shield]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[cloudtrail]]></category>
            <dc:creator><![CDATA[Sudharshan Chadaga Ravish]]></dc:creator>
            <pubDate>Sat, 18 Mar 2023 00:31:23 GMT</pubDate>
            <atom:updated>2023-03-18T00:31:23.055Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>Implementation of a set of EC2 instances using Terraform and AWS Systems Manager configuration with Amazon Simple Notification Service for automated installation of security officers</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n8BpukIewiIZSwDg227TZg.png" /></figure><p><strong>Project description:</strong></p><p>In this project based on a real-world scenario, I acted as DevSecOps Engineer, and I deployed a set of EC2 instances and infrastructure in an automated way using Terraform (infrastructure as code — IaC). Also, it was necessary to install a specific security agent on all these instances in an automated way.</p><p>Once I provisioned the infrastructure, AWS System Manager and its component Command Run were used to install the security agents in an automated way. I used the Amazon Simple Notification Service — SNS to send an email informing the whole process status.</p><p>Architecture Design</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_lfls-gHWpTs4eqW2Duecg.png" /></figure><p>Utilized Terraform to generate a comprehensive configuration file for deploying two EC2 instances, VPC, Subnet, and a designated Key Pair.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IS962ATIWIMBK2-c_5vasQ.png" /></figure><p>We are utilizing Amazon Cloud Shell for deployment purposes. Please execute the below commands to install Terraform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vz6kdbmF9DPj9pNcJs6gWg.png" /></figure><p>Copy the configuration file created to CloudShell and Run the below commands.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eVYi5zVg90oWI6BzvXL4yw.png" /></figure><p>$ terraform init<br>$ terraform plan<br>$ terraform apply</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*6KM2-Q_WcuWr4E1MXf-yLQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g1diJU5AjIQp_3QOGija0w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g1diJU5AjIQp_3QOGija0w.png" /></figure><p>After initiating the EC2 instances, it would be advisable to generate an IAM role titled “SystemsManagerToSNS” and assign the “AmazonSNSFullAccess” permission to enable the Systems Manager to utilize the SNS service for sending email notifications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iS7a5NPZGeE4w3z0jQYd-A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sh20ew6IKO5kHD3C0Ed5Mg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sh20ew6IKO5kHD3C0Ed5Mg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T9lh1agHNpdppkvVv3e3CA.png" /></figure><p>Amazon’s Simple Notification Services has generated standard topics and subscriptions to facilitate email notifications from the Systems Manager. Recording the ARN ID for the topics is imperative, as it is a requirement for enabling email notifications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eQ8XLYLx760BTL9i6RiSxA.png" /></figure><p>Configured System Manager to run commands. The Systems Manager created a configuration process for the EC2 instances created by terraform earlier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UlY2S7OtccmhMYMEiZO-IQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PjfWLQIuhZWNh5LgaffF5g.png" /></figure><p>The System Manager has been appropriately configured to execute commands. Additionally, a configuration process has been established by the Systems Manager for the EC2 instances that Terraform previously provisioned</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e82VEDZzGkrG8MFFKKRWcQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nd3DL5YZxYVsgFBpXH4GMA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yNTK-p9dysHRPEXokPKZ5w.png" /></figure><p>Received email</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*COLyT7CQDq7mlnApyd7BNQ.png" /></figure><p>The System Manager Quick Setup process has been completed successfully. Furthermore, the “security agent installation” has been deployed on both EC2 instances via the “Run Command” execution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*waM0fKmdDvXbFWWmS-lkxg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cLdICw3RmUn6X7G7_YJNCw.png" /></figure><p>By leveraging Terraform and AWS System Manager, we have successfully implemented a secure and automated deployment of EC2 instances and infrastructure. Terraform has enabled us to manage infrastructure as code in a scalable manner efficiently. Additionally, AWS System Manager’s Command Run feature has simplified the installation of a specific security agent across all instances. The incorporation of SNS has also allowed us to receive timely notifications on the status of the entire process. In summary, this approach provides a dependable and efficient means of managing infrastructure in a secure and scalable manner.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75bfa17c2833" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementation of a Scalable Web Application using the services of AWS Elastic Beanstalk, DynamoDB…]]></title>
            <link>https://medium.com/@sudharshanchadaga/implementation-of-a-scalable-web-application-using-the-services-of-aws-elastic-beanstalk-dynamodb-3c0c1d4a1e93?source=rss-bde69b84e917------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c0c1d4a1e93</guid>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[elastic-beanstalk]]></category>
            <category><![CDATA[dynamodb]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Sudharshan Chadaga Ravish]]></dc:creator>
            <pubDate>Thu, 16 Mar 2023 16:53:27 GMT</pubDate>
            <atom:updated>2023-03-16T16:53:27.180Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Implementation of a Scalable Web Application using the services of AWS Elastic Beanstalk, DynamoDB, CloudFront, and Edge Location</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fomkaNkDk3i6z-kiBfh4TQ.png" /></figure><p><strong>Project description:</strong></p><p>In this project, based on a real-world scenario, I was responsible for implementing an application to support the high demand of many users accessing it simultaneously. This application has been used in a large conference that had more than 10,000 people, in-person and online, with participants from all over the world.</p><p>This event was broadcast online and in person, and 10 vouchers were drawn for 3 Cloud certifications. At that moment, more than 10,000 people in the audience registered their e-mails to guarantee their participation in the raffle.</p><p>We used in AWS, Elastic Beanstalk services to deploy the web application, DynamoDB to store emails, and CloudFront to cache static and dynamic files in an Edge Location close to the user.</p><p>Solution Architecture</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9CyQP22KPfAUgpcqlqKdGw.png" /></figure><p><strong>Implementation Steps</strong></p><p>We need to establish a DynamoDB table that can effectively house our users&#39; email.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*vcG_US-SFBxtQIw5xaEVOg.png" /></figure><p>The web application environment has been established using Elastic Beanstalk. The application has been successfully uploaded to the designated S3 bucket and will be utilized for its deployment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*yUTLcsJctjNYq_DifnWnbw.png" /></figure><p>Configuring Elastic Beanstock</p><p>Auto-scaling Groups:</p><p>Min:2<br>Max:4</p><p>Upon completing the configuration process, select the “Create” option to initiate the provisioning of the necessary infrastructure for the application by Elastic Beanstalk.</p><p>We currently provision EC2 instances, a Load Balancer, an Auto Scaling Group, and CloudWatch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*LYMJ1JLyJ58Uzb0RNzY0jg.png" /></figure><p>Application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*eEkuxxX2hYhlx39pa6_5tg.png" /></figure><p>Add a few users to the system and ensure they are adequately integrated into the DynamoDB table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*yupN2pnKdNM6Wl-ZuerPKA.png" /></figure><p>To evaluate the functionality of Autoscaling and Load Balancing, it is imperative to conduct a thorough Stress Test on an EC2 instance. A warning message will likely be displayed on the EBS during this process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*pFwmpECPnvrDr3OgWQgbzQ.png" /></figure><p>The next step in the process involves the provisioning of an additional EC2 instance by the EBS to balance the load effectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*kDzLKoPBT5RVvKMWjQrJqg.png" /></figure><p>Please include an additional email address in the application and select the “Register” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*SgX43vc5ohoJylJ-T9DyXA.png" /></figure><p>It is imperative to confirm that the user has been successfully added to DynamoDB.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*yupN2pnKdNM6Wl-ZuerPKA.png" /></figure><p>I sincerely hope that you found this read to be enjoyable and informative. Your time is valuable, and I appreciate you taking a few minutes to engage with this content. I look forward to providing you with more valuable insights and perspectives. Until next time, stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c0c1d4a1e93" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Migration of a Workload running in a Corporate Data Center to AWS using the Amazon EC2 and RDS…]]></title>
            <link>https://medium.com/@sudharshanchadaga/migration-of-a-workload-running-in-a-corporate-data-center-to-aws-using-the-amazon-ec2-and-rds-a43de9322149?source=rss-bde69b84e917------2</link>
            <guid isPermaLink="false">https://medium.com/p/a43de9322149</guid>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws-cloud]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Sudharshan Chadaga Ravish]]></dc:creator>
            <pubDate>Wed, 15 Mar 2023 15:31:57 GMT</pubDate>
            <atom:updated>2023-03-15T15:31:57.498Z</atom:updated>
            <content:encoded><![CDATA[<h3>Migration of a Workload running in a Corporate Data Center to AWS using the Amazon EC2 and RDS service</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ebChOP5b4PLnTjPUg8997Q.png" /></figure><p>In another project based on a real-world scenario, I acted as the Cloud Specialist responsible for migrating a workload running in a Corporate data center to AWS. The application and database were migrated to AWS using the Lift &amp; Shift (rehost) model, moving both application and database data.</p><p>I followed some migration steps: Planning (sizing, prerequisites, resource naming), Execution (resource provisioning, best practices), Go-live (validation test — Dry-run, final migration — Cutover), and Post Go-live (ensuring the operation of the application and user access).</p><p>The Solution Architecture is shown below in the diagram.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lI7BI2j44WzrkMld9NlXXQ.png" /></figure><p>The planning phase typically involves a multidisciplinary team comprising representatives from various teams including Application, Infrastructure, Operations, Networking, and Security. These teams are responsible for the operation and maintenance of the legacy application and database, as well as the Cloud specialists team. The primary objective of this phase is to gather all the necessary information from the on-premise environment. Specific examples of this information will be provided later in the process.</p><p>With the above AWS cloud architecture, easily migrate on-premise applications and database servers to the cloud. The proposed solution includes a VPC that contains an EC2 instance to host your application server and an Amazon RDS instance to host your DB server.</p><p>Data migration can be daunting, so to ensure a seamless transition, copy the application and database server files to the AWS S3 bucket using AWS CLI. Then migrates the application files to the EC2 instance and DB files to the RDS server. I also update security groups to create inbound rules that allow connectivity between the application server and the RDS instance.</p><p>But that’s not all! I go the extra mile to update the application configuration file to point to the cloud DB hostname. With this solution, you can enjoy the cloud&#39;s benefits using security or performance.</p><p>Thanks for reading.</p><p>AWS EC2| EBS | S3 | RDS | VPC | Subnet</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a43de9322149" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automated user migration and management of AWS Identity and Access Management (IAM) resources]]></title>
            <link>https://medium.com/@sudharshanchadaga/automated-user-migration-and-management-of-aws-identity-and-access-management-iam-resources-ac293ff83bb8?source=rss-bde69b84e917------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac293ff83bb8</guid>
            <dc:creator><![CDATA[Sudharshan Chadaga Ravish]]></dc:creator>
            <pubDate>Wed, 15 Mar 2023 14:54:37 GMT</pubDate>
            <atom:updated>2023-03-15T14:54:37.806Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xJSBB87Yz6VkiizgA_BMiw.png" /></figure><p><strong>Project description:</strong></p><p>In this project based on a real-world scenario, I acted as Cloud Specialist with the mission to migrate users in an automated way and manage AWS IAM (Identity and Access Management) resources.</p><p>There were 100 users that needed to be migrated and have MFA (Multi-factor authentication) enabled on their accounts, as this is a security best practice.</p><p>I needed to automate the processes to avoid repetitive and manual tasks in AWS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LHfljx4Vp95tlBpUSP6vYg.png" /></figure><p>I revolutionized the process by leveraging the powerful combination of GitBash, AWS CLI, Shell Script, and a .csv file containing a list of 100 users. With a single, lightning-fast execution, I optimized the process and ensured all users were created seamlessly. Thanks to this innovative approach, our infrastructure was up and running immediately, allowing us to achieve maximum productivity in record time. Don’t settle for a slow and cumbersome user creation process — take advantage of the cutting-edge tools at your disposal and streamline your workflow like never before.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac293ff83bb8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>