Gen SSH key https://superuser.com/questions/1004254/how-can-i-change-the-directory-that-ssh-keygen-outputs-to Show top memory consumers in human-readable format
You can use the describe-fast-launch-images command in the AWS CLI, or the Get-EC2FastLaunchImage Tools for Windows PowerShell cmdlet to get details for Windows AMIs that have faster launching enabled.
Nguồn: https://vntechies.dev/blog/cloud/10-vs-code-extensions-cho-cloud-engineers?fbclid=IwAR1JzP0h5jupf6ERbCpJ1V_0SNzTZVojIjYi3DvUFJ4MevTAAPV6-W-7KOY#%C4%91%E1%BB%81-c%E1%BB%AD-danh-d%E1%BB%B1 Với Cloud/DevOps engineer, viết code + scripting có thể là một trong những việc mà chúng ta cần phải làm thường xuyên. Với cá nhân mình thì VSCode là lựa chọn hàng đầu cho công việc hàng ngày vì sự tiện dụng của nó, cho dù thi thoảng vẫn sử dụng NeoVim cho…
1) Public a module terraform https://developer.hashicorp.com/terraform/registry/modules/publish#requirements Bạn cần tạo 1 repo github public nhé Cách đặt tên như sau:Named terraform-<PROVIDER>-<NAME>ví dụ như là: terraform-google-vault or terraform-aws-ec2-instance Mính đã tạo: https://github.com/mrnim94/terraform-aws-eks-ebs-csi Bạn cần tạo release để terraform sẽ thấy được tag của release đó Dưới đây là module của mìnhmrnim94/eks-ebs-csi/aws | Terraform Registry Trong 1 folder của terraform bình…
1) Overview 2) Demo 2.1) Create EKS cluster Bạn sẽ cần tạo EKS clusterhttps://github.com/mrnim94/terraform-aws/tree/master/eks/AWS-EKS-Cluster-Basics 2.2) EBS-CSI and Install Kubernetes Storage Bược này chúng ta sẽ EBS CSI Đầu tiên chúng ta có file: c4-01-ebs-csi-datasources.tf Bạn có thể khám phá file này.https://raw.githubusercontent.com/kubernetes-sigs/aws-ebs-csi-driver/master/docs/example-iam-policy.json File trên là policy để add và ec2 tương tác với storage. Bước tiếp…
Chúng ta cũng đã biết cách tạo ingress trên eks là như thế nào.Nhưng giờ chúng ta cần add thêm SSL vào trong ingress của Load Balancer Controller 1) Overview 2) Demo 2.1) Prepare system 2.1.1) Install eks cluster Đầu tiên bạn cần dựng được 1 eks cluster:https://github.com/mrnim94/terraform-aws/tree/master/eks/AWS-EKS-Cluster-Basicsvà đầu là 1 bài viết về dụng…
Subnet bị hết IP cấp cho pod The maximum number of IP addresses that you can assign to a network interface depends on the instance type. Each prefix that you assign to a network interface counts as one IP address. For example, a c5.large instance has a limit of 10 IPv4 addresses per network interface. Each network interface for…
Phần này thì mình sẽ hướng dẫn cách setup một hệ thống VPN tại gia. 1) Install OpenVPN Server Hiện tại mình cài đặt trên ubuntu. Chạy script Setup OpenVPN server. Đoạn này cũng có tạo user mà mình quên chụp òi.Không sao đi xuống bược tiếp theo 2) OpenVPN Client 2.1) Create OpenVPN Client….