<?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 Prajot Kulkarni on Medium]]></title>
        <description><![CDATA[Stories by Prajot Kulkarni on Medium]]></description>
        <link>https://medium.com/@prajotkulkarni?source=rss-ba048cc261f4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*iAz23jzfQUkDMALu</url>
            <title>Stories by Prajot Kulkarni on Medium</title>
            <link>https://medium.com/@prajotkulkarni?source=rss-ba048cc261f4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 03:16:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@prajotkulkarni/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 Beanstalk in 5 Minutes: A Hands-On Beginner’s Guide]]></title>
            <link>https://towardsaws.com/aws-beanstalk-in-5-minutes-a-hands-on-beginners-guide-8c7217bce37d?source=rss-ba048cc261f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c7217bce37d</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[towards-aws]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Prajot Kulkarni]]></dc:creator>
            <pubDate>Tue, 03 Dec 2024 11:46:12 GMT</pubDate>
            <atom:updated>2024-12-03T11:46:12.076Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TttGVpY6yuhrTKGqeiDZww.png" /><figcaption>Image from Author’s console</figcaption></figure><h4>When to use Beanstalk?</h4><p>AWS Elastic Beanstalk is ideal for developers who want to run their code (web apps) without worrying about infrastructure, while still maintaining control over the configuration. Most web apps typically follow the same architecture: a Load Balancer and an Auto Scaling Group.</p><p>Elastic Beanstalk is a managed service where the developer’s main responsibility is the code itself. It’s free to use; you only pay for the underlying resources (instances). Beanstalk offers features like code versioning and the ability to manage multiple environments (development, production, etc.). It also supports a wide variety of languages including Node.js, Python, and more.</p><h4>Tiers: Web Server Tier &amp; Worker Tier</h4><p><em>(Extra info, can skip and go to Hands-On)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3l1UmtKPAYeM0UOeMfVHaA.png" /><figcaption>Made by Author</figcaption></figure><p><strong>Web Tier:</strong> In Elastic Beanstalk, the web tier handles incoming web traffic by distributing requests to the appropriate application instances, ensuring efficient load balancing and scaling.<br><strong>Worker Tier:</strong> In Elastic Beanstalk, the worker tier handles background processing tasks by offloading work from the web tier, allowing asynchronous execution of tasks, such as data processing or sending emails.</p><h4>Hands-On:</h4><p><strong>STEP 1:</strong><br>We are going ahead with “Web Environment”,<br><strong>Application Name:</strong> <em>myFirstApp</em><br><strong>Environment Name:</strong> <em>myFirstApp-dev<br></em><strong>Environment Description:</strong><em> Optional<br>(img 1.1)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jt7SMQck5Jslmw0f0rWCzg.png" /><figcaption>img 1.1</figcaption></figure><p><strong>Platform:</strong> <em>Node.js</em><br><strong>Application code:</strong> <em>Sample application</em><br>(You can also upload your code or any test code available online)<br><strong>Configuration presets:</strong> <em>Single instance (free tier)<br></em>Click on “Next”<em><br>(img 1.2)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*7FpXc1BuROflZTRri1-HMA.png" /><figcaption>img 1.2</figcaption></figure><p><strong>STEP 2:<br></strong>Configure service access,<br><strong>Service role:</strong> <em>Create and use new service role<br></em><strong>EC2 key pair:</strong><em> keyEC2 </em>(already created by me)<br><strong>EC2 instance profile: </strong><em>myFirstApp (don’t have one, no worries, check below)<br></em>Click on “Next”<em><br>(img 2.1)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AkmFv38yN4tUFYLNvbbnTg.png" /><figcaption>img 2.1</figcaption></figure><p><strong>How to create an IAM instance profile?</strong><br>1. Go to IAM dashboard &gt; roles &gt; create role<br>2. Trusted entity type — AWS service<br>3. Service or use case — EC2<br>4. Click on “Next”<br><em>(img 2.2)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jcPaeL0YncGqlg9AJlG_1w.png" /><figcaption>img 2.2</figcaption></figure><p>Add permissions —<br> “<em>AWSElasticBeanstalkWebTier</em>”, “<em>AWSElasticBeanstalkWorkerTier</em>”, “<em>AWSElasticBeanstalkMulticontainerDocker</em>” (optional)<br>Click “Next”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-9EdHT-Lt5elZ3rIk7RNhg.png" /><figcaption>img 2.3</figcaption></figure><p><strong>Role name:</strong> <em>myFirstApp</em><br>Click on “Create role”<br><em>(img 2.4)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yqLIN0JYoTE98PBM0qQNfA.png" /><figcaption>img 2.4</figcaption></figure><p><strong>STEP 3: <br></strong>(back to Beanstalk)<strong><br></strong>Click on “Next” — <em>No change here</em><br><em>(img 3.1)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U6erV_naYJRipVtngSOyCA.png" /><figcaption>img 3.1</figcaption></figure><p><strong>STEP 4:<br>Root volume type: </strong>General Purpose 3(SSD)<br><em>(img 3.1)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CPlIBm0iX_6FCNsItSA0OA.png" /><figcaption>img 3.1</figcaption></figure><p><strong>Capacity &gt; Environment type: </strong><em>Single instance<br></em>Fleet composition &gt; On-Demand instance<br><em>(img 3.2)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*twg3zKQrOQefknNXSUSD8A.png" /><figcaption>img 3.2</figcaption></figure><p><strong>Instance types:</strong> <em>t2.micro (choose from drop-down — free tier)<br>(img 3.3)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AESDQ67CqeuW6UIlolq8ew.png" /><figcaption>img 3.3</figcaption></figure><p>Click on “Skip to review”, and “Submit”</p><p><strong>STEP 5:<br></strong>Wait for a few minutes, then click on the link below the domain,<br><em>(img 5.1)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3N2ro9dMirZ_L8PDsI_hmw.png" /><figcaption>img 5.1</figcaption></figure><p>Voilà, we have our app running,<br><em>(img 5.2)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2UE32BzgYqpRst56mnoKYQ.png" /><figcaption>img 5.2</figcaption></figure><p>Extra — You can check in <strong>Cloudformation &gt; Infrastructure Composer</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x-RWlaQqTJ63wL2L8VzYIg.png" /></figure><blockquote>If you liked the hands-on, please consider following and if you have any questions, drop a comment down below.</blockquote><p><a href="https://medium.com/@prajotkulkarni">Prajot Kulkarni - Medium</a></p><blockquote>HAPPY LEARNING!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c7217bce37d" width="1" height="1" alt=""><hr><p><a href="https://towardsaws.com/aws-beanstalk-in-5-minutes-a-hands-on-beginners-guide-8c7217bce37d">AWS Beanstalk in 5 Minutes: A Hands-On Beginner’s Guide</a> was originally published in <a href="https://towardsaws.com/">Towards AWS</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Lesson From the Book“48 Laws of Power”]]></title>
            <link>https://medium.com/humorously-yours/a-lesson-from-the-book-48-laws-of-power-b34ee172f95e?source=rss-ba048cc261f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/b34ee172f95e</guid>
            <category><![CDATA[books]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[illumination]]></category>
            <dc:creator><![CDATA[Prajot Kulkarni]]></dc:creator>
            <pubDate>Fri, 29 Nov 2024 06:27:32 GMT</pubDate>
            <atom:updated>2024-11-29T06:45:12.580Z</atom:updated>
            <content:encoded><![CDATA[<p>Why Reputation Brings Value, the Importance of a Good Name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*YIP_Gwsyx0ceQzTu.png" /><figcaption>AI image generated by author</figcaption></figure><p><a href="https://medium.com/@prajotkulkarni/a-lesson-from-the-book-48-laws-of-power-b34ee172f95e?sk=3a502e6473be3ac0c931ebc950204a96">Not a member, read for FREE here,</a></p><p>I recalled a short story from Robert Green&#39;s famous book <em>48 Laws of Power</em> and thought of sharing it here. There are many takeaways, but let me share the story first. You will find it interesting!</p><p>The story begins with an antique dealer Fushimiya (a kind man), who lived in the city of Edo (now Tokyo) in the 17th century, he once stopped at a village tea house. After enjoying a cup of tea, he spent several minutes examining the teacup, which he eventually bought to take away with him. A local artisan was observing him, and after he left, the artisan went to the old woman of the tea house to inquire about him. The old woman told him that Fushimiyan is a celebrated antique dealer.</p><p>The artisan ran out of the shop, caught up with Fushimiya, and begged him to sell the cup to him. Fushimiya laughed and told him that there was nothing special about the cup; it was just that the steam hung about it strangely, and he wondered if there was any leak. (The odd beauty of nature intrigued him.)<br>Since the artisan showed much interest in it, he gave it to him for free.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*O9oSgNv6xMamg3Vo" /><figcaption>Photo by <a href="https://unsplash.com/@steve_j?utm_source=medium&amp;utm_medium=referral">Steve Johnson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The artisan took the cup around aiming to sell it high and make an easy fortune. But, all recognized it as an ordinary teacup and he got nowhere. The artisan finally gave up his obsession and went to Edo to meet Fushimiya.</p><p>Fushimiya realized the trouble and pain caused to the artisan, and out of kindness paid the artisan 100 gold coins and took the teacup. The artisan thanked him and left. Soon, the word spread in the town about the deal of the teacup. Now, every dealer in the town wanted to buy it. Fushimiya again tried explaining that the teacup is ordinary. But, everyone assumed that if Fushimiya had bought it, it must be of value.</p><p>Finally, Fushimiya decided to auction the teacup. There were two buyers who bid 200 gold coins at the same time and debated the possession of the teacup. Soon the argument got violent and tipped over the table where the cup was placed, the cup was broken. Fushimiya glued and mended the broken teacup, and stored it, thinking that the chapter was over.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YxynMi1DLntebWbD" /><figcaption>Photo by <a href="https://unsplash.com/@danieltafjord?utm_source=medium&amp;utm_medium=referral">Daniel Tafjord</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In Japan, the art of repairing broken pottery, including teacups, is called <strong>Kintsugi</strong> or <strong>Kintsukuroi</strong>. This technique involves using lacquer mixed with powdered gold, silver, or platinum to mend the broken pieces.</p><p>Years later a great Tea master(Back then tea making was an art) visited the store to see the legendary teacup, which was the talk of the town. The Tea master examined the teacup and offered to buy it, sensing the sentiments and value it had gained with time. He bought it at a much higher price.</p><p>An ordinary broken, glued teacup had become one of the famous objects in Japan.</p><p>So much to learn from this tale.</p><blockquote>If you like the post, please consider following and leaving a message.<br>Thank You.</blockquote><blockquote>HAPPY LEARNING!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b34ee172f95e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/humorously-yours/a-lesson-from-the-book-48-laws-of-power-b34ee172f95e">A Lesson From the Book“48 Laws of Power”</a> was originally published in <a href="https://medium.com/humorously-yours">Humorously Yours</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Lessons on Writing Corporate Emails: Humorously Yours]]></title>
            <link>https://medium.com/illumination/my-lessons-on-writing-corporate-emails-humorously-yours-93263e49f2f5?source=rss-ba048cc261f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/93263e49f2f5</guid>
            <category><![CDATA[business]]></category>
            <category><![CDATA[humour]]></category>
            <category><![CDATA[workplace]]></category>
            <category><![CDATA[illumination]]></category>
            <category><![CDATA[email]]></category>
            <dc:creator><![CDATA[Prajot Kulkarni]]></dc:creator>
            <pubDate>Wed, 27 Nov 2024 11:43:17 GMT</pubDate>
            <atom:updated>2024-11-28T06:48:14.499Z</atom:updated>
            <content:encoded><![CDATA[<p>If writing a mail is an art, then miswriting it is a fart. (oops!)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*izjIdz4DWsX-z5rN" /><figcaption>Photo by <a href="https://unsplash.com/@neverdullstudio?utm_source=medium&amp;utm_medium=referral">Never Dull Studio</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><a href="https://medium.com/illumination/my-lessons-on-writing-corporate-emails-humorously-yours-93263e49f2f5?sk=e3c2eb1fb91a69dbd11d3a0cb55a1efe">Not a member, read here for FREE.</a></p><h4>[1] Mail is virtual you. Let it have a personality:</h4><p>Words build identity, choose words that describe you and are part of your conversation — vocabulary. Writing has tone, let that be smooth.<br><em>(My identity is already established in your brain, while you read this. If not, continue reading)</em></p><h4>[2] Be crisp and precise:</h4><p>Stick to the topic&#39;s keywords and points. Avoid writing paragraphs; you are not writing on Medium. Write a mail, not an article.<br>Let your team clap for you without your head in between.<br><em>(You can clap here, this is not a mail)</em></p><h4>[3] Sloggy action? no problem:</h4><p>Action speaks louder than words, but in corporate, Mail speaks louder than actions. Make the action look big enough. Choice of words and articulation saves a lot. It’s natural to feel slow sometimes. <br><em>(Just don’t let your manager know)</em></p><h4>[4] Format is important:</h4><p>Choose a good font style and size. Convey the message efficiently and effectively. Mail should not look scattered, like a puzzle. A good format is the key. Make no grammatical or spelling mistakes. <br><em>(Think writing to your crush, don&#39;t forget it’s an email or you’ll be crushed)</em></p><h4>[5] Think as a recipient:</h4><p>Thanks to a senior, who taught me this. After I sent a mail, my scrum master (with a non-tech background) contacted him to understand technical terms and details. Know who you are sending a mail to, a Techie or Non-Techie. Let the recipient not be, Eh?..<br><em>(Know your audience before explaining, like I know you. Do I?)</em></p><h4>[6] Salutation is important:</h4><p>A space with your styled signature and contact info, let that grab attention. Also, add a large space to add your vacation dates (Out of office days).<br><em>(Forget other points, it’s ok, but not this one)</em></p><h4>[7] Timing:</h4><p>Please refrain from sending emails constantly unless they are important.<br>I send two emails daily (one in the morning, another in the evening), one with pending action items and another with solutions updates. This builds credibility.<br><em>(Don’t make emails look like a chat room)</em></p><p>Jokes aside, be a seasoned and considerate team member who respects and helps others when needed. I was fortunate enough to have a supportive team and seniors. Ensure your work is error-proof and reliable.</p><blockquote>Drop in the comments some of your experience and lessons from your workspace and follow for more, “Humorously Yours”</blockquote><blockquote>HAPPY LEARNING!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93263e49f2f5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/illumination/my-lessons-on-writing-corporate-emails-humorously-yours-93263e49f2f5">My Lessons on Writing Corporate Emails: Humorously Yours</a> was originally published in <a href="https://medium.com/illumination">ILLUMINATION</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tech a break]]></title>
            <link>https://short.sweet.pub/tech-a-break-6a65893f1490?source=rss-ba048cc261f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a65893f1490</guid>
            <category><![CDATA[short-sweet-valuable]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Prajot Kulkarni]]></dc:creator>
            <pubDate>Mon, 25 Nov 2024 06:22:13 GMT</pubDate>
            <atom:updated>2024-11-25T06:54:11.378Z</atom:updated>
            <content:encoded><![CDATA[<h4>“Yes”, you need a break. Take a break from Tech.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MqH16883xGH63FBY" /><figcaption>Photo by <a href="https://unsplash.com/@aleskrivec?utm_source=medium&amp;utm_medium=referral">Ales Krivec</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><a href="https://short.sweet.pub/tech-a-break-6a65893f1490?sk=98cd0d352e0abcc04ec85cecd11743f5">Not a member, read here for FREE</a>.</p><p>If you are in Tech or Non-Tech, glued to your screen, this is for you.<br>This is not about festive holidays or weekends — it’s about taking a break when you feel you need one.</p><p><em>“When was the last time you went on a ride, without a destination?”</em></p><p><em>“When was the last time you went on a trek or hike?”</em></p><p><em>“When was the last time you got up early to enjoy a sunrise and not for work?”</em></p><p><em>“When was the last time you picked up your guitar and felt the music?”</em></p><p><em>“When was the last time you sat doing nothing, enjoying your own company?”</em></p><p>Long rides need breaks to cool down engines. We shut down or restart our devices. What about us, as humans?</p><p>I am trying to remember completing reading a book like I used to do before. In this fast-paced world, we have lost a part of ourselves. We need to find it.</p><p>Just a reminder my fellow human, take a break.</p><p><a href="https://medium.com/@prajotkulkarni">Prajot Kulkarni - Medium</a></p><blockquote>HAPPY LEARNING!</blockquote><figure><a href="https://long.sweet.pub/join-us-sweet-publications-2ba9bd5bf48e"><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*wzZp-tXvY6bR07t0PsqJHA.png" /></a></figure><p><strong><em>Liked the story? </em></strong><a href="https://long.sweet.pub/join-us-sweet-publications-2ba9bd5bf48e"><strong><em>Join Sweet Publications!</em></strong></a></p><p>Sweet.pub is a family — 💚 <a href="https://medium.com/p/6c1553fcd541"><strong>Short</strong></a>, 💙 <a href="https://medium.com/p/23995df2a3e3"><strong>Long</strong></a>, 💜 <a href="https://medium.com/p/11993686e2a4"><strong>Niche</strong></a>, and 🧡 <a href="https://medium.com/p/11993686e2a4"><strong>Deep</strong></a>. <br>Discover the stories that will make your 🤍 beat!</p><p><em>This article was published on November 25th, 2024 in </em><a href="https://medium.com/p/6c1553fcd541"><em>Short. Sweet. Valuable.</em></a><em> publication.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*xNjg-YJL_tqFx9Kfe7sAlQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a65893f1490" width="1" height="1" alt=""><hr><p><a href="https://short.sweet.pub/tech-a-break-6a65893f1490">Tech a break</a> was originally published in <a href="https://short.sweet.pub/">Short. Sweet. Valuable.</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Application Load Balancer: A Beginner’s Hands-On Guide]]></title>
            <link>https://towardsaws.com/aws-application-load-balancer-a-beginners-hands-on-guide-74275d332c7d?source=rss-ba048cc261f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/74275d332c7d</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[application]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[load-balancing]]></category>
            <dc:creator><![CDATA[Prajot Kulkarni]]></dc:creator>
            <pubDate>Fri, 22 Nov 2024 15:43:49 GMT</pubDate>
            <atom:updated>2024-11-22T16:36:41.106Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://towardsaws.com/aws-application-load-balancer-a-beginners-hands-on-guide-74275d332c7d?source=friends_link&amp;sk=969bf00c30e4e72cb7c429ddbcd40f7e">Not a Member, Read for FREE here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*VGFVYmdfHqbJrFiG.png" /><figcaption>Created by Author on draw.io</figcaption></figure><p>AWS Application Load Balancer (ALB) is designed to improve the performance and reliability of your applications by distributing incoming traffic across multiple targets. This ensures no single component is overloaded, leading to better performance.</p><p>In this beginner’s guide, we’ll explore the key features and benefits of AWS ALB, and provide practical steps to get you started.</p><p><strong>Key Points of Application Load Balancer (ALB):</strong><br>1. It is a Layer 7 Load Balancer (HTTP)<br>2. Load balances to multiple HTTP Applications across machines, also known as target groups.<br>3. Supports redirect (HTTP -&gt; HTTPS) &amp; Routing (to different URLs).<br>4. Good for microservices and container-based Applications.<br>Supports EC2s, Lambda and ECS.<br>5. Health Checks at target group levels and can also send traffic to On-prem IPs/servers.</p><h4>Step 1: Launching the instances with the user script,</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*yK9oto-pvPLmZp_I.png" /><figcaption>Snip from Authors AWS Platform</figcaption></figure><ol><li>Go to AWS services — EC2 Dashboard, and the ‘<em>launch an instance</em>’ section.</li><li>Name the <em>instance</em> (will rename later)</li><li>For this hands-on will have <em>2 EC2 instances</em>, you can have more.</li><li>Will choose <em>Amazon Linux 2023</em> Amazon Machine Image for the hands-on.</li><li>Instance type: <em>t2.micro</em></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/0*hvYl1f9ZSvG5Kcr1.png" /><figcaption>Snip from Authors AWS Platform</figcaption></figure><p>6. Keypair login: Proceed without a key pair.</p><p>7. Network settings: Create security group — Allow rules: <em>SSH and HTTP</em>.</p><pre>#!/bin/bash<br><br>yum update -y<br><br># Install httpd<br>yum install -y httpd<br><br># Start and enable httpd<br>systemctl start httpd<br>systemctl enable httpd<br><br># Echo message to file<br>echo &quot;&lt;h1&gt;$(hostname -f)&lt;/h1&gt;&lt;h2&gt;Hello World&lt;/h2&gt;&quot; &gt; /var/www/html/index.html</pre><p>8. Advanced details: Scroll to the bottom of the page, and paste the above commands into the ‘<strong>User data <em>— optional</em></strong>’ section.<br>Then <em>Launch Instance</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*xyPJ67Uhn-u6zKtQ.png" /><figcaption>Snip from Authors AWS Platform</figcaption></figure><p>9. Change the instance name for identification.</p><p>10. Open the public address in a new tab of the browser.<br><strong>NOTE: </strong><a href="http://http//IP_ADDRESS"><strong>HTTP://IP_ADDRESS</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/0*baAHd04XbFYGjYWf.png" /><figcaption>Snip from Authors AWS Platform</figcaption></figure><h4>Step 2: Setting up Application Load Balancer,</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*_BGiU0hjuFrR_jKJ.png" /><figcaption>Snip from Authors AWS Platform</figcaption></figure><p>Go to EC2 &gt; Load balancers &gt; Create Application Load Balancer.<br>Name the Load Balancer as ‘myALB’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*jgYWLR12zqFDWcgN.png" /><figcaption>Snip from Authors AWS Platform</figcaption></figure><ol><li>Network Mapping&gt; Mappings &gt; <em>Select all AZs</em>.</li><li>Create a new security group for allowing only HTTP traffic.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*pnZGaZNH2_QkY9U1.png" /><figcaption>Snip from Authors AWS Platform</figcaption></figure><p>3. Name the security group, ‘httpOnly’.</p><p>4. Inbound Rules, <em>Type: HTTP, Source: Anywhere (0.0.0.0/0)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*nOZ_r2xoGhd67uLa.png" /><figcaption>Snip from Authors AWS Platform</figcaption></figure><p>5. Select the newly created ‘httpOnly’ security group.</p><p>6. Create a target group, named ‘my-tg’. Keep everything as default, select the instances created earlier, and register targets. As below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*VaOd9KJJCBCvGqzX.png" /><figcaption>Snip from Authors AWS Platform</figcaption></figure><p>Then click on Create Load Balancer. It shall go into the Provisioning State.<br>Once completed you will get a DNS name, you can put it in a new browser tab and keep refreshing the page and see the IP change every time.</p><p>You can also shut down one EC2 instance and see it shows unhealthy in the target group and the traffic is forwarded to only one EC2 instance.</p><p>DON’T FORGET TO CLEAN UP AFTER THE HANDS-ON, TO AVOID THE UNNECESSARY CHARGES.</p><blockquote>If you liked the hands-on, please consider following and if you have any questions, drop a comment down below.</blockquote><p><a href="https://medium.com/@prajotkulkarni">Prajot Kulkarni - Medium</a></p><blockquote><em>HAPPY LEARNING!</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74275d332c7d" width="1" height="1" alt=""><hr><p><a href="https://towardsaws.com/aws-application-load-balancer-a-beginners-hands-on-guide-74275d332c7d">AWS Application Load Balancer: A Beginner’s Hands-On Guide</a> was originally published in <a href="https://towardsaws.com/">Towards AWS</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker Basics: Essential Commands and Tags]]></title>
            <link>https://medium.com/cloud-for-all/docker-basics-essential-commands-and-tags-part-1-2-c9b310bc985a?source=rss-ba048cc261f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9b310bc985a</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Prajot Kulkarni]]></dc:creator>
            <pubDate>Fri, 22 Nov 2024 12:25:29 GMT</pubDate>
            <atom:updated>2024-11-22T14:01:09.225Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://prajotkulkarni.medium.com/c9b310bc985a?source=friends_link&amp;sk=cb14963606f362a57f5e0408cec9c6c1">Not a Member, Read for FREE here.</a><br>Simple Docker Commands Always to Remember</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cpq9eldqm2s018HxR341oQ.png" /><figcaption>Generated on stable-diffusion</figcaption></figure><p>Getting started with Docker can seem daunting, but it doesn’t have to be. In this guide, let’s walk through the fundamental Docker commands we need to know. From setting up our first container to managing images, learn the basics to get up and running. Whether you are a beginner or looking to refresh your memory, this guide covers you.</p><p>[These are my notes, which I am putting here as a digital doc. I frequently rely on my notes, which hopefully, will help you guys too]</p><h4>(1) Pull an image from the Docker Hub,</h4><blockquote>docker pull &lt;img_name&gt;:&lt;tag&gt;</blockquote><blockquote><em>&lt;image_name&gt; — </em>Example, “httpd” or “nginx”<br><em>&lt;tag&gt; — </em>mention the version (default will be <em>“latest”</em>)</blockquote><h4>(2) Build an image,</h4><blockquote>docker build .</blockquote><blockquote>Build the <em>“Dockerfile” </em>or <em>“Docker-compose” </em>file</blockquote><blockquote>docker build -t &lt;img_name&gt; .</blockquote><blockquote><em>“-t” — </em>tag, assign a name (&lt;image_name) to the image after the build is completed, and don&#39;t forget the <em>dot</em> at the end.</blockquote><h4>(3) Run a container from the image after pull/build,</h4><blockquote>docker run &lt;img_name&gt;</blockquote><blockquote>This command runs a container out of the image.</blockquote><blockquote>docker run -d &lt;img_name&gt;</blockquote><blockquote>“-d” — tag, runs the container in “detached” mode, leaving the terminal open.<br>By default it runs is attached mode.</blockquote><blockquote>docker run --name &lt;cont_name&gt; &lt;img_name&gt;</blockquote><blockquote>“--name” — tag, is used to name a container(container_name) as per user’s choice</blockquote><blockquote>docker run -it &lt;img_name&gt;</blockquote><blockquote>docker run -i -t &lt;img_name&gt;</blockquote><blockquote>“-i” — interactive terminal<br>“-t” — TTY session<br>can be clubbed together as “-it”, to have an interactive terminal.</blockquote><blockquote>docker run --rm &lt;img_name&gt;</blockquote><blockquote>“--rm” removes the container automatically after it is stopped.</blockquote><h4>(4) Start and Stop a container,</h4><blockquote>docker start &lt;cont_id_or_name&gt;</blockquote><blockquote>docker start &lt;cont_id1&gt; &lt;cont_id2&gt;</blockquote><blockquote>To start a “paused” container, by name or ID of the container.<br>Multiple IDs or names separated by a space can be used to start containers at once.</blockquote><blockquote>docker stop &lt;cont_id_or_name&gt;</blockquote><blockquote>docker stop &lt;cont_id1&gt; &lt;cont_id2&gt;</blockquote><blockquote>To stop a running container, by name or ID of the container.<br>Multiple IDs or names separated by a space can be used to stop containers at once.</blockquote><h4>(5) View images and containers,</h4><blockquote>docker images</blockquote><blockquote>To view the pulled or built images locally.</blockquote><blockquote>docker ps</blockquote><blockquote>docker ps -a</blockquote><blockquote>“ps” is used to see the running containers.<br>“ps -a” Shows all containers, including running, stopped, and exited ones.</blockquote><h4>(6) Remove images and containers,</h4><blockquote>docker rm &lt;cont_id_or_name&gt;</blockquote><blockquote>docker rm &lt;cont_id1&gt; &lt;cont_id2&gt;</blockquote><blockquote>“rm” tag, to remove a stopped container.<br>Multiple IDs or names separated by a space can be used to remove containers at once.</blockquote><blockquote>docker rmi &lt;img_name_or_id&gt;</blockquote><blockquote>docker rmi &lt;img_name1&gt; &lt;img_name2&gt;</blockquote><blockquote>“rmi” tag, to remove the image locally.<br>Multiple names separated by a space can be used to remove images at once.</blockquote><p><em>If you found this valuable, please leave some claps and follow for more. If you have any other questions, feel free to drop a comment!<br>Thank You!</em></p><p><a href="https://medium.com/cloud-for-all">Cloud For All</a></p><blockquote>HAPPY LEARNING!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9b310bc985a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloud-for-all/docker-basics-essential-commands-and-tags-part-1-2-c9b310bc985a">Docker Basics: Essential Commands and Tags</a> was originally published in <a href="https://medium.com/cloud-for-all">Cloud For All</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Use Docker Hub for Free Virtual Storage (Cloud-like)]]></title>
            <link>https://medium.com/cloud-for-all/free-virtual-storage-using-docker-hub-like-cloud-42003b3763a7?source=rss-ba048cc261f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/42003b3763a7</guid>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Prajot Kulkarni]]></dc:creator>
            <pubDate>Wed, 20 Nov 2024 12:39:52 GMT</pubDate>
            <atom:updated>2024-11-21T06:36:34.226Z</atom:updated>
            <content:encoded><![CDATA[<p>Use Docker Hub as archive storage to dump/store your pictures securely, like a cloud alternative.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PhQUNxziiri_bHO3cSkHcw.png" /><figcaption>Author generated using AI</figcaption></figure><p>If you are familiar with docker or are a beginner, you can try these steps to store or dump your pictures, just like you would do on cloud storage(like AWS S3 archive). I stored around 4.5GB of data, and you can do the same with my tips.</p><p>Let&#39;s begin. Prerequisites,</p><ol><li>Docker Desktop (we are using Windows OS)</li><li>Docker Hub account (it’s simple to create one)</li><li>VS Code</li></ol><p>Let’s dive into the 5-step process to get you started with storing and retrieving your pictures using Docker and Docker Hub.</p><p><strong>STEP 1:</strong><br>Create a folder, let’s name it “docker_pictures”, inside that move your <em>pictures folder</em>(for the demo I have a folder of nearly 4.5GB of data-pictures).<br>Open the folder “docker_pictures” using VS Code, and create a <em>Dockerfile</em>. <em>img1.1</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*Br609GVmqKO3rDCkaG-R4A.png" /><figcaption>img1.1</figcaption></figure><p>Paste the commands below into the newly created <em>Dockerfile</em>.</p><pre>FROM photoprism/photoprism:latest<br><br># Set environment variables for username and password<br>ENV PHOTOPRISM_ADMIN_USER=&quot;viv1&quot;<br>ENV PHOTOPRISM_ADMIN_PASSWORD=&quot;viv1&quot;<br><br># Copy your photo files into the PhotoPrism storage directory<br>COPY ./pictures /photoprism/originals/<br><br>EXPOSE 2342<br><br># Start PhotoPrism<br>CMD [&quot;photoprism&quot;, &quot;start&quot;]</pre><p>Set your ADMIN user and PASSWORD (Will be using “<a href="https://hub.docker.com/r/photoprism/photoprism">photoprism</a>”)</p><p><strong>STEP 2:</strong><br>Open a new terminal on VS code and run the below command,<em> img2.1</em></p><p>“<em>docker build -t viv1 .</em>”</p><p>Make sure your Docker engine is running, before you run the command.<br>“-t” is for tagging the image with the name “viv1”. (viv1 — version_v1)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8VHkV67i1_H7C-kbPinNow.png" /><figcaption>img2.1</figcaption></figure><p>You can see the image on Docker Desktop, <em>img2.2</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oz7jCRVR9t2MWPbndZmwcw.png" /><figcaption>img2.1</figcaption></figure><p><strong>STEP 3:</strong><br>Now, let’s run the image to check our pictures.<br>You can do it in 2 ways, <br>1. Run the command “<em>docker run — name viv1container -p 2342:2342 viv1</em>”<br>2. Using Docker Desktop. Click the play button below the actions tab. <em>img2.2</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*H0CJdvjNf1wWo7BFK3e01A.png" /><figcaption>img2.2</figcaption></figure><p>Open a new browser tab and paste the URL: <a href="http://localhost:2342/"><em>http://localhost:2342/</em></a><em><br></em>A page will open, enter the NAME and PASSWORD. <em>img2.3</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*K7fRv50SN6zNn-97QRyNzw.png" /><figcaption>img2.3</figcaption></figure><p>Do these steps to view the images, <em>img2.4</em><br>1. Go to “Library”<br>2. Tick box — Complete Rescan<br>3. START<br>4. Check “Labels”, the pictures will start appearing. <em>img2.5</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5bi_DLkUCirEwwlHxJ28XQ.png" /><figcaption>img2.4</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pEfstE7M7i0MoLZprC2nsw.png" /><figcaption>img2.5</figcaption></figure><p><strong>STEP 4:<br></strong>Log in to Docker Desktop and Docker Hub<br>Setup a repository in Docker Hub, <em>img4.1</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l7qjzWOeaJj22FXC6_7TCA.png" /><figcaption>img4.1 (Black patch will contain your details)</figcaption></figure><p>On VS code Terminal, run the command “<em>docker login</em>” and tag the image to upload on the Docker Hub repository.<br>“<em>docker tag viv1:latest &lt;Your_ID&gt;/viv1</em>” — tag to upload on Docker Hub, <em>img4.2</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*UMKcGf5bOjKb4mPqKiVMzg.png" /><figcaption>img4.2 (edited for understanding)</figcaption></figure><p>OR (my preference) Run command “<em>docker push</em> <em>&lt;Your_ID&gt;/viv1</em>”, <em>img4.3</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*k0A5-Bvcbft8N8KqOhI2tA.png" /><figcaption>img4.3</figcaption></figure><p>The image is compressed and stored in Docker Hub. The repository is PRIVATE and the image is password protected <strong>(Set a strong username and password, and remember it)</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m4BWZrKI7_e9ZtRDb4QtqA.png" /><figcaption>img4.4 (edited for understanding)</figcaption></figure><p><strong>STEP 5:</strong><br>To retrieve the image from Docker Hub, log in to Docker Desktop with the same account and pull the image. <em>img5.1</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rSO6B1YFnnyQ3TqKIc5eZg.png" /><figcaption>img5.1</figcaption></figure><p>Another option is to do a Docker pull: “<em>docker pull &lt;Your_ID&gt;/viv1:latest</em>”<br>After you have pulled the image, run a container, there are 2 ways to retrieve the “<em>pictures</em>” folder.<br>1. In Docker Desktop go to the <em>containers </em>section &gt; click on the <em>files </em>tab &gt; go to the path <em>photoprism — originals, </em>right click and <em>save </em>at your location. <em>img5.2<br></em>2. Using “cp” command on your terminal,<br>“<em>docker cp &lt;container_id&gt;:/photoprism/originals &lt;local_path_on device&gt;</em>”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Iqm0epQyta7uoG-hU-OMw.png" /><figcaption>img5.2</figcaption></figure><blockquote>If you found this valuable, please leave a clap and follow for more. If you have any other questions, feel free to drop a comment!</blockquote><p><a href="https://medium.com/cloud-for-all">Cloud For All</a></p><blockquote>HAPPY LEARNING!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42003b3763a7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloud-for-all/free-virtual-storage-using-docker-hub-like-cloud-42003b3763a7">How to Use Docker Hub for Free Virtual Storage (Cloud-like)</a> was originally published in <a href="https://medium.com/cloud-for-all">Cloud For All</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mini Business Eco-System]]></title>
            <link>https://medium.com/illumination/keep-business-rolling-unveiling-the-vendors-cooperative-partnership-bc1262de64d0?source=rss-ba048cc261f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc1262de64d0</guid>
            <category><![CDATA[vendors]]></category>
            <category><![CDATA[partnerships]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[illumination]]></category>
            <category><![CDATA[fiction]]></category>
            <dc:creator><![CDATA[Prajot Kulkarni]]></dc:creator>
            <pubDate>Sat, 09 Nov 2024 19:50:49 GMT</pubDate>
            <atom:updated>2024-11-25T13:46:10.845Z</atom:updated>
            <content:encoded><![CDATA[<p>On a Saturday afternoon, I got a free lesson in business practice. This story captures the essence of that lesson.<br><a href="https://medium.com/illumination/keep-business-rolling-unveiling-the-vendors-cooperative-partnership-bc1262de64d0?sk=0c78e86c9ac0966985724ab675f7e0ce"><strong>Not a Member, Read for FREE here</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*gI-yZOAMGnMd4NjJE6S43w.jpeg" /><figcaption>AI Generated by Author</figcaption></figure><p>I stood in the garage, watching the mechanic inspect my bike for issues. The scent of oil and grease filled the air, and the clanking of tools echoed around the space. The mechanic, a burly man with grease-stained hands, looked me in the eyes and, with a confident smile, said, “Oh, it’s a small issue. It’ll be done in a couple of hours.”</p><p>He pointed out two issues: a damaged electronic component and a drained battery. He said he could get the parts and fix the issue, but it would take longer since his helper wasn’t available that day. Plus, he was waiting for another client. I hadn’t had a good experience with the previous service center(I was charged more and received poor service from other vendors), so I asked the mechanic if I could get the components myself to speed things up. He agreed.</p><p>He temporarily fixed my bike with some spares he had on hand. As I was about to leave, he stopped me and made a call. After that, he handed me an address and a contact number and said I could find the parts at the store.</p><p>In the next 20 minutes, I arrived at the store he had recommended. The store was bustling with activity, and the shelves were lined with various automotive parts, tools, and gadgets. I told the storekeeper, an elderly man with a friendly smile, that the mechanic sent me over to get the parts. The storekeeper provided the electronic component but said he didn’t sell batteries. He called another store to check the availability of the battery and handed me another address and contact number. He also gave me a one-month warranty for the electronic component I purchased, which was unusual since the packaging didn’t mention any warranty.</p><p>The battery store was 10 minutes away. The streets were busy, and the hum of traffic was constant. I reached the store and told the owner, a middle-aged man with a well-organized shop, about the reference I had from the earlier store. The owner asked his helper to get the battery I needed from the basement. As I walked down with the helper, the air grew cooler, and the scent of rubber and metal filled the space. Questions and doubts rushed through my head.</p><p>Alone in the basement with the helper, I struck up a conversation. <br>“Do you know the electronic store across the street or the garage?” I asked. “Yes, they often send their customers over here,” he replied. <br>“Why? There are other stores as well,” I inquired. <br>With a smile, he said, “Because my boss pays 10% commission to these guys.”</p><p>Now, the air was clear for me. I wanted to know more about their cooperation.</p><p>“So, that’s a good trade. Everybody benefits, isn’t it?” I commented. <br>“Yes, me too. The mechanic does not charge me, my boss, or the electronic store for servicing our bikes. The mechanic also gets a 5% commission from the electronic store,” he explained.</p><p>I smiled at their win-win situation.</p><p>Back at the garage with the parts, the mechanic was fixing another bike. The rhythmic sound of his tools was almost soothing. I handed over the parts, and he began working on my bike. After he was done, he said, “If there’s any issue within two days, I’ll fix it.” He washed my bike, checked for other issues (offering complimentary services), and gave me a discount on the overall bill.</p><p>I realized that the mechanic had shared a portion of his benefit with me, ensuring my satisfaction and loyalty. That’s how you build lasting customer relationships.</p><p>Will I visit them again? Absolutely</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/1*ileeIJ72NdWPsgeSXwhL_g.png" /><figcaption>Created by Author</figcaption></figure><p>For me, this was a story of trust, cooperation, and mutually beneficial arrangements among vendors and service providers that not only enhance efficiency but also ensure customer satisfaction and loyalty.</p><blockquote>If you enjoyed my experience and found value in it, please share your takeaways in the comments section. Don’t forget to follow for more stories. Thank you for reading!</blockquote><blockquote>HAPPY LEARNING!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc1262de64d0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/illumination/keep-business-rolling-unveiling-the-vendors-cooperative-partnership-bc1262de64d0">Mini Business Eco-System</a> was originally published in <a href="https://medium.com/illumination">ILLUMINATION</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adding Firefox Browser to Dockerized Ubuntu GUI Container: A Short Guide]]></title>
            <link>https://medium.com/cloud-for-all/enhancing-your-dockerized-ubuntu-gui-container-with-firefox-browser-a-short-guide-76c39d74fff4?source=rss-ba048cc261f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/76c39d74fff4</guid>
            <category><![CDATA[ubuntu-desktop]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[browsers]]></category>
            <dc:creator><![CDATA[Prajot Kulkarni]]></dc:creator>
            <pubDate>Thu, 07 Nov 2024 10:56:23 GMT</pubDate>
            <atom:updated>2024-11-22T17:56:52.829Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>NOTE:<br>This post is the extended part of:</blockquote><p><a href="https://medium.com/cloud-for-all/running-ubuntu-os-with-gui-in-a-docker-container-rdp-dbecb0880893">Running Ubuntu OS with GUI in a Docker Container (RDP)</a></p><p>There are two ways to install and launch a Firefox browser on the container,<br>1. Installing it after running the image.<br>2. Make Firefox a part of the image, by adding/copying the installer in it.<br>Let’s have a look at both ways.</p><p><strong>(1) Installing it after running the image:</strong><br>After running the image with the tag “-it”, you have root user privileges at the terminal level <em>(img1.1)</em>, which you can utilize to install the Firefox browser by running the commands.<br>Follow the documentation link below to add a Firefox web browser to your UbuntuOS GUI container,<br><a href="https://support.mozilla.org/en-US/kb/install-firefox-linux"><em>https://support.mozilla.org/en-US/kb/install-firefox-linux</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*vJZp1i_ml_91R63B.png" /><figcaption>img1.1</figcaption></figure><p><strong>(2) Make Firefox a part of the image, by adding/copying the installer in it:</strong><br>Download the installer package from the below link,<br><a href="https://www.mozilla.org/en-US/firefox/all/desktop-release/linux64/en-US/"><em>https://www.mozilla.org/en-US/firefox/all/desktop-release/linux64/en-US/</em></a><strong><em><br></em></strong>rename the file to “firefox.tar.bz2” <em>(at ease)<br></em>and move it to the location of your Dockerfile. And edit the Dockerfile as below,</p><pre>FROM ubuntu:latest<br><br># Copy the firefox.tar.bz2 file into the container<br>COPY firefox.tar.bz2 /tmp/firefox.tar.bz2<br><br># Set DEBIAN_FRONTEND to noninteractive for package installations<br>ENV DEBIAN_FRONTEND=noninteractive<br><br># Install desktop environment and XRDP<br>RUN apt-get install -y lubuntu-desktop xrdp &amp;&amp; \<br>    adduser xrdp ssl-cert &amp;&amp; \<br>    echo &quot;Lubuntu desktop and XRDP installed&quot;<br><br># Create a user with sudo privileges<br>RUN useradd -m -s /bin/bash testuser &amp;&amp; \<br>    echo &quot;testuser:1234&quot; | chpasswd &amp;&amp; \<br>    usermod -aG sudo testuser &amp;&amp; \<br>    echo &quot;User testuser created&quot;<br><br># Expose port for XRDP<br>EXPOSE 3389<br><br># Start services<br>CMD service dbus start &amp;&amp; \<br>    /usr/lib/systemd/systemd-logind &amp; \<br>    service xrdp start &amp;&amp; \<br>    echo &quot;Services started&quot; &amp;&amp; \<br>    /bin/bash</pre><p>After running the image, connect via RDP,<br>and follow the below steps, <em>img2.1<br></em>1. Click on “<strong>testuser</strong>” <br>2. A box will appear, click on “<strong>/</strong>” and find the “<strong>tmp</strong>” folder, and click on it.<br>3. Search for “<strong>firefox.tar.bz2</strong>” and click on it. An extractor will open.<br>4. Click on the extract file button, which will open a new box.<br>5. Select “Desktop” as the file location, then click open.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9habPAk0ar3nfKZ8KLkzPQ.png" /><figcaption>img2.1</figcaption></figure><p>A new <strong>folder</strong> will appear on the Desktop with the name “<strong>firefox</strong>”, open the folder and look for <strong>firefox <em>(setting gear icon)</em></strong><em>. img2.2<br></em>Right-click on it and tick “<strong>trust this executable</strong>”, then double-click on the gear icon. Firefox browser will open. <em>img2.3</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TkJuAZWLzPXV-mUA2d7V5A.png" /><figcaption>img2.2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P8960Fyw5luPyUoBDOXPmA.png" /><figcaption>img2.3</figcaption></figure><blockquote>“HAPPY LEARNING”</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76c39d74fff4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloud-for-all/enhancing-your-dockerized-ubuntu-gui-container-with-firefox-browser-a-short-guide-76c39d74fff4">Adding Firefox Browser to Dockerized Ubuntu GUI Container: A Short Guide</a> was originally published in <a href="https://medium.com/cloud-for-all">Cloud For All</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Running Ubuntu OS with GUI in a Docker Container (RDP)]]></title>
            <link>https://medium.com/cloud-for-all/running-ubuntu-os-with-gui-in-a-docker-container-rdp-dbecb0880893?source=rss-ba048cc261f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbecb0880893</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[windows]]></category>
            <dc:creator><![CDATA[Prajot Kulkarni]]></dc:creator>
            <pubDate>Sun, 03 Nov 2024 12:49:59 GMT</pubDate>
            <atom:updated>2024-11-15T14:14:05.992Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://medium.com/cloud-for-all/running-ubuntu-os-with-gui-in-a-docker-container-rdp-dbecb0880893?sk=987805adf47a79cd45cb850f907769f6">Read for Free here</a></p><p>Ever wished you could run a full-fledged Ubuntu desktop environment inside a Docker container? Whether you’re looking to streamline your development workflow, create isolated environments for testing, or simply explore the possibilities of containerization, running an Ubuntu OS with a GUI in Docker opens up a world of opportunities.</p><p>In this guide, we’ll walk you through the steps to set up an Ubuntu desktop environment within a Docker container, complete with graphical user interface (GUI) capabilities. By the end, you’ll have a remote-accessible Ubuntu desktop ready for use</p><p>These steps are performed on a Windows machine (win10).<br>Before we begin,<br>Install docker: <a href="https://www.docker.com/products/docker-desktop/">https://www.docker.com/products/docker-desktop/</a><br>VScode: <a href="https://code.visualstudio.com/download">https://code.visualstudio.com/download</a></p><blockquote>Open docker desktop and run the engine</blockquote><p><strong>Step1:</strong><br>Let’s have a folder with the name “ubuntuOS” and create a “Dockerfile” in it. Paste the below content in the “Dockerfile” and save it using VScode.<br>We are using a flavor of ubuntu OS called <em>lubuntu</em>. (you can change it as per your requirements by referring to the docs)</p><pre>FROM ubuntu:latest<br><br># Update and install desktop environment and XRDP<br>RUN apt update &amp;&amp; \<br>    DEBIAN_FRONTEND=noninteractive apt install -y lubuntu-desktop &amp;&amp; \<br>    apt install -y xrdp &amp;&amp; \<br>    adduser xrdp ssl-cert<br><br># Create a user and add to sudo group<br>RUN useradd -m testuser &amp;&amp; \<br>    echo &quot;testuser:1234&quot; | chpasswd &amp;&amp; \<br>    usermod -aG sudo testuser<br><br># Expose port 3389<br>EXPOSE 3389<br><br># Start services<br><br>CMD service xrdp start &amp;&amp; \<br>    /bin/bash</pre><p><strong>Step2:<br></strong>Open the saved Dockerfile in the VScode and open a <em>New Terminal</em>. <em>img 2.1<br></em>make sure you are in the right directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7-uEjz-s1J18vrQbv68GQw.png" /><figcaption>img 2.1</figcaption></figure><blockquote>Build an image from the saved Dockerfile, paste the below command in the terminal to build an image:<br>“docker build -t lubuOs .” <br>wait for a few minutes, as the image-building process takes time.</blockquote><p><strong>Step3:<br></strong>After the image is built, open your docker desktop application and check the image. <em>img 3.1</em></p><figure><img alt="docker" src="https://cdn-images-1.medium.com/max/1024/1*FKhhW9O4Xp-OFt6dBZqXbQ.png" /><figcaption>img3.1</figcaption></figure><blockquote>now, let&#39;s run the image using the below command,<br>“docker run -it -p 3389:3389 --name my_os lubuos”<br>img 3.2</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GcL20ObxydKzjTxznWqV7A.png" /><figcaption>img 3.2</figcaption></figure><p>The container is up and running.<br>-p is port forwarding/setting for RDP<br>-it opens a terminal inside a container with “<strong>root</strong>” privileges.<br>--name is used to name the container i.e my_os</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wNR_1wgG6kxwG_abqOguxQ.png" /><figcaption>img 3.3</figcaption></figure><p><strong>Step4:<br></strong>Open “Remote Desktop Connection”, put “<strong>localhost</strong>” and connect, <em>img 4.1.1<br></em>say “YES”, <em>img 4.1.2<br></em>Once the connection is established you will see “xrdp” page, <em>img 4.2<br></em>put user name: “<strong>testuser</strong>” &amp; password: “<strong>1234</strong>” and press enter<br>You will land in your remote desktop, <em>img 4.3</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/1*6X0U8yW5xsBr8u67LBW1_Q.png" /><figcaption>img 4.1.1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*V69mk52YyZkHSpn3Bb--1A.png" /><figcaption>img 4.1.2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cBonQ-6Eo6XCPLCfoafNGg.png" /><figcaption>img 4.2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gLB8Oiqi68tlbJ7RsrM92Q.png" /><figcaption>img 4.3</figcaption></figure><p>You are ready to install a Linux-based OS on your Windows PC in just four simple steps. If you find this insightful, please “<strong>follow” </strong>for more.</p><p>In the next post, I will cover installing a web browser(firefox) in this container OS.</p><blockquote>Refer to Firefox installation:<br><a href="https://prajotkulkarni.medium.com/enhancing-your-dockerized-ubuntu-gui-container-with-firefox-browser-a-short-guide-76c39d74fff4"><em>https://prajotkulkarni.medium.com/enhancing-your-dockerized-ubuntu-gui-container-with-firefox-browser-a-short-guide-76c39d74fff4</em></a></blockquote><blockquote>“HAPPY LEARNING”</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbecb0880893" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloud-for-all/running-ubuntu-os-with-gui-in-a-docker-container-rdp-dbecb0880893">Running Ubuntu OS with GUI in a Docker Container (RDP)</a> was originally published in <a href="https://medium.com/cloud-for-all">Cloud For All</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>