AWS ECS & EKS — Thuật Ngữ Container & Kubernetes Bằng Tiếng Anh
Container đã thay đổi cách chúng ta deploy ứng dụng, và AWS cung cấp hai dịch vụ chính: ECS (Elastic Container Service) và EKS (Elastic Kubernetes Service). Dù bạn dùng dịch vụ nào, những thuật ngữ tiếng Anh dưới đây sẽ xuất hiện liên tục trong docs, meetings và Slack channels. 📚 Bảng Từ Vựng 🔹 ECS — Elastic Container Service English IPA Tiếng Việt Example cluster /ˈklʌstər/ cụm (nhóm máy chạy container) We created a new ECS cluster for the staging environment. task definition /tæsk ˌdefɪˈnɪʃən/ định nghĩa tác vụ (blueprint cho container) The task definition specifies the Docker image, CPU, memory, and port mappings. service /ˈsɜːrvɪs/ dịch vụ (quản lý số lượng task chạy) The ECS service ensures that exactly 3 replicas of the API container are always running. container instance /kənˈteɪnər ˈɪnstəns/ máy chủ chạy container (EC2 trong cluster) We need to add more container instances to handle the traffic spike. Fargate /ˈfɑːrɡeɪt/ serverless container (không quản lý EC2) Switch to Fargate so you don’t have to manage the underlying EC2 instances. sidecar /ˈsaɪdkɑːr/ container phụ (chạy cùng container chính) We added a logging sidecar container that ships logs to CloudWatch. 🔹 EKS — Elastic Kubernetes Service English IPA Tiếng Việt Example pod /pɑːd/ pod (đơn vị nhỏ nhất trong K8s) Each pod runs one main container plus an optional sidecar for monitoring. deployment /dɪˈplɔɪmənt/ triển khai (quản lý replicas của pod) Update the deployment manifest to roll out the new image version. namespace /ˈneɪmspeɪs/ không gian tên (phân tách logic trong cluster) We use separate namespaces for dev, staging, and production workloads. ingress /ˈɪnɡres/ điểm vào (quản lý traffic từ ngoài vào cluster) Configure the ingress resource to route traffic from the domain to the correct service. Helm chart /helm tʃɑːrt/ gói cài đặt Helm (package K8s manifests) Install Redis using the official Helm chart instead of writing manifests from scratch. node group /noʊd ɡruːp/ nhóm node (tập EC2 instances cho EKS) Scale up the node group to add more compute capacity to the Kubernetes cluster. 💡 Mẹo Ghi Nhớ ECS vs EKS: ECS là “nhà” của AWS (dễ dùng, ít config), EKS là “nhà” của Kubernetes (linh hoạt, chuẩn open-source). Task definition (ECS) ≈ Pod spec (EKS). Fargate = “tôi không muốn quản lý server”: Dùng Fargate khi bạn muốn chỉ lo code, không lo EC2. Đổi lại, chi phí cao hơn một chút. Sidecar pattern: Hình dung xe máy có thùng bên hông — container chính là xe, sidecar là thùng phụ chạy cùng (logging, proxy, monitoring). 📝 Bài Tập Điền từ thích hợp vào chỗ trống: ...