We run a hands-on demo AWS EKS Logs with EC2 Data Plan Logging.
👉🏼 Video content file: https://gitlab.com/LianDuanTrainingGr...
👉🏼 YAML files: https://gitlab.com/LianDuanTrainingGr...
🧡 Subscribe to show your support! https://bit.ly/3hrhOmW
Video Related Commands:
🌕 Create an EKS cluster using Terraform:
terraform init
terraform apply
🌕 Create logging-demo namespace
kubectl apply -f namespace.yaml
🌕 Deploy an App: The app will generate logs without any input.
kubectl apply -f app/demo-app-config-dep.yaml
kubectl get svc log-generator-jmx-exporter-service -n logging-demo
🌕 Deploy Fluent Bit as DaemonSet: Kubernetes will keep one Fluent Bit running on each EC2 node.
kubectl apply -f fluent/fluent-bit.yaml
🌕 Links the Fluent Bit K8s service account to an IAM role, make user Fluent Bit are able to access EC2 node log.
aws iam get-role --role-name eks-demo-ec2-node-group-role-01
kubectl annotate serviceaccounts fluent-bit -n logging-demo "eks.amazonaws.com/role-arn={your RAN}:role/eks-demo-ec2-node-group-role-01"
🌕 Update Control Plane Log Group Retention
aws logs put-retention-policy --log-group-name /aws/eks/eks-demo-cluster-01/cluster --retention-in-days 7
🌕 Destroys all the resources provisioned by Terraform
terraform destroy
⏰ T I M E S T A M P S ⏰
00:00 Start
01:00 EKS EC2 Data Plan Logging Architecture
02:47 Why Use Log?
03:23 Reduce Logging Cost
04:02 Hands-on Demo Prerequisites
04:36 Overview Hands-on Demo
04:02 Hands-on Demo Prerequisites
04:02 Create DaemonSet Fluent Bit - IAM Policy
06:02 Create Fluent Bit DaemonSet
06:39 Hands-on Demo
12:00 Summary
------------------------------------------------------------------------------------
Easy Connect:
🏢 https://bit.ly/3tN3DeI
🐦 https://bit.ly/3LF2q1Z
On this page of the site you can watch the video online AWS EKS Logs | EC2 Data Plan Logging | AWS EKS Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Lian 18 July 2024, share the link with friends and acquaintances, this video has already been watched 60 times on youtube and it was liked by 2 viewers. Enjoy your viewing!