Create AWS VPC using Terraform: AWS EKS Kubernetes Tutorial - Part 1
VloĆŸit
- Äas pĆidĂĄn 31. 05. 2024
- đŽ - To support my channel, Iâd like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
đ [Playlist] AWS EKS Kubernetes Tutorial: âą AWS EKS Kubernetes Tut...
1. Create AWS VPC using Terraform
2. Create AWS EKS Cluster using Terraform
3. Add IAM User & IAM Role to AWS EKS
4. Horizontal Pod Autoscaler (HPA) on AWS EKS
5. Cluster Autoscaler Tutorial (EKS Pod Identities)
6. AWS Load Balancer Controller Tutorial (TLS)
7. Nginx Ingress Controller Tutorial (Cert-Manager & TLS)
8. CSI Driver Tutorial (ReadWriteOnce)
9. EFS CSI Driver Tutorial (ReadWriteMany)
10. AWS Secrets Manager Tutorial (Env & Files)
Based on the feedback, Iâll add the following sections (let me know if anything else is missing):
- Autoscaling with Karpenter
- Autoscaling with Keda
- Private Ingress with Private DNS & VPN
- Monitoring with Prometheus
- EKS self managed group
- EKS Fargate
- EKS Pod Identities vs. EKS IRSA (oidc) vs. Node roles
âŹâŹâŹâŹâŹ Experience & Location đŒ âŹâŹâŹâŹâŹ
âș Iâm a Senior Software Engineer at Juniper Networks (12+ years of experience)
âș Located in San Francisco Bay Area, CA (US citizen)
âŹâŹâŹâŹâŹâŹ Connect with me đ âŹâŹâŹâŹâŹâŹ
âș LinkedIn: / anton-putra
âș Twitter/X: / antonvputra
âș GitHub: github.com/antonputra
âș Email: me@antonputra.com
âŹâŹâŹâŹâŹâŹ Related videos đšâđ« âŹâŹâŹâŹâŹâŹ
đ [Playlist] Kubernetes Tutorials: âą Kubernetes Tutorials
đ [Playlist] Terraform Tutorials: âą Terraform Tutorials fo...
đ [Playlist] Network Tutorials: âą Network Tutorials
đ [Playlist] Apache Kafka Tutorials: âą Apache Kafka Tutorials
đ [Playlist] Performance Benchmarks: âą Performance Benchmarks
đ [Playlist] Database Tutorials: âą Database Tutorials
âŹâŹâŹâŹâŹâŹâŹ Timestamps â° âŹâŹâŹâŹâŹâŹâŹ
0:00 Intro
2:29 Create Local Variables
4:47 Create AWS VPC using Terraform
5:26 Create AWS Internet Gateway using Terraform
5:46 Create AWS Private & Public Subnets using Terraform
8:04 Create AWS NAT Gateway using Terraform
8:50 Create Private & Public Route Tables using Terraform
9:36 Associate Route Tables with Subnets
10:31 Apply Terraform
12:03 AWS VPC Overview
âŹâŹâŹâŹâŹâŹâŹ Source Code đ âŹâŹâŹâŹâŹâŹâŹ
âș GitHub: github.com/antonputra/tutoria...
#AWS #EKS #Kubernetes - VÄda a technologie
đŽ - To support my channel, Iâd like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
Looking Forward to connect :)
Part 2 will be released in 2 days. Playlist - czcams.com/play/PLiMWaCMwGJXnKY6XmeifEpjIfkWRo9v2l.html&si=Ku0ay7zUEKgfcVcb
1. Create AWS VPC using Terraform
2. Create AWS EKS Cluster using Terraform
3. Add IAM User & IAM Role to AWS EKS
4. Horizontal Pod Autoscaler (HPA) on AWS EKS
5. Cluster Autoscaler Tutorial (EKS Pod Identities)
6. AWS Load Balancer Controller Tutorial (TLS)
7. Nginx Ingress Controller Tutorial (Cert-Manager & TLS)
8. CSI Driver Tutorial (ReadWriteOnce)
9. EFS CSI Driver Tutorial (ReadWriteMany)
10. AWS Secrets Manager Tutorial (Env & Files)
Based on the feedback, Iâll add the following sections (let me know if anything else is missing):âš
- Autoscaling with Karpenter
- Autoscaling with Keda
- Private Ingress with Private DNS & VPN
- Monitoring with Prometheus
- EKS self managed group
- EKS Fargate
- EKS Pod Identities vs. EKS IRSA (oidc) vs. Node roles
Thanks Anton :)
Would it also be possible to include karpenter?
-> I refactored the code in your karpenter video & could send it to you
p.S: just did the depreciated parts
My work just did this. Can't wait to watch it all.
thanks, next section will be released in 1-2 hrs
Thanks đ
With Love from India đźđł
welcome :)
Get learn with latest version. Thank you sir.
Great start, thanks!
thank you!
Thank you!
đ
Great video, thanks.
What do you think about creating all subnets using the terraform âcountâ property instead of creating each separately ? I mean define 1 resource then it will become 4 subnets
Don't use count, use map instead and for each in terraform. Count is mostly used as feature flag (0 = disable, 1 = enable)
Would like to see Pulumi content in the future
ok will do as well as sdk
Great vid but why not use the community modules?.Is there a specific reason to choose resources over modules?.
This playlist is for someone who wants to learn EKS. If you have a good understanding of EKS and how it works, you can use modules. However, I personally would create my own modules because I don't want to depend on other people's timelines. For example, the open-source eks module still uses the EKS auth configmap for adding new users.
@@AntonPutra exactly, I just noticed this yesterday but in version 20 it seems deprecated and starting 21.0 it will be completely removed.Upgrading these modules once in a while is also challenge but given the benefits I have opted to go with eks module as it has good support and its well maintained
@@zygote846 There is nothing wrong with using modules. As I mentioned, this playlist is for someone who wants to know how EKS works and be able to debug in the future if something breaks.
Thank's for your job. Could you add to the your Playlist the topic about choosing and manage CNI (subnets, CIDR, limitations) for AWS EKS?
Will do, Iâll also include Cilium Service Mesh sidecar less mesh
That would be great Sir
do cover each and every topic of eks
Yes, will do. Can you suggest any additional topics?
If you get chance, could you let me know more about the owned vs shared on the subnet tags please? Or link me to some information.
Many thanks.
sure, owned if it is used only by EKS, shared if you share that subnet with let's say other EKS clusters or VMs
@@AntonPutra That makes sense.
Can you share GitHub repo?
sure, it's always under the video - github.com/antonputra/tutorials/tree/main/lessons/195
I have problem with using terraform with For_each , i used range(var.mincount.var.maxcount) to generate values for creating like 10 instances , if i delete it again run terraform apply the range is calculated and creates a new one.. Even if i give the keys for 10 instances like one,two..ten. it still recreates if i delete a instance and run again. anything to overcome this
Similar issue
@@Kk-rl7nv Hope my man @AntonPutra gives some us answer to this....
Sure, please share runnable terraform example as a github gist that I can run myself and I'll help you