Create EKS Cluster with VPC using Terraform | Real Time Terraform Modules Implementation
ฝัง
- เผยแพร่เมื่อ 7 ก.พ. 2025
- Support my work
www.buymeacoff...
Have any questions while learning ? Don't worry, Join our Doubts Clearing Group.
Join our Doubts Clearing Group
/ @abhishekveeramalla
In this video, we will learn how to create a EKS cluster with VPC configuration such as Security groups and Network ACLs using Terraform. This is a complete end to end guide with step by step explanation of how to write the terraform files and how to install and setup the complete project.
Link to the GitHub repo used in the video
github.com/iam...
Learn Terraform from Basics
• Terraform Zero to Hero
Here are some more very useful Zero to Hero playlists on the channel.
Free DevOps Playlist: • DEVOPS ZERO TO HERO CO...
AWS Zero to Hero Playlist: • AWS Zero to Hero - AWS...
Terraform Zero to Hero Playlist: • Terraform Zero to Hero
Python for DevOps Playlist: • Python for DevOps
About me:
========
Instagram: / abhishekveeramalla_off...
Telegram Channel : t.me/abhishekv...
LinkedIn: / abhishek-veeramalla
GitHub: github.com/iam...
Medium: / abhishekveeramalla-av
Create EKS cluster using Terraform
Terraform Real World examples
Terraform Modules real time usecases
Terraform Modules examples
Terraform project for resume
Terraform scenario based questions
DevOps project for resume
Best DevOps Project for Freshers
Fresher Level DevOps Projects
Experienced DevOps Engineers Project for Resume .
.
Disclaimer: Unauthorized copying, reproduction, or distribution of this video content, in whole or in part, is strictly prohibited. Any attempt to upload, share, or use this content for commercial or non-commercial purposes without explicit permission from the owner will be subject to legal action. All rights reserved.
Learn Terraform from Basics
th-cam.com/play/PLdpzxOOAlwvI0O4PeKVV1-yJoX2AqIWuf.html
Link to the GitHub repo used in the video
github.com/iam-veeramalla/terraform-eks
Watching videos of Abhishek for the last 1 month. I do believe that, as usual, this new series will be another blasting success.
Thanks 🙏
I was waiting for this bro.. yesterday itself i watched EKS using fargate from Amazon zero to hero.. if possible please deploy EKS + NLB + Nginx ingress controller..
I thought eks difficult with terraform. But you make it easy..thanks
Happy to help
Hi...how check kubernetes cluster and nodes and pods
Can you plz tell me how do I host one simple application in it
"Abhishek, thank you so much for bringing this video.
My pleasure
@Abhishek thanks alot, Done! it boost my confidence doing this on my own after watching your video, it took me 7hrs to write and execute this task.
Completed..!
Thanks Abhishek for this knowledgeable video ,just a correction in vpc.tf file we need to update following fields :
provider "aws" {
region = "us-east-1" # Replace with your region
}
data "aws_availability_zones" "available" {
state = "available"
}
I completed this practical ,and it was working fine for me.
Thanks once again.
I was waiting for this, pls create more video for terraform
Thank you Abhishek for the whole aws zero to hero series ❤
🔥
Abhishek thanks a lot for this guide!
I followed up your guide but used the latest versions (of EKS, aws provider, vpc and eks modules) and experienced this issue:
EKS cluster creation timed out after 30min, or I got this error when trying to use debug logs:
"waiting for EKS Cluster ({clusternamehere}) create: unexpected state 'FAILED', wanted target 'ACTIVE'. last error: %!s()"
I tried many things but at the end this was the solution:
Once I changed the EKS moduel version from 20.26.0(latest right now) to 20.8.4 like you did in your video, the EKS cluster creation was successfull after 10 min.
I hope this helps to anyone else!
thanks bro... helped me.. I also faced this issue
@@priyasivath8939 You are welcome!
Also I'm a sis not bro 😂
Which series this video is a part of ? The New Kubernetes series or previous Terraform series? Thankyou so much for creating this awesome content!!
terraform series
Really Thanks. Very informative. 🎉
Thanks to you, It will very helpful to me
You are most welcome
Hi Abhishek,
I have a query. My experience is into AWS devops and the new job opportunity which i received is for GCP. So can you suggest me whether this GCP cloud is good to make a move? Or should i search for only AWS opportunities? Please suggest as it would be really helpful.
I would also like to add that Your channel is very insightful and i do follow your channel for more knowledge on devops.
If you're learning cloud platform-agnostic tools like Terraform, there's no reason for you to limit yourself to just AWS jobs. Larger companies will often run multiple projects across different cloud platforms, so having production experience with AWS and GCP would make you a more desirable candidate.
Super Anna keka anthe.
😀
Looking forward to this news!!!
Excellent 🎉❤
Thank you Abhishek
Hi Abhishek.
I noticed EKS-auto-mode is released, which makes the deployment easier.
It will be of great help, if you can make a video on how to setup EKS-auto-mode with terraform . Also, any cons in using this capability.
Thanks a lot.
Thanks Abhi 🙏
Thanks you Abhishek
Hi Abhishek, I started working in a new project on Jenkins and they’re asking me to check or create a documentation on how to check Jenkins health and health monitoring etc something even I am not sure about that Jenkins health part. If you don’t mind can you please cover it as well in your videos that will be really helpful 🙃
Thanks for another blasting tutorial. Bro how you are able to write on whiteboard??? Are you using pen or you are using just mouse??
amazing
I want to start my devops journey now as I'm a 2nd semester cs student but some people have told me to do app or Web Development first then move to devops so that I would have a divers range of knowledge do you think this is a right approach please guide 🙏
🔥🔥🔥
😀
Thanks Abhishek for the good video, help on some suggestions
If we want to use custom vpc to provision EKS then how?
If we provision EKS cluster on an account where already we have multiple provisioned cluster then any effect on existing services RDS or EC2 or eks cluster on same VPC via provisioning new eks cluster.
If we provisioned a new EKS Cluster for testing purpose on our free tier on AWS with 1 node group having t2. Medium capacity 2 and 1 ec2 medium for master for 6 to 10 hours then how much costing
Hi Abhi, after you creating a policy right access entry, why you giving it manually, why can't we give it to via script. if we can do via script means this policy is for cluster right.
Hi abishek Naku 6 years career gap undi me devops and AWS complete ga videos chusa. Fundamentals clear ga understand ayyayi but career gap unde sariki ekada opportunity ravatledu. Atleast meku telsina vallalo internship aala chance unte cheppandi. Career ki Naku chala help avutundi
abhi bro aws cli and terraform install your using codespace in pervious.at this topic codespace is worked or not
Abhishek bro why are you not using aws_eks_addon , aws_iam_policy resources in your code ?
do i need to learn any programming language for this like python or java script i am confused so can you please suggest something and i am currently learning AWS so can i do docker then Kubernetes side by side?
Why you have used private & public subnet both, while creating the EKS , can we not deploy EKS cluster using only private subnet, can you please explain the reason to using the public subnet
providers means those cloud services we uses like aws gcp azure
Hi Abhishek,
How we can test terraform script to provision eks locally before configuring aws
Hi bro, this was really helpful. Could you please also create the eks cluster with launch template with custom security group through terraform. Thanks in advance.
Thanks abhhishek for such a nice video but I am unable to connect to the cluster via CLI even updating kubconfig details
What error do you get?
Did you set your permissions correctly?
Hi Abhiskey,
Please make a video on deploying services on the EKS cluster from CI/CD using Helm and how we can upgrade Helm versions. Whenever new versions come how do we upgrade to the latest versions.
I really appreciate any help you can provide.
what is enable_irsa = true?, you missed it during explanation
Hi, I have a use case to execute a script while removing the vm through terraform. Do you have any example code to follow?
How did u resolved this !!
Devops full course and aws full course best TH-cam channel name cheppara andi
Everything is available on this channel
Devuni daggaraki vachi devudu ekkada untadu ani adiginattu undi bro
@@AbhishekVeeramalla okay andi thanks 🙏
@@PS0706 awuna bro nd miru watch chesara andi classes
The best trainer ne adigaru ee question
Follow his videos and practice it well adopt learn by doing
Hello Abhishek! Can u do a video on prometheus setup with helm on private eks cluster?
After adding the permission I am getting:
nodes is forbidden: User "arn:aws:iam::XXXXXXXX:root" cannot list resource "nodes" in API group "" at the cluster scope
If possible can you do powershell admin to accomplish the azure cicd
Please start tutorial on SQL
❤
Kindly help in following errors
terraform init
Error: Failed to install provider
│ Error while installing hashicorp/local v2.1.0: local error: tls: bad record MAC
│ Error: Failed to install provider
│ Error while installing hashicorp/kubernetes v2.34.0: local error: tls: bad record MAC
│ Error: Failed to install provider
│ Error while installing hashicorp/time v0.12.1: local error: tls: bad record MAC
│ Error: Failed to install provider
│ Error while installing hashicorp/tls v4.0.6: local error: tls: bad record MAC
│ Error: Failed to install provider
│ Error while installing hashicorp/null v3.2.3: local error: tls: bad record MAC
how the cluster created without iam roles and policies
can anyone explain me
@AbhishekVeeramall can you explain me
🎉
share the git repo link for these codes
You can already see it, its a public repo
Hello Everyone: can someone please share the git repo that have all the interview questions from Abhishek
500th like
❤️❤️❤️
@@AbhishekVeeramalla just wanted to know... Some of the other youtubers also install kubectl. Why do we don't need kubectl
Hi Abhishek, Thanks for the content , I am trying to create EKS from my MAC , however i got the error while creating IAM role . "Error: creating IAM Role (abhi-eks-KO3ZcdNC-cluster-20240328121001909300000001): adding inline policy (abhi-eks-KO3ZcdNC-cluster): AccessDenied:"
same error .. sir
Error loading resources
nodes is forbidden: User "arn:aws:iam::389068271016:root" cannot list resource "nodes" in API group "" at the cluster scope
Thanks Abhishek