Amazon EKS - Kubernetes cluster on AWS

 1.) What is EKS?

-It is Managed Kubernetes Service

-What AWS provides through EKS:

    * AMS manages Master Nodes 

    * Necessary apps pre-installed

        **Container Runtime

        **Master Processes

    * Scaling and Backups

-You can focus on deploying your application

-You are creating only working nodes


2.) How to use EKS ?


a) basic confiruration

- Create AWS account (free tier)

- Create a VPC

- Create an IAM role with Security Group ( Create AWS user with list of permissions)

- Create Cluster Control Plane creatw with IAM role

    * choose cluster name, k8s version

    * choose region and VPC for your cluster

    * set security for your cluster

- Create Worker Nodes and connect to cluster ( EC2)

    * Create as a Node Group (group of Nodes)

    * Choose cluster it will attach to 

    * Define Security Group , select instance type, resources

    * Define max and min numbers of Nodes - Autoscaling 

- configure kubectl on local machnie to connect to remote Cluster

b) simple configuration with eksctl

- created by community

- setting up cluster with one command

brew tap weaveworks/tap

brew tap weaveworks/tap/eksctl

eksctl version

eksctl create cluster \ 
 --name test-cluster
 --version 1.17
 --region eu-central-1 \
 --nodegroup-name linux-nodes \
 --node-type t2.micro \
 --nodes 2

- destroing cluster

eksctl delete cluster --name test-cluster

-

3.) Demo

Nirmata EKS Manager

Komentarze

Popularne posty z tego bloga

Kubernetes

Helm

Ansible Tower / AWX