<?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 Hitesh Bheda on Medium]]></title>
        <description><![CDATA[Stories by Hitesh Bheda on Medium]]></description>
        <link>https://medium.com/@hitesh-bheda?source=rss-783dd40cc9e1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ovODX6vvdP15DkdJGdlXdw.jpeg</url>
            <title>Stories by Hitesh Bheda on Medium</title>
            <link>https://medium.com/@hitesh-bheda?source=rss-783dd40cc9e1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 10:10:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hitesh-bheda/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[Interactive and Real-time Tic Tac Toe Game development with two-player option using Amazon Q CLI]]></title>
            <link>https://hitesh-bheda.medium.com/interactive-and-real-time-tic-tac-toe-game-development-with-two-player-option-using-amazon-q-cli-b1e84e4a11b5?source=rss-783dd40cc9e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1e84e4a11b5</guid>
            <dc:creator><![CDATA[Hitesh Bheda]]></dc:creator>
            <pubDate>Mon, 30 Jun 2025 12:12:27 GMT</pubDate>
            <atom:updated>2025-06-30T12:12:27.171Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey everyone!</p><p>Just wanted to share something exciting I recently worked on — my <strong>first interactive game</strong> built using <strong>Amazon Q CLI</strong>! It’s a classic one — <strong>Tic Tac Toe</strong>, but the fun part is how it was developed, and how simple yet powerful the whole process turned out to be.</p><p>This post is kinda a mix of dev log + a walkthrough + a bit of behind-the-scenes. So if you’re into CLI tools, game dev, or just curious how Amazon Q CLI can help with interactive stuff, keep reading.</p><h3>Why I chose to build this?</h3><p>Honestly, I wanted to try something fun yet not too complex for the first project using <strong>Amazon Q CLI</strong>. Something that can show interaction, logic, real-time behavior and at the same time doesn’t end up taking days. And what’s better than <strong>Tic Tac Toe</strong>? Simple, nostalgic, and perfect to test stuff like UI, logic, score tracking, and user interaction.</p><p>Also, I really wanted to see how Amazon Q CLI can go beyond just generating boilerplate code and actually help with <strong>live iterative development</strong>.</p><h3>The Game: Tic Tac Toe</h3><p>Alright, so here’s what the game does (and yes, I’ve tried to keep the UI clean and the logic simple):</p><h3>Features I managed to build:</h3><ul><li>Interactive and clean UI (well, as clean as you can get in terminal)</li><li>Two-player support (obviously!)</li><li>Live score tracking while playing multiple rounds</li><li>“Win” flag that shows up at the end of each game</li><li>Option to reset the scores and start over anytime</li></ul><p>Not gonna lie, getting the reset logic to not mess up the ongoing game state took me a bit longer than I expected.</p><h3>Technical Guide of Gameplay Steps</h3><p>Here’s how the development and gameplay went, I’ve added step-by-step guide<strong>.</strong></p><h3>1. Setup using Amazon Q CLI</h3><p>![setup]<br> Started with a simple prompt like:<br> &quot;create a 2-player game in python using CLI&quot;<br> Amazon Q was super quick in giving me a good starting point.</p><h3>2. Basic UI grid</h3><p>![UI grid]<br> Very basic terminal grid, but it gets the job done. I added colors later for better visibility.</p><h3>3. Turn-based play</h3><p>![Turn-based]<br> Alternate turns with prompts — “Player X, enter your move…” felt good to keep it interactive.</p><h3>4. Win logic</h3><p>![Win case]<br> The game checks after every move if someone won. And shows a nice little “Player X wins!” msg.</p><h3>5. Tie / Draw</h3><p>![Tie]<br> If no one wins, and board fills up, it detects a draw and shows that too.</p><h3>6. Scoreboard and Reset</h3><p>![Reset]<br> The scoreboard updates after every round, and there’s a “Reset scores” option so players can start fresh.</p><h3>Gameplay Walkthrough (Screenshots + Video)</h3><p>Alright so here’s how the actual gameplay looks and flows. I’ve captured <strong>screenshots of each stage</strong> and also included a <strong>video</strong> recording at the end where I played a couple of rounds. 🙌</p><h3>1. New Game Starts</h3><p>The new fresh game is about to start</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/391/1*C1oAIIUZYMqsNEdNYUmOIA.png" /></figure><p>The game launches with a fresh board, and <strong>Player X</strong> is ready to begin. Scoreboard at the top shows:<br> X: 0 O: 0 Draws: 0</p><h3>2. First Move by Player X</h3><p>First move by Player “X”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*8NthOgw1_YRaZTvQczj89A.png" /></figure><p>Player X makes the first move, choosing the center cell (smart move 👏). Now it’s <strong>O’s turn</strong>, as highlighted in red above the board.</p><h3>3. First Move by Player O</h3><p>First move by player “O”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/391/1*0RaA6dasSshHPfm7PkwZHg.png" /></figure><p>Player O responds, and places a move in the top-right corner.<br> You can see how turn switching happens smoothly and clearly.</p><h3>4. Player X Wins the First Game 🎉</h3><p>Player “X” wins First game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*JvixmgPDpieWvUXXdPNLBg.png" /></figure><p>And boom! After a few moves, <strong>Player X wins</strong> by forming a horizontal row.<br> Score updates live:<br> X: 1 O: 0 Draws: 0<br> Also loving the little <em>&quot;Player X Wins!&quot;</em> banner. 🎊</p><h3>5. Player X Wins Again</h3><p>Player “X” wins Second game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*BRGpmxsXpxzxe6ySB1_LVQ.png" /></figure><p>X is on fire 😄 — wins a second round with another straight row. Score updates accordingly to:<br> X: 2 O: 0 Draws: 0</p><h3>6. Player O Wins a Game</h3><p>Player “O” wins First game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*HBf5MkZ9AXr-ovFxEQDWmg.png" /></figure><p>Finally, Player O makes a comeback with a <strong>vertical win</strong>.<br> The scoreboard:<br> X: 2 O: 1 Draws: 0<br> So satisfying to see it update like that in real time.</p><h3>7. Reset Scores Feature</h3><p>Reset scores feature.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/395/1*21jEfv_K7MHEVVizrNrTww.png" /></figure><p>This is also cool — with just one click on <strong>“Reset Scores”</strong>, everything goes back to zero. Handy when you wanna restart a match fresh.</p><h3>Watch it Live — Full Gameplay Video</h3><p>If you wanna see how the flow looks in real-time, you can check it here on live: <a href="http://hiteshbheda-com-static.s3-website-us-east-1.amazonaws.com/tic-tac-toe/">http://hiteshbheda-com-static.s3-website-us-east-1.amazonaws.com/tic-tac-toe/</a></p><h3>GitHub Repo Link</h3><p>Here is the GitHub repo link: <a href="https://github.com/hiteshbheda/tic-tac-toe">https://github.com/hiteshbheda/tic-tac-toe</a></p><h3>Things I learned</h3><ul><li>Amazon Q CLI really does help in rapid iterations. Like I asked it to “add score tracking” and it literally guided me through it.</li><li>Debugging with natural language is amazing. I didn’t need to Google random stack traces, I just asked Q to help and it did.</li><li>I also realized how important <strong>user prompts and validations</strong> are — even in a simple game like this. I had to rework some parts when users entered invalid cell numbers etc.</li></ul><p>And yes, made plenty of small bugs at first (off-by-one errors, forgotten board resets, etc).</p><h3>Final Thoughts</h3><p>This was a fun mini project. I didn’t expect it to be this smooth with CLI development but thanks to <strong>Amazon Q</strong>, it was actually very enjoyable.</p><p>I think tools like these really lower the barrier for solo developers or even for quick prototyping. If you haven’t tried Amazon Q CLI yet, you really should — just start with a simple idea like this.</p><p>Next, I might try to build something multiplayer or maybe sync with online players? Not sure yet.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1e84e4a11b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon Translate - A Neural Machine Translation Service]]></title>
            <link>https://hitesh-bheda.medium.com/amazon-translate-a-neural-machine-translation-service-5f4326868dd7?source=rss-783dd40cc9e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f4326868dd7</guid>
            <category><![CDATA[language-translation]]></category>
            <category><![CDATA[aws-translate]]></category>
            <category><![CDATA[text-translation]]></category>
            <category><![CDATA[amazon-translate]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Hitesh Bheda]]></dc:creator>
            <pubDate>Thu, 02 Mar 2023 08:21:00 GMT</pubDate>
            <atom:updated>2023-03-02T08:21:00.377Z</atom:updated>
            <content:encoded><![CDATA[<p>As the world continues to become more connected and globalized, language barriers can pose significant challenges for individuals and businesses alike. However, with the advent of cloud-based machine translation services, such as Amazon Translate, these barriers can be more easily overcome. In this article, we will provide an overview of Amazon Translate and its key features.</p><p>Amazon Translate is an advanced language translation service powered by neural machine learning technology, offering speedy, top-notch, cost-effective, and personalized translation solutions.</p><p><a href="https://aws.amazon.com/translate/">You can explore more on Amazon Translate from here.</a></p><p><a href="https://aws.amazon.com/translate/">Machine Translation Service - Amazon Translate - Amazon Web Services</a></p><p><strong><em>Amazon Translate Architecture</em></strong></p><p>[Source: Amazon Translate — https://aws.amazon.com/translate/]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UBuUnHX55foJP2ZJXL-IZw.png" /></figure><p>Amazon Translate is a machine translation service provided by Amazon Web Services (AWS). It uses advanced neural machine translation technology to translate text from one language to another. The service currently supports translation between 71 different language pairs, including Arabic, Chinese, English, French, German, Italian, Japanese, Korean, Portuguese, Russian, Spanish, and many more.</p><p><strong>Key Features of Amazon Translate</strong></p><p><strong><em>High-Quality Translation</em></strong></p><p>Amazon Translate uses state-of-the-art neural machine translation technology to provide high-quality translations. This technology has been trained on vast amounts of multilingual data, enabling it to produce translations that are both accurate and natural-sounding.</p><p><strong><em>Custom Terminology</em></strong></p><p>Amazon Translate allows users to specify custom terminology that should be used in translations. This is particularly useful for businesses that have specific industry jargon or product names that need to be translated accurately.</p><p><strong><em>Batch Translation</em></strong></p><p>Amazon Translate supports batch translation, which allows users to translate large volumes of text at once. This is especially useful for businesses that need to translate large documents or websites.</p><p><strong><em>Real-Time Translation</em></strong></p><p>Amazon Translate also supports real-time translation, which allows users to translate text as it is typed or spoken. This feature is useful for businesses that need to provide multilingual customer support or communicate with colleagues in different languages.</p><p><strong><em>Cost-Effective</em></strong></p><p>Amazon Translate is a cost-effective solution for machine translation. Users are only charged for the amount of text that is translated, with no minimum fees or upfront costs.</p><p><strong>How to Use Amazon Translate</strong></p><p>To use Amazon Translate, users need to sign up for an AWS account and create a new Amazon Translate resource. Once the resource is created, users can start using the service through the AWS Management Console, API, or command line interface.</p><p>In conclusion, Amazon Translate is a powerful machine translation service that can help individuals and businesses overcome language barriers. With its high-quality translations, custom terminology support, batch translation capabilities, real-time translation feature, and cost-effective pricing, Amazon Translate is a compelling option for anyone who needs to translate text between different languages.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f4326868dd7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bulk text translation APIs]]></title>
            <link>https://hitesh-bheda.medium.com/bulk-text-translation-apis-7f0004a98d9d?source=rss-783dd40cc9e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f0004a98d9d</guid>
            <category><![CDATA[text-translation]]></category>
            <category><![CDATA[text-conversation]]></category>
            <category><![CDATA[translation-services]]></category>
            <dc:creator><![CDATA[Hitesh Bheda]]></dc:creator>
            <pubDate>Mon, 27 Feb 2023 05:54:17 GMT</pubDate>
            <atom:updated>2023-02-27T05:54:17.897Z</atom:updated>
            <content:encoded><![CDATA[<p>There are several popular language translation APIs that can be used for bulk text translation. Here are a few options:</p><ol><li><a href="https://cloud.google.com/translate">Google Cloud Translation API</a>: This API allows you to translate large volumes of text between thousands of language pairs. It also offers customizable translation models to improve translation quality for specific use cases.</li><li><a href="https://aws.amazon.com/translate/">Amazon Translate</a>: This API can translate large volumes of text between a variety of languages. It also offers automatic language detection and custom terminology support.</li><li><a href="https://translator.microsoft.com/">Microsoft Translator</a>: This API supports translation of large volumes of text between more than 70 languages. It also offers translation customization options and automatic language detection.</li><li><a href="https://www.deepl.com/en/docs-api">DeepL API</a>: This API uses deep neural networks to provide high-quality translation between several languages. It also supports batch translation for large volumes of text.</li><li><a href="https://yandex.com/dev/translate/">Yandex.Translate API</a>: This API supports translation between over 100 languages and offers customizable translation models for specific use cases. It also offers automatic language detection and dictionary support.</li></ol><p>When selecting an API for bulk text translation, it’s important to consider factors such as the number of supported languages, translation accuracy, pricing, and customization options.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f0004a98d9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Popular Cloud based Versioning Tools]]></title>
            <link>https://hitesh-bheda.medium.com/popular-cloud-versioning-tools-ab7f1d7bd1b1?source=rss-783dd40cc9e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab7f1d7bd1b1</guid>
            <category><![CDATA[cloud-versioning]]></category>
            <category><![CDATA[azure-devops]]></category>
            <category><![CDATA[aws-codecommit]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <dc:creator><![CDATA[Hitesh Bheda]]></dc:creator>
            <pubDate>Tue, 14 Feb 2023 05:47:29 GMT</pubDate>
            <atom:updated>2023-02-14T06:48:42.783Z</atom:updated>
            <content:encoded><![CDATA[<p>Cloud versioning refers to the process of tracking and managing changes to files, configurations, and data stored in the cloud. It enables teams to store multiple versions of their files, making it easy to revert back to previous versions if necessary and to collaborate on projects in real-time.</p><p>Here are some popular cloud versioning tools that are widely used:</p><ol><li><a href="https://git-scm.com/"><strong><em>Git:</em></strong></a> Git is a distributed version control system that enables developers to keep track of their code changes, collaborate with others, and manage their projects from anywhere. It is an open-source tool that is widely used by developers to manage their projects, especially those hosted on cloud platforms like GitHub, GitLab, and Bitbucket.</li><li><a href="https://aws.amazon.com/codecommit/"><strong><em>Amazon Web Services (AWS) CodeCommit:</em></strong></a> CodeCommit is a fully managed version control service provided by AWS. It supports Git-based version control, making it easy for developers to use their familiar Git workflows to manage their code. CodeCommit integrates with other AWS services like CodeBuild, CodeDeploy, and CodePipeline, making it a comprehensive solution for managing your applications in the cloud.</li><li><a href="https://azure.microsoft.com/en-us/products/devops"><strong><em>Microsoft Azure DevOps:</em></strong></a> Azure DevOps is a cloud-based platform that provides a set of tools and services for software development, including version control. It integrates with Git and provides a web-based interface for managing code, continuous integration and delivery (CI/CD), and project management.</li><li><a href="https://source.cloud.google.com/onboarding/welcome"><strong><em>Google Cloud Source Repositories:</em></strong></a> Google Cloud Source Repositories provides Git-based version control for your source code, making it easy to manage and collaborate on code projects. It integrates with other Google Cloud services like App Engine and Kubernetes Engine, making it a comprehensive solution for managing your applications in the cloud.</li><li><a href="https://www.dropbox.com/paper/start"><strong><em>Dropbox Paper:</em></strong></a> Dropbox Paper is a cloud-based collaboration and document management tool that provides version control for your files. It enables teams to work together on projects in real-time, and provides an easy-to-use interface for tracking changes and managing versions.</li></ol><p>These are just a few examples of the many cloud versioning tools available. The best tool for your organization will depend on your specific needs and requirements, such as the size of your team, the complexity of your projects, and your budget. Regardless of the tool you choose, cloud versioning provides a convenient and efficient way to manage your code and collaborate with your team, no matter where you are.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab7f1d7bd1b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Amazon Elastic Container Service for Kubernetes (Amazon EKS)]]></title>
            <link>https://hitesh-bheda.medium.com/creating-amazon-elastic-container-service-for-kubernetes-amazon-eks-f9f3e37c4756?source=rss-783dd40cc9e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9f3e37c4756</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[ek]]></category>
            <category><![CDATA[container-orchestration]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Hitesh Bheda]]></dc:creator>
            <pubDate>Thu, 21 Apr 2022 16:12:31 GMT</pubDate>
            <atom:updated>2022-04-21T16:12:31.168Z</atom:updated>
            <content:encoded><![CDATA[<p>Amazon Elastic Container Service for Kubernetes (Amazon EKS) is a managed service that makes it easy for users to run Kubernetes on AWS without needing to stand up or maintain your own Kubernetes control plane. Since Amazon EKS is a managed service it handles tasks such as provisioning, upgrades, and patching.</p><p><strong>How does Amazon EKS work?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7yH2xv-FqhbUJKYY" /></figure><p><strong>Steps to create Amazon EKS:</strong></p><ul><li>Create an AWS IAM service role for EKS cluster</li><li>Create a VPC for EKS cluster</li><li>Create an Amazon EKS cluster</li><li>Configure kubectl to access Amazon EKS cluster from your machine</li><li>Create an AWS IAM service role for worker nodes</li><li>Launch and configure Amazon EKS worker nodes</li><li>Deploy applications to the EKS</li></ul><p><strong><em>Step 1: Create an AWS IAM service role for EKS cluster</em></strong></p><ul><li>Navigate to AWS IAM Console &amp; in the “<strong>Roles</strong>” section, click the “<strong>Create role</strong>” button.</li><li>Select “<strong>AWS service</strong>” as the type of entity, “<strong>EKS</strong>” as the service, and “<strong>EKS cluster</strong>” as use case.</li><li>Enter a name for the service role (ex. EK-cluster-role) and click “<strong>Create role</strong>” to create the role.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O4LpMyQE63elMmOpt0EYHA.png" /></figure><p><strong><em>Step 2: Create AWS VPC</em></strong></p><p>If you want to use an existing VPC, then it must meet specific requirements for use with Amazon EKS. For more information regarding <a href="https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html">VPC</a>.</p><p>Another option is to use CloudFormation template provided by AWS. To create VPC for EKS using template visit, <a href="https://docs.aws.amazon.com/eks/latest/userguide/creating-a-vpc.html">VPC for EKS using CloudFormation</a>.</p><p><strong><em>Step 3: Create Amazon EKS cluster</em></strong></p><ul><li>Navigate to the Amazon EKS console and click on “<strong>Create cluster</strong>” button</li><li>Enter details into the EKS cluster creation form such as cluster name, role ARN, VPC, subnets, and security groups as shown in the figures.</li><li>Click “<strong>Create</strong>” to create the Amazon EKS cluster</li></ul><p><strong>Configure cluster:</strong></p><p>Enter EKS cluster name and select IAM role <em>“EKS-cluster-role”</em> that we have created in step-1 and click next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KH3eC62Q51t2erZfGTgZ7Q.png" /></figure><p><strong>Specifying networking:</strong></p><p>Select VPC that you have created. Then select security group from the dropdown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UZEk4IYerMIA0nsT-BvGVQ.png" /></figure><p>EKS cluster endpoint access selection.</p><p>There are three options.</p><ol><li><strong>Public:</strong> Select this option if you want to access EKS cluster outside of your Amazon VPC. Worker node traffic will leave your VPC to connect to the endpoint. This option is <strong>not feasible</strong> for production as worker node traffic is directly exposed outside Amazon VPC.</li><li><strong>Public and private:</strong> Select this option if you want to access EKS cluster outside of your Amazon VPC. Worker node traffic to the endpoint will stay within your VPC. <strong>We have selected this option because we can access EKS cluster outside Amazon VPC and worker node traffic is not directly exposed outside Amazon VPC. (After selecting this option click next)</strong></li><li><strong>Private:</strong> Select this option if you want to access EKS cluster within your Amazon VPC. Worker node traffic to the endpoint will stay within your VPC. <strong>If you select this option then EKS cluster is accessible through worker nodes only.</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LcxeCqG1ErxfP9z9wptJhg.png" /></figure><p><strong>Configure logging:</strong></p><p>No need to enable logging. Click Next then <strong>review and create</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5OLBShsmr6kr_9z413yavw.png" /></figure><p><strong><em>Step 4: Configure kubectl for Amazon EKS cluster</em></strong></p><p>We can test if EKS cluster is accessible or not from our system (outside Amazon VPC). We need to install kubectl, aws cli, and eksctl.</p><p>Install kubectl.</p><p>$ curl -LO “https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl&quot;</p><p>$ sudo chmod +x kubectl</p><p>$ sudo mv kubectl /usr/local/bin/</p><p>Install aws cli. After this run “<strong>aws configure</strong>” to configure the settings that the AWS Command Line Interface (AWS CLI) uses to interact with AWS</p><p>$ sudo apt install awscli</p><p>$ aws configure</p><p>Install eksctl.</p><p>$ curl — silent — location “https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz” | tar xz -C /tmp</p><p>$ sudo mv /tmp/eksctl /usr/local/bin/</p><p>Then run the following command to configure kubectl for your EKS cluster</p><p>$ aws eks — region &lt;your region&gt; update-kubeconfig — name &lt;your EKS cluster name&gt;</p><p><strong><em>Step 5: Create an AWS IAM service role for worker nodes</em></strong></p><ul><li>Navigate to AWS IAM Console &amp; in “<strong>Roles</strong>” section, click the “<strong>Create role</strong>” button</li><li>Select “<strong>AWS service</strong>” as the type of entity, “<strong>EC2</strong>” as the service</li><li>Attach policies as shown in the figure.</li><li>Enter a name for the service role (ex. eks-nodes-role) and click “<strong>Create role</strong>” to create the role</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fHPV_ZGp1JYTOasnBJy7cQ.png" /></figure><p><strong><em>Step 6: Launch and configure Amazon EKS worker nodes</em></strong></p><ul><li>Navigate to the Amazon EKS console, select created cluster then go to the <strong>“Compute”</strong>, and click <strong>“Add Node Group”</strong>.</li><li>Enter details into the EKS cluster creation form such as cluster name, role ARN, VPC, subnets, and security groups as shown in the figures.</li><li>Click “<strong>Create</strong>” to create the Node Group</li></ul><p><strong>Configure Node Group:</strong></p><p>Enter Node group name and select IAM role “eks-nodes-role” that we have created in step-5 and click next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kxObR_XqzfGObjqyC2R1ZQ.png" /></figure><p><strong>Set compute and scaling configuration:</strong></p><p>Set scaling configuration as shown in the figure and click next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N6E46-__W_gb91f0p5wgzA.png" /></figure><p><strong>Specifying networking:</strong></p><p>Select private subnets to put worker nodes. Click next. Then <strong>review and create</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8g7hTc7oDN_7wG5fuFWEhQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9f3e37c4756" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>