Eksctl Tutorial: AWS EKS Cluster Setup (Create EKS Cluster & Manage & Upgrade EKS Cluster) Ep 3

  Рет қаралды 9,397

Anton Putra

Anton Putra

Күн бұрын

Пікірлер: 83
@AntonPutra
@AntonPutra 11 ай бұрын
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com 👉 [UPDATED] AWS EKS Kubernetes Tutorial [NEW]: kzbin.info/aero/PLiMWaCMwGJXnKY6XmeifEpjIfkWRo9v2l&si=wc6LIC5V2tD-Tzwl
@Samay1205
@Samay1205 3 жыл бұрын
This guy is out of the world... I just love the way he explains everything.. Keep it up Anton.. 👍👍👍
@AntonPutra
@AntonPutra 3 жыл бұрын
Thanks a ton!
@Samay1205
@Samay1205 3 жыл бұрын
@@AntonPutra You are always welcome. 🙂🙂
@AnilKumar123
@AnilKumar123 2 жыл бұрын
Most underrated KZbinr ever... Thanks a ton Anton
@AntonPutra
@AntonPutra 2 жыл бұрын
I appreciate that!
@piyushdarji7926
@piyushdarji7926 2 жыл бұрын
Amazing anton putra ..... I'll check updated video as well :)
@AntonPutra
@AntonPutra 2 жыл бұрын
Thanks :)
@kgfeast1502
@kgfeast1502 Жыл бұрын
Great Content! It works exactly as you demonstrate. Can you make a tutorial on Deploying Keycloak on AWS EKS Cluster?
@AntonPutra
@AntonPutra Жыл бұрын
Thanks KG Feast, I'll put it to my list.
@phil5293
@phil5293 3 жыл бұрын
Amazing straight forward tutorial. Thank you Anton.
@AntonPutra
@AntonPutra 3 жыл бұрын
Thank you Phil!
@mateuszszczesny508
@mateuszszczesny508 2 жыл бұрын
clearly explained. you did a gr8 job!
@AntonPutra
@AntonPutra 2 жыл бұрын
Thanks Mateusz!
@saq2855
@saq2855 2 жыл бұрын
Thanks man your videos are very good and to the point. 👍
@AntonPutra
@AntonPutra 2 жыл бұрын
I appreciate that!
@weitanglau162
@weitanglau162 2 жыл бұрын
After searching for doucmentation past month, you solved my prob in 45mins! Good job! Keep up with the great content!
@AntonPutra
@AntonPutra 2 жыл бұрын
Thanks Lau! :)
@weitanglau162
@weitanglau162 2 жыл бұрын
@@AntonPutra just as a recommendation, you can further extend this series. after deploying an eks cluster, you can deploy kubernetes apps using best security practices, such as IAM roles, service accounts etc
@anthonyonah7125
@anthonyonah7125 Жыл бұрын
Thank you very much sir You are really wonderful 👍
@AntonPutra
@AntonPutra Жыл бұрын
Thanks!
@maheshmagalage1886
@maheshmagalage1886 2 жыл бұрын
It was neat! Thank you, Anton for the tutorial.
@AntonPutra
@AntonPutra 2 жыл бұрын
My pleasure!
@below_waterline
@below_waterline 3 жыл бұрын
Thank you. It was very helpful video
@AntonPutra
@AntonPutra 3 жыл бұрын
You're welcome!
@bravemiata2950
@bravemiata2950 2 жыл бұрын
Fantastic walkthrough, helped me a lot. Subscribed!
@AntonPutra
@AntonPutra 2 жыл бұрын
Awesome, thank you!
@santhosh_its_me
@santhosh_its_me 2 жыл бұрын
That was wonderful explanation ❤️. Thanks man, it was really helpful.
@AntonPutra
@AntonPutra 2 жыл бұрын
Glad you liked it!
@johnmontoya7183
@johnmontoya7183 3 жыл бұрын
Thank you so much for the video. I loved all the details. I love that you have the YAML files for the EKS cluster, but I hope to see a github repo containing the YAML for the AWS EKS cluster and the corresponding Kubernetes YAML files to deploy this cluster to the EKS cluster. Specifically, I wanted to see how to create the yaml files to tag them in private vs the public AWS subnets.
@AntonPutra
@AntonPutra 3 жыл бұрын
Glad it was helpful!
@AntonPutra
@AntonPutra 3 жыл бұрын
@@johnmontoya8377 yes, just updated description. Here is a link - github.com/antonputra/tutorials/tree/main/lessons/039
@johnmontoya7183
@johnmontoya7183 3 жыл бұрын
@@AntonPutra Thank you so much.
@AntonPutra
@AntonPutra 3 жыл бұрын
@@johnmontoya7183 you're welcome!
@johnmontoya7183
@johnmontoya7183 3 жыл бұрын
@@AntonPutra - Do you have steps and/or video on how to use kubernetes secrets with aws secrets manager?
@subhadipdas2033
@subhadipdas2033 3 жыл бұрын
u r of another level 🔥
@AntonPutra
@AntonPutra 3 жыл бұрын
Thank you :)
@palanisamy-dl9qe
@palanisamy-dl9qe 3 жыл бұрын
Thanks lot for your effort this session was really good. Do you have video for cluster auto scaling?
@AntonPutra
@AntonPutra 3 жыл бұрын
Will upload soon
@AntonPutra
@AntonPutra Жыл бұрын
🟢 [New] Terragrunt Tutorial: Create VPC, EKS from Scratch! (Step-by-Step) - kzbin.info/www/bejne/r5XYeZSFn5iLg8k
@aminesouki8152
@aminesouki8152 Жыл бұрын
Thank you, Anton, for this great tutorial, I have a question, when we use EKS, is it possible to access the master node (control-plane) and generate a token?
@AntonPutra
@AntonPutra Жыл бұрын
Yes, I have an example with terraform provider by using data resource - github.com/antonputra/tutorials/blob/main/lessons/160/git-infrastructure-live/dev/kubernetes-addons/terragrunt.hcl#L50
@AntonPutra
@AntonPutra 2 жыл бұрын
🔴UPDATED🔴 How to create EKS Cluster using Terraform MODULES (AWS Load Balancer Controller + Autoscaler + IRSA) - kzbin.info/www/bejne/oYOunpaPeJxkgJY
@vishalathar9210
@vishalathar9210 2 жыл бұрын
Hello Anton. It was a great tutorial !! I was able to follow through everything. The only problem I am facing is that I am not being able to access my deployed service. The page keeps reloading. And I get a response: failed to open page. If you could suggest me a way around that'd be great. thank you!
@AntonPutra
@AntonPutra 2 жыл бұрын
by the service do you mean EKS service or your application that you deployed in k8s?
@AntonPutra
@AntonPutra 2 жыл бұрын
by the way i have updated version of this tutorial - kzbin.info/www/bejne/a2fFmJ2qfLqtfac
@wolfdhib1
@wolfdhib1 2 жыл бұрын
You deserve a big like dude. I have a question: if we are using terraform to bring up such a cluster and don't use eksctl, is it ok to perform the upgrade directly in terraform?
@AntonPutra
@AntonPutra 2 жыл бұрын
Be careful with terraform; for example, if you change the instance type, terraform will destroy the instance group first and then create a new one. It will cause downtime. In prod environments, it's worth to create an additional instance group with the same labels/taints and deleting the old one after.
@wolfdhib1
@wolfdhib1 2 жыл бұрын
we can make use of : lifecycle { create_before_destroy = true } policy for node group in terraform to prevent downtime right?
@AntonPutra
@AntonPutra 2 жыл бұрын
@@wolfdhib1 can you have 2 instance groups with the same name? in GCP you cannot.
@wolfdhib1
@wolfdhib1 2 жыл бұрын
You can generate dynamic node group resource names in terraform.
@AntonPutra
@AntonPutra 2 жыл бұрын
@@wolfdhib1 it can be a solution
@abhijeetsamanta8390
@abhijeetsamanta8390 3 жыл бұрын
Hi Anton, Nice and clear tutorial what I am looking for, however I am getting one issue while create private subnet I am getting error as "CIDR Address is not within CIDR Address from VPC" . I am trying to set CIDR as 10.0.64.0/20 which is next to previous one as 10.0.47.0/20
@AntonPutra
@AntonPutra 3 жыл бұрын
You subnet CIDR must be within your VPC CIDR. What's you VPC CIDR? I can help you to split into subnets.
@abhijeetsamanta8390
@abhijeetsamanta8390 3 жыл бұрын
@@AntonPutra my VPC CIDR is 10.0.0.0/18
@georgelza
@georgelza 2 жыл бұрын
any chance you can do a video of permissions setup you did before you went into the config.yaml file. some how having hassles and thinking it is IAM permissions related. I have a user already, so would want to add role/permissions/policies to my current user... in such a way that I can also add the same permissions to my colleagues user.
@AntonPutra
@AntonPutra 2 жыл бұрын
Sure, you mean basic IAM tutorial?
@georgelza
@georgelza 2 жыл бұрын
@@AntonPutra basic in your mind... for me... this IAM has become a potential pain in my @ss. if it's the cause of my problems. ;)
@AntonPutra
@AntonPutra Жыл бұрын
Get Full-Length High-Quality DevOps Tutorials for Free - Subscribe Now! - kzbin.info
@omega1962
@omega1962 Жыл бұрын
hi Anton, can you please show us a demo for a full private EKS Cluster using eksctl. For me its failing using eksctl...
@AntonPutra
@AntonPutra Жыл бұрын
Why? what's the error?
@omega1962
@omega1962 Жыл бұрын
@@AntonPutra Kindly assist please.
@AntonPutra
@AntonPutra 2 жыл бұрын
🔴UPDATED🔴 - How to Create EKS Cluster Using eksctl? - kzbin.info/www/bejne/a2fFmJ2qfLqtfac
@mustafabozkurt4991
@mustafabozkurt4991 Жыл бұрын
Thank you
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@vineetn
@vineetn 3 жыл бұрын
Hi Anton, I get a value for EXTERNAL-IP after exposing the nginx deployment (27.55)...looking online that is something that happens for local kubectl deployments. I am using EKS. Any pointers on what I might be doing wrong.. ? Thanks in advance.
@AntonPutra
@AntonPutra 3 жыл бұрын
You can use "kubectl describe svc " and most likely you will find an error in the output.
@georgelza
@georgelza 2 жыл бұрын
... i notice you define public subnets, must I provide them, I'm building my cluster purely in private subnets, I have a web subnet thats public, but it's only used for IGW.
@AntonPutra
@AntonPutra 2 жыл бұрын
You don’t need public subnets if you’re not planning to expose anything outside of VPC
@georgelza
@georgelza 2 жыл бұрын
@@AntonPutra I assume this is translated... with public the nodes themselves become public facing, as even a prv not can be reached by a ALB. - just unpacking how it fits together...
@daywalkergil
@daywalkergil 3 жыл бұрын
Hi Anton, Do you know how to connect AWS EFS in the nodes, according your configurations?
@AntonPutra
@AntonPutra 3 жыл бұрын
yes, I created gist for you. You need to create EFS first and replace *server: .**efs.us-west-1.amazonaws.com* . provisioner -> storage class I will create a video about this topic soon.. gist.github.com/antonputra/312818827c553699820e9d59201eca49 This will allow you to create *ReadWriteMany* volumes.
@daywalkergil
@daywalkergil 3 жыл бұрын
@@AntonPutra Where I put server: .efs.us-west-1.amazonaws.com? Inside of eks-cluster.yaml? Do you have some site/documentation that talk about it?
@AntonPutra
@AntonPutra 3 жыл бұрын
@@daywalkergil I sent you a link for GitHub, I created a gist for you. You need to create Kubernetes storage provisioner and use that provisioner in your storage class.. There are a bunch of YAML files in that link that you need to apply. Also, you may need to configure security groups. Bottom line, EFS is not related to eksctl and it has to deploy separately after the Kubernetes cluster is ready.
@daywalkergil
@daywalkergil 3 жыл бұрын
@@AntonPutra but It's necessary to install amazon-efs-utils inside all nodes, right? or no?
@AntonPutra
@AntonPutra 3 жыл бұрын
@@daywalkergil no, it's agains the Kubernetes pattern to install anything on the nodes. Ussually, if you need to run anything on each node, you would deploy "Daemonset" instead. In your case, you need to deploy "Deployment" with 1 replica. Based on that you need to create storageclass. Let me paste it here kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: example-efs-provisioner-runner rules: - apiGroups: [""] resources: ["persistentvolumes"] verbs: ["get", "list", "watch", "create", "delete"] - apiGroups: [""] resources: ["persistentvolumeclaims"] verbs: ["get", "list", "watch", "update"] - apiGroups: ["storage.k8s.io"] resources: ["storageclasses"] verbs: ["get", "list", "watch"] - apiGroups: [""] resources: ["events"] verbs: ["create", "update", "patch"] --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: run-example-efs-provisioner subjects: - kind: ServiceAccount name: example-efs-provisioner # replace with namespace where provisioner is deployed namespace: default roleRef: kind: ClusterRole name: example-efs-provisioner-runner apiGroup: rbac.authorization.k8s.io --- kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: name: leader-locking-example-efs-provisioner rules: - apiGroups: [""] resources: ["endpoints"] verbs: ["get", "list", "watch", "create", "update", "patch"] --- kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: leader-locking-example-efs-provisioner subjects: - kind: ServiceAccount name: example-efs-provisioner # replace with namespace where provisioner is deployed namespace: default roleRef: kind: Role name: leader-locking-example-efs-provisioner apiGroup: rbac.authorization.k8s.io --- apiVersion: v1 kind: ServiceAccount metadata: name: example-efs-provisioner --- apiVersion: v1 kind: ConfigMap metadata: name: example-efs-provisioner namespace: default data: file.system.id: fs-13a0cc0a aws.region: us-west-1 provisioner.name: example-efs dns.name: "" --- kind: Deployment apiVersion: apps/v1 metadata: name: example-efs-provisioner namespace: default spec: replicas: 1 selector: matchLabels: app: example-efs-provisioner strategy: type: Recreate template: metadata: labels: app: example-efs-provisioner spec: serviceAccountName: example-efs-provisioner containers: - name: example-efs-provisioner image: quay.io/external_storage/efs-provisioner:latest env: - name: FILE_SYSTEM_ID valueFrom: configMapKeyRef: name: example-efs-provisioner key: file.system.id - name: AWS_REGION valueFrom: configMapKeyRef: name: example-efs-provisioner key: aws.region - name: DNS_NAME valueFrom: configMapKeyRef: name: example-efs-provisioner key: dns.name optional: true - name: PROVISIONER_NAME valueFrom: configMapKeyRef: name: example-efs-provisioner key: provisioner.name volumeMounts: - name: pv-volume mountPath: /persistentvolumes volumes: - name: pv-volume nfs: server: .efs.us-west-1.amazonaws.com path: / --- kind: StorageClass apiVersion: storage.k8s.io/v1beta1 metadata: name: example-efs provisioner: example-efs parameters: # application gid gidMin: "9999" gidMax: "9999" gidAllocate: "true"
@AntonPutra
@AntonPutra Жыл бұрын
👉 How to Manage Secrets in Terraform - kzbin.info/www/bejne/aX-TpXqBrNt1mqM 👉 Terraform Tips & Tricks - kzbin.info/www/bejne/bYScZaKLid5lsJY 👉 ArgoCD Tutorial - kzbin.info/www/bejne/sHjRlZqafMZkisU
AWS EKS - Create Kubernetes cluster on Amazon EKS | the easy way
16:27
TechWorld with Nana
Рет қаралды 536 М.
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 41 МЛН
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 81 МЛН
PEDRO PEDRO INSIDEOUT
00:10
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 25 МЛН
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Wian
Рет қаралды 15 МЛН
eksctl - How to Create and Manage AWS EKS clusters
35:29
DevOps Toolkit
Рет қаралды 18 М.
#ContainersFromTheCouch - Upgrading EKS Live With No Downtime
59:00
Containers from the Couch
Рет қаралды 12 М.
AWS EC2 Auto Scaling : Step By Step Tutorial ( Part - 10)
30:50
Rahul Wagh
Рет қаралды 33 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 281 М.
Introduction to Amazon EKS Kubernetes for beginners
26:57
That DevOps Guy
Рет қаралды 37 М.
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 41 МЛН