Manage AWS EKS cluster using online platform like killerkonda

93 Views Asked by At

What are all steps to connect to AWS EKS cluster using online platform like killerkonda, etc.. So that I can manage my AWS EKS cluster using these online tool.

I tried connecting to https://killercoda.com/ online tool and selected kubernetes. My end goal is to perform all production level operation on my cluster without installing any tool locally

1

There are 1 best solutions below

1
Ajay On

Install AWS CLI on linux

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

Configure your profile with the aws configure sso wizard

$ aws configure sso
SSO session name (Recommended): my-sso
SSO start URL [None]: https://my-sso-portal.awsapps.com/start
SSO region [None]: us-east-1
SSO registration scopes [None]: sso:account:access

Cross check AWS CLI is working

aws s3 ls --profile <AWS SSO profile>

Install kubectl

curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" 
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
chmod +x kubectl
sudo mv kubectl /usr/local/bin/   OR mv ./kubectl ~/.local/bin/kubectl
kubectl version --client

Configures kubectl so that you can connect to an Amazon EKS cluster. EKS uses the Kubernetes kubectl command-line tool for cluster management. You need to configure kubectl to authenticate and communicate with the EKS cluster.

aws eks update-kubeconfig --name <cluster-name> --profile <AWS SSO profile>

Verify the cluster configuration:

kubectl get svc
kubectl get nodes
kubectl get pods