Category: Terraform
[vnet/Azure] VNet provisioning via Terraform.
1) VNET – Overview Azure Virtual Network (VNet) là một dịch vụ cơ bản trong Microsoft Azure, cho phép bạn tạo ra một mạng riêng ảo để kết nối và quản lý các tài nguyên như máy ảo (VM), ứng dụng, cơ sở dữ liệu, và các dịch vụ khác trong môi trường đám mây….
EKS Crossplane
Creator: https://github.com/trungvo11 Crossplane is an open-source project in the Cloud Native Computing Foundation (CNCF) that transforms your Kubernetes cluster into a universal control plane. It enables platform teams to assemble infrastructure from multiple vendors and expose higher-level self-service APIs for application teams to consume, without writing any code. Crossplane extends your Kubernetes cluster to support…
[Golang / EKS] Accessing AWS EKS with Go: A Comprehensive Guide to Interacting with Kubernetes APIs
Mình đang câng viết 1 tool golang và sẽ access vào EKS để call tiếp các API của K8S Chúng ta đi sơ qua 1 chút về Đây là kubeconfig mà bạn hay sử dụng để access vào eks cluster. Bạn có thể thấy khi access vào eks cluster thì kubeclt sẽ cần gõ một…
How to aws cli authenticate with AWS
To authenticate with AWS using the AWS Command Line Interface (CLI), you have several methods available, depending on your needs and configuration. Below are the primary methods for authentication: 1. Using IAM User Credentials This is a common method for individuals or applications that need direct access to AWS services. Steps: 2. Using IAM Identity…
[EKS/ S3 Mount Point] Create a Persistent Volume on EKS using an S3 Bucket.
refer to install:https://github.com/awslabs/mountpoint-s3/blob/main/doc/CONFIGURATION.md Mountpoint for Amazon S3 is optimized for applications that need high read throughput to large objects, potentially from many clients at once, and to write new objects sequentially from a single client at a time.==> S3 Mountpoint này sẽ hỗ trợ cho việc ghi file mới và đọc file từ nhiều client…
Read More “[EKS/ S3 Mount Point] Create a Persistent Volume on EKS using an S3 Bucket.” »
[CoreDNS] How to improve the Coredns performance.
NodeLocal DNSCache NodeLocal DNSCache enhances Kubernetes cluster DNS performance by deploying a DNS caching agent on each node as a DaemonSet. This setup allows Pods to query a local DNS cache on the same node, reducing latency and avoiding potential bottlenecks associated with centralized DNS services. PILLAR__DNS__DOMAIN is “cluster.local” by default.PILLAR__LOCAL__DNS is the local listen IP…
Read More “[CoreDNS] How to improve the Coredns performance.” »
[AWS] Filtering Subnets in Different Availability Zones for EFS Mount Targets with Terraform
Bài toán ở đây là client sẽ đưa ra cho chúng ta 1 list subnet. Mục đích của chúng ta là chỉ lựa ra mỗi Zone chúng ta sẽ lấy ra 1 subnet để sử dụng để cài đặt hệ thông: The Solution: Step-by-Step Example 2. Fetch Subnet Information: You want to check the availability…
[AWS] Using FSx Lustre to enhance disk performance for large-scale applications.
1) Understand FSx Lustre to support EKS. Amazon FSx for Lustre is designed for high performance and its throughput and IOPS scale with the storage capacity you provision. This means there aren’t fixed maximums like with EFS. Instead, you get more throughput and IOPS as you increase your storage cũng như EFS, FSx Lustre cũng…
Read More “[AWS] Using FSx Lustre to enhance disk performance for large-scale applications.” »
Monitoring DocumentDB of AWS.
Monitoring capabilities AWS provides: You are responsible for: Instance level monitoring Instance monitoring BufferCacheHitRatio: The percentage of requests that are served by the buffer cache. – When data is requested, AWS DocumentDB first checks if it is available in the buffer cache (in-memory). – If the data is available in the cache, the request is…