<?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 Sasmita Gurung on Medium]]></title>
        <description><![CDATA[Stories by Sasmita Gurung on Medium]]></description>
        <link>https://medium.com/@sasmigrg93?source=rss-5796dc8635e9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*gLKil_27hS3En5Nl</url>
            <title>Stories by Sasmita Gurung on Medium</title>
            <link>https://medium.com/@sasmigrg93?source=rss-5796dc8635e9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 14:55:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sasmigrg93/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[AWS Community Events]]></title>
            <link>https://medium.com/@sasmigrg93/aws-events-ded08560b535?source=rss-5796dc8635e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/ded08560b535</guid>
            <category><![CDATA[aws-community]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Sasmita Gurung]]></dc:creator>
            <pubDate>Sun, 13 Sep 2026 05:51:01 GMT</pubDate>
            <atom:updated>2026-09-13T05:51:01.312Z</atom:updated>
            <content:encoded><![CDATA[<img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ded08560b535" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How DevOps role has evolved during rise of LLMs]]></title>
            <link>https://medium.com/@sasmigrg93/devops-ebc2eff5dddb?source=rss-5796dc8635e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/ebc2eff5dddb</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[awscommunitybuilder]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Sasmita Gurung]]></dc:creator>
            <pubDate>Sat, 11 Jul 2026 04:31:03 GMT</pubDate>
            <atom:updated>2026-07-11T04:31:03.865Z</atom:updated>
            <content:encoded><![CDATA[<img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ebc2eff5dddb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thoughts on LLM, Agentic Workflow and Automation]]></title>
            <link>https://medium.com/@sasmigrg93/agentic-workflow-6d2f88746af7?source=rss-5796dc8635e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d2f88746af7</guid>
            <category><![CDATA[awscommunitybuilder]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Sasmita Gurung]]></dc:creator>
            <pubDate>Sat, 16 May 2026 04:26:00 GMT</pubDate>
            <atom:updated>2026-05-16T04:26:00.456Z</atom:updated>
            <content:encoded><![CDATA[<img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d2f88746af7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Passed the AWS DevOps Engineer Professional Certification?]]></title>
            <link>https://medium.com/@sasmigrg93/how-i-passed-the-aws-devops-engineer-professional-certification-3a9b41ad8ac0?source=rss-5796dc8635e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a9b41ad8ac0</guid>
            <category><![CDATA[aws-certification]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-devops-professional]]></category>
            <dc:creator><![CDATA[Sasmita Gurung]]></dc:creator>
            <pubDate>Mon, 24 Nov 2025 03:58:14 GMT</pubDate>
            <atom:updated>2025-11-24T03:58:14.894Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BLN2ZcZ9DTi9ja-Wzg0Xbg.png" /></figure><p>Getting AWS certified has always been one of my career goals. After working hands-on with AWS for a while, I decided to take the next step: the AWS Certified DevOps Engineer — Professional exam. It’s one of the toughest AWS certifications out there, but also one of the most credible ways to demonstrate your professional skills.</p><p>In this post, I’ll share how I prepared, what resources I used, the challenges I faced, and some honest tips that helped me pass the exam.</p><h4>Why I Decided to Take the AWS DevOps Engineer Exam?</h4><p>After using AWS for a couple of years for my work, I realized how much DevOps practices shaped cloud workflows such as automation, continuous delivery, and monitoring which were integral parts of my work.</p><p>The AWS DevOps Engineer certification seemed like the perfect opportunity to deepen my understanding of CI/CD, infrastructure automation, and deployment strategies while validating my skills officially.</p><h4><strong>Understanding the Exam</strong></h4><p>This exam is a 180 minute exam and if you are not a native English speaker then you will be able to get 30 minutes extra which you need to request before booking the exam. There are 75 scenario-based multiple-choice questions which are tough and lengthy but achievable with the right strategy.</p><p>The AWS Certified DevOps Engineer — Professional exam focuses on six main domains:</p><ul><li>SDLC Automation (22%)</li><li>Configuration Management and Infrastructure as Code (17%)</li><li>Security and Compliance (17%)</li><li>Resilient Cloud Solutions (15%)</li><li>Monitoring and Logging (15%)</li><li>Incident and Event Response (14%)</li></ul><h4><strong>My Study Plan &amp; Resources</strong></h4><p>I spent around 3 months preparing. My strategy was all about consistency and structured syllabus (online course. Hands-on and practice exam), where I committed 1 to 2 hours a day.</p><p><strong>Udemy Course</strong>: Stephane Maarek’s AWS Certified DevOps Engineer -Professional Course</p><p><strong>Cloud Academy: </strong>AWS DevOps Engineer — Professional (DOP-C02) Certification Preparation</p><p><strong>Practice Exams</strong>: Tutorials Dojo/Jon Bonso which is extremely helpful for understanding question patterns.</p><p><strong>Hands-On Labs:</strong> I practiced building real CI/CD pipelines with CodePipeline, CodeBuild, and ECS.</p><p><strong>Notes</strong>: I made short notes for each domain and used them for quick revision during the last week.</p><h4><strong>My Preparation Strategy</strong></h4><p>Here’s what worked best for me:</p><p>Start with the Basics: Brush up on services like IAM, EC2, S3, and CloudFormation before diving deep.</p><p>Learn by Doing: Practice everything in the AWS console. Deploy applications, automate pipelines, and break things on purpose then fix them.</p><p>Understand Scenarios(Not Definitions): The exam tests real-world problem-solving, not memorization.</p><p>Take Mock Exams: I took at least 5 full-length practice tests and reviewed every wrong answer carefully.</p><p>Revised constantly: During the last two weeks, I focused entirely on weak areas like CloudFormation, drift detection and CodeDeploy configurations.</p><h4><strong>Exam Day Experience</strong></h4><p>I took the physical exam at an authorized test center. I arrived about 20 to 30 minutes early to complete the check-in process, which included ID verification and a quick security check. The questions were long and scenario-based, requiring careful reading and logical thinking.</p><p>I aimed to complete my first pass of all questions in about 140 minutes, then used the remaining time to review any flagged questions. The environment at the test center was quiet, professional and accommodating, which helped me concentrate fully.</p><h4><strong>A few tips for exam day:</strong></h4><p>Read each question carefully, some are tricky and may consist of multiple relevant answers.</p><p>Eliminate obviously incorrect answers first.</p><p>Stay confident even if some questions feel tough, keep moving forward.</p><h4><strong>The Moment I Passed</strong></h4><p>When I saw the “Congratulations” message on the screen, I couldn’t stop smiling. All those hours of late-night study sessions and practice labs had finally paid off.</p><p>This certification gave me a huge confidence boost not only in my AWS knowledge but also in my ability to design scalable, automated, and secure solutions.</p><h4><strong>Conclusion</strong></h4><p>Passing the AWS DevOps Engineer — Professional exam was a milestone in my cloud journey. It deepened my understanding of automation, CI/CD, and system resilience skills that make a real difference in production environments.</p><p>If you’re preparing for this certification, remember: it’s not about rushing it’s about learning deeply, practicing constantly, and believing you can do it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a9b41ad8ac0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[End-to-End LLM Application: Text Summarization using AWS Bedrock and Flask]]></title>
            <link>https://medium.com/@sasmigrg93/serverless-computing-in-6881fc27c2fa?source=rss-5796dc8635e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/6881fc27c2fa</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-bedrock]]></category>
            <category><![CDATA[devtools]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[boto3]]></category>
            <dc:creator><![CDATA[Sasmita Gurung]]></dc:creator>
            <pubDate>Sat, 07 Jun 2025 13:32:09 GMT</pubDate>
            <atom:updated>2026-03-17T04:11:32.290Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*Rvei5XmY74yZehVlc-ES7Q.jpeg" /><figcaption>Architecture diagram for application</figcaption></figure><h3>Project Introduction</h3><p>With the rise of Large Language Models (LLMs), tasks like text summarization have become faster and more accessible than ever. In this project, I built a lightweight application that transforms long paragraphs into short, meaningful summaries using AWS Bedrock.</p><p>Beyond demonstrating the summarization capabilities of LLMs, this project highlights the design and implementation of an end-to-end system, integrating a simple frontend, a Flask-based backend, and cloud-based AI services.</p><h3><strong>Prerequisite Installations</strong></h3><p>As we are using AWS Bedrock and developing an API, install the following python library:</p><ol><li>Flask~=3.0.3</li><li>boto3~=1.40.55</li></ol><p>Before invoking any model, ensure that the required foundation models are enabled and accessible in your AWS account. To verify this, navigate to Amazon Bedrock in the AWS Management Console and open the Chat/Text Playground. From there, select the desired model and test it using the chat interface to confirm it is functioning correctly.</p><h3><strong>Major components of this project</strong></h3><ol><li>Bedrock API: Used to access foundation models for summarization that handles prompt-based text summarization</li><li>Boto3: Acts as the bridge between Flask backend and AWS services. It is used to invoke Bedrock runtime.</li><li>Flask (Backend + API Layer): Handles routing and request processing. It exposes endpoints for user interaction and connects frontend with AI backend.</li><li>Frontend: Simple HTML/CSS based UI using Jinja templates. It allows users to input long text and view summarized output</li></ol><h3><strong>Bedrock model connector</strong></h3><p>The core logic of the application involves establishing a connection to the AWS Bedrock API using the Boto3 SDK and invoking a foundation model for summarization. In this implementation, the <strong>amazon.nova-micro-v1:0</strong> model is used. A structured prompt is defined within user_message to clearly instruct the LLM on the summarization task.</p><p>The request payload consisting of the prompt, user input, model ID, and inference configuration is passed to the Bedrock converse API for model invocation. Once the model processes the request, the summarized output is extracted from the raw response and returned to the application.</p><pre>import boto3<br>from botocore.exceptions import ClientError<br><br><br>class BedrockModel:<br>  def invokeModel(self, long_text: str = &quot;&quot;):<br>    #Create bedrock runtime Client<br>    client = boto3.client(&quot;bedrock-runtime&quot;, region_name = &quot;us-east-1&quot;)<br><br>    #Set the model ID<br>    model_id = &quot;amazon.nova-micro-v1:0&quot;<br>    <br>    user_message = f&quot;&quot;&quot;<br>    # Role<br>    You are an expert content creator specializing in content summarization for generic tasks.<br><br>    # Task<br>    Your task is to understand the content from the input text, which is usually a long paragraph, and summarize this long content into short paragraphs by retaining all the meaningful information.<br><br>    # Input<br>    This is the input long content for summarization:<br>    {long_text}<br><br>    # Output<br>    Please return a summarized paragraph for the inputs in maximum of 2 to 3 sentences. It is forbidden to add any additional explanation, details or unnecessary structures.<br>    &quot;&quot;&quot;<br><br>    conversation = [<br>      {<br>        &quot;role&quot;: &quot;user&quot;,<br>        &quot;content&quot;:[{&quot;text&quot;: user_message}], <br>      }<br>    ]<br>      <br>    try:<br>    #Send message to the model<br>      bedrock_response = client.converse(<br>      modelId=model_id,<br>      messages=conversation,<br>      inferenceConfig={&quot;maxTokens&quot;:50, &quot;temperature&quot;:0.5, &quot;topP&quot;:0.9}   <br>    )<br><br>    #Extract and print the response text<br>      response_text = bedrock_response[&quot;output&quot;][&quot;message&quot;][&quot;content&quot;][0][&quot;text&quot;]<br>      return response_text<br><br>    except (ClientError, Exception) as e:<br>      print(f&quot;ERROR: Can&#39;t invoke &#39;{model_id}&#39;. Reason: {e}&quot;)<br><br>      return str(e)</pre><h3>Backend with Flask API</h3><p>The backend of the application is built using Flask and acts as the bridge between the user interface and the AWS Bedrock service. It defines routes to handle user requests, process input data, and return the summarized output. When a user submits a paragraph through the frontend form, the Flask application captures the input, routes it to the appropriate endpoint, and invokes the Bedrock model through a dedicated service class. The response generated by the model is then returned to the client and rendered in the browser.</p><blockquote>app.py</blockquote><pre>from flask import Flask, redirect, render_template, url_for, request<br>from model.model import BedrockModel<br><br>app = Flask(__name__)<br>bedrock_model = BedrockModel()<br><br>@app.route(&quot;/&quot;, methods=[&quot;POST&quot;, &quot;GET&quot;])<br>def home():<br>    if request.method == &quot;POST&quot;:<br>        user = request.form[&quot;nm&quot;]<br>        <br>        return redirect(url_for(&quot;user&quot;, usr=user))<br>    <br>    else:<br>        return render_template(&quot;data.html&quot;)<br><br>@app.route(&quot;/&lt;usr&gt;&quot;)<br>def user(usr):<br>    model_response = bedrock_model.invokeModel(usr)<br><br>    return f&quot;&lt;bady&gt;{model_response}&lt;/body&gt;&quot;<br><br>if __name__ == &quot;__main__&quot;:<br>    app.run(host=&#39;0.0.0.0&#39;, port=5000, debug=True)</pre><h3><strong>Frontend Templates</strong></h3><p>The frontend code is organized within the templates directory, following the standard Flask application structure. The base.html file defines the core layout and UI structure, which is extended by both index.html and data.html to maintain consistency across pages. The data.html template specifically contains the input form, allowing users to submit text for summarization.</p><blockquote>base.html</blockquote><pre><br>&lt;!doctype html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br>    {% block title %}{% endblock %}<br>&lt;/head&gt;<br>    &lt;body&gt;<br>        &lt;h1&gt;Welcome to AWS Text Summarizer App&lt;/h1&gt;<br>        {% block content %}<br>        {% endblock %}<br>    &lt;/body&gt;<br>&lt;/html&gt;<br><br></pre><blockquote>index.html</blockquote><pre>{% extends &quot;base.html&quot; %}<br>{% block title %}{% endblock %}<br>{%block content %}<br><br>{% endblock %}</pre><blockquote>data.html</blockquote><pre>{% extends &quot;base.html&quot; %}<br>{% block title %}{% endblock %}<br>{% block content %}<br><br><br>&lt;style&gt;<br>.myDiv {<br>  text-align: center;<br>}<br>.formStyle {<br>    text-align: justify;<br>    width: 80%;<br>    height: 400px;<br>    font-size: 1.2em;<br>    border: 2px solid blue;<br>    padding: 5px;<br>}<br>&lt;/style&gt;<br><br>&lt;div class=&quot;myDiv&quot;&gt;<br>&lt;form action=&quot;#&quot; method=&quot;post&quot;&gt;<br>    &lt;p&gt;&lt;input type=&quot;text&quot; name=&quot;nm&quot;, style=&quot;text-align: justify;&quot; class=&quot;formStyle&quot;/&gt; &lt;/p&gt;<br>    &lt;p&gt;&lt;input type=&quot;submit&quot; Value=&quot;Run&quot; /&gt;&lt;/p&gt;<br>&lt;/form&gt;<br>&lt;/div&gt;</pre><h3><strong>Outputs</strong></h3><p>After starting the Flask server, users are presented with a simple input interface. By entering a long paragraph and submitting it, the application quickly generates and displays a concise summary powered by the underlying LLM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s0G6eAMaobKBimXF0h8gSA.png" /><figcaption>Input Text Form</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rrei05eqRK0CKZf-q0PQdg.png" /><figcaption>Outputs UI</figcaption></figure><h3><strong>Conclusion</strong></h3><p>This project demonstrates how Large Language Models can be seamlessly integrated into real-world applications using AWS Bedrock. By combining Flask for backend development, Boto3 for AWS interaction, and a simple frontend interface, I was able to build an end-to-end AI-powered summarization system.</p><p>As LLMs continue to grow, building and experimenting with AWS projects like this is a great way to stay ahead in the rapidly evolving AI and cloud landscape.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6881fc27c2fa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Cracked the AWS Certified AI Practitioner Certification?]]></title>
            <link>https://medium.com/@sasmigrg93/how-to-crack-devops-professional-certification-5ba7ccf26cb7?source=rss-5796dc8635e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ba7ccf26cb7</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[aws-community]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws-certification]]></category>
            <dc:creator><![CDATA[Sasmita Gurung]]></dc:creator>
            <pubDate>Sun, 11 May 2025 15:02:29 GMT</pubDate>
            <atom:updated>2026-02-13T04:19:58.287Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*32DslTaUhuZa2KlbcHgF9Q.png" /><figcaption>Exam Result</figcaption></figure><p>As AI has been increasingly influencing software development and redefining DevOps role, learning AI has been on my professional roadmap. After building a solid foundation with AWS Cloud, I decided to explore how artificial intelligence fits into the bigger cloud ecosystem. That’s when I came across the AWS Certified AI Practitioner certification which helps to validate foundational AI and ML knowledge in the AWS environment.</p><p>In this blog, I’ll share how I prepared, what resources helped the most, and a few tips for anyone planning to take this certification next.</p><h3><strong>What the Exam Covers</strong></h3><p>This is a foundational-level exam (similar to the AWS Cloud Practitioner), with 65 multiple-choice and multiple-response questions. The exam duration is 90 minutes and you need at least 700 score out of 1000 to pass the exam.</p><p>The AWS Certified AI Practitioner exam tests your understanding of:</p><ul><li>Fundamentals of AI and ML (20% of scored content)</li><li>Fundamentals of Generative AI (24% of scored content)</li><li>Applications of Foundation Models (28% of scored content)</li><li>Guidelines for Responsible AI (14% of scored content)</li><li>Security, Compliance, and Governance for AI Solutions (14% of scored content)</li></ul><h3><strong>My Study Plan &amp; Resources</strong></h3><p>I dedicated around 4 weeks of focused study time for this exam, since it’s beginner-friendly but still concept-heavy. Here’s what I used:</p><ul><li>AWS Skill Builder Course: “AWS Certified AI Practitioner Official Exam Prep” — free and straight from AWS experts.</li><li>Hands-On Labs: I explored AI services like Amazon Bedrock, SageMaker JumpStart, and Rekognition using my AWS account.</li><li>Udemy Course: Ultimate AWS Certified AI Practitioner AIF-C01 by Stephane Maarek</li><li>Udemy Practice Mock Question: [Practice Exams] AWS Certified AI Practitioner — AIF-C01 by Stephane Maarek</li></ul><h3><strong>My Preparation Strategy</strong></h3><p>As I didn’t have experience in AI, I started with the basics by learning the fundamentals of AI and ML terminology. When I experimented with hands-on AWS AI Services and their respective use cases, the concepts of AI and ML became more clear. In my opinion, understanding Responsible AI was easy but solving questions was really tricky. So, I studied in-depth about fairness, bias, and transparency in AI. Furthermore, a time based mock exam from Udemy helped me to get familiarized with the exam system and question types.</p><h3><strong>Exam Day Experience</strong></h3><p>I took my exam at an authorized test center. The process was smooth with a quick ID verification, a locker for personal items, and then I was guided to my testing booth.</p><p>The exam questions were straightforward but conceptual which were meant to test understanding more than memorization. Many questions described real-life scenarios where you have to identify the right AWS service or AI concept.</p><p>My advice: read carefully and think about use cases. For example, which AWS service fits text-to-speech, image recognition, or chat interactions.</p><h3><strong>The Moment I Passed</strong></h3><p>When the email results mention “Congratulations!”, I felt genuinely proud. Even though it’s an entry-level certification, it represents my evolving step toward combining cloud knowledge with AI understanding.</p><p>This certification gave me confidence to explore deeper into machine learning, generative AI, and data analytics within AWS.</p><h3><strong>Final Thoughts</strong></h3><p>Earning the AWS Certified AI Practitioner credential was a rewarding experience. It opened the door to understanding how AI integrates with AWS cloud solutions and how organizations can use these services responsibly.</p><p>If you’re thinking about starting your AI journey, this certification is the perfect first step which is approachable, relevant, and deeply connected to the future of cloud computing.</p><p>Keep learning, stay curious, and remember: AI is only as powerful as the creativity and responsibility we bring to it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ba7ccf26cb7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recalling my experience at AWS Summit Toronto 2024]]></title>
            <link>https://medium.com/@sasmigrg93/recalling-my-experience-at-aws-summit-toronto-2024-5369867a48da?source=rss-5796dc8635e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/5369867a48da</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[awscommunitybuilder]]></category>
            <category><![CDATA[aws-community]]></category>
            <category><![CDATA[aws-summit]]></category>
            <dc:creator><![CDATA[Sasmita Gurung]]></dc:creator>
            <pubDate>Tue, 18 Feb 2025 05:36:31 GMT</pubDate>
            <atom:updated>2025-02-18T06:31:44.560Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tpKVIcJ2uHCA5FB3IxALLA.jpeg" /><figcaption>AWS Summit Toronto 2024</figcaption></figure><h3>The Journey</h3><p>The <strong>AWS Summit Toronto 2024</strong> was organized on September 11, 2024 at Metro Toronto Convention Centre — South Building. The event was fully booked and the online registration closed early because of overbooking. I flew from Northern Ontario, specifically for this event and I almost missed the registration. The venue was well planned and different sessions were fully seated. Coming from Nepal where I attended and gave a session at <strong>AWS Community Day Nepal </strong>in 2023, the scale of this event was truly mesmerizing.</p><h3>AWS Community Lounge</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ypqprooxOeJopzF5bo9xIA.jpeg" /><figcaption>AWS Community Lounge</figcaption></figure><p>As an AWS Community Builder, I had the opportunity to volunteer at the <strong>AWS Community Lounge</strong>, where community builders gathered to share insights with visitors and learners. It was an incredible experience engaging with students, professionals, and AWS enthusiasts, answering questions about cloud computing, AWS certifications, and best practices.</p><p>One of the highlights was meeting my regional community manager, <strong>Jason Dunn</strong>, and having an insightful conversation about AWS communities and career growth. I also connected with AWS employees and engineers from AWS USA, who showcased cutting-edge innovations in AI, serverless computing, and security. Their passion for technology was truly inspiring.</p><h3>AWS Community Builders After-Party</h3><p>The day ended on a high note with an exclusive after-party for AWS Community Builders. It was a fantastic opportunity to network, share experiences, and celebrate the AWS community. The energy and enthusiasm from AWS staff were unmatched, reinforcing how AWS values and supports its community.</p><h3>Word of Advice</h3><p>The AWS Summit is a really big event drawing many visitors, students, professionals and business due to which the sponsors have to limit the passes for the event. I found that if the limited quota for the event is full, then the online registration is closed early. So, if you are travelling from a different city just like me, I would suggest registering early when the online registration opens. Alternatively, you can try registering on-site at the venue by speaking with the event staff, but passes are not always guaranteed.</p><h3>My Plan for 2025</h3><p>In 2024, I attended the <strong>New Voice</strong> program for Community Builder, which was communication training for public speaking and AWS events. Unfortunately, as I was living in Northern Ontario, I was not able to fully utilise the learning from my training into actual events. So, my plan for 2025, is to move to Toronto and capitalise the AWS Toronto User Group to expand my network and be the part of different user group events. I aim to give a session at a big summit and advocate for AWS.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5369867a48da" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating GitLab project deployment with GitLab pipelines and AWS ECR]]></title>
            <link>https://medium.com/@sasmigrg93/experiencing-aws-summit-toronto-2024-0f278ee404e7?source=rss-5796dc8635e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f278ee404e7</guid>
            <category><![CDATA[ecr]]></category>
            <category><![CDATA[cicd]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[pipeline]]></category>
            <dc:creator><![CDATA[Sasmita Gurung]]></dc:creator>
            <pubDate>Wed, 12 Feb 2025 03:54:51 GMT</pubDate>
            <atom:updated>2025-03-19T07:13:56.943Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>In software development phases, getting a project from code to deployment involves a lot of teamwork. When new features are rolled out frequently, the deployment process can start to feel like a never-ending task for DevOps teams. That’s where Continuous Integration and Continuous Deployment (CI/CD) come in handy. By automating the deployment process, we can save time and effort, allowing us to build, test, provision resources, and deploy to the cloud automatically whenever there’s a change in the code.</p><p>In this blog, we will explore how GitLab pipelines can be leveraged to automate project deployment. Specifically, we will focus on using GitLab pipelines to monitor code changes, build projects using Docker, and push Docker images to Amazon Elastic Container Registry (ECR).</p><h3>Project Setups</h3><p>For this blog, I’ll be using my existing REST API codebase, which will be transferred to GitLab. To set up the GitLab project, you can follow these steps:</p><ul><li>Click on “New Project”: Locate and click the “New Project” button on the right-hand side of your GitLab dashboard.</li><li>Select “Create a Blank Project”: Choose the option to create a blank project to start from scratch.</li><li>Provide a Unique Project Name: Enter a unique name for your project to easily identify it.</li><li>Select Project Deployment Target (Optional): If needed, choose a deployment target for your project. This step is optional.</li><li>Choose Visibility Level: Decide on the visibility level for your project (In my case, I have set it to public).</li><li>Configure Project Settings: Set up any additional project configurations as needed to suit your requirements.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XcDqnnoBZyViAvQA6B04sA.png" /><figcaption>Repository Creation Page in GitLab</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TAx_ygUVnTuza8ptbxdgvg.png" /><figcaption>Creating a new respoitory</figcaption></figure><p>Once your new project is set up in GitLab, the next step is to clone this empty repository to your local machine using HTTPS. This will create a local copy of the project where you can work. After cloning, you can easily transfer the files from your existing codebase into this newly created project directory. Once all the necessary files are in place, it’s time to commit these changes and push to the remote repository.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jTmQvzQU4Zcb61D_IoIOHw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Glu369mKnE66BJ2gW6tMbQ.png" /><figcaption>Clone empty respository</figcaption></figure><h3>Setting up ECR</h3><p>To get started with Amazon Elastic Container Registry (ECR), goto to the AWS Management Console. Once there, navigate to the ECR service to create a new repository. I will be creating a repository in the N.Virginia region. This will serve as the destination for our Docker images, allowing us to integrate with our GitLab pipeline for automated deployments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wsg5y11pqNpqLpGfgbLwjg.png" /><figcaption>Creating ECR repository</figcaption></figure><h3>Creating Access Credentials</h3><p>To enable GitLab pipelines to interact with AWS ECR, you’ll need to set up access credentials. We will start by creating a new IAM user in the AWS Management Console, specifically for accessing ECR. Once the user is created, attach the predefined policy “<strong>AmazonEC2ContainerRegistryPowerUser</strong>” to grant the necessary permissions for managing ECR resources. After setting up the user, generate an Access Key ID and a Secret Access Key, which will be used to authenticate GitLab pipelines with AWS.</p><p>Note: You can restrict the access in the policy based on your requirement. In this blog, I am considering Full Access for demonstration purposes only.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kdP0se1qLPwYT2f8ojGN7g.png" /><figcaption>Creating Access Credentials</figcaption></figure><h3>GitLab Pipelines</h3><p>To configure AWS credentials in your GitLab project, go to the project settings and select “CI/CD.” Under the “Variables” section, add new variables for your AWS credentials, such as “AWS_ACCESS_KEY_ID”, “AWS_SECRET_ACCESS_KEY, “”AWS_DEFAULT_REGION” and “GITLAB_AWS_ACCOUNT_ID”, with their respective values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6_M-eN9D0nn8WQJgiTxK7g.png" /><figcaption>Setting Variables for pipelines</figcaption></figure><p>To set up your GitLab CI/CD pipeline, create a .gitlab-ci.yml file in the root directory of your project. This file will define the pipeline configuration with the following components:</p><pre>variables:<br>   DOCKER_REGISTRY: 422244203993.dkr.ecr.us-east-1.amazonaws.com<br>   APP_NAME: marvel-repo<br>   DOCKER_HOST: tcp://docker:2375<br>   TAG: &quot;latest&quot;<br><br>publish:<br>    image:<br>        name: amazon/aws-cli<br>        entrypoint: [&quot;&quot;]<br>    services:<br>        - docker:dind<br>    before_script:<br>        - amazon-linux-extras install docker<br>        - aws --version<br>        - docker --version<br>    script:<br>        - docker build -t $DOCKER_REGISTRY/$APP_NAME:&quot;$TAG&quot; -f Dockerfile .<br>        - aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin $DOCKER_REGISTRY<br>        - docker push $DOCKER_REGISTRY/$APP_NAME:&quot;$TAG&quot;</pre><p>This configuration sets up a pipeline that builds a Docker image from your project, logs into AWS ECR, and pushes the image to your specified ECR repository. The variables section defines key parameters like the Docker registry URL, application name, and tag. The publish job uses the AWS CLI Docker image and Docker-in-Docker service to perform these tasks.</p><p>With this configuration in place, any changes made to the code will automatically trigger the pipeline. This process will build a new Docker image and push it to your specified AWS ECR repository, which reduces the overhead of building and pushing the image to ECR, whenever there are any new updates in code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f278ee404e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying REST API using Docker and EC2]]></title>
            <link>https://medium.com/@sasmigrg93/this-2d0fdf45ae0e?source=rss-5796dc8635e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d0fdf45ae0e</guid>
            <dc:creator><![CDATA[Sasmita Gurung]]></dc:creator>
            <pubDate>Sun, 06 Oct 2024 14:58:55 GMT</pubDate>
            <atom:updated>2026-04-16T19:21:22.900Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>There are different methods for deploying APIs or web applications on AWS, including managed and self-hosted services. Managed services, such as AWS Elastic Beanstalk, simplify deployment, while self-hosted approaches, like containerization with Elastic Kubernetes Service (EKS), offer more control .</p><p>For beginners, it’s essential to first understand how deployment works on a single compute instance before scaling to resources like EKS. In this tutorial, I will use Flask to create a REST API and deploy it on an EC2 instance.</p><p>I will walk you through the step-by-step process of deploying a Flask application on EC2 using Docker and making it accessible from the public internet. Let’s get started.</p><h3>Setups</h3><p>We need access to an EC2 instance where Docker will be installed, and a Flask-based API server will be set up. I will use a publicly available Flask API codebase (<a href="https://github.com/RoshanGurungSr/demo-deployment">link here</a>). If you want to learn more about Flask, refer to the official documentation (<a href="https://flask.palletsprojects.com/en/stable/quickstart/">link here</a>).</p><h4>Launching an EC2 instance</h4><p>Launching an EC2 instance using the AWS Management Console is straightforward. You can follow the official documentation (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html">link here</a>) for detailed instructions. Below is a quick summary of the steps:</p><ul><li>Open the <strong>AWS EC2 console</strong> in your preferred region.</li><li>Click <strong>“Launch Instances”</strong> from the dashboard.</li><li>Provide a <strong>name and tags</strong> for the EC2 instance.</li><li>Select <strong>Ubuntu Amazon Machine Image (AMI)</strong>.</li><li>Choose <strong>t2.medium</strong> with at least <strong>20 GB of EBS</strong> for installing Docker and running the server.</li><li>Configure <strong>security group rules</strong>:</li><li>Allow <strong>SSH access (port 22)</strong>.</li><li>Allow <strong>port 5000</strong>, since our Flask server will run on this port.</li><li><strong>Download the key pair</strong> or use an existing one.</li><li>Set the correct permissions for the key pair using:</li></ul><pre>chmod 400 path/to/file.pem</pre><h4>Setting up the project</h4><p>Once the EC2 instance is ready, connect to it using SSH:</p><pre>sudo ssh -i “path to file/.pem” ubuntu@”public ip address”</pre><p>Now, clone the project from the github using the command:</p><pre>git clone https://github.com/RoshanGurungSr/demo-deployment</pre><h4>Installing Docker</h4><p>Follow the given steps to install the docker in the ec2.</p><ul><li>Update the system packages:</li></ul><pre>sudo apt-get update</pre><ul><li>Install docker:</li></ul><pre>sudo apt-get install docker.io -y</pre><ul><li>Start the docker service:</li></ul><pre>sudo systemctl start docker</pre><ul><li>Enable the docker service:</li></ul><pre>sudo systemctl enable docker</pre><ul><li>Verify the installation:</li></ul><pre>docker –version</pre><h3>REST API with Flask</h3><p>In the Flask application we are using, two routes have been created to test the API on the public interface. They are: default route “/” which displays welcoming message and “/home/&lt;user_name&gt;” which displays the strings that you send over the URL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*Al6O5ycOvl4fPfBUhNTKLg.png" /></figure><h3>API Containerization and Deployment with Docker</h3><p>The deployment process involves creating a <strong>Dockerfile</strong>, which contains all the necessary instructions for building a Docker image. This includes defining environment layers, installing required libraries, and starting the Flask server.</p><p>A <strong>Dockerfile</strong> has already been created for you in the cloned project, so we will use that file. Navigate to the project directory using:</p><pre>cd demo-deployment/</pre><p><strong>Building the Docker Image</strong></p><p>To build the Docker image for the Flask application, run:</p><pre>sudo docker build -t demo-deployment-python-flask -f Dockerfile .</pre><p><strong>Running the Docker Container</strong></p><p>Once the image is built, initialize a container and map the ports:</p><pre>sudo docker run -p 5000:5000 -d demo-deployment-python-flask</pre><p><strong>Accessing the Flask Application</strong></p><p>After starting the container, open your browser and enter the public IP address of your EC2 instance. You should see the default route of your application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*Yvt4j84Y2uNE-Y2EDEDerw.png" /></figure><p>You can also try using the “public-ip/home/test” route to check if it is displaying a welcome message with the strings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*wW0tGZ_VRSYCUqBMi4h1FA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d0fdf45ae0e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Training Cloud Computing to Nepalese Female Youth through the SheCan Program]]></title>
            <link>https://medium.com/@sasmigrg93/amazing-experience-as-a-mentor-at-she-can-program-a23edfe5c83d?source=rss-5796dc8635e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/a23edfe5c83d</guid>
            <dc:creator><![CDATA[Sasmita Gurung]]></dc:creator>
            <pubDate>Sun, 04 Feb 2024 06:22:54 GMT</pubDate>
            <atom:updated>2024-03-05T19:10:52.872Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="AWS User Group Nepal She Can Logo" src="https://cdn-images-1.medium.com/max/1024/1*jA2xj5avCIOE06Ke_EVxYA.png" /><figcaption>AUG Nepal She Can 2023</figcaption></figure><p>According to the Labor Force Survey of Nepal in 2017–2018, the economically active female population over 15 years old was 81%, but only 0.5% were in the ICT sector. With this underrepresentation and under-participation of Nepalese girls and women in the technology landscape, I had always dreamt of empowering and uplifting the female community of Nepal through my contributions.</p><p>In 2023, for the first time, AWS User Group Nepal launched a program “She Can” which is especially targeted at female undergraduate, graduate students, or fresh graduates for their skill and career development. The She Can program offers mentorship to seven girls, one from each province. It had a duration of 4 months with 48 plus sessions directly from industry experts and trainers. This program aims to guide the mentee to earn AWS Cloud Academy Foundation Badges and Certifications. Along with this, guidance is provided for the AWS Certifications Exams and opportunities for job placements. Among the mentors, I was one of the mentors providing the mentees with hands-on practice and resolving the technical questions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qoy3lcvD3wedERvrxjgBiA.jpeg" /></figure><p>The She Can program is an excellent opportunity for Nepalese females who are seeking to develop their skills and careers in Cloud Computing. As for me, I was involved as a Cloud Practitioner Trainer, providing guidance and help for the AWS Academy course. I also gave demonstrations of the AWS Services such as EC2, Networking, IAM, and so on. Then they had the opportunity to practice hands-on on their own. With this approach, the mentees were able to understand the theoretical concepts as well as able to execute the hands-on activities as well. As for me, mentoring these girls, was an opportunity to fulfill my urge to contribute back to the community. Along with this, I further enhanced my skills in mentoring and coaching.</p><p>From the participation of the girls in this program, I found that the technology community of females in Nepal is very enthusiastic and active. They just require an opportunity and platform like “She Can” to demonstrate their capabilities and learning ability. While the education system, mostly focuses on theoretical knowledge and outdated content, the female community of students and graduates requires more than that to increase their participation. I am hoping that more opportunities and events will follow such as this program to cater to the skill and career development of the amazing, strong, and talented girls and women of Nepal.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a23edfe5c83d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>