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 in AWS by akhtar
• 18,250 points
52 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 by MD
• 42,420 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
8,280 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
9,072 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
• 57,550 points
1,427 views
0 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
• 57,550 points
668 views
+13 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,420 points
603 views
0 votes
1 answer
0 votes
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 in AWS by MD
• 42,420 points
69 views