DevOps Real-time Project #1- Deploy AKS Cluster in Azure With Terraform

preview_player
Показать описание
DevOps Real-time Project #1- Deploy AKS Cluster in Azure With Terraform
In this video, you will learn how to Deploy AKS Cluster in Azure With Terraform. I will show you the correct way of infrastructure provisioning using Azure Service Principal and Azure Key Vault secrets. If you are new to terraform then also this video will cover the basics such as Terraform hierarchy, modules, custom modules, input and output variables, resource groups, and finally AKS cluster.

In this 38 minutes video, I have tried to cover the maximum topics and used the best practices for infrastructure provisioning.

🎯Below topics covered in this video:
- Introduction
- How to create a resource group in Terraform
- How to initialize variables in Terraform
- How to create custom modules in Terraform
- How to use output variables in Terraform
- Terraform custom module to create a Service Principal in Azure
- Terraform custom module to create a key vault in Azure
- Terraform custom module to create AKS Clutser in Azure
- Deploy AKS Cluster using Terraform
- Destroy the infrastructure

📌GitHub repository for the code:

𝗖𝗢𝗠𝗣𝗟𝗘𝗧𝗘 𝗧𝗨𝗧𝗢𝗥𝗜𝗔𝗟 𝗦𝗘𝗥𝗜𝗘𝗦 👌 It’s 🅵🆁🅴🅴 ⛳
Namaste Google Cloud | GCP Tutorial for beginners, a complete playlist for Associate Cloud Engineer Certification Exam:

DevOps Tutorial for Beginners

AWS tutorial for beginners

Azure Data fundamentals DP 900 full course

Jenkins Tutorial for Beginners

DevOps and Cloud Podcasts:

Subscribe to our channel to get notified about the latest videos.

Connect with me 👋
🌎LINKEDIN: ►
🐦TWITTER: ►

Join our learning communities 👋

References 📚:

#terraform #aks #azure #azuretutorials #devops #devopstutorialsforbeginners #devopstutorial #techtutorialswithpiyush

References
Deploy AKS Cluster in Azure With Terraform
Deploy AKS Cluster
Create AKS cluster
Deploy AKS Cluster in Azure
Create AKS Cluster in Azure using Terraform
Terraform Azure real time project
Azure real time project
Azure terraform project
Create Azure resources using Terraform
Terraform Azure AKS
Custom modules in Azure
Create service principal in Azure using terraform
aks terraform tutorial
aks azure terraform
Рекомендации по теме
Комментарии
Автор

Great Video !!! Got to learn creation of AKS cluster using Terraform. Thanks Piyush for excellent content. Very Nice and Clear Explanation.

akash
Автор

Hi Piyush, this video is really good...and can you create these type of videos more and more which help people who are good at azure basics to learn some
advanced stuff

suryatejachatrathi
Автор

Thanks great job, Was this created in the default Vnet?

wiz__obi
Автор

Hi, I was successful in implementing this cluster, its well versed and good hands on video, just need to ask you when i created my cluster, my network policy is showing none, but we defined azure in tf, what could be issue?, secondly how to enable private cluster?

AMMARSUHAIL-hmxt
Автор

Hi Piyush very helpful video, are you provide trainee ?

AtulSingh-lrbf
Автор

Good session and very understandable mate! thank U!

ranjithdhilip
Автор

Great session, really help full. Thanks a lot

sadiqkavumpurath
Автор

Hi Piyush

I’m actually trying to execute your code from azure devops pipeline and right after executing your code, can we deploy things into AKS without creating any service principle manually from azure devops ?

Prashanth_
Автор

I am trying to it but at 7.14 when I hit the tf plan cmd its not showing the resource add =1 just giving "Terraform has compared your real
infrastructure against your
configuration and found no differences,
so no changes are needed".... this output what to do ?

akshu
Автор

Hi Piyush, Thanks for your efforts. This really helped me to clear my doubts. I am little bit confused on 27:08 --> how i can figure it out that we need to add these lines? service_principal_name = var.service_principal_name
service_principal_object_id =
service_principal_tenant_id =

rudrasingh
Автор

Thanks for the video, I have one doubt how you have contacted with your Azure Portal as you have not verified your azure credentials with Terraform,
I means how your configuration files contacting to your Azure Accout?

sonikashyap
Автор

Hi Piyush... I'm trying to create spn, but it throws error
Error: Unsupported argument

│ on main.tf line 24, in module "ServicePrincipal":
│ 24: service_principal_name = var.service_principal_name

│ An argument named "service_principal_name" is not expected here.

dinudinu
Автор

Thanks! your video helped me a lot. Keep up the good work 😄😄

mohamed_faris_
Автор

vm_size = "Standard_D2_v2", is not for free credit?

riadhossainbhuiyan
Автор

I have created the role for service principle but not appearing in azure portal. Deployed through terraform

jayakishore
Автор

Hello Piyush, could you also please help to tell me how to use ssh key 35:15 .. How and where can I do this set up for aks

rudrasingh
Автор

what is the permission needed in azure account to create service principle using terraform?

ranjithdhilip
Автор

brother. I think there was an error in ServicePrincipal/main.tf and ServicePrincipal/output.tf. There are undefined values in the resources. For example, "application_id" is not defined in the "azuread_application.main" resource. For example, the "display_name" value is defined in "azuread_application.main", but in your case it is written as I watched the video by typing it. Can I have the last files you ran? I can update the content myself. Do you have a repo? Can you send the repo address?

ahmetaksoy
Автор

Hey, is there anyway to sum up all the resources into one resource group rather than having a second one get created.

arnavranjan
Автор

Hi, I want to create a windows nodepool with windows 2019 node image version, how to create it using terraform

PallaviTN-pi