<?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 Swapnali Thakur on Medium]]></title>
        <description><![CDATA[Stories by Swapnali Thakur on Medium]]></description>
        <link>https://medium.com/@swapnalithakur217?source=rss-2353cfa493cc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Swapnali Thakur on Medium</title>
            <link>https://medium.com/@swapnalithakur217?source=rss-2353cfa493cc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 23:41:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@swapnalithakur217/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[Mastering GitHub Copilot (GH-300): Key Concepts, Study Notes, and My Certification Journey]]></title>
            <link>https://medium.com/@swapnalithakur217/mastering-github-copilot-gh-300-key-concepts-study-notes-and-my-certification-journey-b91fecc6beab?source=rss-2353cfa493cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/b91fecc6beab</guid>
            <category><![CDATA[microsoft-certification]]></category>
            <category><![CDATA[github-copilot]]></category>
            <category><![CDATA[developer-community]]></category>
            <category><![CDATA[responsible-ai]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Swapnali Thakur]]></dc:creator>
            <pubDate>Sat, 08 Nov 2025 14:46:48 GMT</pubDate>
            <atom:updated>2025-11-10T07:19:51.201Z</atom:updated>
            <content:encoded><![CDATA[<h3>🚀 Introduction</h3><p>When I began experimenting with <strong>GitHub Copilot</strong>, it felt like having a co-developer who could understand my intent before I even finished typing. Preparing for and passing the <strong>Microsoft GH-300: GitHub Copilot for Developers certification</strong> was not just about earning a credential — it was about understanding how AI is redefining software excellence.</p><p>In this blog, I’ll share a condensed version of my <strong>study notes and takeaways</strong> from the GH-300 certification.<br> These insights will help you <strong>master the key concepts</strong>, <strong>revise faster</strong>, and truly <strong>understand the technology</strong> behind GitHub Copilot.</p><h3>🧩 Microsoft’s Responsible AI Principles</h3><p>GitHub Copilot is built on Microsoft’s ethical AI framework. The exam heavily emphasizes these principles because Copilot sits at the intersection of <strong>AI, ethics, and developer responsibility</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*X3RgDsLbK3riiOhn2YSVHQ.png" /></figure><blockquote>💡 <strong>Memory Tip:</strong> “FAIR” = Fairness • Accountability • Inclusiveness • Reliability</blockquote><h3>⚖️ How to Minimize AI Bias</h3><p>Bias is one of the biggest risks in AI-assisted coding. GH-300 expects you to understand practical ways to minimize it.</p><p>✅ <strong>Use diverse datasets</strong> — training data should represent real-world users.<br> ✅ <strong>Apply fairness metrics</strong> — measure bias across sensitive groups.<br> ✅ <strong>Maintain human oversight</strong> — always review outputs before deployment.</p><blockquote>Don’t optimize only for accuracy — optimize for <em>equity</em>.</blockquote><h3>🔐 Code Security &amp; Trust</h3><p>In AI-driven systems, <strong>security isn’t optional — it’s foundational</strong>.</p><p>Key reasons to secure your Copilot workflows:</p><ul><li>Prevent <strong>unauthorized access</strong> and <strong>data breaches</strong></li><li>Maintain <strong>integrity of models and codebases</strong></li><li>Build <strong>developer and user trust</strong></li></ul><h3>💬 Transparency Builds Trust</h3><p>Transparency is an ethical requirement in all AI-powered systems.<br> Developers should:</p><ul><li>Explain <em>what</em> Copilot filters or generates.</li><li>Communicate <em>how</em> it arrives at decisions.</li></ul><blockquote>The more transparent an AI system is, the higher its credibility.</blockquote><h3>⚡ Essential Slash Commands in Copilot</h3><p>Copilot supports several <strong>slash commands</strong> that streamline development and debugging.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*4wPZZ8_OGaiu7cgjgUgfOw.png" /></figure><blockquote>🧠 <em>Easy to remember: Fix → Optimize → Test → Explain</em></blockquote><h3>💼 GitHub Copilot Subscription Models</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*0anNJRxERcUUEkjNz3BTyA.png" /></figure><blockquote><strong>Business</strong> and <strong>Enterprise</strong> plans protect your code and prompts from being reused for training.</blockquote><h3>⚙️ Managing Copilot Policies</h3><p>For <strong>GitHub Copilot Business</strong>, administrators can configure usage rules centrally:</p><ul><li>Navigate to: Organization Settings → Copilot → Policies</li><li>Use REST API to:</li><li>View active <strong>seat assignments</strong></li><li>Get <strong>usage summaries</strong> and <strong>metrics</strong></li></ul><blockquote>These controls ensure Copilot aligns with your organization’s governance and compliance standards.</blockquote><h3>💡 Prompt Engineering Fundamentals</h3><p>GitHub Copilot is only as smart as the context you give it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*e50MMitz7MOjzpphB0Jm0Q.png" /></figure><blockquote>🎯 <em>More context → More accurate results.</em></blockquote><h3>🔄 Copilot Suggestion Lifecycle</h3><p>Every Copilot suggestion follows these key steps:</p><ol><li>Capture user context from the IDE</li><li>Generate AI-based code suggestions</li><li>Filter for <strong>code quality</strong>, <strong>relevance</strong>, and <strong>public-code matches</strong></li></ol><p>This pipeline ensures both productivity and ethical use of AI-generated code.</p><h3>🛡️ Content Exclusions &amp; Safety Features</h3><p>Copilot’s <strong>content exclusion</strong> features prevent sensitive or proprietary code from influencing its suggestions.</p><p>You can exclude:</p><ul><li><strong>Repositories</strong></li><li><strong>Files</strong></li><li><strong>Folders</strong></li></ul><blockquote>These settings are available in <strong>Business</strong> and <strong>Enterprise</strong> plans.</blockquote><p>🔒 Additionally:</p><ul><li><strong>Duplication Detection</strong> prevents verbatim public code matches.</li><li><strong>Toxicity Filters</strong> block explicit, hateful, or discriminatory language.</li></ul><h3>🧠 Advanced Copilot Techniques</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*OfoRgElnXnqX9-ca7BG2jQ.png" /></figure><h3>🧩 Practical Use Cases</h3><p>GitHub Copilot goes beyond code completion. It can:</p><ul><li>Generate documentation from your code</li><li>Refactor existing code for clarity and maintainability</li><li>Maintain test consistency across projects</li><li>Eliminate repetitive boilerplate tasks</li></ul><h3>⚖️ Ethics and Compliance in Practice</h3><p>To align with GH-300 standards:</p><ul><li>Always apply <strong>Fairness, Accountability, Inclusiveness, and Reliability</strong>.</li><li>Enable <strong>content exclusions</strong> to avoid IP issues.</li></ul><blockquote>Remember: Copilot suggestions <strong>require human validation</strong> — AI assists, but you decide.</blockquote><h3>🧭 My Personal Takeaway</h3><p>Earning the GH-300 certification reshaped my coding mindset.<br> I no longer see AI as a shortcut — it’s a <strong>collaborative intelligence</strong> that empowers developers to think bigger and move faster.</p><p>GitHub Copilot helps me:</p><ul><li>Write cleaner, faster, and more reliable code</li><li>Reduce mental load during routine tasks</li><li>Focus on building <em>solutions</em>, not syntax</li></ul><blockquote>The future of software engineering is AI-assisted — but human-led.</blockquote><h3>📚 Recommended Resources</h3><p><a href="https://learn.microsoft.com/en-us/credentials/certifications/resources/study-guides/gh-300">Study guide for GH-300: GitHub Copilot | Microsoft Learn</a></p><p><a href="https://learn.microsoft.com/en-us/training/paths/copilot/">GitHub Copilot Fundamentals Part 1 of 2 — Training | Microsoft Learn</a></p><p><a href="https://learn.microsoft.com/en-us/credentials/certifications/practice-assessments-for-microsoft-certifications">Practice Assessments for Microsoft Certifications | Microsoft Learn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b91fecc6beab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon Elastic Beanstalk]]></title>
            <link>https://medium.com/@swapnalithakur217/amazon-elastic-beanstalk-e422ccc4b9e4?source=rss-2353cfa493cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/e422ccc4b9e4</guid>
            <dc:creator><![CDATA[Swapnali Thakur]]></dc:creator>
            <pubDate>Sat, 28 Jan 2023 06:26:43 GMT</pubDate>
            <atom:updated>2023-01-28T06:45:59.192Z</atom:updated>
            <content:encoded><![CDATA[<ul><li>Elastic Beanstalk is platform as service.</li><li>Allow quick deployment of your application</li><li>Reduce management complexity</li></ul><p><em>Elastic Beanstalk can automatically manage setup, configuration, scaling and provisioning for other AWS services.</em></p><p><strong>Keep control in your hand</strong></p><ul><li>Choose your instance type</li><li>Choose your database</li><li>Set and adjust auto scaling</li><li>Update your application</li><li>Access server log</li></ul><p><strong>Supported platforms</strong></p><ul><li>Docker</li><li>Go</li><li>Java SE</li><li>Java with Tomcat</li><li>.NET</li><li>Node.js</li><li>PHP</li><li>Python</li></ul><p><strong>Elastic Beanstalk Features</strong></p><ul><li>Automatic Load balancing</li><li>Auto Scaling</li><li>Manage platform updates</li><li>health monitoring</li></ul><h3>Deploying an ASP.NET core application with Elastic Beanstalk</h3><p><a href="https://medium.com/@swapnalithakur217/deploying-an-asp-net-core-application-with-elastic-beanstalk-1fa1099fbfa6">Deploying an ASP.NET core application with Elastic Beanstalk</a></p><p>Thank you for reading..</p><p>-Swapnali 😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e422ccc4b9e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying an ASP.NET core application with Elastic Beanstalk]]></title>
            <link>https://medium.com/@swapnalithakur217/deploying-an-asp-net-core-application-with-elastic-beanstalk-1fa1099fbfa6?source=rss-2353cfa493cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/1fa1099fbfa6</guid>
            <category><![CDATA[aws-elastic-beanstalk]]></category>
            <category><![CDATA[elastic-beanstalk]]></category>
            <category><![CDATA[aspnetcore]]></category>
            <dc:creator><![CDATA[Swapnali Thakur]]></dc:creator>
            <pubDate>Sat, 28 Jan 2023 06:17:03 GMT</pubDate>
            <atom:updated>2023-01-28T06:55:03.336Z</atom:updated>
            <content:encoded><![CDATA[<p>Process of deploying <strong>.NET Core on Linux</strong> application to AWS Elastic Beanstalk.</p><p>Search for Elastic Beanstalk Service from AWS Search box</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MhSR19Rw-PTvfXWDYSBqhg.png" /></figure><p>On top right corner click on <em>create application</em> button Create a web app window will open.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iWlynfeTaVOIONQiskTWBQ.png" /></figure><p>Type name for your application, Application tags you can leave it as blank.</p><p>In Platform section:- select platform as .Net core on Linux then select Platform branch and Platform version.</p><p>In Application code section:- here you can select <em>Sample application </em><strong><em>or </em></strong><em>Upload your code</em></p><p>here i am uploading my code so selecting <em>Upload your code </em>option<em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*iZ__LoctlIuDZ6Or05OAZg.png" /></figure><p>After selecting <em>Upload your code </em>option you will see new section <strong><em>Source code origin </em></strong>here you can upload your local file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kXHgp_C69_T0m1IC9vB7bA.png" /></figure><p>If you want to do some custom configuration like load balancer, modification in Auto scaling group ,you can click on <em>configure more option</em></p><p>here i am doing some changes in Auto scaling group for load balancer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r_pZUBfEjV3G4pdOSQcRJQ.png" /></figure><p>Click on Create App on right bottom corner. it will take few minutes to set up environments then your application will be ready to start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zxI5yt2dVY4DCg8caH24xw.png" /></figure><p>Click on <strong><em>Go to environment</em></strong><em> </em>option in left side panel to check your app in browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*06kxgSen-XuMG63a60b0Fw.png" /></figure><p><strong>How to delete application from Elastic Beanstalk</strong></p><p>Click on <em>application </em>option in left side panel. you will able to see all your appliactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FbiL7_xB4vGQPSl2CPz4Fg.png" /></figure><p>select your application that you want to delete then click on <strong><em>Action </em></strong>and select <strong><em>Delete application</em></strong> option.</p><p>It will take few minutes to delete your application because it will automatically delete all your services associated with the application like <em>EC2 instance, Instance security group, Load balancer, Auto Scaling group, Amazon CloudWatch alarms etc,</em></p><p>Thank you for reading..</p><p>-Swapnali 😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1fa1099fbfa6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 4 — Bash Scripting]]></title>
            <link>https://medium.com/@swapnalithakur217/week-4-bash-scripting-99f3b442109e?source=rss-2353cfa493cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/99f3b442109e</guid>
            <dc:creator><![CDATA[Swapnali Thakur]]></dc:creator>
            <pubDate>Sun, 04 Dec 2022 09:14:19 GMT</pubDate>
            <atom:updated>2022-12-04T09:15:20.013Z</atom:updated>
            <content:encoded><![CDATA[<h3>Week 4 — Bash Scripting</h3><p><strong>What is a SHELL?</strong></p><ul><li>The command line interface is the primary interface to Linux/Unix operating systems.</li><li>Shells are how command-line interfaces are implemented in Linux/Unix.</li><li>Each shell has varying capabilities and features and the user should choose the shell that best suits their needs.</li><li>The shell is simply an application running on top of the kernel and provides a powerful interface to the system</li></ul><p><strong>Types of Shell</strong></p><ul><li>sh : Bourne Shell </li><li>csh : C Shell </li><li>ksh : Korn Shell </li><li>bash : Bourne Again Shell </li><li>tcsh : TENEX C Shell </li></ul><p><strong>File Permissions</strong></p><ul><li>In *NIX OS’s, you have three types of file permissions</li></ul><p>1 read (r) ,2 write (w) ,3 execute (x)</p><p>. For three types of users</p><p>1 user , 2 group ,3 world i.e. everyone else who has access to the system</p><p><em>drwxr-xr-x. 2 user user 4096 Jan 28 08:27 Public</em></p><p><em>rw-rw-r- -. 1 user user 3047 Jan 28 09:34 README</em></p><ul><li>The first character signifies the type of the file</li></ul><p><strong><em>d</em></strong><em> for directory, </em><strong><em>l</em></strong><em> for symbolic link ,</em><strong><em> —</em></strong><em> for normal file</em></p><ul><li>The next three characters of first triad signifies what the owner can do</li><li>The second triad signifies what group member can do</li><li>Give everyone execute permission:</li></ul><p><em>chmod a+x hello.sh</em></p><p><em>chmod ugo+x hello.sh</em></p><ul><li>Remove group and world read &amp; write permission:</li></ul><p><em>chmod go-rw hello.sh</em></p><ul><li>Use the -R flag to change permissions recursively, all files and directories and their contents.</li></ul><p><em>chmod -R 755 ${HOME}/*</em></p><p><strong><em>Writing your first script</em></strong></p><p>Three things to do to write and execute a scrip</p><p>1 Write a script</p><ul><li>A shell script is a file that contains ASCII text.</li><li>Create a file, hello.sh with the following lines</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/243/1*VS2xL0KfQXUHEc-Qy7bNKw.png" /></figure><p>2 set permissions</p><p><em>chmod 755 hello . sh </em><strong>OR<em> </em></strong><em>chmod a+x hello . sh</em></p><p>3 Execute the script</p><p><em>./ hello . sh</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*a5EmyMBSJGR8hpmlbEfr9Q.png" /></figure><p>4 If you do not set execute permission for the script, then</p><p><em>sh hello . sh</em></p><p><strong>Description of the script</strong></p><ul><li>My First Script</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/243/1*VS2xL0KfQXUHEc-Qy7bNKw.png" /></figure><ul><li>The first line is called the ”ShaBang” line. It tells the OS which interpreter to use.</li><li>The second line is a comment. All comments begin with ”#”.</li><li>The third line tells the OS to print ”Hello World!” to the screen.</li></ul><p><strong>Special Characters</strong></p><p><strong>#:</strong> starts a comment.</p><p><strong>$:</strong> indicates the name of a variable.</p><p><strong>\:</strong> escape character to display next character literally.</p><p><strong>{ }:</strong> used to enclose name of variable.</p><p><strong>;</strong> Command separator [semicolon]. Permits putting two or more commands on the same line.</p><p><strong>;;</strong> Terminator in a case option [double semicolon].</p><p><strong>. ”dot”</strong> command [period]. Equivalent to source. This is a bash builtin.</p><p><strong>$?</strong> exit status variable.</p><p><strong>$$</strong> process ID variable.</p><p><strong>[ ]</strong> test expression</p><p><strong>[[ ]]</strong> test expression, more flexible than [ ]</p><p>$[ ], (( )) integer expansion ||, &amp;&amp;, ! Logical OR, AND and NOT</p><p><strong>Quotation</strong></p><p>_Double Quotation <strong>“ “</strong></p><ul><li>Enclosed string is expanded (”$”, ”/” and ”‘”)</li><li>Example: echo “$myvar” prints the value of myvar</li></ul><p>_Single Quotation <strong>’ ’</strong></p><ul><li>Enclosed string is read literally</li><li>Example: echo ’$myvar’ prints $myvar</li></ul><p>_Back Quotation <strong>‘ ‘</strong></p><ul><li>Used for command substitution</li><li>Enclosed string is executed as a command</li><li>Example: echo ‘pwd‘ prints the output of the pwd command i.e. print working directory</li><li>In bash, you can also use $(· · · ) instead of ‘· · · ‘ e.g. $(pwd) and ‘pwd‘ are the same</li><li><em>Example</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*ejSHueRN1gpnOE4lhg5TnA.png" /></figure><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/1*W_cbgx_slzMx-fknHcEBAQ.png" /></figure><p><strong>Arithmetic Operations</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/299/1*NXHy9iHfWRz51iBTef-1nw.png" /></figure><p>Arithmetic operations in bash can be done within the $((· · · )) or $[· · · ] commands</p><p><em>Add two numbers: $((1+2))</em></p><p><em>Multiply two numbers: $[$a*$b]</em></p><p><em>You can also use the let command: let c=$a-$b</em></p><p><em>or use the expr command: c=‘expr $a — $b‘</em></p><p><strong>Comparison Operators</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/304/1*F2aWTNW5clZJyr69COyqxQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*MaCOsAxnljO052hE0pZJOA.png" /></figure><p>File Test &amp; Logical Operators</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/337/1*bJR-wazV5q3JvcK-tTYPlA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*RPtPFMjunaZYEab_57hDlw.png" /></figure><p>Flow Control</p><ul><li>Shell Scripting Languages execute commands in sequence similar to programming languages such as C, Fortran, etc.</li><li>Control constructs can change the sequential order of commands.</li><li>Control constructs available in bash and tcsh are</li><li><strong><em>Conditionals: if</em></strong></li><li><strong><em>Loops: for, while, until</em></strong></li><li><strong><em>Switches: case, switch</em></strong></li></ul><p><strong>if statement</strong></p><p>An if/then construct tests whether the exit status of a list of commands is 0, and if so, executes one or more commands.</p><ul><li><em>Note the space between condition and ”[” ”]”</em></li><li><em>bash is very strict about spaces.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/251/1*64DSQCm-vGWzhCfeZMlpHA.png" /></figure><ul><li><em>Example</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*TzMJl38u-aT0vc3-oJ61Iw.png" /></figure><p><strong>Loop Constructs</strong></p><p>A loop is a block of code that iterates a list of commands as long as the loop control condition is <em>true</em>.</p><ul><li>Loop constructs available in bash: for, while and until</li><li>The for loop is the basic looping construct in bash</li><li>the for and do lines can be written on the same line: for arg in list; do</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*IlLZSsJn2KTkYXDY018xCQ.png" /></figure><p><em>Example</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*EdNnQ4l_hJv553Ai4Zux4Q.png" /></figure><p><strong>while Construct</strong></p><ul><li>The while construct tests for a condition at the top of a loop, and keeps looping as long as that condition is true (returns a 0 exit status).</li><li>In contrast to a for loop, a while loop finds use in situations where the number of loop repetitions is not known beforehand.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/247/1*N2b2yxHSuzUQ1kENvRDJrQ.png" /></figure><ul><li><em>Example</em>:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*GtoODpBFI59lzXanCArsGA.png" /></figure><p><strong>until Construct</strong></p><ul><li>until construct tests for a condition at the top of a loop, and keeps looping as long as that condition is false (opposite of while loop).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/239/1*1RDovuMUgoUlNk-DHH7crQ.png" /></figure><p><em>Example</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*t1J38F-YUwwicGQIVAQ88Q.png" /></figure><p><strong>SIMPLE PASSWORD GENERATOR :-</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YeUXtTDGm33deqtf0FCIig.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99f3b442109e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[-Week 3(29th and 30th Oct )AWS Introduction :Intro to AWS, EC2 and IAM]]></title>
            <link>https://medium.com/@swapnalithakur217/week-3-29th-and-30th-oct-aws-introduction-intro-to-aws-ec2-and-iam-e4b14848e383?source=rss-2353cfa493cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4b14848e383</guid>
            <dc:creator><![CDATA[Swapnali Thakur]]></dc:creator>
            <pubDate>Sun, 27 Nov 2022 05:54:14 GMT</pubDate>
            <atom:updated>2022-11-27T05:56:29.463Z</atom:updated>
            <content:encoded><![CDATA[<h3>-Week 3(29th and 30th Oct )AWS Introduction :Intro to AWS, EC2 and IAM</h3><p><strong>What is AWS?</strong></p><p>The Amazon Web Services (AWS) platform provides more than <em>200 fully featured services</em> from data centers located all over the world, and is the world’s most comprehensive cloud platform that includes a mixture of infrastructure-as-a-service (IaaS), platform-as-a-service(PaaS) and packaged-software-as-a-service (SaaS) offerings.</p><p><strong>How Does AWS work?</strong></p><p>AWS usually works in several different configurations depending on the user’s requirements. However, the user must be able to see the type of configuration used and the particular server map with respect to the AWS service</p><p><strong>Spinning up your first machine in AWS:</strong></p><p>Search for EC2 Service from AWS Search box.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MqfIoKMPWd9FnOeEbVPVEA.png" /></figure><p>Make sure the default (N. Virginia) Region is selected to avoid any future billing problems.</p><p>click on instances -&gt; In launch instance section click on launch instance button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*4_6EwAlwUQsy6YGgWa2GcA.png" /></figure><p>Type the name for your instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*Wa0-vXjE1wT8UaVyZ-Lf4A.png" /></figure><p>Select Amazon linux under Application and OS Images (Amazon Machine Image). Make sure your AMI should be in free tier eligible unless you want to pay for better usage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*9Yqnf2By8FYpeYTA62Of1Q.png" /><figcaption>Select instance type as <em>t2.micro</em></figcaption></figure><p>Select instance type as <em>t2.micro</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*yAw4fx9fpD2cgeI5mfd0wg.png" /></figure><p>In key pair (login) section click on <em>Create new key pair.</em>Enter any name for your key pair and click on Click key pair then Newly created key pair gets downloaded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/1*VPKuIqQt1GGu1xwPZzI4ww.png" /></figure><p>Network settings and configure storage and Advance details you can leave it as is for now.</p><p>On right side of window read the summary here you can enter number of instances you want to create and click on Launch Instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*4NajqFUaXtEfuL3c4ltQmA.png" /></figure><p><strong>Connecting to our newly created machine:</strong></p><p>There are multiple ways of connecting to machine. so here we’ll be following <em>EC2 Instance Connect </em>to connect to our machine.</p><p>Select your instance then connect button will be active on top. click on connect</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*CbNmio0q6CrElZvM_B_1-Q.png" /></figure><p>Click on EC2 Instance Connect tab and click on connect.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*LY9kKAMj9bAGMgY5Vg8U_w.png" /></figure><p>Default Username &amp; Password</p><p>The default user name for your EC2 instance is determined by the AMI that was specified when you launched the instance. Please check below link for more info.</p><p><a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/managing-users.html">Manage user accounts on your Linux instance</a></p><p><strong>Amazon CloudWatch</strong></p><p>Amazon CloudWatch monitors your Amazon Web Services (AWS) resources and the applications you run on AWS in real time. You can use CloudWatch to collect and track metrics, which are variables you can measure for your resources and applications.</p><p>You can create alarms that watch metrics and send notifications or automatically make changes to the resources you are monitoring when a threshold is breached.</p><p><strong>Setting up alerts using Cloud Watch:</strong></p><p>First in Search box type “CloudWatch” and open it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*BeqVwH8SzHD2U5FfA9gm0A.png" /></figure><p>Now click on Billing on left side menu then Create on Create Alarm on the top right corner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*PiW7pyo21McZrlhlAEmwcg.png" /></figure><p>Now at the bottom of page enter the amount at which you want to receive alert. Then click on Next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*MDpqzr1z5yhu7vVtK1lCmw.png" /></figure><p>Select Create new topic under Notification and then enter your email and click on Create Topic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*WXu0boygWe2-8-LSbPxWOA.png" /></figure><p>Click on Next. Set Alarm Name and Description and Click on Next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*ue1gKYMC-7eMNjAazygOSQ.png" /></figure><p>Lastly Click on Create Alarm at the bottom of page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*2y8qoa2uC_zpc98Qe_5ZCA.png" /></figure><p><strong>How to create an IAM user?</strong></p><p>Log in to your AWS Console and select IAM from the list of services by searching for it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*3ik_9ypa2j0v8HamsKmxTQ.png" /></figure><p>Select Users from left hand side box Then Click on Add User inside blue button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*gmwfZ8AI2v_PFwLnI5DrKQ.png" /></figure><p>1. Enter the username for the user you want to create.</p><p>2. Select the type of access this set of users will have. Either you want a user to have programmatic access , AWS Management Console access or both.</p><p>3. In console password provide custom password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*RaZCBUbxLMrzCKwFndBQrw.png" /></figure><p>4. Now choose Next Permissions</p><p>For permission I am choosing for now attach existing policies and selecting first policy AdministratorAccess for full access in AWS without root. Now click on Next: Tags</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*DPv55HMgcoopcOcGintufg.png" /></figure><p>If you want to give a tag you can give as well but this is optional. and then Click on Next: Review. Lastly Click on Create User</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*zPWFcSkl-3kOKbVk9Me7Uw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*VXIepxxzcOTJ7UnehLDHsQ.png" /></figure><p>Thank you for reading</p><p>-Swapnali 😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4b14848e383" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day4:(16th October) Started with Linux commands]]></title>
            <link>https://medium.com/@swapnalithakur217/day4-16th-october-getting-started-with-linux-commands-b76c5e9a02a7?source=rss-2353cfa493cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/b76c5e9a02a7</guid>
            <category><![CDATA[basic-linux-commands]]></category>
            <category><![CDATA[user-information]]></category>
            <dc:creator><![CDATA[Swapnali Thakur]]></dc:creator>
            <pubDate>Sat, 22 Oct 2022 16:34:50 GMT</pubDate>
            <atom:updated>2022-10-24T13:30:34.441Z</atom:updated>
            <content:encoded><![CDATA[<p>Ø <strong>User information:</strong></p><ol><li><strong>who</strong> : this command gives information about</li></ol><ul><li>Login name of the user</li><li>Date &amp; Time of login</li><li>Remote host name of user</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/508/1*fE-HlUMJ0I64Z-InLdhGFw.png" /></figure><p>2. <strong>whoami</strong>: It is displaying the system’s username</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/351/1*vJU95EsOGocSfbuD__MAUw.png" /></figure><p>3. <strong>id</strong>: It displays the user identification (real and effective group id’s)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*_4HmNSvJspLC21MVWJ4EjQ.png" /></figure><p>4. <strong>groups</strong>: This command is used to display the groups of which the user is belonging to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/351/1*5TZ_gLO3o3kLBqmqN_T5Kg.png" /></figure><p>5. <strong>users</strong> : This command displays the username of all users currently logged on the system</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*5uG6yJtkv8A18knRtnsGhQ.png" /></figure><p>6. <strong>clear</strong>: This command is used to clear the terminal screen</p><p>7. <strong>lastlog</strong>: The lastlog command is used to find the details of a recent login of all users</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*Ntrf_EITI5r3fUDSi7vQgg.png" /></figure><p>Ø <strong>5 ways to become a sudo user in Linux OS</strong></p><p>1. sudo –i</p><p>2. sudo –s</p><p>3. sudo su -</p><p>4. su root</p><p>5. su –</p><p>Ø <strong>File &amp; Directory commands</strong></p><p>/ is your root directory<br> ~ is your home directory</p><p><strong>Directory Commands</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*jRj1KAXPbTmQMyX7r_Orog.png" /></figure><p><strong>File commands</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*KAJTYs1vYBZLXxaULBgH-Q.png" /></figure><p>Ø <strong>Installing packages</strong></p><p>1. Installing a package with help of yum command which will look like</p><p>#yum install package_name</p><p>2. Removing a installed package</p><p>#yum remove package_name</p><p>3. Installing a package from a localfile</p><p>./filename</p><p>Ø <strong>Disk Usage commands</strong></p><ol><li>du pathofthedirectory : This command is to find out the disk usage summary</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*AkjmKBJtJjJsGhNnZn2vrQ.png" /></figure><p>2. du –h pathofthedirectory : This command will bring up your information in human readable format</p><p>3. du –sh pathofthedirectory: This is to find out total disk usage</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*-U5MxEBfBD0YMpPaq_tpUg.png" /></figure><p>Ø <strong>System &amp; hardware information</strong></p><ol><li>uname –a : This command gives information about all the machine, a here is for all</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*xlWMqhq_6jbj45bhKSuXAQ.png" /></figure><p>2. uname –s: Command to know the kernal name</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*RKLEkdFAY0Nh4NgTOk-4Sw.png" /></figure><p>3. uname –r: Command to know kernal release version</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*7CNG6tcJQ0RglpzAn8K7Ow.png" /></figure><p>4. uname –m: Command to know about the Architecture</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/309/1*XODfOoY8Nc7HEwOvSMAjWg.png" /></figure><p>5. uname –o: Command to know about your operating system</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/1*Xe6HZo3-LlIUyxXCTHjkEA.png" /></figure><p>Thank you for reading</p><p>-Swapnali 😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b76c5e9a02a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day2:(9th October)Basic of Linux]]></title>
            <link>https://medium.com/@swapnalithakur217/day2-9th-october-basic-of-linux-61ee7fa070ff?source=rss-2353cfa493cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/61ee7fa070ff</guid>
            <dc:creator><![CDATA[Swapnali Thakur]]></dc:creator>
            <pubDate>Sat, 22 Oct 2022 16:17:02 GMT</pubDate>
            <atom:updated>2022-10-22T16:17:02.094Z</atom:updated>
            <content:encoded><![CDATA[<p>Ø <strong>What is Linux ?</strong></p><p>· Linux is an open-source operating system.</p><p>· The source code of Linux is easily available for everyone.</p><p>· Linux provides security.</p><p>· Older computer systems can be revived using Linux.</p><p>· Software can be updated using Linux.</p><p>· Customization can be done using Linux.</p><p>· Various distributions can be done using Linux.</p><p>· Linux is free to use.</p><p>· The cost of Linux is low.</p><p>· Linux has large community support</p><p>Ø <strong>Architecture of Linux</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/1*TfdVYcrspxphh3v7_Ubvwg.jpeg" /></figure><p>The architecture of a Linux System consists of the following layers −</p><p>· <strong>Hardware layer</strong> − Hardware consists of all peripheral devices (RAM/ HDD/ CPU etc).</p><p>· <strong>Kernel</strong> − It is the core component of Operating System, interacts directly with hardware, provides low level services to upper layer components.</p><p>· <strong>Shell</strong> − An interface to kernel, hiding complexity of kernel’s functions from users. The shell takes commands from the user and executes kernel’s functions.</p><p>· <strong>Utilities</strong> − Utility programs that provide the user most of the functionalities of an operating systems.</p><p>Ø <strong>What is virtualization?</strong></p><p>· <strong>Virtualization</strong> is the “creation of a virtual (rather than actual) version of something, such as a server, a desktop, a storage device, an operating system or network resources”</p><p>· Hypervisor is responsible for virtualization.</p><p>Ø <strong>What is a hypervisor?</strong></p><p>· A hypervisor is software that creates and runs virtual machines (VMs).</p><p>· A hypervisor, sometimes called a virtual machine monitor (VMM), isolates the hypervisor operating system and resources from the virtual machines and enables the creation and management of those VMs.</p><p>· The physical hardware, when used as a hypervisor, is called the <em>host</em>, while the many VMs that use its resources are <em>guests</em>.</p><p><strong>Type of hypervisor:</strong></p><p>There are 2 different types of hypervisors that can be used for virtualization: type 1 and type 2 hypervisors.</p><p><strong>1.</strong> <strong>Type 1:</strong></p><p>· A type 1 hypervisor, also referred to as a native or bare metal hypervisor, runs directly on the host’s hardware to manage guest operating systems.</p><p>· It takes the place of a host operating system and VM resources are scheduled directly to the hardware by the hypervisor.</p><p>· Examples: KVM, Microsoft Hyper-V, and VMware vSphere</p><p><strong>2.</strong> <strong>Type 1:</strong></p><p>· A type 2 hypervisor is also known as a hosted hypervisor, and is run on a conventional operating system as a software layer or application.</p><p>· Examples: VMware Workstation and Oracle VirtualBox</p><p>Ø <strong>Basic commands in Linux:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*xJgP7RKunBcVSmZYmadgMg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*DUOAw_KNfVrP2aC99DYItA.png" /></figure><p>Thank you for reading!</p><p>-Swapnali 😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61ee7fa070ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 1: (8th October)DevOps Fundamentals]]></title>
            <link>https://medium.com/@swapnalithakur217/day-1-8th-october-devops-fundamentals-27954d3f813d?source=rss-2353cfa493cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/27954d3f813d</guid>
            <category><![CDATA[devops-fundamentals]]></category>
            <dc:creator><![CDATA[Swapnali Thakur]]></dc:creator>
            <pubDate>Sat, 22 Oct 2022 15:27:38 GMT</pubDate>
            <atom:updated>2022-10-22T15:38:12.149Z</atom:updated>
            <content:encoded><![CDATA[<p>Ø <strong>What is DevOps?</strong></p><p>It’s a cultural practice in an organization by development team and operations team to use each other’s tool, to smooth out the process of software delivery.</p><p><strong>DevOps aims</strong>: To resolve the issues in the development process that arise due to the conflicting goals and isolation of traditional development and operations teams.</p><p>Before implementing devops you need to learn:</p><p>· Core values, Core ideas, Methods.</p><p>· Practices and Tools.</p><p>Ø <strong>DevOps principles : The CAMS Model</strong></p><p>CAMS stands for the following.</p><p><strong>1.</strong> <strong>C for Culture : </strong>People -&gt; process-&gt; tools</p><p>It’s a Strong collaborative bonds between software development and infrastructure operations teams. This culture is built upon the following pillars:</p><p>· Constant collaboration and communication</p><p>· Shared end-to-end responsibility</p><p>· Early problem-solving</p><p><strong>2.</strong> <strong>A for Automation</strong>:</p><p>Automating as many development, testing, configuration, and deployment procedures as possible also focuses on people and processes and not just tools.</p><p><strong>3.</strong> <strong>M for Measurement</strong>:</p><p>It is necessary to tracking the progress of various activities involved DevOps flow to understanding what works well and what can be improved.</p><p><strong>4.</strong> <strong>S for Sharing:</strong></p><p><em>Sharing is caring</em>. It is crucial to share feedback, best practices, and knowledge among teams since this promotes transparency, creates collective intelligence and eliminates constraints.</p><p>Ø <strong>DevOps — The 3 ways</strong></p><p>1. Flow Thinking: Work always flows in one direction — downstream</p><p>2. Amplify feedback : Create, shorten and amplify feedback loops</p><p>3. Experiment and learn : Continued experimentation, in order to learn from mistakes, and achieve mastery</p><p>Ø <strong>DevOps Lifecycle:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*K6jvNDBKfoBHxSsBf98QyQ.png" /></figure><p>1. <strong>Plan</strong> — Professionals determine the commercial need and gather end-user opinions throughout this level. In this step, they design a project plan to optimize business impact and produce the intended result.</p><p>2. <strong>Code</strong> — During this point, the code is being developed. To simplify the design process, the developer team used version controls tools such as GIT, TFS, GitLab etc. that assist them in preventing safety problems and bad coding standards.</p><p>3. <strong>Build</strong> — After programmers have completed their task, they use tools such as Maven and Gradle to submit the code to the common code source.</p><p>4. <strong>Test</strong> — To assure software integrity, the product is first delivered to the test platform to execute various sorts of screening such as user acceptability testing, safety testing, integration checking, speed testing, and so on, utilizing tools such as JUnit, Selenium, etc.</p><p>5. <strong>Release</strong> — At this point, the build is prepared to be deployed in the operational environment.</p><p>6. <strong>Deploy</strong> — At this point, Infrastructure-as-Code assists in creating the operational infrastructure and subsequently publishes the build using various DevOps lifecycle tools.</p><p>7. <strong>Operate</strong> — This version is now convenient for users to utilize. With tools including Chef, the management department take care of server configuration and deployment at this point.</p><p>8. <strong>Monitor</strong> — The DevOps workflow is observed at this level depending on data gathered from consumer behavior, application efficiency, and other sources. The ability to observe the complete surroundings aids teams in identifying bottlenecks affecting the production and operations teams’ performance.</p><p>Ø <strong>DevOps Jargons:</strong></p><p>1. <strong>Provisioning</strong>: Provisioning is the process of setting up IT infrastructure. Server is ready with OS, software and networking.</p><p>2. <strong>Deployment</strong>: Adding or upgrading the software on the server.</p><p>3. <strong>Orchestration</strong>: coordinated operations on multiple systems.</p><p>4. <strong>Configuration management</strong>: managing server configuration via files such as ram, space, dependency software’s etc.</p><p>5. <strong>Imperative(procedural):</strong> commands to produce desired state</p><p>6. <strong>Declarative(procedural)</strong>: desired state is defined and tools will achieve it</p><p>7. <strong>Idempotent</strong>: any function that can be executed several times without changing the final result beyond its first iteration.</p><p>8. <strong>Blue green deployment</strong>: its a deployment strategy in which you create two separate, but identical environments. One environment (blue) is running the current application version and one environment (green) is running the new application version.</p><p>9. <strong>Continuous Integration</strong>: Build and unit test at every checkin</p><p>10. <strong>Continuous Delivery</strong>: deploy on production live environment at every checkin</p><p>11. <strong>Continuous Deployment</strong>: After unit testing, deploy changes to production in small batches.</p><p>Thank you for reading</p><p>-Swapnali 😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27954d3f813d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>