How to setup EKS Cluster in AWS using eksctl command

0 votes

Hi Guys,

I have installed eksctl command in my Windows system. I want to create one EKS Cluster in AWS using eksctl command. Can anyone help me how can I do that?

Jul 6, 2020 in AWS by akhtar
• 38,260 points
1,190 views

1 answer to this question.

0 votes

Hi@akhtar,

Before creating the cluster, you need to plan first how much Node Group you want in your EKS Cluster. All resources, instance type, etc you need to select. I have attached one example below for your reference. 

apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata: 
  name: nadimcluster1
  region: ap-south-1
nodeGroups:
  - name: ng1
    desiredCapacity: 2
    instanceType: t2.micro
    ssh: 
      publicKeyName: mykey1
  - name: ng2
    desiredCapacity: 1
    instanceType: t2.small
    ssh:
      publicKeyName: mykey

Copy this code in a yml file and run the below command.

$ eksctl create cluster -f yml_file
answered Jul 6, 2020 by MD
• 95,460 points

Related Questions In AWS

0 votes
0 answers

How to sign-in to EKS cluster without aws-auth configmap?

My aws-auth configmap contains the aws roles ...READ MORE

Dec 13, 2022 in AWS by Ashwini
• 5,430 points
438 views
0 votes
0 answers

How to sign-in to EKS cluster without aws-auth configmap?

My aws-auth configmap contains the aws roles ...READ MORE

Dec 13, 2022 in AWS by Ashwini
• 5,430 points
376 views
0 votes
2 answers

How to display just the name of files using aws s3 ls command?

aws s3 ls s3://<your_bucket_name>/ | awk '{print ...READ MORE

answered Mar 17, 2019 in AWS by anonymous
22,212 views
0 votes
1 answer

How to download the latest file in a S3 bucket using AWS CLI?

You can use the below command $ aws ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,170 points
19,855 views
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,715 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
0 votes
1 answer

How to setup an alarm when Lambda function fails in AWS?

Hi@akhtar, To create an Alarm for Lambda function, ...READ MORE

answered Apr 2, 2020 in AWS by MD
• 95,460 points
4,176 views
+1 vote
1 answer

How to find all instance Ids In AWS from command line?

Hi@akhtar, You can find one keyword --query in ...READ MORE

answered Jun 2, 2020 in AWS by MD
• 95,460 points
5,577 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP