{"id":383,"date":"2021-11-03T10:21:23","date_gmt":"2021-11-03T10:21:23","guid":{"rendered":"http:\/\/18.141.20.153\/?p=383"},"modified":"2025-08-21T10:13:30","modified_gmt":"2025-08-21T10:13:30","slug":"how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters","status":"publish","type":"post","link":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/","title":{"rendered":"How to build a High-Availability Cluster using EKS without having to be an expert in managing Kubernetes clusters?"},"content":{"rendered":"<span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">9<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<p><img src=\"https:\/\/lh4.googleusercontent.com\/8rZvTTCqB4KGFWz7v_90wadEPCJYqHuAJL7en4Wl19o-kQPSgjnIa__4vkDlKK56QyGn9f9PJhuwRcTZGj88GJ3G3bnL4HfREdEmFF2tLq_mpdEgtQOH779bY26zD2EX2FepkyZZ_qkORgwCk6LCB9Ih4O0N7qozOIpW8Yi89JhvrNtDSPTVeUof\" style=\"width: 1600px;\"><\/p>\n\n\n\n<p class=\"has-text-align-justify\">As end users of web applications, we always expect that the applications must be available 24\/7. And to make it possible, developers are expected to keep deploying new versions of these applications several times a day!! Yes, you read it right! What can help developers to make it possible? The answer is Containerization!! In this blog, we will discuss how Containerization can help in High Availability!&nbsp;<\/p>\n\n\n\n<p class=\"has-text-align-justify\">Kubernetes is one of the widely accepted tools that help developers in making sure these containerized applications run where and when they want and help them find the resources and tools they need to work. Amazon Elastic Kubernetes Service (Amazon EKS) gives the flexibility to start, run, and scale Kubernetes applications in the AWS cloud or on-premises. Let\u2019s explore Kubernetes and Amazon EKS in this blog.<\/p>\n\n\n\n<p>In this blog, we will cover:<\/p>\n\n\n\n<ul><li>What is Container orchestration?&nbsp;<\/li><li>What are the Container orchestration tools?<\/li><li>How to choose right Container orchestration tool?<\/li><li>Kubernetes &#8211; an open-source container-orchestration system<\/li><li>Amazon Elastic Container Service (ECS)&nbsp;<\/li><li>Companies using Amazon EKS<\/li><li>Hands-On &#8211; How to launch a fully managed EKS cluster in a few minutes using eksctl&nbsp;<\/li><\/ul>\n\n\n\n<h2>What is Container orchestration?&nbsp;<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">Modern software development is no longer monolithic. Instead, it creates component-based applications that reside inside multiple containers. Container orchestration is about managing the life cycles of containers in large and dynamic environments. Software teams use container orchestration to control and automate many tasks including:<\/p>\n\n\n\n<ul><li>Provisioning and deployment of containers<\/li><li>Availability and redundancy of containers<\/li><li>Moving containers from one host to another in the situation like a host dies or there is a storage of resources<\/li><li>Allocation of resources between containers<\/li><li>Scaling up or removing containers to spread application load evenly across host infrastructure<\/li><li>Health monitoring of containers and hosts<\/li><li>External exposure of services running in a container with the outside world<\/li><li>Load balancing of service between containers<\/li><\/ul>\n\n\n\n<h2>What are the Container orchestration tools?<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">When complex systems are developed as containers, proper organization and prioritization are required when clustering them for deployment. This role can be played by Container Orchestration tools! There are many tools available in the market as shown in the below image:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/XQllJBihzmDgJvwmTK1NLpXmZ7CMBD9-fAh4E7RLGGd0buyoZivQGun6D_ZWYnQkBYsFF47T3Jn2U3N-LU2gDUlRrrOqRAa7MWV5ulS7f1muuVl-MXzL62AWd9BIZ4sFflafWW-4yj-OyMUohU7IZkAjwKrmP6G3pTpRvlrcoajRt-WL5kP9fo8W\" alt=\"Container orchestration tools\"\/><\/figure>\n\n\n\n<h2>Advantages of using Container orchestration tools:<\/h2>\n\n\n\n<ul><li>Adaptability and portability<\/li><li>Higher scalability<\/li><li>Effortless deploying and managing<\/li><li>Availability and redundancy.<\/li><li>Stabler virtualization of OS resources<\/li><li>Handles load evenly across the system<\/li><li>Improved networking within the application<\/li><\/ul>\n\n\n\n<h2>How to choose the right container orchestration tool?<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">Before deploying software into containers, the question is about which software container, and complimentary set of container orchestration tools, an organization should adopt. Options such as Kubernetes, Swarm, Cloud Foundry and Mesos make strong arguments for themselves so the container technology landscape is a difficult one to navigate.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">Kubernetes has been compared favorably with other container orchestration solutions before, with one of its big selling points the vendor-agnostic nature of its open source availability. Kubernetes is extremely popular within DevOps communities because tools like <a href=\"https:\/\/www.workfall.com\/learning\/blog\/how-to-install-and-run-docker-container-on-amazon-ec2-instance-part-1\/\">Docker<\/a> offer Kubernetes as Platform as a Service (PaaS) or infrastructure as a Service (IaaS). In this blog, we will be discussing Kubernetes. We will also discuss the Amazon Elastic Kubernetes Service (Amazon EKS).&nbsp;<\/p>\n\n\n\n<h2>Kubernetes &#8211; an open-source container-orchestration system<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">Kubernetes, also known as K8s, is an open-source system for automating the deployment, scaling, and management of containerized applications.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">It is developed by Google as an offshoot of its Borg project, Kubernetes has established itself as the de facto standard for container orchestration. It\u2019s the flagship project of the Cloud Native Computing Foundation, which is backed by such key players as Google, Amazon Web Services (AWS), Microsoft, IBM, Intel, Cisco, and RedHat.<\/p>\n\n\n\n<h2><strong>Kubernetes Basics Modules<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/E8kB9s_LDzggwsNc6Cn0P8aXJwEx0yYcAHq8bv8XDXJzS4zoqpn4Wp-NGgvEu9LSKAPY2nx7zV_5-4lKQ5NQ0AhalAlQz1-fuT7clY4aq8UleOnCSJqj3JOs1baoQrWaO4rcvrBfc1K2_kcE4oGSgNPU8B0iAQJII_OOBfgoP6aJe_1zLejSf76c\" alt=\"Kubernetes Basics Modules\"\/><\/figure>\n\n\n\n<h4><strong>Key Features of Kubernetes:<\/strong><\/h4>\n\n\n\n<ul><li>Automated deployment, rollouts, and rollbacks<\/li><li>Automatic scalability and controllability<\/li><li>Isolation of containers.<\/li><li>Ability to keep track of service health<\/li><li>Service discovery and load balancing<\/li><li>It works as a platform providing service<\/li><\/ul>\n\n\n\n<h4><strong>Advantages of Kubernetes:<\/strong><\/h4>\n\n\n\n<ul><li>Provide complete enterprise-level container and cluster management services<\/li><li>Adjust the workload without redesigning the application<\/li><li>Cost Effective<\/li><li>Provide flexibility in deploying and managing<\/li><li>Enhanced portability due to container isolation<\/li><\/ul>\n\n\n\n<p class=\"has-text-align-justify\">Many cloud providers use Kubernetes to give managed solutions as it\u2019s the current standard for container orchestration tools. In this blog, we will discuss Kubernetes managed solution by <a href=\"https:\/\/www.workfall.com\/learning\/blog\/create-and-run-web-app-on-ecs-using-aws-fargate\/\">Amazon &#8211; Elastic Container Service (ECS)<\/a>.<\/p>\n\n\n\n<h2>Amazon Elastic Container Service (ECS)&nbsp;<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">EKS makes it easy to standardize operations across every environment. You can run fully managed EKS clusters on AWS.&nbsp;<\/p>\n\n\n\n<p class=\"has-text-align-justify\">You can have an open source, proven distribution of Kubernetes wherever you want for consistent operations with Amazon EKS Distro.&nbsp;<\/p>\n\n\n\n<p class=\"has-text-align-justify\">You can host and operate your Kubernetes clusters on-premises and at the edge with AWS Outposts and AWS Wavelength, and have a consistent cluster management experience with Amazon EKS Anywhere as shown in the image below<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/TFltzYQ4U0GcK_l596-tSKCbXc9aiWIzin0dynzc4LqOZixjFbxZ3a9Emp9AlUAcL8ywknX4Ns_spyGJ_IKvjShUtEPICvKcfTtiYm_P-qCZ1UiOIHxi3LroV8MrtLJScQZgE2xwNSPhMUUlVFEg3xGVqesLfPY2MJAPAMDoMpWgw7awGwRC4fjZ\" alt=\"Amazon EKS\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">You can run fully managed EKS clusters on AWS. You can have an open source, proven distribution of Kubernetes wherever you want for consistent operations with Amazon EKS Distro.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/Uelp8uVq5shaYVt3K-uOaNVAgGfH0kJKdiOnHL9P7nYd0nF_GhxIqm89QpCoFch-lRYzKftoBv5zmH4xKVYSjmi3WaVg9EAZW1Un_4A6P_KMzqQZWQYrDC18xCOZsS1Z2AGWhbgfJpKYPv0AvY-O4VhG0S8U9AwxjSQ6UTwblmZjVXK6E3M6p6aC\" alt=\" Amazon EKS\"\/><\/figure>\n\n\n\n<h2>Companies using Amazon EKS<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/fgSqpbNDbTscMbEi5JyOam1JXb-RkwRx7YB8eG1oUGZKattYxDE4hs6bsj3gfQQjzrhioT2UpUKzZ9A1vRRZorxa_X5SLbIGRDaf6z67SrTOxxCEQweIifJ0gGLDhPWxkk93bFJI2Kqdi7wCaiuah-4h805ocwJhA8SbziLe-31rPZzKclqNT_bR\" alt=\"Companies using Amazon EKS\"\/><\/figure>\n\n\n\n<h2>Hands-on<\/h2>\n\n\n\n<p>In this hands-on, we will use eksctl command line tool to launch a fully managed EKS cluster within a few minutes.<\/p>\n\n\n\n<p>The following image is the overall flow of the implementation:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/fz80QR7sDRllPJnIoa6f5bTZ-d169XO6irGynPdg4ON_bhrLUj8McFkbGgiKG_jB1aM3mNNO4As_zWw_lsxABPJocNXabme8rUO0BnKt_JSbKJiEtCnZSz83VWLMf-Eer4xckeWdNFJ6Zu6w8_8ssur--_coSMtiforbaEKXpOig72LexbnXhkh8\" alt=\"Amazon EKS\"\/><\/figure>\n\n\n\n<h2><strong>What is eksctl<\/strong>?<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">eksctl is a simple CLI tool for creating clusters on EKS &#8211; Amazon&#8217;s new managed Kubernetes service for EC2. It is written in Go, uses Cloudformation, was created by Weaveworks and it welcomes contributions from the community.<\/p>\n\n\n\n<p>Let\u2019s set up a workstation from where we can access our EKS cluster. Here, we are using an EC2 instance.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/hvqy8HORKkpXzTZbtCrK3YamnWaF1qPT8Qv8MmkOLUIV1uX5I3kWr3sMRCRdGY0deW7at-QIMVu2iUvD9fr9gr7Y3kqo060RPrgmjsM_5Jd8smeaB7LXYuFM0llB8m7Ey4Apt7zO92KModR0b9BXCBQ_xlS5QYS9vAHUts_Ym_ZlepzRkMisd1aX\" alt=\"\"\/><\/figure>\n\n\n\n<p>We need to install below components in workstation machine:<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>kubectl<\/strong> \u2013 A command line tool for working with Kubernetes clusters. This implementation requires version 1.17 or later.&nbsp;<\/p>\n\n\n\n<ul><li>Download the Amazon EKS vended kubectl binary for your cluster&#8217;s Kubernetes version from Amazon S3<\/li><\/ul>\n\n\n\n<p><a href=\"https:\/\/amazon-EKS.s3.us-west-2.amazonaws.com\/1.17.12\/2020-11-02\/bin\/linux\/amd64\/kubectl\">https:\/\/amazon-EKS.s3.us-west-2.amazonaws.com\/1.17.12\/2020-11-02\/bin\/linux\/amd64\/kubectl<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/IMeQjDfU3sG2dpbFeJ7ulnoJfAjOYJVkXphy7-6D8A2G4es2Hrno6cQF4HIAsHHqpT3TVkC4nQdPJsBdRP3_vnn7u29Zs0zNJFBhoH6viCZxhjk2gzj4Z68ptMk5FG-LPHTjqYuNFrEaXoeReFlHtZzo5oQrSdLSqrKjKWtkANapOQPZcC9WblWJ\" alt=\"IAM Authentication with kubectl\"\/><\/figure>\n\n\n\n<ul><li>Type the following commands to install kubectl:<\/li><\/ul>\n\n\n\n<p class=\"has-text-align-justify\">curl -o kubectl<a href=\"https:\/\/amazon-eks.s3.us-west-2.amazonaws.com\/1.17.12\/2020-11-02\/bin\/linux\/amd64\/kubectl\">&nbsp;<\/a><\/p>\n\n\n\n<ul><li>Apply execute permissions to the binary.<\/li><\/ul>\n\n\n\n<p><code>chmod +x .\/kubectl<\/code><\/p>\n\n\n\n<ul><li>Copy the binary to a folder in your PATH. If you have already installed a version of kubectl, then we recommend creating a $HOME\/bin\/kubectl and ensuring that $HOME\/bin comes first in your $PATH.<\/li><\/ul>\n\n\n\n<p><code>mkdir -p $HOME\/bin &amp;&amp; cp .\/kubectl $HOME\/bin\/kubectl &amp;&amp; export PATH=$PATH:$HOME\/bin<\/code><\/p>\n\n\n\n<ul><li>Add the $HOME\/bin path to your shell initialization file so that it is configured when you open a shell.<\/li><\/ul>\n\n\n\n<p><code>echo 'export PATH=$PATH:$HOME\/bin' &gt;&gt; ~\/.bashrc<\/code><\/p>\n\n\n\n<ul><li>After you install kubectl , you can verify its version with the following command:<\/li><\/ul>\n\n\n\n<p><code>kubectl version --short --client<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/kD4qv17h-yPlsPUUd9OqKvykXIxmjhYfnPmNhxsBLa0_qGoK04ouz2uMj2S56QKUn8vb5X-Uc7iCDblJ-1PPuJ9vc83Z6CBvCnKR5gbmsXQ7YKW3iyJ7SyyQFFbl2Jb6OvYvfGEtwoXnssFYiGr-HE4GwwHGZbhmyT5ExmHqKeg-le9w8-ayaSM9\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\"><strong>eksctl<\/strong>\u2013 A command line tool for working with EKS clusters that automates many individual tasks. This implementation requires version 0.38.0 or later.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"> <img loading=\"lazy\" width=\"624\" height=\"80\" src=\"https:\/\/lh6.googleusercontent.com\/lwR26G8XaWNocHzc0z0LyjqCC5P2fNVEJHD4_mCBCHUQIhFGOuGeF8kSWstpmOwub8aXfP0gYqX-RX_jTLr14cQY6MfKJka41nSEgjpEHoiEPoHwihw5SOh1soVIFbBHqE7CDpHCOyCjfjsgXLSamkMKHwvTAAhUAF0J3qy8dk5a1vlNPBWGV_na\"><\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Required IAM permissions<\/strong> \u2013 The IAM security principal that you&#8217;re using must have permissions to work with Amazon EKS IAM roles and service linked roles, AWS CloudFormation, and a VPC and related resources.<\/p>\n\n\n\n<p>Open IAM console and click Create role button as shown in the below screenshot<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/9le_mv0yPacmT2rZKoYopsW01IgAjCA1NvKGqMuT-08wlqpBjdMeyaKKl45r1g30TGqSi7UeYRWJ-K9ycR9GlyO_HAiMzZ3VXnTjbjfixViCuLxV110_uhYpTmeQPP_KhAR5vcb6QkADoL27I7JrT2zMxNCJD-U6gdjF7qau2iQmTgj9oLQuwz62\" alt=\"\"\/><\/figure>\n\n\n\n<p>Select EKS, as shown in the below screenshot<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/HQwzr7Kx76yRQ19TR2eUnoK-YA-ie2Uw9nTQoXa-XUGsLJeyPfbwUc8F06gJyASG7RwEMB_zqgzSNhtw8al0wUXhObb6YTEerKNBnu30vGkzMxjkJtJ2CPkXOTqbf4ZKFo4dM2NQPwshVObbwiTp0H3HLmhnQVafJBibqidXaokmrwAc8P1G3tKe\" alt=\"\"\/><\/figure>\n\n\n\n<p>Select the EKS cluster and click Next permissions button, as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/etHGuXIRCt90ZGyDsqbhlt8wq2to4viYJGq7ae0eRjaFuT1i4bZ8Y4eKrbmkCyYBj6_3412VRXNLBRYoe3jsge2wfzPiFx3_7Fb3qTP9xLk6upuzRKMiMlTyfGY7V6oqS2hsL4SFvROpysAPQmPkcTf33nup4Gge36YV2FRBFb-uAi60VlnQboMW\" alt=\"\"\/><\/figure>\n\n\n\n<p>Provide a role Name and then click Create role button, as shown in the below screenshot<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/BcBQMRQOqh-ODzfgUgesPYHRi8QORQ-rFfGsBsd82vEM9qqAviri43bqHYhBC5VWW5koH6pi1dOZNO3dPluExGudxLAV3o7M93QrBw1qUEr-amFCDF5UcCGFOyouKPz8405uvR9I8EWzZcpWgG1kdECZktBkYjaC5bYekfIzx64lcnRJ0IT64ha8\" alt=\"\"\/><\/figure>\n\n\n\n<p>We need to attach more policies to our EKS-role since it will be managing worker nodes and other services.<\/p>\n\n\n\n<p>Go to the role and click attach policies button, as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/S_0K-bmvNbBVJo7dgoeICi-M2S1UzI7bXJd-Sdz1SpWvCz6ZOa_ik0K33CCei-6aYU7-nah_290Nz0Se5eYV-27oHUUCbfsYT9oZwUBLWBmxvSxDEP44KKyOIz7uyOR2AlCIjUBQTpdxk0NB-jG-NC6ci4u_UUreHyHKspIRGspDsTMsgFMm_uU7\" alt=\"\"\/><\/figure>\n\n\n\n<p>Select the following policies by searching the EKS keyword in the search button, as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/wG-BM7R1gx8bBnvfvDnHC89mlMWZitICbEZaBgEgzirri3VAZCr56DKQicFD9kDVKt7tf4DT6KlT-YXFmuPWgybvqsGKFNxKoqttvKQoq5tjT3dqrqBOZb2yNrT3_Wnz6lKHAjqDXSkalw73zBRbwwC_-jDkjIQAWquhVbGxMADjOk6083aAJ9y0\" alt=\"\"\/><\/figure>\n\n\n\n<p>Click the Attach Policy button as shown in the above image.<\/p>\n\n\n\n<p>Now, let&#8217;s start building our very first cluster using eksctl<\/p>\n\n\n\n<p>First, we will need to create a configuration file that will have all the necessary data required for creating a cluster.<\/p>\n\n\n\n<p>Create a config file named cluster.yaml, as shown in the below screenshot:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/f0jL8HXAD15mTQOw3d3S07qTO-eL5otio0CRbjGm3ZiuTAC9ehPnOVI1Qb5a8RHVMXMCDAMghM0NnLjOpk3exE4PEI3MST8I8VRQUVYxU_Us-JupG12QMza_SS_bp7cgUBbk9x4sMfMqH4SHpfF6P0tB_TB-7y0tPwfKoa873h2ijhCyabxWoeIL\" alt=\"\"\/><\/figure>\n\n\n\n<p>You\u2019ll need to create a SSH key for your nodegroup instances. Follow the below commands to generate one quickly.<\/p>\n\n\n\n<p>Run the following commands, as shown below:<\/p>\n\n\n\n<p>\u00b7 &nbsp; &nbsp; &nbsp; &nbsp; <code>ssh-keygen<\/code><\/p>\n\n\n\n<p>\u00b7 &nbsp; &nbsp; &nbsp; &nbsp; <code>enter name as ec2_id_rsa<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/29ERtJzVDK3HitmKDB45FRueTI9c2abOB_qA9xQHIb2aJGDoRIs0TzGgEWk0RcUdNsS4hDB92J6-idf1ZN5pvxVvmwSNj6dfvCrmZA9ZSogxoC53ZUSGEHpqxh8vWFWhWzqw90wQwuUfAM9womsy3fdkKcjmq__qE_QJUHcELnzpgu3nQGCLPzL2\" alt=\"\"\/><\/figure>\n\n\n\n<p>Copy it to the path following path, as shown below:<\/p>\n\n\n\n<p><code>cp ec2_id_rsa.pub ~\/.ssh\/ec2_id_rsa.pub<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/8puEEKCeZNWrL12ExytXdesKwI_GP5zvtEMksXz4ghi0RX6VCT3O_JLpRLhgLz-ZhKkewtNv7WJxk706QA7QDS3pDZFz16Y0R1EVpr_pBaAIxLhXducvugeBbUO3oH5cbUFNT668qNIfw_ce-dX_gGwAGZctpyiK0Vm_ZXb1uATpHBzoE9_qBluq\" alt=\"\"\/><\/figure>\n\n\n\n<p>Run below command:<\/p>\n\n\n\n<p><code>eksctl create cluster -f cluster.yaml<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/kUOSy29058hcFdD8LESIQgs30OHDbIe6X2rAfx9g1cdwZvAzG7KLYfqrkfKLd0aUKg4B2rpfqabkSlTNOWziWZ6bY1GgjSjps4oIFcKd4PBD3y8VMc91p6rfyfbpau2V0KIBM6SEGa7wQeVsDKkmZkokaeRt_G8Y_G3dokIcq8fz7LGLksbhWdpX\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Now wait for a few minutes, AWS is creating your cluster and it will take approximately 10-15 mins to be ready. Below are the sample screenshots for reference:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/Dfmd4b14p1LmGoOo7zDKZEKRUK-BA6zadCwyRD-lbcO6QmQAICvHJzynpMoaQ82px7VjYIEXPIUUnFbHmve6sVH-Xr6WijaSdkgUG1_5KMext_BbAnYTb-j0Ylw4oltYC59zfwZSXfEmW5Nd23h2ifnM7_-4b3GSpe_hA8dFUkTImkFcdAdGHfDl\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/4ZxjbViZHRPIc8SuLoAR6VzXqeLsdgFIckBnqYW5WvoPcloe3ALxvSYWv-BRyWz-dgOzLEW1C4mPFGZfetlphGVLN3w-hzpkVH7McsUT70wLJ-nowm1jAt88RD1Zb_xkeXiFOD5zAuRoBn04Q-xvkI-wA4pBV3cU9sIIpZ85JunQv0aKwQNndAs6\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/6MHoqZqD1yFyKKPYsatsCSh8oaiR82xxdjR_oX7-Q2z8TkDGRA5uDA8EgYngDrvrp8EKOvNb3feaEuEXVpuFBBUYTpRPq62SZ5YWgj3fpIMui4xR2LmHxb0ccXwSIrzgcKg0WMId9XnTIVlvH3epj7P-KF5KoUX6bfUnyr6omFTIAhGitzjjuw5Q\" alt=\"\"\/><\/figure>\n\n\n\n<p>You can see in the above image, that the cluster is successfully created.&nbsp;<\/p>\n\n\n\n<p>Let\u2019s go to the AWS console and verify:<\/p>\n\n\n\n<p>Go to EKS &gt; Cluster, as shown below. We can see our cluster is created successfully.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/iMzmIIXJOCZ1tTc0D64k7AAlTj0Kf5s8PgEngE5AyaDBkrW2G6FIjK4MqFHULxTf9fdXCUAFAtVDRXUVjAdylfqSpa-yz_KuXp6m7q-EZbAMVZ7pcw8oiWyoyeNz8657qRwANylqclK8ZgNk9xdRXaNKY85sIWJLBCROSLU-P9t6Pxb6bU25mMYQ\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Go to Cloudformation &gt; Stacks, as shown below. We can see three stacks have been automatically configured by eksctl.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/blLBntE-5vCB3L1HjpIqhVBTW2_sce2DZmR7mYxh036Z5gygd7EDcRVxNWw1zs2p6vluJOr0bZqo8TD42o69rlNqJbZ8pH88j4eT3jxYho9YrgyjwbKJ2ctWn0dt2-nSaDHVWih7wIPFsbyifrh4ETSiCfjy1Nk6_aTYKXXguEAoSnrlVCPsWVW8\" alt=\"\"\/><\/figure>\n\n\n\n<p>Go to EC2 console &gt; Instances, as shown below. We can see two instances have been launched.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/z95m7OT03HjOmqZK-XGo8jgo0WuIUVcu70kajeYoHfrD83h_ihBBRfxWLqrcRRh13JH8QaBRkkbK3x8AAEvOqlLXgvdNv4QpPr5IqOF-pijpJAxJEROQmODqGxLmcamqMHcPudTqwt0JE66fc12DS5hlUB87mDvp_amnWcpCTf068ICWwGfJUtVY\" alt=\"\"\/><\/figure>\n\n\n\n<p>Let\u2019s get back to our workstation and perform some kubectl commands to interact with our cluster.<\/p>\n\n\n\n<p>Type the below command, as shown below:<\/p>\n\n\n\n<p><code>kubectl get nodes<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/0e1QR893Kc5IPUezH0awH3FVem98UJK7SZfx3asLOHCBA4X9VbXMEH1DEdAGIj8CohrZItp70xGoTOhkFLzVAi6WcNAKqq2o9BG7P-TNCFW0vmbJCOlZFyzV3_t3zVY2v3l7ZWs94MMMgeIZGQE0iLvjLEsKBIebjbcVcy4FYqJ3s1So8tubcIx7\" alt=\"\"\/><\/figure>\n\n\n\n<p>Type the below command to see cluster information, as shown below:<\/p>\n\n\n\n<p><code>kubectl cluster-info<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/XyGuYPCx7LnUat1Gl03IwnUMF615AeQo9x4d_Y93xFfzPjiqJRowKHNEio3xng0e6rN72ihS-1_NFpHQvRlMwm_6aBdfpKC1RZBhi12MAumiOftfDsy_jEQvHevSX9NoDdi78922zMLmwQpNXXT8yNQerIu3zmz_gPcZDUGPUgqEBwsuJI17jFJ8\" alt=\"\"\/><\/figure>\n\n\n\n<p>As we can see our cluster is ready and successfully deployed.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">Let\u2019s deploy a sample application to verify and test our cluster. Here we are using the application provided by Kuberenetes.io on their official website.&nbsp; Below is the link to access the application code<\/p>\n\n\n\n<p><a href=\"https:\/\/kubernetes.io\/docs\/tutorials\/stateless-application\/guestbook\/\">https:\/\/kubernetes.io\/docs\/tutorials\/stateless-application\/guestbook\/<\/a><\/p>\n\n\n\n<p>Let\u2019s clone this application from the GitHub repo. Below is the command for cloning:<\/p>\n\n\n\n<p><code>git clone https:\/\/github.com\/kubernetes\/examples.git<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/sfLR5Old924ek2MIXNBfYYkda5gyce9yAnv65syYnlKgySJpjnhaY_3cUZDK_2n_DVgpza767pZpxaJ39VVEL3mU7n7dpFEPFBE5RIQgAfVV-7THOTOLStBfuOe38WTxvEsuOZ7PtexQeavOnimtT0LfG_X45emC6kgCjXiYmcPynCtSZTq5x4D6\" alt=\"\"\/><\/figure>\n\n\n\n<p>Type the below command to deploy the application:<\/p>\n\n\n\n<p><code>kubectl create -f guestbook\/all-in-one\/guestbook-all-in-one.yaml<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/vC6_UICcE5Gsk8Kck7URN2FvRasC34scEBSDyHEWy8agc9HzrHjqVRw4hkn94Mr0NNLLcDAoxv4J1DytOVQ5z6DQLyEXRCq5IgBIGm9bNHyhp5_ES8nwYyEvzj4qiBr8fLb3AMcZ2tsZ6tq6BCAO3Yf4qY0RIzbkd2Pewgrrcc2Kfpe2jiLQCdOZ\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">NOTE: In the guestbook-all-in-one.yaml, change the type to load balancer to access the application via loadbalancer service, refer below image:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/8vR68ldBU_ucnID7QxtJwxIW_9JSgOcMYjKvA6z8VqPcrd1NsRY_yVc6IDqx-dO6gPOBzaRTYil5cAyTseLTYR4eNs_CBEY7bSTWA6naXpVqelCx_J6S-J2u0cdZkWUkaxJeCIIf2CY87cQrAyyoE5r4kj_On4H_fC3ey7spU2yCImYGRZxpuYWL\" alt=\"\"\/><\/figure>\n\n\n\n<p>Type the following command to list all the services created:<\/p>\n\n\n\n<p><code>kubectl get svc<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/JefFmiExurU7Iv9A1zpzifkage6FBfB8tDgBNYxNae5nIjj7Ev475pYRjy79lIdVsslj8s0ftmh4R2233IQoA9k1GTkzw5bhkV_UK5TA_0saavCfbDMX9HavbXQZidQmbve4XuR16_vy1YcN234Zzwsmw3oB6ef075G5fPcjru3f-434IzE4Q7Rj\" alt=\"\"\/><\/figure>\n\n\n\n<p>In the above image, we can see the load balancer address under the external ip column.<\/p>\n\n\n\n<p>Let\u2019s access the application via load balancer:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/ff0zvEHHcxok6EeGvG3U10dZWQYTG52z9Yn0A9xAbRaZ2B9APyl15bY1WRAI-Pa_9O_U8JabJ8VwVJNcnuI05mH2Zk83iNGUGadam5P8qZKfE6G0Ff8PlqCy8aqDJypnKeL9HgJW9GZCEBXEOqOnrjuesHz8dYFnNMDSNlUjMLDveKMaslqtwZLB\" alt=\"\"\/><\/figure>\n\n\n\n<p>Yeah, the application is deployed successfully!!!<\/p>\n\n\n\n<p><strong>We have successfully created an EKS cluster and launched a demo application.<\/strong><\/p>\n\n\n\n<p>Let\u2019s submit some messages to check the service\u2019s status. As shown below, click submit after the message.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/KZBD6S_zvnwEGEoeILy6bKSZZdGj8qa-POuhNTdsH6dIRlKQmbZMEuUf4wBZJXOVbGj-hSZor2o8FdRFuaS2w2gWkwpSO1AyKV5SFR8SmlcL8fw5NgNvjBtJDwnlqD9lWQ8kFiCcWPCYjFKWA8ih5ASeqQ5MB7dplvH0wOWJ2K7K5PkDEAlNe5_Y\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Close the browser and open again. Type the loadbalancer address and see the results. We can see data is persisted and our application is running smoothly, as shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/YLnHz_Z-DZU9WB59135GbfkreJXvfXVkZfMCCKOYwmF88vWqQsLXVnksf6YIiBX4oi_5ndOvMUJu1KvCT_cQSbU0psw3zJHMpXw8zVNgk-Mjokw2ZT7R34bC_IRtlP1lTzsSxUdq-R9upwRwSfE0Xa4ipjWdqGKnEOdOjXmUP3yY4V5bjZokf_M9\" alt=\"\"\/><\/figure>\n\n\n\n<p>Let\u2019s delete our cluster,if not needed, to keep our credit bills low. Type the following command in the terminal:<\/p>\n\n\n\n<p><code>eksctl delete cluster -f cluster.yaml<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/kmL6aXAKDTNIbrYf_yo-Q--zp2yy5BZC-Ki15-baP2KhuqbzpUwsnNaAwPRvKqDdyrSGZGDB7Dd2I1LIGPP0DpX0SAHDrlJBQuX6ON1oc6JpA_2gcwZ7zAnLwSe22Lcbm-V_Mab8t3r5sk4f1wMFlrv0Z9jTfmWpu6ArakksNtRqeUOtYtRCS0Nl\" alt=\"\"\/><\/figure>\n\n\n\n<p>Reference image when the cluster is deleted successfully:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/tgShYGvt6vnT9neM3TNa4_HpeeS8_ui01AvR4_Cr18RX4AsLh3KMLdj9va3WodadeZZG3MxcF5Dl4-3RY6B3tuMfSANk9qRIEjVH8Qv5zZ5Xhmui3mYJvUHEgApSrLfflD59bkQpHbn_XnZPo-VYcFcuXw1yBDihgm5ImJF343usEpYiBcA03fhD\" alt=\"\"\/><\/figure>\n\n\n\n<h2>Conclusion<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">In this blog, we have explored K8s and AWS EKS. We have successfully created a fully managed K8s cluster using AWS EKS service and learnt how to deploy a sample application in K8s. We will discuss more on EKS security &amp; other advanced features and its other implementations in our upcoming blogs. Stay tuned to keep getting all updates about our upcoming new blogs on AWS and relevant technologies.&nbsp;<\/p>\n\n\n\n<p>Meanwhile \u2026<\/p>\n\n\n\n<p><strong>Keep Exploring -&gt; Keep Learning -&gt; Keep Mastering<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">This blog is part of our effort towards building a knowledgeable and kick-ass tech community. At <a href=\"https:\/\/www.workfall.com\/\">Workfall<\/a>, we strive to provide the best tech and pay opportunities to AWS-certified talents. If you\u2019re looking to work with global clients, build kick-ass products while making big bucks doing so, give it a shot at<a href=\"https:\/\/www.workfall.com\/partner\/\"> workfall.com\/partner<\/a> today.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">9<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span> As end users of web applications, we always expect that the applications must be available 24\/7. And to make it possible, developers are expected to keep deploying new versions of these applications several times a day!! Yes, you read it right! What can help developers to make it possible? The answer is Containerization!! In this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":384,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[2],"tags":[3,112,113,111,6],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to build a High-Availability Cluster using EKS without having to be an expert in managing Kubernetes clusters? - The Workfall Blog<\/title>\n<meta name=\"description\" content=\"Amazon EKS gives the flexibility to start, run, and scale Kubernetes applications in the AWS cloud or on-premises.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to build a High-Availability Cluster using EKS without having to be an expert in managing Kubernetes clusters? - The Workfall Blog\" \/>\n<meta property=\"og:description\" content=\"Amazon EKS gives the flexibility to start, run, and scale Kubernetes applications in the AWS cloud or on-premises.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/\" \/>\n<meta property=\"og:site_name\" content=\"The Workfall Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/workfall\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-03T10:21:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-21T10:13:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/EKS.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@workfall\" \/>\n<meta name=\"twitter:site\" content=\"@workfall\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Workfall\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"16 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\",\"name\":\"Workfall - Hire #Kickass Coders On Demand\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"sameAs\":[\"https:\/\/www.instagram.com\/workfall\/\",\"https:\/\/www.linkedin.com\/company\/workfall\/\",\"https:\/\/facebook.com\/workfall\",\"https:\/\/twitter.com\/workfall\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"contentUrl\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"width\":400,\"height\":400,\"caption\":\"Workfall - Hire #Kickass Coders On Demand\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"name\":\"The Workfall Blog\",\"description\":\"#Tech #Remote #Jobs\",\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#primaryimage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/EKS.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/EKS.png\",\"width\":1200,\"height\":628,\"caption\":\"AWS Elastic Kubernetes Services (EKS)\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#webpage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/\",\"name\":\"How to build a High-Availability Cluster using EKS without having to be an expert in managing Kubernetes clusters? - The Workfall Blog\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#primaryimage\"},\"datePublished\":\"2021-11-03T10:21:23+00:00\",\"dateModified\":\"2025-08-21T10:13:30+00:00\",\"description\":\"Amazon EKS gives the flexibility to start, run, and scale Kubernetes applications in the AWS cloud or on-premises.\",\"breadcrumb\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learning.workfall.com\/learning\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to build a High-Availability Cluster using EKS without having to be an expert in managing Kubernetes clusters?\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#webpage\"},\"author\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\"},\"headline\":\"How to build a High-Availability Cluster using EKS without having to be an expert in managing Kubernetes clusters?\",\"datePublished\":\"2021-11-03T10:21:23+00:00\",\"dateModified\":\"2025-08-21T10:13:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#webpage\"},\"wordCount\":1811,\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/EKS.png\",\"keywords\":[\"AWS\",\"AWSEKS\",\"clusters\",\"kubernetes\",\"workfall\"],\"articleSection\":[\"AWS Cloud Computing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\",\"name\":\"Workfall\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"caption\":\"Workfall\"},\"sameAs\":[\"https:\/\/www.workfall.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to build a High-Availability Cluster using EKS without having to be an expert in managing Kubernetes clusters? - The Workfall Blog","description":"Amazon EKS gives the flexibility to start, run, and scale Kubernetes applications in the AWS cloud or on-premises.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/","og_locale":"en_US","og_type":"article","og_title":"How to build a High-Availability Cluster using EKS without having to be an expert in managing Kubernetes clusters? - The Workfall Blog","og_description":"Amazon EKS gives the flexibility to start, run, and scale Kubernetes applications in the AWS cloud or on-premises.","og_url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/","og_site_name":"The Workfall Blog","article_publisher":"https:\/\/facebook.com\/workfall","article_published_time":"2021-11-03T10:21:23+00:00","article_modified_time":"2025-08-21T10:13:30+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/EKS.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@workfall","twitter_site":"@workfall","twitter_misc":{"Written by":"Workfall","Est. reading time":"16 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization","name":"Workfall - Hire #Kickass Coders On Demand","url":"https:\/\/learning.workfall.com\/learning\/blog\/","sameAs":["https:\/\/www.instagram.com\/workfall\/","https:\/\/www.linkedin.com\/company\/workfall\/","https:\/\/facebook.com\/workfall","https:\/\/twitter.com\/workfall"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","contentUrl":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","width":400,"height":400,"caption":"Workfall - Hire #Kickass Coders On Demand"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website","url":"https:\/\/learning.workfall.com\/learning\/blog\/","name":"The Workfall Blog","description":"#Tech #Remote #Jobs","publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#primaryimage","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/EKS.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/EKS.png","width":1200,"height":628,"caption":"AWS Elastic Kubernetes Services (EKS)"},{"@type":"WebPage","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#webpage","url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/","name":"How to build a High-Availability Cluster using EKS without having to be an expert in managing Kubernetes clusters? - The Workfall Blog","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#primaryimage"},"datePublished":"2021-11-03T10:21:23+00:00","dateModified":"2025-08-21T10:13:30+00:00","description":"Amazon EKS gives the flexibility to start, run, and scale Kubernetes applications in the AWS cloud or on-premises.","breadcrumb":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learning.workfall.com\/learning\/blog\/"},{"@type":"ListItem","position":2,"name":"How to build a High-Availability Cluster using EKS without having to be an expert in managing Kubernetes clusters?"}]},{"@type":"Article","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#article","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#webpage"},"author":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a"},"headline":"How to build a High-Availability Cluster using EKS without having to be an expert in managing Kubernetes clusters?","datePublished":"2021-11-03T10:21:23+00:00","dateModified":"2025-08-21T10:13:30+00:00","mainEntityOfPage":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#webpage"},"wordCount":1811,"publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-a-high-availability-cluster-using-eks-without-having-to-be-an-expert-in-managing-kubernetes-clusters\/#primaryimage"},"thumbnailUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/EKS.png","keywords":["AWS","AWSEKS","clusters","kubernetes","workfall"],"articleSection":["AWS Cloud Computing"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a","name":"Workfall","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","caption":"Workfall"},"sameAs":["https:\/\/www.workfall.com"]}]}},"jetpack_featured_media_url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/EKS.png","jetpack-related-posts":[{"id":1494,"url":"https:\/\/learning.workfall.com\/learning\/blog\/amazon-eks-clusters-locally-on-aws-outposts\/","url_meta":{"origin":383,"position":0},"title":"Amazon EKS Clusters Locally on AWS Outposts","date":"October 25, 2022","format":false,"excerpt":"AWS recently announced the availability of Amazon EKS local clusters on AWS Outposts. It means that now users can run the Amazon EKS cluster entirely on Outposts, including the Kubernetes control plane and nodes. To make things easier, AWS now allows you to host your entire Amazon EKS cluster on\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Amazon EKS Clusters Locally on AWS Outposts","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2022\/10\/Cover-Images_Part2-1-2.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":492,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-aws-copilot-to-build-release-and-operate-containerized-applications-on-ecs-and-fargate-using-a-cli-2\/","url_meta":{"origin":383,"position":1},"title":"How to set up AWS Copilot to build, release and operate containerized applications on ECS and Fargate using a CLI?","date":"November 10, 2021","format":false,"excerpt":"Are you completely drained by worrying about your infrastructure over architecture? Well, AWS Copilot supercharges your application by allowing you to set up infrastructure, build your application with many microservices, set up a pipeline to automate release and monitor the stack and application's status, and add-ons all from a single\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWS Copilot - Workfall","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/copilot1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":635,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-install-and-run-docker-container-on-amazon-ec2-instance-part-1\/","url_meta":{"origin":383,"position":2},"title":"How to install and run Docker Container on Amazon EC2 Instance (Part 1)?","date":"November 11, 2021","format":false,"excerpt":"The fast rise in interest and use of container-based solutions has necessitated the development of industry standards for container technology and the packaging of software code. Docker is currently one of the most well-known and widely utilized container engines on the market. Docker was launched in 2013 by a company\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Running Docker on Amazon EC2","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CoverImages_1200x628px-4.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":358,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-build-an-angular-authentication-application-using-aws-amplify\/","url_meta":{"origin":383,"position":3},"title":"How to build an Angular Authentication Application using AWS Amplify?","date":"November 3, 2021","format":false,"excerpt":"In this blog, we will discuss how to build an Angular Application using AWS Amplify and will demonstrate how to build an Authentication Application using AWS Amplify and Angular web framework without configuring the backend manually. In this blog, we will cover: Need for Serverless FrameworksBenefits of Serverless FrameworksPopular Serverless\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Build an Angular Authentication Application using AWS Amplify","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/amplify.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":834,"url":"https:\/\/learning.workfall.com\/learning\/blog\/create-and-run-web-app-on-ecs-using-aws-fargate\/","url_meta":{"origin":383,"position":4},"title":"Create and run web app on ECS using AWS Fargate","date":"December 28, 2021","format":false,"excerpt":"AWS Fargate is an Amazon ECS solution that allows you to run containers without managing servers or clusters. You no longer need to provision, configure, or scale clusters of virtual machines to run containers with AWS Fargate. This eliminates the need to select server kinds, schedule cluster scaling, or optimize\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Create and run Web app on ECS using AWS Fargate","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/12\/CoverImages_1200x628px-6.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":562,"url":"https:\/\/learning.workfall.com\/learning\/blog\/secure-containerized-web-applications-aws-apprunner-part-1\/","url_meta":{"origin":383,"position":5},"title":"How to build and run scalable, secure & containerized Web Applications in minutes using AWS App Runner (Part 1)?","date":"November 10, 2021","format":false,"excerpt":"Developing apps is where you build value, not manage how they're delivered. Rather than wrestling\/bickering infrastructure, why not just write your code and leave the rest to someone else? Over time, cloud providers have made this process progressively easier. AWS may have just made a significant jump for many of\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWS AppRunner - Workfall","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/apprunner1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/383"}],"collection":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/comments?post=383"}],"version-history":[{"count":5,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/383\/revisions"}],"predecessor-version":[{"id":1657,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/383\/revisions\/1657"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media\/384"}],"wp:attachment":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media?parent=383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/categories?post=383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/tags?post=383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}