Install AWS, kubectl & eksctl CLI’s

Tram Ho

Step-00: Introduction

  • Install AWS CLI
  • Install kubectl CLI
  • Install eksctl CLI

Step-01: Install AWS CLI

Step-01-01: MAC – Install and configure AWS CLI

  • Download the binary and install via command line using below two commands.

  • Verify the installation

Step-01-02: Windows 10 – Install and configure AWS CLI

  • The AWS CLI version 2 is supported on Windows XP or later.
  • The AWS CLI version 2 supports only 64-bit versions of Windows.
  • Download Binary: https://awscli.amazonaws.com/AWSCLIV2.msi
  • Install the downloaded binary (standard windows install)

Step-01-03: Configure AWS Command Line using Security Credentials

  • Go to AWS Management Console –> Services –> IAM
  • Select the IAM User: kalyan
  • Important Note: Use only IAM user to generate Security Credentials. Never ever use Root User. (Highly not recommended)
  • Click on Security credentials tab
  • Click on Create access key
  • Copy Access ID and Secret access key
  • Go to command line and provide the required details

  • Test if AWS CLI is working after configuring the above

Step-02: Install kubectl CLI

Step-02-01: MAC – Install and configure kubectl

  • Kubectl version we are using here is 1.16.8 (It may vary based on Cluster version you are planning use in AWS EKS)

Step-02-02: Windows 10 – Install and configure kubectl

  • Install kubectl on Windows 10

  • Update the system Path environment variable

  • Verify the kubectl client version

Step-03: Install eksctl CLI

Step-03-01: eksctl on Mac

Step-03-02: eksctl on windows or linux

References:

 

Share the news now

Source : Viblo