How to Deploy EKS Cluster on AWS Using Terraform ? | Automated Using Jenkins CICD Pipeline

preview_player
Показать описание
Title: Automating EKS Cluster Deployment and Nginx Application Deployment with Terraform and Jenkins CI/CD Pipeline

Description:
Welcome to another exciting tutorial where we delve into the world of cloud infrastructure and DevOps automation! In this video, we'll guide you through the seamless deployment of an EKS (Amazon Elastic Kubernetes Service) cluster on AWS using Terraform. But we won't stop there – we'll also demonstrate how to automate the deployment of an Nginx application onto this EKS cluster, all orchestrated by a Jenkins CI/CD pipeline.

Throughout this tutorial, you'll learn step-by-step how to:

1. Set up your AWS environment for EKS cluster deployment.
2. Utilize Terraform to define infrastructure as code, configuring the EKS cluster effortlessly.
3. Automate the deployment of an Nginx application onto the EKS cluster using Kubernetes manifests.
4. Configure Jenkins CI/CD pipeline to automate the entire process, from code commit to deployment.

By the end of this video, you'll have a clear understanding of how to leverage Terraform, Kubernetes, and Jenkins to automate the deployment of EKS clusters and applications, streamlining your DevOps workflows and increasing efficiency.

Don't forget to like, share, and subscribe for more insightful tutorials on cloud computing, DevOps practices, and automation strategies. Also, feel free to connect with me on LinkedIn, Twitter, or drop me an email if you have any questions or suggestions for future content.

Stay tuned, and let's master DevOps together!
Рекомендации по теме
Комментарии
Автор

Great job buddy.
Keep doing it..!! Have a great career ahead..!!

dsgbqwc
Автор

Great 👍 @DevOpsMaster
Keep it up..!!

Niruukumar
Автор

You are a Gem! This video is savior for many .

balumahindara
Автор

I was always stuck on the last stage of deploying the nginx because of the error of API server. Thank a lot for the video you have gained yourself a subscriber

KayDeeSibbs
Автор

Nice explanation.thank you for the project

praveenkumar
Автор

Great Job Buddy
please do more on ci/cd pipeline automation

yashwanthyash
Автор

Hi bro, Nice explanation, Its very useful topic, upload more videos

praveenkumarnavati
Автор

Amazing content, just can you explain more in detail how you managed to deploy nginx and what was the problem?

ayushhajela
Автор

Hey Bro your explanation was good something was missing so please explain clearly, less explanation but hands on was very clear, next time explain clearly bro, Really thank you very much it will help to us.

somarajukottu
Автор

Nice one. Do we have to run this pipeline again and again if we want to make some changes like a diff version of the pod image or so, or create a separate pipeline that will deploy only the changes in the same eks cluster or the eks cluster will recreate using your pipeline and redeploy everything. What will be downtown in that case?

travelwithdiva
Автор

Thank you very much for the explanation. The last stage of deploying the nginx is not working. The commit does not have your latest kubernetes.tf and main.tf files. Can you please update the commit?

robmah
Автор

Please update the GitHub repo with all the files you added and changed at last

NavneetSingh-zphm
Автор

Hai...thanks for u r valuable information..in ec2 module code i have given key paire name but .it is looking for key ..where should I keep key pair..

vinayk-ilgv
Автор

Please do video on devops zero to Hero

chandrasekhar
Автор

Hey @DevOpsMaster: content is awesome but it will be very helpful if you suggest few things:

1: How we can take reference of custom vpc to provision EKS on that which I already created like if we want to provision EKS in same jenkins-vpc which you created i.e if do not want to create another vpc for EKS separate.

2: If we provisioned EKS in same PVC then suppose if we have already created more than 1 EKS and more than 2 Ec2 whether its created via terraform or manually will be any impact.

3: if we try self to provision EKS cluster in free account for testing with 2 to 3 nodes suppose t2.medium each than can you suggest how much the cost will be to provision EKS in our account for 5 to 6 hours.

accountfortesting
Автор

@DevOpsMaster why jenkins server and eks cluster are in different vpc? What happens if we create in same vpc? Thanks

raviteja-oewt
Автор

hi bro when i was trigger the jenkins job I am facing this error + kubectl apply -f deployment.yml
error: You must be logged in to the server (the server has asked for the client to provide credentials)
and One more thing I was watched same vedio and same --> Guri madam explination

oxtliez
Автор

I believe most of the terraform configurations you did in the first 10mins were things that you can do on the AWS User interface right ?

brostlefc
Автор

In my AWS EC2 instance type there no t2.medium Sir, It start from t3 there is no any t2 types, , please sir I need you Help

kavindugunasekara
Автор

Hello,
It is a really nice CICD pipeline.
but got some error's in deployment.yml file and EKS -> data.tf file.
In the deployment.yml -> template not templates.
In the data.tf ->
data "aws_eks_cluster" "cluster" {
name = module.eks.cluster_id
}
#it's throwing error required name argument
So i have used below data. It's working
data "aws_eks_cluster_auth" "cluster" {
name = module.eks.cluster_name
depends_on = [
module.eks
]
}
Please check your side also, and is issue is with myside only or comman issue.

KishanRampure