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 5, 2020 in AWS by akhtar
• 38,170 points
299 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 5, 2020 by MD
• 95,180 points

Related Questions In AWS

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
11,551 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,150 points
11,959 views
0 votes
1 answer

How to create new stack using create-change-set in AWS Cloudformation

The type of change set operation. To ...READ MORE

answered Sep 18, 2018 in AWS by Priyaj
• 58,120 points
2,131 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,120 points
1,146 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,064 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,180 points
705 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,180 points
190 views