Тёмный

Create a private Kubernetes cluster on AWS EKS 

Tech with Ajit
Подписаться 5 тыс.
Просмотров 11 тыс.
50% 1

In this video, we will learn how to Create a private Kubernetes cluster on AWS EKS.
#aws #kubernetes #eks
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
00:00 | Intro
00:18 | Provision VPC & other resources
01:55 | Provision private EKS cluster
04:56 | Provision worker nodes
08:40 | Provision jump servers
11:05 | Install kubectl, configure aws
13:23 | Update kubeconfig
14:26 | Jump to EKS connectivity
15:50 | Access EKS cluster via IAM role
▬▬▬▬▬▬ Important links❗️ ▬▬▬▬▬▬
► Install kubectl - docs.aws.amazon.com/eks/lates...
► Update kubeconfig - docs.aws.amazon.com/cli/lates...
► Enabling IAM principal access to your cluster -
docs.aws.amazon.com/eks/lates...
▬▬▬▬▬▬ My Videos 📹 ▬▬▬▬▬▬
Learn Terraform:
► 4 ways to structure your terraform projects - • 4 ways to structure yo...
► Three-tier architecture in AWS using Terraform - • Three-tier architectur...
► Terraform backend using S3 and Dynamodb with state locking | DevOps | Infrastructure as code - • Terraform backend usin...
CI CD Tutorials:-
► Jenkins Tutorial - Java CI/CD Pipeline with GitHub, Maven & Tomcat - • Jenkins Tutorial - Jav...
Learn AWS:-
► Access Private EC2 & RDS Instances Over The Internet Via Jump Server - • Access Private EC2 & R...
► 3 real-life scenarios to kick-start your AWS journey now!
- • 3 real-life scenarios ...
► Demo - Delegate access across AWS accounts using IAM roles - • Demo - Delegate access...
Learn Kubernetes:-
► Configure Kubernetes master-worker node using kubeadm on Amazon Linux - • Kubernetes master-work...
► Kubernetes namespaces explained - demo and use-cases - • Kubernetes namespaces ...
Learn Jenkins:-
► Scale Jenkins using EC2 plugin - • Scale jenkins slave us...
► Jenkins role based authorisation strategy | Manage and assign roles | DevOps - • Jenkins role based aut...
Learn DevOps:-
► Become a DevOps Engineer in 2021 | DevOp Engineer roadmap - • Become a DevOps Engine...
► Top 5 DevOps Certifications in 2021 | Learn DevOps - • Top 5 DevOps Certifica...
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► Connect with me on LinkedIn: / ajitinamdar
Disclaimer: Opinions expressed in this video are my own!

Опубликовано:

 

