Upgrading Amazon EKS Clusters in 2023
Kubernetes is a rapidly evolving open-source project with periodic releases. And organizations embracing Kubernetes must adopt the practice of regular upgrades.
Read Now
Amazon Elastic Kubernetes Service (Amazon EKS) is a managed Kubernetes to deploy, scale and monitor containerized applications on AWS. Amazon EKS auto-scales worker nodes, including the API servers and back-end persistence layer, across multiple AWS availability zones for high availability and fault tolerance. It automatically detects and replaces unhealthy worker nodes and provides patching for the control plane. Amazon EKS removes some of the operational burden for developers and administrators.
This guide is designed to help you get started with Amazon EKS, and covers the following:
Initially, you will setup a sample Node.js application on EKS cluster.
Before starting, make sure you have the following prerequisites. This guide helps you to setup from a Linux terminal.1. Install an EC2 instance with Kubectl and Kublet binaries.

2. Attach an IAM role with ‘Administrator’ access to the EC2 instance. For example, create a role “eksworkshop-admin” role and attach it to the EC2 instance where you have installed Kubectl.

3. Select the EC2 instance. Go to Actions -> Instance Settings -> Attach and Replace IAM Role.

4. Select the IAM role “eksworkshop-admin” -> Apply.

5. Configure the Bash Profile with AWS Account ID and Region. For example:

To begin the basic setup, fork a Node.js sample application on GitHub and clone the repository to your local environment. required This is so you can deploy and make modifications to the application. Then you can launch an EKS cluster.1. On GitHub, fork a Github repository by clicking on the top-right corner button on the page.


2. Copy the URLs from GitHub.

3. Next, execute the commands below on your local machine to checkout the sample application and go to the new directory.

Now, you have a local copy of the GitHub repository on which you can you can make modifications and deploy. Next, setup the EKS cluster.4. First, download the eksctl binary:

5. Confirm the eksctl command is working:

6. Create an EKS cluster:

7. Test the cluster by getting the values of nodes.

8. Check the status of the Cluster on the AWS Console.

Congratulations! You have setup a fully working Amazon EKS cluster that can host a micro services-based application.
The Kubernetes Dashboard in AWS is not available by default. To gain access to it:








Now, you will setup a Nodejs application to the EKS cluster using the CLI interface.







In an AWS CodePipeline, you are going to use AWS CodeBuild to deploy a sample Kubernetes service. This requires an AWS Identity and Access Management (IAM) role capable of interacting with the EKS cluster.In this step, you will create an IAM role and add an inline policy that will be used in the CodeBuild stage to interact with the EKS cluster via kubectl.













Next, push the modified code to the application.


You will now add additional pods to your Node.js service to accommodate additional traffic volumes.


In this guide, we have seen how easy it is to build, deploy and scale a Nodejs application using Amazon EKS. But this is just the first part of your Application Lifecycle Journey. There are plenty more steps involved. In the next installment, we’ll dig deeper to help you understand how Rafay and Amazon EKS work together.

Kubernetes is a rapidly evolving open-source project with periodic releases. And organizations embracing Kubernetes must adopt the practice of regular upgrades.
Read Now


Rafay Systems has been recognized as a Representative Vendor in the 2022 Gartner® Market Guide for Container Management Rafay Systems has been recognized as a Representative Vendor in the 2022 Gartner® Market Guide for Container Management. * We believe that being included in this market guide report underscores that Rafay’s global customer base and Infrastructure and Operations (I&O) teams recognize value in the company’s unique approach for operating Kubernetes infrastructure and modern, containerized applications.
Read Now