From a5a8f6cedc2d6ec3e971259b5f900401adbf3e82 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Mon, 29 Nov 2021 21:01:52 -0800 Subject: [PATCH] Create keypair Create keypair. --- .../01-02-Create-EKSCluster-and-NodeGroups/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/01-EKS-Create-Cluster-using-eksctl/01-02-Create-EKSCluster-and-NodeGroups/README.md b/01-EKS-Create-Cluster-using-eksctl/01-02-Create-EKSCluster-and-NodeGroups/README.md index 6487c5cc..cd325973 100644 --- a/01-EKS-Create-Cluster-using-eksctl/01-02-Create-EKSCluster-and-NodeGroups/README.md +++ b/01-EKS-Create-Cluster-using-eksctl/01-02-Create-EKSCluster-and-NodeGroups/README.md @@ -51,6 +51,10 @@ eksctl utils associate-iam-oidc-provider \ - This keypair we will use it when creating the EKS NodeGroup. - This will help us to login to the EKS Worker Nodes using Terminal. +``` +aws ec2 create-key-pair --key-name kube-demo --query 'KeyMaterial' --output text > kube-demo.pem +``` + ## Step-04: Create Node Group with additional Add-Ons in Public Subnets - These add-ons will create the respective IAM policies for us automatically within our Node Group role. ```