AWS EKS Cluster Setup using eksctl | AWS EKS Cluster setup | Create Kubernetes cluster on Amazon EKS



AWS EKS Cluster Setup using eksctl | Create EKS Cluster on AWS | Create Kubernetes cluster on Amazon EKS in simple steps | aws eks cluster setup step by step
#awsekscluster #ekscluster #awseks

0:00 Introduction to AWS EKS
2:10 Difference between EKS and KOPS
5:43 Prereuisites to setup EKS cluster on AWS
6:45 Different ways to Create AWS EKS Cluster
12:57 Create Ubuntu EC2 Instance in AWS
19:01 Install eksctl, kubectl and aws cli on Ubuntu Instance
25:30 create IAM user and assign admin access
28:01 AWS EKS Cluster Setup using eksctl
45:20 delete AWS EKS cluster using eksctl

Follow below instruction to install eksctl, kubectl and aws cli
https://www.fosstechnix.com/how-to-create-eks-cluster-in-aws-2-steps/
https://github.com/weaveworks/eksctl
1)
curl –silent –location “https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz” | tar xz -C /tmp
sudo mv /tmp/eksctl /usr/local/bin

eksctl version

eksctl –help

eksctl create cluster –help

eksctl create cluster [command] –help

2) Install Kubectl on Ubuntu

curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add –
sudo touch /etc/apt/sources.list.d/kubernetes.list
echo “deb http://apt.kubernetes.io/ kubernetes-xenial main” | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update
sudo apt-get install -y kubectl

3)
curl “https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip” -o “awscliv2.zip”
sudo apt install unzip
unzip awscliv2.zip
sudo ./aws/install

4) aws configure
5)
eksctl create cluster
–name demo-ekscluster
–region ap-south-1
–version 1.20
–nodegroup-name linux-nodes
–node-type t2.micro
–nodes 2

To create pod using kubectl on AWS EKS

kubectl run nginx –image=nginx

To delete AWS EKS cluster using eksctl

eksctl delete cluster demo-ekscluster

Related Articles:
1) Setup Kubernetes Cluster using KOPS
https://youtu.be/R5iDY-wagGA​​​​​​
2) How to Create Namespace, Role Binding and Service Account in Kubernetes
https://youtu.be/_wqdubPS7I8​​​​​​
3) Configure Traefik Ingress Controller on Kubernetes | traefik ingress Kubernetes
Configure Traefik Ingress Controller on Kubernetes | traefik ingress Kubernetes
4) Kubernetes Replica Set vs Replication Controller | Kubernetes Replication Practical Demonstration
https://youtu.be/D15dzWkor28​​​​​​
5) How to Create Kubernetes Cluster using Kubeadm on Ubuntu | Setup Kubernetes Cluster using Kubeadm
https://youtu.be/IvuMyIcit6I​​​​
6) How to Install Nginx Ingress Controller on Kubernetes KOPS using Helm 3
https://youtu.be/dxQdcCYDZx8​​
7) Install Traefik Ingress Controller on Kubernetes using Helm 3 | Traefik Ingress Kubernetes helm
https://youtu.be/4oWojfB_dMQ​
8) Kubernetes Nginx Ingress Controller Let’s Encrypt | https on Kubernetes Nginx Ingress contoller
https://youtu.be/D87z6v9xqW8​

If you likes our video, please subscribe our channel on YouTube Channel
https://www.youtube.com/c/devopshint

source

5 thoughts on “AWS EKS Cluster Setup using eksctl | AWS EKS Cluster setup | Create Kubernetes cluster on Amazon EKS”
  1. 1. for EC2 – if we attached the Role with AdministrativeFullAccess , is it need to set aws secret-key, access-key ?

    2. i created a Role- with AdministratorFullAcess/EC2FullAcess/CloudFromationFullAccess/IAM Full Acaess – Its not allowing to create eks cluster. below Error-

    eksctl create cluster –name webapp

    > –region ap-south-1

    > –node-type t2.micro
    2022-05-31 10:57:11 [!] 1 error(s) occurred and cluster hasn't been created properly, you may wish to check CloudFormation console

    2022-05-31 10:57:11 [ℹ] to cleanup resources, run 'eksctl delete cluster –region=ap-south-1 –name=webapp'

    2022-05-31 10:57:11 [✖] waiter state transitioned to Failure

    Error: failed to create cluster "webapp"

  2. everything is fine except providing admin access to the IAM user. Is there any custom policy for EKS service ?

Leave a Reply

Your email address will not be published.

Captcha loading...