3 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 76   
@selvakumars6487
@selvakumars6487 4 месяца назад
This is an absolute gem!!! Amazing work Ajit, Thank you!
@ajitinamdartech
@ajitinamdartech 4 месяца назад
Thanks Selva for your feedback!
@ibmuser13
@ibmuser13 3 месяца назад
great information ..... so many k8s concepts also covered like editing configmap ..... keep up the good work Ajit, may God bless you!
@preetgarach9424
@preetgarach9424 7 месяцев назад
So elegant, you are a gem brother 💯
@ajitinamdartech
@ajitinamdartech 6 месяцев назад
Thanks, I'm glad the video helped!
@bobmalo3335
@bobmalo3335 9 месяцев назад
This is great video thank you so much. This very help full.🤩
@ajitinamdartech
@ajitinamdartech 9 месяцев назад
Hello. Thank you so much for your feedback, glad you liked it!
@gear6th679
@gear6th679 9 месяцев назад
fantastic demo
@ajitinamdartech
@ajitinamdartech 9 месяцев назад
Thanks, glad you liked it!
@villaran9295
@villaran9295 5 месяцев назад
Great tutorial, thank you!
@ajitinamdartech
@ajitinamdartech 5 месяцев назад
Thanks for your feedback! Glad it was helpful for you.
@ruchitaayare4856
@ruchitaayare4856 11 месяцев назад
Amazing Content Can you please make an entire deep dive video into EKS from scratch with real-time production use cases
@ajitinamdartech
@ajitinamdartech 11 месяцев назад
Hi Ruchita, I’m glad it was useful for you. I have certainly planned more videos on EKS in the coming future. Please stay tuned.
@bhupenpal
@bhupenpal 9 месяцев назад
​@@ajitinamdartech Hey Ajit, Any plans for the production grade EKS setup along with complete VPC, subnets, NAT and Route Tables?
@ajitinamdartech
@ajitinamdartech 9 месяцев назад
Hi @bhupenpal, I have planned an entire series on EKS. Please stay tuned.
@nareshbabuy8530
@nareshbabuy8530 Год назад
superb sir.......❤
@ajitinamdartech
@ajitinamdartech Год назад
Thank you Naresh, glad it was helpful for you!
@manabroy3036
@manabroy3036 13 дней назад
Thanks!!!!!
@subhadipchanda3108
@subhadipchanda3108 Год назад
Excellent
@ajitinamdartech
@ajitinamdartech Год назад
Thanks Subhadip!
@udupimirror2068
@udupimirror2068 Год назад
U r the boss
@ajitinamdartech
@ajitinamdartech Год назад
Thanks, glad it was helpful for you!
@spkumar.17
@spkumar.17 9 дней назад
It's amazing tutorial Can you let me know what poets do I need to open while creating private eks using Terraform but here I am using ssm not jump server
@axaxxaxax7000
@axaxxaxax7000 Год назад
great video. Is it possible to create another video on setting up eks cluster through aws ci/cd and then deploy a docker container application on that cluster using pipeline.
@ajitinamdartech
@ajitinamdartech Год назад
Yes, absolutely. It’s planned. It will be out soon.
@axaxxaxax7000
@axaxxaxax7000 Год назад
Eagerly waiting.tx again.
@ajitinamdartech
@ajitinamdartech Год назад
🙂
@user-yu9ky6xh9n
@user-yu9ky6xh9n 8 месяцев назад
Very very helpful video. What if I use AWS Load balancer controller for private cluster. will it provision ALB NLB??
@ajitinamdartech
@ajitinamdartech 6 месяцев назад
Hello, We can provision both NLB as well as ALB. More details here - kubernetes-sigs.github.io/aws-load-balancer-controller/v2.2/guide/service/nlb/
@rahulpardeshi4427
@rahulpardeshi4427 5 месяцев назад
Thanks for informative video I am following the same steps for setting up my cluster and i am able to access it. But the issue is when i am deploying nginx-controller in my cluster, nginx-controller pods are in pending state due to below reason 0/2 nodes are available: 1 node(s) didn't have free ports for the requested pod ports. preemption: 0/2 nodes are available: 2 No preemption victims found for incoming pod because 443 port is used for jump server access. I have tried all possible solutions from google but not able to make up my nginx-controller pods. please help me in this
@ajitinamdartech
@ajitinamdartech 5 месяцев назад
Hello, I didn’t understand how 443 port comes into picture here. Port 443 is on the EKS cluster. Can you please elaborate. Can you try with some other port.
@urbansounds814
@urbansounds814 4 месяца назад
it was a super explanation . iam facing an issue , when ever iam trying to add nosed to cluster from GUI am getting health issue error on nodes and failed to add nodes to cluster ? do you have any idea about this error ? thanks in advance . i tried twice bt ended up with same error . pls help
@ajitinamdartech
@ajitinamdartech 3 месяца назад
Hello, Can you send me more details on my email id please?
@antonypraveen207
@antonypraveen207 11 месяцев назад
Kindly provide steps to create a self managed nodes and how to make it visible in eks console. With custom Ami.
@ajitinamdartech
@ajitinamdartech 11 месяцев назад
Sure, Antony. I’ll cover those in my upcoming videos.
@user-sy6lq1it6f
@user-sy6lq1it6f Год назад
Hi Ajit, Is there a video, where we can deploy the pods in a eks private subnet or any document
@ajitinamdartech
@ajitinamdartech Год назад
Hi, What’s your exact requirement? Yes you can deploy pods in a private subnet.
@user-sy6lq1it6f
@user-sy6lq1it6f Год назад
​@@ajitinamdartech is there a way to access the eks other than jump server and deploying the pods in private subnet? any videos that you can share
@user-sy6lq1it6f
@user-sy6lq1it6f Год назад
@@ajitinamdartech how can we provide access to another aws account and to users?
@nitish7507
@nitish7507 4 месяца назад
Hey, i have followed all the above steps, Now i deployed an image of ECR repo, using the deployement.yaml and service.yaml file But, i want to get a public IP address(to check the route present in the spring boot app image), to see if the images i properly deployed or not How can i do that ? I am using "kubectl get svc auth-service" to get the external IP, but that is not working
@ajitinamdartech
@ajitinamdartech 3 месяца назад
Hello, Can you send me more details on my email id please?
@light-sg5sl
@light-sg5sl 6 месяцев назад
Hey ajit, I am still getting error saying Unauthorized Please help what to do When enter sts user identity command It gives details of iam user created But not able to login I open the port 443 for jump server as well Then again tried attaching i am role as u mentioned to jump server but when we try to change access using role I am not even able to cat on configmap yaml file What to do
@ajitinamdartech
@ajitinamdartech 6 месяцев назад
Hello, Please reach out to me at ajitinamdar.tech@gmail.com. Send me the required screenshots, and I will try to help. Thanks
@srinimeka3204
@srinimeka3204 Год назад
Hi Ajit Creating eks cluster in private subnet with Aws endpoint it failing and getting nodes unable to join cluster Could you help me how to resolve issue
@ajitinamdartech
@ajitinamdartech 11 месяцев назад
Hi Srini, Are you following the video or trying something else?
@mohanramv6511
@mohanramv6511 5 месяцев назад
hi , thanks for the video , when i try im getting an error, node creation failure : instance failed to join the kubernetes cluster can yu help on this
@ajitinamdartech
@ajitinamdartech 5 месяцев назад
Hello, Have you followed the video step by step? This error usually occurs when there is no outgoing internet connectivity from your worker nodes. Please check if NAT is created and your subnet is able to route through the NAT.
@mfaraz669
@mfaraz669 Год назад
I have created cluster from root account and setup credentials using aws configure and able to access it but when i create iam role im getting error as error: You must be logged in to the server (Unauthorized)
@ajitinamdartech
@ajitinamdartech Год назад
Hi, You have not performed all the steps as shown in the video. I assume you have not configured your aws user on your jump server. 1. Have you configured aws user? aws configure? 2. Does your aws user have access to eks cluster?
@light-sg5sl
@light-sg5sl 7 месяцев назад
Same issue I configured it still getting same error
@rehantayyab82
@rehantayyab82 10 месяцев назад
If we don't use jump server , we want to use session manager to access eks cluster , what is process for that ?
@ajitinamdartech
@ajitinamdartech 9 месяцев назад
Hi Rehan, We can use cloud shell, I’m going to create a separate video on that. Please stay tuned.
@sangameshwaruppe1115
@sangameshwaruppe1115 Год назад
Hi @ajith Can I skip aws configure use only I AM role access and access the eks cluster without that through ec2? @13.33
@ajitinamdartech
@ajitinamdartech Год назад
Hi Sangam, If the cluster is created by your IAM user, you will need the configure step. Or else if it is created by an IAM role you don’t need the aws configure.
@sangameshwaruppe1115
@sangameshwaruppe1115 Год назад
@@ajitinamdartech What I am doing is, I have created the eks cluster in the private mode and want to access through ec2 by attaching the I AM role of accessing eks ec2 is still in the same subnet with private ip as security group. but I am getting this issue You must be logged in to the server (Unauthorized)
@ajitinamdartech
@ajitinamdartech Год назад
Yes because the eks cluster was not created using that role. The first login to the eks cluster is possible only using the same user/role which was used to create the cluster.
@ajitinamdartech
@ajitinamdartech Год назад
Try creation the cluster using the same iam role which you want to use using the eksctl commands.
@sangameshwaruppe1115
@sangameshwaruppe1115 Год назад
@@ajitinamdartech that's great it's what exactly happened, so is there a way we can fix it just change the I'm role attached to ec2 should attach with the eks cluster creation role? Can I do it
@yungbfresh1
@yungbfresh1 26 дней назад
How does someone remember ALL of this ?
@bharath4195
@bharath4195 Месяц назад
after deploy application. how we can access ?
@ajitinamdartech
@ajitinamdartech Месяц назад
It depends how to deploy it, can you elaborate on your question?
@bharath4195
@bharath4195 Месяц назад
@@ajitinamdartech for example i deploy the application on a private cluster, how i can access publically
@nikhilverma1552
@nikhilverma1552 Год назад
getting this error : You must be logged in to the server (the server has asked for the client to provide credentials) ....kindly reply
@ajitinamdartech
@ajitinamdartech Год назад
Hi Nikhil, It seems you have missed some step. Can you watch the video again and see if anything you have missed?
@nikhilverma1552
@nikhilverma1552 Год назад
@@ajitinamdartech sir i have seen your video 2 times but getting same error...i don't know why even though i have followed some other youtube video.....result is same
@ajitinamdartech
@ajitinamdartech Год назад
Are you trying to access the cluster from iam role or iam user?
@nikhilverma1552
@nikhilverma1552 Год назад
@@ajitinamdartech after using root secret key and access keys i m able to access my cluster. to access cluster from jump server use root keys is only solution or we can do something else also ?
@ajitinamdartech
@ajitinamdartech Год назад
First of all you should never use root user for provisioning infrastructure. Create the eks cluster using an iam user and configure its secret and access key on the jump server to access for the first time. Once you are able to access the cluster, setup iam role to access your cluster which is demonstrated in the video. Please watch the video till the end, you should get an idea.
Далее
Help Barry And Barry Woman Scan Prisoners
00:23
Просмотров 2,8 млн
Редакция. News: 128-я неделя
57:38
Просмотров 1,1 млн
4 ways to structure your terraform projects!
6:16
Просмотров 4,3 тыс.