EC2 User Data | AWS | EC2
4:22
Пікірлер
@villaran92
@villaran92 20 сағат бұрын
Thank you so much!
@TechwithLian
@TechwithLian Күн бұрын
The K3s v1.30.8+k3s1 means the k3s distribution is based on Kubernetes version 1.30.8 with k3s-specific customizations, and it is the first release of this k3s version.
@TechwithLian
@TechwithLian 2 күн бұрын
" Commands Used in the Video: Install K3s Server: curl -sfL get.k3s.io | INSTALL_K3S_VERSION="v1.30.8+k3s1" sh - Verify Installation: sudo kubectl get nodes Retrieve Node Token: sudo cat /var/lib/rancher/k3s/server/node-token Install K3s Agent: curl -sfL get.k3s.io | INSTALL_K3S_VERSION="v1.27.4+k3s1" INSTALL_K3S_EXEC="agent --server <server-ip>:6443 --token <token>" sh - "
@kazishafinulhaque1198
@kazishafinulhaque1198 2 күн бұрын
thank you for the tutorial
@TechwithLian
@TechwithLian 2 күн бұрын
You're welcome! I'm so glad you found it helpful 😊
@issamelimrany
@issamelimrany 6 күн бұрын
Thank you, so helpful !
@TechwithLian
@TechwithLian 6 күн бұрын
You're welcome! I'm so glad you found it helpful 😊
@khemnathChauhan
@khemnathChauhan 7 күн бұрын
Great video🎉
@TechwithLian
@TechwithLian 6 күн бұрын
Thank YOU for watching and supporting the channel!
@TechwithLian
@TechwithLian 14 күн бұрын
Creating an AWS EKS cluster with Fargate using Terraform is easy and straightforward. kzbin.info/www/bejne/pXynYaaFqLx8bK8
@TechwithLian
@TechwithLian 16 күн бұрын
Commands for Web Server Setup: sudo yum install -y httpd sudo systemctl start httpd echo "<html><h1>Hello World!</h1></html>" | sudo tee /var/www/html/index.html
@TechwithLian
@TechwithLian 16 күн бұрын
Key Points: - Objective: Create and configure an AWS EC2 instance with a web server. - Prerequisites: AWS free-tier account, AdminAccess policy. Steps: 1. Launch EC2 from the AWS Console. 2.Use Amazon Linux 2023 AMI and t2.micro instance type. 3.Set up a key pair, public IP, and security group (allow SSH and HTTP). 4.Configure 8 GiB storage (default settings). 5.Web Server Setup: Install Apache, enable it, and create a simple HTML page. 6.Cleanup: Delete resources to avoid charges.
@TechwithLian
@TechwithLian 16 күн бұрын
Timestamps: 01:27 Setting up a VPC. 04:46 Creating IAM roles for EKS cluster. 03:57 Launching an private EKS cluster. 10:20 Configuring EC2 Node Group. 10:56 Setting up a jump box to access the cluster. 14:24 Delete the AWS resources after the demo.
@kvs7720
@kvs7720 23 күн бұрын
nice video Tq@ Lian
@Codeopath
@Codeopath 27 күн бұрын
nice sir @TechwithLian 👍
@TechwithLian
@TechwithLian Ай бұрын
Demo User Data #!/bin/bash apt-get update -y apt-get install -y unzip curl "awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip ./aws/install curl -LO "dl.k8s.io/release/v1.31.0/bin/linux/amd64/kubectl" install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl aws --version kubectl version --client
@flapitswings
@flapitswings Ай бұрын
thank you, short and informative
@alexisthedev
@alexisthedev Ай бұрын
Great tutorial, thank you!!!
@hoanganhle7389
@hoanganhle7389 Ай бұрын
Man you save my life
@TechwithLian
@TechwithLian 2 ай бұрын
PPT Download Link: gitlab.com/LianDuanTrainingGroup/awsec2/-/blob/main/1-3%20AWS%20EC2%20Tunnel/1-3%20AWS%20EC2%20Tunnel.pdf?ref_type=heads Demo Code Download Link: gitlab.com/LianDuanTrainingGroup/awsec2/-/blob/main/1-3%20AWS%20EC2%20Tunnel/main.tf?ref_type=heads
@matteyamar
@matteyamar 2 ай бұрын
I have been trying some other instructions from LLMs and google/medium topics I keep getting stuck at kibana not installing properly, I followed this video and was able to get the setup in first try, thanks Lian for such a great help
@sachinpujeri5669
@sachinpujeri5669 3 ай бұрын
So our team is using a cluster which has been provisioned by the infra team and karpenter configs have been set on that already. Now i was playing around with HPA and every time the node spins up to accomodate new traffic the response time of the API's goes down as it's spinning up the new nodes and consuming CPU. So as the response time drops it will not be useful for me here in production cause API's are mission critical, what are your insights on this? Any feedback?
@TechwithLian
@TechwithLian 3 ай бұрын
Please try two items: Optimize Auto-scaling Timing: - Tune the scaling thresholds and policies for HPA. By adjusting the CPU or memory utilization thresholds and increasing the cool-down period, you can trigger scaling actions earlier to prevent response degradation. Pod Over-provisioning: - Increase the number of idle pods or over-provision pods in advance during known peak traffic periods.
@TechwithLian
@TechwithLian 3 ай бұрын
AWS has introduced a new user interface, so I've created an updated version of this video to reflect the changes. If you're using the new AWS UI, please check out the latest video here: [How to Quickly Check AWS Free Tier Account Expiry Date? | 2024](kzbin.info/www/bejne/aWSciGqAmaiYhdE).
@adprofessional
@adprofessional 3 ай бұрын
date option not available anymore
@TechwithLian
@TechwithLian 3 ай бұрын
Let me check and back to you.
@TechwithLian
@TechwithLian 3 ай бұрын
Go to Billing and Cost Management=>Bills
@project_mini_hero
@project_mini_hero 3 ай бұрын
Thank you for taking the time to create this video. 👍
@ShreeshBhardwaj-c6y
@ShreeshBhardwaj-c6y 3 ай бұрын
Thank you for this helpful video sir. Although, if I have to use this same concept in AWS ECS, how can I use it? Is there any other way to enable graceful shutdown in ECS clusters during scale in events? Thank you.
@PremDevara
@PremDevara 3 ай бұрын
Thank you Lian, this was very helpful!
@TechwithLian
@TechwithLian 4 ай бұрын
Today's hands-on demo will guide us through the steps of sharing a private Project on GitLib.
@DannaHall
@DannaHall 4 ай бұрын
Hey, your video quality is very good but you are not getting views for some reasons, I researched your channel for analysis, but your channel and video's title are not SEO friendly which is the important matter. I marked out your some channel issues that's why your videos are not going on top and you are not getting more views that you deserve. thank you.🍟🌹
@leiwang07
@leiwang07 4 ай бұрын
that is smart man. Apparently AWS makes it difficult on purpose.
@nuktu
@nuktu 4 ай бұрын
Good video. To the point, simple and you didn't forget deleting resources.
@TechwithLian
@TechwithLian 4 ай бұрын
Thank you
4 ай бұрын
Amazing! Thank you!!!!
@Anurag-o-g2h
@Anurag-o-g2h 5 ай бұрын
Hey, A lively video🙌! I'm not really sure if it is the best time to ask but, I was wondering if I could help you create a better distribution by working on post-production like better storytelling through Edits, Keywords, think catchy intros and outros, or even some engaging short clips! Would love to chat if you're interested and keep creating good content:)
@patel5532
@patel5532 5 ай бұрын
Actually, If I've some other Build_Dockerfile image which is building and packaging my app. How can I run this docker image in my Gitlab CI pipeline?
@TechwithLian
@TechwithLian 5 ай бұрын
Yes
@themazpa
@themazpa 5 ай бұрын
Thanksssssssssss!
@navinkumar6388
@navinkumar6388 6 ай бұрын
Thanks 👍 With Love from India 🇮🇳
@никитабарашкин-р4й
@никитабарашкин-р4й 7 ай бұрын
perfect job. thanks a lot
@jayasuriyap8748
@jayasuriyap8748 7 ай бұрын
Please post an video how to monitor AWS eks cluster with Prometheus and grafana.And what are the alerts needs to configure.Pod level metrics,node level metrics like this.
@TechwithLian
@TechwithLian 7 ай бұрын
Thanks, I'll add it to my todo list.
@jmms81
@jmms81 7 ай бұрын
Thank you, very useful. Cheers
@agatamarozas9860
@agatamarozas9860 7 ай бұрын
Nice video, thanks for explaining :)
@martymaker
@martymaker 7 ай бұрын
Lian, thank you so much for this video. It helped me a lot! All the best!
@mdnahidseo
@mdnahidseo 7 ай бұрын
U need a professional KZbin thumbnail designer and video SEO expert?
@ranjanadeore2957
@ranjanadeore2957 7 ай бұрын
Hello sir i have one doubt I am getting the following issue in security scan Issue: Use PIDs cgroup limit could please suggest how to resolve this issue. Thanks
@TechwithLian
@TechwithLian 7 ай бұрын
try increase "Process ID Limits And Reservations" FYI: kubernetes.io/docs/concepts/policy/pid-limiting/
@TechwithLian
@TechwithLian 7 ай бұрын
🌟 Check out this informative blog post on Kubernetes Horizontal Pod Autoscaler (HPA) on Medium! 🌟 If you're interested in learning more about Kubernetes and how to efficiently manage your pods with the Horizontal Pod Autoscaler (HPA), this blog is a must-read. It covers everything from the basics of Kubernetes autoscaling to hands-on demos using Minikube. medium.com/p/f08dc7af1558 Let me know what you think after reading it! 😊🚀
@TechwithLian
@TechwithLian 7 ай бұрын
01:30 Overview of K8s Autoscalers 03:30 Horizontal Pod Autoscaler 04:11 Hands-on Demos Prerequisites 06:26 Hands-on Demos Deploy Nginx Pod/Service 08:24 Hands-on Demos - Create Sample HPA 11:30 Hands-on Demos - Create HPA with Behavior
@kieutrinhongnguyen2643
@kieutrinhongnguyen2643 7 ай бұрын
the video is edited carefully, and the content is helpful. Thanks
@TechwithLian
@TechwithLian 7 ай бұрын
Thank you so much for your kind words, kieutrinhongnguyen2643! I'm thrilled to hear that you found the video both carefully edited and helpful. Your support means a lot to me. If you enjoyed this video, feel free to check out my other content and share it with anyone who might benefit from it. I'd love to know what specific part you found most helpful or if you have any suggestions for future videos. Thanks again for watching!
@kaltube4817
@kaltube4817 8 ай бұрын
Well Done
@TechwithLian
@TechwithLian 8 ай бұрын
If you have any questions or run into any issues, feel free to leave a comment below, and I'll do my best to assist you. 00:38 What is K8s Autoscaler 01:29 Overview of K8s Autoscalers 03:06 HPA - Horizontal Pod Autoscaler 04:05 Cluster Autoscaler 04:58 Karpenter
@raupe9213
@raupe9213 8 ай бұрын
Great video. Was struggling with global variables in subcharts, explanation here is very helpful. kzbin.info/www/bejne/q2e7i4duft6HqdE you call the parameter "dirty-run" when it actually is just a dry run en.wikipedia.org/wiki/Dry_run_(testing).
@TechwithLian
@TechwithLian 8 ай бұрын
Thanks for the feedback! I'm glad you found the explanation helpful. Regarding the terminology mix-up, you're absolutely right. In the video, the parameter was referred to as "dirty-run" when it should have been called a "dry run." Thanks for catching that and for pointing it out with the helpful Wikipedia link. It's important to use accurate terminology, especially in technical discussions.
@djsadsa2933
@djsadsa2933 8 ай бұрын
omg omg love your video and graphic haha thanks!!!
@ShabuThomas-ce6bi
@ShabuThomas-ce6bi 8 ай бұрын
This not what you put in the title. You have not explained anything about how to trigger pipeline on merging the request. You just explained about how to trigger pipeline on creating a merge request.
@TechwithLian
@TechwithLian 8 ай бұрын
You're absolutely right; the explanation in the title did not fully cover triggering the pipeline upon merging the merge request. We apologize for any confusion this may have caused. To address this concern, we've updated the workflow rules to include a condition that triggers the pipeline upon merging the merge request. Now, the pipeline will run not only when the merge request is created but also when it is merged into the target branch. workflow: rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_APPROVED == "true"
@TechwithLian
@TechwithLian 8 ай бұрын
If you use Mac, please see Install Minikube on Mac (kzbin.info/www/bejne/qXSzlJesiMtnhNk)
@TechwithLian
@TechwithLian 8 ай бұрын
If you use Mac, please see Install Minikube on Mac (kzbin.info/www/bejne/qXSzlJesiMtnhNk)