Bỏ qua tới nội dung
CloudDojo
Tra cứu

Thuật ngữ AWS

177 thuật ngữ dùng trong các bài học, định nghĩa theo tài liệu AWS. Mỗi thuật ngữ dẫn tới bài học phân tích chi tiết và trang tài liệu gốc.

Lớp 0Layer 0 Nền tảngFoundations 11 thuật ngữ

AWS Global Infrastructure: Region, AZ và edge locationAWS Global Infrastructure: Regions, AZs and edge locations

11 Học bài này →

Region

Một khu vực địa lý riêng biệt trong hạ tầng toàn cầu của AWS. Mỗi Region được thiết kế tách biệt hoàn toàn với các Region khác để đạt khả năng chịu lỗi và độ ổn định cao nhất; tài nguyên không được tự động sao chép giữa các Region.A separate geographic area in the AWS global infrastructure. Each Region is designed to be isolated from the other Regions to achieve the greatest possible fault tolerance and stability; resources are not replicated across Regions automatically.

Mục đíchPurposeĐặt hệ thống gần người dùng; các Region tách biệt nhau nên sự cố ở Region này không lan sang Region khác.Places a system close to its users; Regions are isolated, so a failure in one does not spread to another.

Ở MFTECH: MFTECH chạy hệ thống chính ở Region Singapore (ap-southeast-1), gần phần lớn khách hàng.MFTECH runs its main system in the Singapore Region (ap-southeast-1), close to most of its customers.

Availability Zone (AZ)

Một hoặc nhiều data center riêng biệt, có nguồn điện, hệ thống mạng và kết nối dự phòng, nằm trong một Region. Các AZ trong cùng Region được nối với nhau bằng mạng độ trễ thấp, thông lượng cao; chạy ứng dụng trên nhiều AZ giúp ứng dụng chịu được sự cố của một AZ.One or more discrete data centers with redundant power, networking and connectivity in a Region. AZs in a Region are connected with low-latency, high-throughput networking; running an application in several AZs lets it withstand the failure of one AZ.

Mục đíchPurposeChạy ứng dụng ở từ hai AZ trở lên để một AZ gặp sự cố thì AZ còn lại vẫn phục vụ.Runs an application in two or more AZs so that if one AZ fails, the other keeps serving.

Ở MFTECH: Web server của MFTECH chạy ở hai AZ; khi một AZ gặp sự cố, AZ còn lại tiếp tục phục vụ.MFTECH's web servers run in two AZs; if one AZ fails, the other keeps serving.

Edge location

Điểm hiện diện (point of presence) của AWS đặt tại nhiều thành phố trên thế giới, số lượng lớn hơn nhiều so với số Region. CloudFront dùng edge location để cache và phân phối nội dung; Global Accelerator dùng chúng để đưa traffic vào mạng toàn cầu của AWS.An AWS point of presence in many cities around the world, far more numerous than Regions. CloudFront uses edge locations to cache and deliver content; Global Accelerator uses them to bring traffic onto the AWS global network.

Mục đíchPurposeĐưa nội dung và điểm vào mạng AWS tới gần người dùng; edge location nhiều hơn Region rất nhiều.Brings content and the entry to the AWS network close to users; there are far more edge locations than Regions.

Ở MFTECH: Ảnh sản phẩm được cache tại edge location gần khách nên tải nhanh hơn.Product images are cached at edge locations near customers, so they load faster.

Latency

Độ trễ: thời gian từ lúc gửi request tới lúc nhận phản hồi, thường đo bằng mili giây. Khoảng cách địa lý giữa người dùng và tài nguyên là yếu tố chính quyết định độ trễ mạng.The time between sending a request and receiving the response, usually measured in milliseconds. Geographic distance between users and resources is the main factor in network latency.

Mục đíchPurposeĐo thời gian chờ phản hồi; phần lớn đến từ khoảng cách địa lý, nên đặt hệ thống hoặc cache gần người dùng.Measures the wait for a response; most of it comes from distance, so put the system or a cache near users.

Ở MFTECH: Khách ở châu Âu truy cập máy chủ tại Singapore có độ trễ cao hơn khách ở Việt Nam.Customers in Europe see higher latency to servers in Singapore than customers in Vietnam.

High availability

Tính sẵn sàng cao: khả năng workload tiếp tục thực hiện đúng chức năng khi một thành phần gặp sự cố, thường đạt được bằng cách loại bỏ điểm lỗi đơn lẻ và phân bổ tài nguyên trên nhiều AZ.The ability of a workload to keep performing its function when a component fails, usually achieved by removing single points of failure and spreading resources across Availability Zones.

Mục đíchPurposeBỏ điểm lỗi đơn lẻ: thành phần nào hỏng thì bản sao ở AZ khác tiếp tục phục vụ.Removes single points of failure: when a component fails, its copy in another AZ keeps serving.

Ở MFTECH: MFTECH đặt máy chủ ở hai AZ sau một load balancer để website tiếp tục hoạt động khi một AZ gặp sự cố.MFTECH runs servers in two AZs behind a load balancer so the website stays up when one AZ fails.

Fault tolerance

Khả năng chịu lỗi: hệ thống vẫn hoạt động đúng và đủ công suất khi một hoặc nhiều thành phần bị hỏng, không cần can thiệp thủ công.The ability of a system to keep operating correctly and at full capacity when one or more components fail, without manual intervention.

Mục đíchPurposeGiữ đủ công suất ngay cả khi một phần hỏng, không cần can thiệp; tốn hơn vì luôn chạy dư.Keeps full capacity even when parts fail, with no manual action; costs more because spare capacity always runs.

Ở MFTECH: Để luôn có 4 máy chủ kể cả khi mất một AZ, MFTECH chạy 6 máy chủ trên 3 AZ.To always have 4 servers even after losing an AZ, MFTECH runs 6 servers across 3 AZs.

Managed service

Dịch vụ trong đó AWS đảm nhận các tác vụ vận hành hạ tầng như cấp phát phần cứng, cài đặt, vá lỗi, sao lưu và mở rộng; khách hàng chỉ cấu hình và sử dụng dịch vụ.A service where AWS handles infrastructure operations such as hardware provisioning, setup, patching, backups and scaling; the customer only configures and uses the service.

Mục đíchPurposeĐể AWS vận hành hạ tầng; bạn chỉ cấu hình và sử dụng dịch vụ.Lets AWS run the infrastructure; you only configure and use the service.

Ở MFTECH: Dùng Amazon RDS thay vì tự cài MySQL trên EC2, MFTECH không phải tự vá hệ điều hành hay thiết lập sao lưu.With Amazon RDS instead of MySQL on EC2, MFTECH does not patch the operating system or set up backups itself.

Data transfer

Lưu lượng dữ liệu di chuyển giữa các AZ, giữa các Region hoặc từ AWS ra internet. Dữ liệu đi vào AWS từ internet thường miễn phí; dữ liệu đi ra và đi giữa các AZ, Region được tính phí theo GB.Data moving between Availability Zones, between Regions or from AWS to the internet. Data into AWS from the internet is generally free; data out and between AZs or Regions is charged per GB.

Mục đíchPurposeBiết chiều đi nào của dữ liệu bị tính tiền để thiết kế tiết kiệm.Shows which directions of data movement are charged, to design for lower cost.

Ở MFTECH: Ảnh phân phối qua CloudFront có chi phí data transfer thấp hơn phân phối trực tiếp từ S3.Images served through CloudFront cost less in data transfer than serving them directly from S3.

AWS Outposts

Dịch vụ managed mở rộng hạ tầng, dịch vụ, API và công cụ của AWS tới gần như mọi data center hoặc địa điểm on-premises, dành cho workload cần độ trễ thấp tới hệ thống on-premises hoặc phải xử lý dữ liệu tại chỗ.A fully managed service that extends AWS infrastructure, services, APIs and tools to virtually any data center or on-premises site, for workloads that need low latency to on-premises systems or local data processing.

Mục đíchPurposeChạy dịch vụ AWS ngay trong data center của bạn khi cần độ trễ rất thấp hoặc dữ liệu phải ở tại chỗ.Runs AWS services inside your own data center when you need very low latency or data must stay on site.

AWS Global Accelerator

Dịch vụ cung cấp các địa chỉ IP tĩnh anycast làm điểm vào cố định cho ứng dụng; traffic đi vào mạng toàn cầu của AWS tại edge location gần người dùng nhất, cải thiện tính sẵn sàng và hiệu năng cho ứng dụng TCP và UDP.A service that provides static anycast IP addresses as a fixed entry point to applications; traffic enters the AWS global network at the edge location closest to users, improving availability and performance for TCP and UDP applications.

Mục đíchPurposeCho ứng dụng TCP/UDP hai IP cố định, đưa traffic vào mạng AWS ở edge gần nhất và chuyển Region ngay khi lỗi.Gives a TCP/UDP application two fixed IPs, brings traffic onto the AWS network at the nearest edge and fails over between Regions at once.

Ở MFTECH: Ứng dụng game của MFTECH dùng UDP nên chọn Global Accelerator thay vì CloudFront.MFTECH's game uses UDP, so it uses Global Accelerator instead of CloudFront.

S3 Transfer Acceleration

Tính năng tăng tốc truyền file đường dài giữa client và S3 bucket, tận dụng các edge location phân bổ toàn cầu của CloudFront.A bucket-level feature that speeds up long-distance file transfers between clients and an S3 bucket by using CloudFront's globally distributed edge locations.

Mục đíchPurposeTăng tốc tải tệp lên bucket ở xa: dữ liệu vào mạng AWS tại edge gần người gửi.Speeds up uploads to a distant bucket: data enters the AWS network at the edge nearest the sender.

Lớp 1Layer 1 Networking 31 thuật ngữ

VPC + VPN + Direct Connect + Transit Gateway

18 Học bài này →

Amazon VPC

Amazon VPC cho phép khởi chạy tài nguyên AWS trong một mạng ảo được cô lập về mặt logic do bạn định nghĩa. Mạng ảo này tương tự mạng truyền thống trong data center, kèm khả năng mở rộng của AWS: bạn chọn dải địa chỉ IP, tạo subnet, cấu hình route table và gateway.Amazon VPC lets you launch AWS resources in a logically isolated virtual network that you define. It closely resembles a traditional network in a data center, with the scalability of AWS: you choose the IP address range, create subnets, and configure route tables and gateways.

Mục đíchPurposeTạo một mạng riêng, cô lập trong một Region để đặt máy chủ, database và tự quyết định đường đi của traffic.Creates a private, isolated network in one Region to place servers and databases and decide how traffic flows.

Ở MFTECH: Toàn bộ máy chủ và database của MFTECH nằm trong một VPC tại Singapore.All of MFTECH's servers and databases sit in one VPC in Singapore.

CIDR block

Dải địa chỉ IP viết theo ký hiệu Classless Inter-Domain Routing, ví dụ 10.0.0.0/16. Mỗi VPC và subnet được gán một CIDR block; số sau dấu / càng nhỏ thì dải càng lớn (/16 có 65.536 địa chỉ, /24 có 256 địa chỉ).A range of IP addresses in Classless Inter-Domain Routing notation, such as 10.0.0.0/16. Each VPC and subnet is assigned a CIDR block; the smaller the number after the slash, the larger the range (/16 holds 65,536 addresses, /24 holds 256).

Mục đíchPurposeViết một dải địa chỉ IP gọn trong một ký hiệu; số sau dấu / càng nhỏ thì dải càng lớn.Writes a range of IP addresses in one notation; the smaller the number after the slash, the larger the range.

Ở MFTECH: VPC của MFTECH dùng 10.0.0.0/16, mỗi subnet một dải /24.MFTECH's VPC uses 10.0.0.0/16 with a /24 range per subnet.

Subnet

Một dải địa chỉ IP trong VPC, nằm trọn trong một Availability Zone. Subnet có route tới internet gateway là public subnet; subnet không có route trực tiếp ra internet là private subnet.A range of IP addresses in a VPC that resides entirely in one Availability Zone. A subnet with a route to an internet gateway is a public subnet; a subnet without a direct route to the internet is a private subnet.

Mục đíchPurposeChia VPC thành các vùng trong từng AZ; route table quyết định vùng đó là public (ra vào internet) hay private.Splits a VPC into zones within each AZ; the route table decides whether a zone is public (internet-facing) or private.

Ở MFTECH: Load balancer nằm ở public subnet; web server và database nằm ở private subnet.The load balancer sits in public subnets; web servers and the database sit in private subnets.

Route table

Tập hợp các quy tắc (route) xác định traffic từ subnet hoặc gateway được chuyển tới đâu. Mỗi route gồm đích (một CIDR block) và target (ví dụ internet gateway, NAT gateway); mỗi subnet phải được gắn với một route table.A set of rules, called routes, that determine where network traffic from a subnet or gateway is directed. Each route has a destination (a CIDR block) and a target (such as an internet gateway or NAT gateway); every subnet must be associated with a route table.

Mục đíchPurposeChỉ đường cho traffic rời subnet: mỗi dòng ghi đích (CIDR) và nơi chuyển tới (target).Tells traffic leaving a subnet where to go: each line gives a destination (CIDR) and a target.

Ở MFTECH: Route table của public subnet có route 0.0.0.0/0 tới internet gateway.The public subnets' route table sends 0.0.0.0/0 to the internet gateway.

Internet gateway

Thành phần của VPC có khả năng mở rộng theo chiều ngang, dự phòng và sẵn sàng cao, cho phép giao tiếp giữa VPC và internet. Instance trong public subnet có địa chỉ IP public kết nối được tới internet và được kết nối từ internet qua internet gateway.A horizontally scaled, redundant and highly available VPC component that allows communication between your VPC and the internet. Instances in a public subnet with a public IP address can connect to and be reached from the internet through it.

Mục đíchPurposeMở cổng giữa VPC và internet; instance cần public IP và subnet cần route tới cổng này.Opens the door between a VPC and the internet; an instance needs a public IP and its subnet a route to this door.

Ở MFTECH: Khách truy cập mftech.vn đi vào VPC qua internet gateway.Customers opening mftech.vn enter the VPC through the internet gateway.

NAT gateway

Dịch vụ Network Address Translation (NAT) cho phép instance trong private subnet kết nối tới dịch vụ bên ngoài VPC, nhưng dịch vụ bên ngoài không thể khởi tạo kết nối tới các instance đó. NAT gateway được tạo trong một AZ cụ thể.A Network Address Translation (NAT) service that lets instances in a private subnet connect to services outside the VPC, while external services cannot initiate connections to those instances. A NAT gateway is created in a specific Availability Zone.

Mục đíchPurposeCho máy trong private subnet ra internet (tải bản vá), nhưng internet không chủ động kết nối vào được.Lets private-subnet instances reach the internet (to fetch patches) while the internet cannot connect in.

Ở MFTECH: Web server ở private subnet tải bản vá hệ điều hành qua NAT gateway.Web servers in private subnets download OS patches through a NAT gateway.

Security group

Kiểm soát traffic được phép đi tới và đi ra khỏi tài nguyên được gắn security group, ví dụ EC2 instance. Security group chỉ có rule cho phép và là stateful: nếu một request được phép đi ra, phản hồi của nó được phép đi vào, bất kể rule inbound.Controls the traffic allowed to reach and leave the resources it is associated with, such as EC2 instances. Security groups have allow rules only and are stateful: if a request is allowed out, its response is allowed in regardless of inbound rules.

Mục đíchPurposeTường lửa gắn vào từng tài nguyên: chỉ mở đúng cổng, đúng nguồn; response tự được cho qua (stateful).A firewall on each resource: opens only the right ports from the right sources; replies pass automatically (stateful).

Ở MFTECH: Security group của web server chỉ cho phép cổng 443 từ security group của load balancer.The web servers' security group allows port 443 only from the load balancer's security group.

Network ACL

Danh sách kiểm soát truy cập mạng cho phép hoặc từ chối traffic inbound và outbound ở cấp subnet. Rule được đánh số và xét theo thứ tự; network ACL là stateless nên traffic chiều về phải được cho phép tường minh.A network access control list that allows or denies specific inbound or outbound traffic at the subnet level. Rules are numbered and evaluated in order; network ACLs are stateless, so return traffic must be allowed explicitly.

Mục đíchPurposeLớp lọc ở ranh giới subnet, có cả rule cho phép và từ chối, xét từng gói tin độc lập (stateless).A filter at the subnet boundary with both allow and deny rules, judging each packet on its own (stateless).

Ở MFTECH: MFTECH dùng network ACL để chặn một dải IP đang tấn công ở cấp subnet.MFTECH uses a network ACL to block an attacking IP range at the subnet level.

Stateful

Cơ chế lọc ghi nhớ trạng thái kết nối: khi traffic một chiều đã được cho phép, traffic phản hồi chiều ngược lại tự động được cho phép. Security group là stateful.A filtering behavior that tracks connection state: once traffic in one direction is allowed, the response in the other direction is allowed automatically. Security groups are stateful.

Mục đíchPurposeTự cho phép chiều trả về của kết nối đã được cho phép, nên không phải viết rule cho response.Automatically allows the return leg of an allowed connection, so no rule is needed for replies.

Stateless

Cơ chế lọc không ghi nhớ trạng thái kết nối: mỗi gói tin được đánh giá độc lập, nên cả chiều đi và chiều về đều cần rule cho phép. Network ACL là stateless.A filtering behavior that does not track connection state: each packet is evaluated on its own, so both directions need allow rules. Network ACLs are stateless.

Mục đíchPurposeXét từng gói tin độc lập, không nhớ kết nối; response cũng phải khớp một rule cho phép.Judges each packet on its own, without remembering connections; replies must also match an allow rule.

Public IP address

Địa chỉ IPv4 có thể truy cập từ internet. Instance cần địa chỉ IP public (hoặc Elastic IP) và subnet có route tới internet gateway để giao tiếp trực tiếp với internet.An IPv4 address that is reachable from the internet. An instance needs a public IP address (or Elastic IP address) and a subnet routed to an internet gateway to communicate directly with the internet.

Mục đíchPurposeCho tài nguyên một địa chỉ internet định tuyến tới được; internet gateway dịch nó sang private IP.Gives a resource an address the internet can route to; the internet gateway maps it to the private IP.

Private IP address

Địa chỉ IP thuộc CIDR block của VPC, dùng để giao tiếp giữa các instance trong VPC hoặc với mạng được kết nối; không thể truy cập từ internet.An IP address from the VPC's CIDR block, used for communication between instances in the VPC or connected networks; it is not reachable from the internet.

Mục đíchPurposeĐịa chỉ dùng bên trong VPC; giữ nguyên suốt vòng đời instance và không đi ra internet.An address used inside the VPC; it stays for the instance's lifetime and never travels to the internet.

VPC endpoint

Cho phép kết nối riêng giữa VPC và các dịch vụ AWS được hỗ trợ mà không cần internet gateway, NAT device hay kết nối VPN. Gateway endpoint (S3, DynamoDB) không tính phí; interface endpoint dùng AWS PrivateLink và tính phí theo giờ và theo GB.Enables private connections between a VPC and supported AWS services without an internet gateway, NAT device or VPN connection. Gateway endpoints (S3, DynamoDB) have no charge; interface endpoints use AWS PrivateLink and are billed per hour and per GB.

Mục đíchPurposeCho tài nguyên trong VPC gọi dịch vụ AWS mà không đi qua internet, không cần NAT gateway.Lets resources in a VPC call AWS services without the internet and without a NAT gateway.

Ở MFTECH: Máy chủ đọc ảnh từ S3 qua gateway endpoint nên không phát sinh phí xử lý dữ liệu của NAT gateway.Servers read images from S3 through a gateway endpoint, avoiding NAT gateway data processing charges.

VPC peering connection

Kết nối mạng giữa hai VPC cho phép định tuyến traffic giữa chúng bằng địa chỉ IP private. Kết nối peering không có tính bắc cầu: A peering với B và B peering với C không cho phép A tới C.A networking connection between two VPCs that routes traffic between them using private IP addresses. Peering is not transitive: A peered with B and B peered with C does not let A reach C.

Mục đíchPurposeNối riêng đúng hai VPC để nói chuyện bằng private IP; không bắc cầu sang VPC thứ ba.Joins exactly two VPCs privately over private IPs; it does not pass traffic on to a third VPC.

AWS Transit Gateway

Bộ định tuyến trung tâm (network transit hub) kết nối các VPC và mạng on-premises. Mỗi mạng chỉ cần một kết nối tới transit gateway thay vì kết nối với từng mạng khác.A network transit hub that interconnects VPCs and on-premises networks. Each network connects once to the transit gateway instead of to every other network.

Mục đíchPurposeNối hàng chục VPC và mạng on-premises qua một điểm trung tâm thay cho lưới peering.Connects tens of VPCs and on-premises networks through one hub instead of a peering mesh.

Ở MFTECH: Khi có hơn mười VPC, MFTECH kết nối tất cả qua một transit gateway.Once it has more than ten VPCs, MFTECH connects them all through one transit gateway.

AWS Site-to-Site VPN

Kết nối VPN IPsec được mã hoá giữa mạng on-premises và VPC hoặc transit gateway, đi qua internet. Mỗi kết nối gồm hai tunnel để dự phòng.An encrypted IPsec VPN connection between an on-premises network and a VPC or transit gateway over the internet. Each connection has two tunnels for redundancy.

Mục đíchPurposeNối mạng văn phòng với VPC qua hai đường hầm IPsec mã hoá trên internet; dựng nhanh, chi phí thấp.Connects an office network to a VPC through two encrypted IPsec tunnels over the internet; quick and cheap.

Ở MFTECH: Văn phòng Hà Nội kết nối vào VPC bằng Site-to-Site VPN trong thời gian chờ lắp đặt Direct Connect.The Hanoi office connects to the VPC with Site-to-Site VPN while Direct Connect is being installed.

AWS Direct Connect

Kết nối mạng nội bộ tới AWS qua cáp Ethernet chuyên dụng, không đi qua internet công cộng. Direct Connect cung cấp băng thông ổn định và độ trễ nhất quán; thời gian thiết lập thường tính bằng tuần.Links your internal network to AWS over a dedicated Ethernet fiber connection that bypasses the public internet. Direct Connect offers consistent bandwidth and latency; setup usually takes weeks.

Mục đíchPurposeĐường cáp riêng từ data center tới AWS: băng thông và độ trễ ổn định, không đi qua internet.A dedicated cable from your data center to AWS: steady bandwidth and latency, off the internet.

Route 53

6 Học bài này →

DNS

Domain Name System: dịch vụ toàn cầu, phân tán, chuyển tên miền dễ đọc như mftech.vn thành địa chỉ IP mà máy tính dùng để kết nối với nhau.Domain Name System: a worldwide, distributed service that translates human-readable names such as mftech.vn into the IP addresses computers use to connect to each other.

Mục đíchPurposeĐổi tên miền dễ nhớ thành địa chỉ IP; kết quả được cache theo TTL.Turns easy-to-remember domain names into IP addresses; answers are cached for their TTL.

Amazon Route 53

Dịch vụ web DNS có tính sẵn sàng cao và khả năng mở rộng, thực hiện ba chức năng: đăng ký tên miền, định tuyến traffic tới tài nguyên và kiểm tra sức khoẻ (health check) tài nguyên.A highly available and scalable DNS web service that performs three functions: domain registration, DNS routing to resources, and health checking of resources.

Mục đíchPurposeDịch vụ DNS sẵn sàng cao của AWS: lưu bản ghi, định tuyến theo policy, bỏ endpoint hỏng nhờ health check.AWS's highly available DNS: stores records, routes by policy and drops failed endpoints using health checks.

Ở MFTECH: Tên miền mftech.vn được quản lý trên Route 53.The mftech.vn domain is hosted on Route 53.

Hosted zone

Vùng chứa các bản ghi (record) quy định cách định tuyến traffic cho một tên miền và các subdomain. Public hosted zone phục vụ truy vấn từ internet; private hosted zone chỉ phục vụ truy vấn từ các VPC được liên kết.A container for records that define how to route traffic for a domain and its subdomains. A public hosted zone answers queries from the internet; a private hosted zone answers only queries from associated VPCs.

Mục đíchPurposeNơi chứa các bản ghi DNS của một tên miền; public trả lời internet, private chỉ trả lời trong VPC.Holds the DNS records of a domain; public zones answer the internet, private zones only answer inside VPCs.

Alias record

Loại bản ghi mở rộng của Route 53, định tuyến traffic tới tài nguyên AWS được chọn như CloudFront distribution, Elastic Load Balancing load balancer hoặc S3 bucket. Khác CNAME, alias record tạo được tại zone apex và truy vấn alias tới tài nguyên AWS không tính phí.A Route 53 extension to DNS that routes traffic to selected AWS resources such as CloudFront distributions, Elastic Load Balancing load balancers or S3 buckets. Unlike CNAME, an alias record can be created at the zone apex, and alias queries to AWS resources are free.

Mục đíchPurposeBản ghi của Route 53 trỏ thẳng tới tài nguyên AWS, dùng được cả ở tên miền gốc và tự theo IP của tài nguyên.A Route 53 record pointing straight at an AWS resource, usable even at the root domain and tracking its IPs.

TTL

Time to live: khoảng thời gian, tính bằng giây, mà DNS resolver được phép lưu cache một bản ghi trước khi phải truy vấn lại Route 53. TTL dài giảm số truy vấn nhưng làm thay đổi bản ghi có hiệu lực chậm hơn.Time to live: the amount of time, in seconds, that a DNS resolver caches a record before querying Route 53 again. A long TTL reduces queries but makes record changes take effect more slowly.

Mục đíchPurposeQuy định kết quả được giữ trong cache bao lâu; TTL dài thì ít truy vấn hơn nhưng đổi bản ghi lâu có hiệu lực.Sets how long a result stays cached; a long TTL means fewer queries but slower record changes.

Routing policy

Cách Route 53 trả lời truy vấn DNS khi có nhiều bản ghi: simple, failover, geolocation, geoproximity, latency, IP-based, multivalue answer hoặc weighted.How Route 53 responds to DNS queries when several records exist: simple, failover, geolocation, geoproximity, latency, IP-based, multivalue answer or weighted.

Mục đíchPurposeQuyết định Route 53 trả về địa chỉ nào cho mỗi truy vấn: theo trọng số, độ trễ, vị trí hay tình trạng.Decides which address Route 53 returns for each query: by weight, latency, location or health.

CloudFront + Global Accelerator

7 Học bài này →

Amazon CloudFront

Dịch vụ web tăng tốc phân phối nội dung web tĩnh và động như .html, .css, .js và hình ảnh tới người dùng, thông qua mạng các data center gọi là edge location; request được định tuyến tới edge location có độ trễ thấp nhất.A web service that speeds up distribution of static and dynamic web content, such as .html, .css, .js and image files, to users through a worldwide network of data centers called edge locations; requests are routed to the edge location with the lowest latency.

Mục đíchPurposeCDN của AWS: phân phối nội dung từ edge location gần người dùng qua HTTP(S), có cache và bảo mật tại edge.AWS's CDN: delivers content over HTTP(S) from edge locations near users, with caching and security at the edge.

Ở MFTECH: Ảnh sản phẩm và trang tĩnh của MFTECH được phân phối qua CloudFront.MFTECH's product images and static pages are delivered through CloudFront.

CDN

Content delivery network: mạng máy chủ phân tán theo địa lý, lưu bản sao nội dung gần người dùng để giảm độ trễ. Amazon CloudFront là CDN của AWS.Content delivery network: a geographically distributed network of servers that keeps copies of content close to users to reduce latency. Amazon CloudFront is the AWS CDN.

Mục đíchPurposeMạng nhiều máy chủ đặt khắp nơi giữ bản sao nội dung, để người dùng tải từ nơi gần nhất.A network of servers everywhere holding copies of content, so users download from the nearest one.

Origin

Vị trí lưu bản gốc của nội dung mà CloudFront lấy về khi edge location chưa có trong cache, ví dụ S3 bucket, Application Load Balancer hoặc một máy chủ HTTP tuỳ chỉnh.The location of the original content that CloudFront retrieves when an edge location does not have it cached, such as an S3 bucket, an Application Load Balancer or a custom HTTP server.

Mục đíchPurposeNơi giữ bản gốc của nội dung; CloudFront chỉ hỏi origin khi edge chưa có (cache miss).Where the original content lives; CloudFront asks the origin only when the edge lacks it (cache miss).

Ở MFTECH: Origin của ảnh sản phẩm là một S3 bucket.The origin for product images is an S3 bucket.

Cache

Bản sao tạm thời của dữ liệu được lưu gần nơi sử dụng để phản hồi nhanh hơn. Cache hit: dữ liệu đã có sẵn; cache miss: phải lấy từ origin hoặc database.A temporary copy of data stored close to where it is used so responses are faster. A cache hit means the data is already there; a cache miss means fetching it from the origin or database.

Mục đíchPurposeGiữ bản sao dữ liệu ở chỗ nhanh hơn để trả lời ngay; bản sao có thể cũ tới khi hết TTL.Keeps a copy of data somewhere faster to answer at once; the copy may be stale until its TTL ends.

Origin access control (OAC)

Cơ chế giới hạn quyền truy cập S3 origin để chỉ CloudFront distribution được phép đọc, kết hợp với bucket policy; người dùng không truy cập trực tiếp được bucket. Origin access identity (OAI) là cơ chế cũ có cùng mục đích.Restricts access to an S3 origin so that only the CloudFront distribution can read it, together with a bucket policy; users cannot access the bucket directly. Origin access identity (OAI) is the legacy mechanism for the same purpose.

Mục đíchPurposeChỉ cho CloudFront đọc S3 bucket riêng tư; người dùng không vào thẳng URL của bucket được.Lets only CloudFront read a private S3 bucket; users cannot go to the bucket's URL directly.

Signed URL / signed cookie

Cách phân phối nội dung riêng tư qua CloudFront: ứng dụng tạo URL hoặc cookie có chữ ký, kèm thời hạn và điều kiện truy cập. Signed URL dùng cho từng file; signed cookie dùng cho nhiều file mà không đổi URL.A way to serve private content through CloudFront: the application creates a signed URL or cookie with an expiration and access conditions. Signed URLs suit individual files; signed cookies suit multiple files without changing URLs.

Mục đíchPurposeChỉ cho người được cấp phép xem nội dung riêng qua CloudFront, trong thời hạn đã ký.Lets only authorised users view private content through CloudFront, within the signed time limit.

Ở MFTECH: Video khoá học chỉ phát được khi khách đã mua và có signed cookie còn hạn.Course videos play only for buyers holding a valid signed cookie.

AWS Certificate Manager (ACM)

Dịch vụ cấp, lưu trữ và tự động gia hạn chứng chỉ SSL/TLS public và private dùng với các dịch vụ AWS tích hợp như Elastic Load Balancing, CloudFront và API Gateway. Chứng chỉ dùng cho CloudFront phải được yêu cầu tại Region us-east-1.Provisions, stores and automatically renews public and private SSL/TLS certificates for integrated AWS services such as Elastic Load Balancing, CloudFront and API Gateway. Certificates for CloudFront must be requested in us-east-1.

Mục đíchPurposeCấp miễn phí và tự gia hạn chứng chỉ TLS cho CloudFront, ALB, API Gateway.Issues free TLS certificates and renews them automatically for CloudFront, ALB and API Gateway.

Lớp 2Layer 2 Security & Identity 29 thuật ngữ

IAM + Organizations

14 Học bài này →

AWS Identity and Access Management (IAM)

Dịch vụ web giúp kiểm soát truy cập tài nguyên AWS một cách an toàn: quản lý ai được xác thực (đăng nhập) và được uỷ quyền (có quyền) sử dụng tài nguyên.A web service that helps you securely control access to AWS resources: it manages who is authenticated (signed in) and authorized (has permissions) to use resources.

Mục đíchPurposeQuyết định ai (danh tính) được làm gì (hành động) trên tài nguyên nào; mặc định mọi thứ bị từ chối.Decides who (identity) may do what (action) on which resource; everything is denied by default.

IAM user

Danh tính trong tài khoản AWS có quyền cụ thể cho một người hoặc ứng dụng, với thông tin xác thực dài hạn (mật khẩu, access key). AWS khuyến nghị dùng credentials tạm thời thay cho IAM user khi có thể.An identity in your AWS account with specific permissions for a single person or application, with long-term credentials (password, access keys). AWS recommends temporary credentials instead of IAM users where possible.

Mục đíchPurposeDanh tính lâu dài cho một người hoặc ứng dụng, đăng nhập bằng mật khẩu hoặc access key.A long-term identity for one person or application, signing in with a password or access keys.

IAM role

Danh tính IAM có quyền cụ thể nhưng không gắn với một người; bất kỳ ai hoặc dịch vụ nào được phép đều có thể đảm nhận (assume) role. Role không có credentials dài hạn mà cung cấp credentials tạm thời cho phiên làm việc.An IAM identity with specific permissions that is not associated with one person; anyone or any service allowed to can assume it. A role has no long-term credentials; it provides temporary credentials for the session.

Mục đíchPurposeCấp quyền tạm thời cho dịch vụ, người dùng hoặc tài khoản khác khi assume, không cần khoá lâu dài.Grants temporary permissions to a service, user or other account that assumes it, with no long-term keys.

Ở MFTECH: Web server dùng IAM role để đọc ảnh từ S3 mà không lưu access key trong mã nguồn.The web servers use an IAM role to read images from S3 without access keys in the code.

IAM policy

Đối tượng trong AWS, khi gắn với danh tính hoặc tài nguyên, định nghĩa quyền của chúng. Phần lớn policy là tài liệu JSON gồm Effect, Action, Resource; một Deny tường minh luôn ghi đè mọi Allow.An object in AWS that, when associated with an identity or resource, defines their permissions. Most policies are JSON documents with Effect, Action and Resource; an explicit Deny always overrides any Allow.

Mục đíchPurposeVăn bản JSON viết ra quyền: cho phép hoặc từ chối hành động nào, trên tài nguyên nào, điều kiện gì.A JSON document that writes down permissions: allow or deny which actions, on which resources, under what conditions.

Resource-based policy

Policy dạng JSON gắn trực tiếp vào tài nguyên như S3 bucket, KMS key hoặc SQS queue, quy định principal nào (kể cả ở tài khoản khác) được thực hiện hành động gì trên tài nguyên đó.A JSON policy attached directly to a resource such as an S3 bucket, KMS key or SQS queue, specifying which principals (including in other accounts) can perform which actions on it.

Mục đíchPurposeGắn quyền thẳng lên tài nguyên, nêu rõ ai (kể cả tài khoản khác) được truy cập.Attaches permissions to the resource itself, naming who (even another account) may access it.

Least privilege

Thực hành tốt nhất về bảo mật: chỉ cấp những quyền cần thiết để thực hiện một tác vụ, không hơn.A security best practice: grant only the permissions required to perform a task, nothing more.

Mục đíchPurposeChỉ cấp đúng quyền cần để làm việc, để nếu bị lộ thì thiệt hại nhỏ nhất.Grants only the permissions needed for the job, so a leak does the least damage.

Root user

Danh tính đăng nhập bằng email và mật khẩu đã dùng để tạo tài khoản AWS, có toàn quyền với mọi dịch vụ và tài nguyên. AWS khuyến nghị không dùng root user cho tác vụ hằng ngày và bật MFA cho root user.The identity that signs in with the email address and password used to create the AWS account; it has complete access to all services and resources. AWS recommends not using it for everyday tasks and enabling MFA on it.

Mục đíchPurposeDanh tính có toàn quyền, tạo cùng tài khoản AWS; chỉ dùng cho vài tác vụ đặc biệt và luôn bật MFA.The all-powerful identity created with the AWS account; used only for a few special tasks, always with MFA.

Multi-factor authentication (MFA)

Cơ chế bảo mật yêu cầu người dùng cung cấp thêm một yếu tố xác thực ngoài mật khẩu, ví dụ mã từ ứng dụng authenticator hoặc khoá bảo mật FIDO.A security mechanism that requires an additional authentication factor besides the password, such as a code from an authenticator app or a FIDO security key.

Mục đíchPurposeĐòi thêm một yếu tố ngoài mật khẩu, nên lộ mật khẩu thôi chưa đủ để đăng nhập.Requires a second factor beyond the password, so a leaked password alone cannot sign in.

AWS Organizations

Dịch vụ quản lý tài khoản giúp hợp nhất nhiều tài khoản AWS vào một tổ chức để quản lý tập trung: thanh toán hợp nhất (consolidated billing), nhóm tài khoản theo OU và áp dụng policy như SCP.An account management service that consolidates multiple AWS accounts into an organization you centrally manage: consolidated billing, organizational units and policies such as SCPs.

Mục đíchPurposeQuản lý tập trung nhiều tài khoản AWS: nhóm theo OU, gộp hoá đơn, đặt giới hạn quyền bằng SCP.Manages many AWS accounts centrally: group them in OUs, consolidate billing, cap permissions with SCPs.

Service control policy (SCP)

Loại policy của AWS Organizations quy định quyền tối đa khả dụng cho các tài khoản trong tổ chức. SCP không cấp quyền; nó giới hạn quyền mà IAM policy có thể cấp, kể cả với root user của tài khoản thành viên.An AWS Organizations policy type that sets the maximum available permissions for accounts in the organization. SCPs grant no permissions; they limit what IAM policies can grant, including for member accounts' root users.

Mục đíchPurposeĐặt mức quyền tối đa cho mọi danh tính trong tài khoản hoặc OU; không tự cấp quyền.Sets the maximum permissions for every identity in an account or OU; grants nothing itself.

AWS Security Token Service (STS)

Dịch vụ cấp credentials bảo mật tạm thời, có thời hạn ngắn, cho IAM user, người dùng liên kết (federated) hoặc khi đảm nhận IAM role.A service that issues temporary, limited-duration security credentials to IAM users, federated users or when assuming IAM roles.

Mục đíchPurposePhát thông tin xác thực tạm thời (tự hết hạn) khi assume role.Issues temporary credentials (that expire) when a role is assumed.

AWS IAM Identity Center

Dịch vụ quản lý tập trung quyền truy cập đăng nhập một lần (single sign-on) của nhân sự vào nhiều tài khoản AWS và ứng dụng, có thể dùng nguồn danh tính sẵn có như Microsoft Active Directory.Centrally manages workforce single sign-on access to multiple AWS accounts and applications, optionally using an existing identity source such as Microsoft Active Directory.

Mục đíchPurposeCho nhân viên đăng nhập một lần (SSO) vào nhiều tài khoản AWS bằng tài khoản công ty.Gives staff single sign-on to many AWS accounts with their company identities.

AD Connector

Directory gateway của AWS Directory Service, chuyển tiếp yêu cầu xác thực tới Active Directory đang chạy tại on-premises mà không lưu hay đồng bộ thông tin người dùng lên AWS. AD Connector cần kết nối mạng (Site-to-Site VPN hoặc Direct Connect) tới các domain controller.A directory gateway in AWS Directory Service that forwards authentication requests to an on-premises Active Directory without storing or syncing user data in AWS. AD Connector needs network connectivity (Site-to-Site VPN or Direct Connect) to the domain controllers.

Mục đíchPurposeProxy chuyển yêu cầu xác thực tới Active Directory on-premises, không sao chép hay lưu dữ liệu thư mục trên AWS.A proxy that forwards authentication to on-premises Active Directory, without copying or caching directory data in AWS.

Ở MFTECH: Nhân viên MFTECH đăng nhập IAM Identity Center bằng tài khoản Active Directory của văn phòng thông qua AD Connector.MFTECH staff sign in to IAM Identity Center with their office Active Directory accounts through AD Connector.

AWS Managed Microsoft AD

Microsoft Active Directory đầy đủ do AWS vận hành, với domain controller đặt ở hai AZ. Có thể tạo trust với Active Directory on-premises và dùng cho các workload cần AD như Amazon FSx for Windows File Server hoặc RDS for SQL Server.A full Microsoft Active Directory run by AWS, with domain controllers in two AZs. It can trust an on-premises Active Directory and serves AD-aware workloads such as Amazon FSx for Windows File Server or RDS for SQL Server.

Mục đíchPurposeChạy Active Directory thật do AWS quản lý trên nhiều AZ; có thể tạo trust với AD on-premises.Runs a real Active Directory managed by AWS across AZs; can trust an on-premises AD.

Ở MFTECH: MFTECH tạo trust hai chiều giữa AWS Managed Microsoft AD và AD tại văn phòng để dùng chung tài khoản nhân viên.MFTECH sets up a two-way trust between AWS Managed Microsoft AD and the office AD to share staff accounts.

KMS + ACM + Secrets Manager

5 Học bài này →

Encryption at rest

Mã hoá dữ liệu khi được lưu trên thiết bị lưu trữ như EBS volume, S3 bucket hoặc database, để dữ liệu không thể đọc được nếu không có key giải mã.Encrypting data while it is stored on media such as EBS volumes, S3 buckets or databases, so it cannot be read without the decryption key.

Mục đíchPurposeMã hoá dữ liệu đang nằm trên ổ đĩa, để lộ phương tiện lưu trữ cũng không đọc được.Encrypts data sitting on disk, so exposed storage media cannot be read.

Encryption in transit

Mã hoá dữ liệu khi di chuyển giữa các hệ thống, thường bằng TLS (HTTPS), để dữ liệu không bị đọc hoặc sửa đổi trên đường truyền.Encrypting data as it moves between systems, usually with TLS (HTTPS), so it cannot be read or altered in transit.

Mục đíchPurposeMã hoá dữ liệu khi đi trên mạng (TLS/HTTPS) để không bị nghe lén hay sửa giữa đường.Encrypts data moving over the network (TLS/HTTPS) so it cannot be read or changed on the way.

AWS Key Management Service (KMS)

Dịch vụ managed giúp tạo và kiểm soát các key mã hoá dùng để bảo vệ dữ liệu. KMS dùng hardware security module (HSM) để bảo vệ key; key không rời khỏi KMS ở dạng chưa mã hoá và mọi lần sử dụng key được ghi vào CloudTrail.A managed service that makes it easy to create and control the cryptographic keys that protect your data. KMS uses hardware security modules (HSMs) to protect keys; keys never leave KMS unencrypted and every use is logged in CloudTrail.

Mục đíchPurposeTạo và quản lý khoá mã hoá; khoá không rời KMS, mọi lần dùng khoá được ghi vào CloudTrail.Creates and manages encryption keys; keys never leave KMS and every use is logged in CloudTrail.

KMS key

Tài nguyên chính trong AWS KMS, đại diện logic cho một key mã hoá. Customer managed key do bạn tạo và toàn quyền kiểm soát (key policy, xoay vòng, chia sẻ); AWS managed key do dịch vụ AWS tạo và quản lý thay bạn.The primary resource in AWS KMS, a logical representation of a cryptographic key. Customer managed keys are created and fully controlled by you (key policy, rotation, sharing); AWS managed keys are created and managed for you by an AWS service.

Mục đíchPurposeKhoá gốc trong KMS dùng để mã hoá dữ liệu nhỏ hoặc mã hoá các data key (envelope encryption).The root key in KMS used to encrypt small data or to encrypt data keys (envelope encryption).

AWS Secrets Manager

Dịch vụ giúp quản lý, truy xuất và tự động xoay vòng (rotate) thông tin bí mật như thông tin đăng nhập database, API key và các secret khác trong suốt vòng đời của chúng.Helps you manage, retrieve and automatically rotate secrets such as database credentials, API keys and other secrets throughout their lifecycle.

Mục đíchPurposeLưu mật khẩu, API key thay vì ghi trong mã, và tự xoay vòng mật khẩu database theo lịch.Stores passwords and API keys instead of putting them in code, and rotates database passwords on a schedule.

Ở MFTECH: Mật khẩu database của MFTECH lưu trong Secrets Manager và được xoay vòng tự động mỗi 30 ngày.MFTECH's database password lives in Secrets Manager and rotates every 30 days.

WAF + Shield + GuardDuty + Macie

7 Học bài này →

AWS WAF

Tường lửa ứng dụng web cho phép giám sát và kiểm soát các request HTTP(S) tới tài nguyên được bảo vệ như CloudFront, Application Load Balancer, API Gateway, dựa trên rule (IP, quốc gia, SQL injection, cross-site scripting, giới hạn tốc độ).A web application firewall that lets you monitor and control HTTP(S) requests to protected resources such as CloudFront, Application Load Balancer and API Gateway, using rules (IP, country, SQL injection, cross-site scripting, rate limits).

Mục đíchPurposeTường lửa ứng dụng web: lọc request HTTP độc hại (SQL injection, XSS, bot) trước khi tới ứng dụng.A web application firewall: filters malicious HTTP requests (SQL injection, XSS, bots) before they reach the app.

Ở MFTECH: AWS WAF chặn các request SQL injection nhắm vào trang tìm kiếm sản phẩm.AWS WAF blocks SQL injection requests aimed at the product search page.

AWS Shield

Dịch vụ bảo vệ ứng dụng khỏi tấn công DDoS. AWS Shield Standard được áp dụng tự động, miễn phí; AWS Shield Advanced có phí, bổ sung khả năng phát hiện, đội phản ứng (SRT) và bảo vệ chi phí.Protects applications against DDoS attacks. AWS Shield Standard applies automatically at no cost; AWS Shield Advanced is paid and adds detection, the Shield Response Team and cost protection.

Mục đíchPurposeChống tấn công DDoS: Standard miễn phí và tự bật; Advanced có đội phản ứng và bảo vệ chi phí.Protects against DDoS: Standard is free and automatic; Advanced adds a response team and cost protection.

DDoS

Distributed denial of service: tấn công từ chối dịch vụ phân tán, trong đó nhiều hệ thống cùng gửi lượng lớn traffic nhằm làm ứng dụng không thể phục vụ người dùng hợp lệ.Distributed denial of service: an attack in which many systems flood an application with traffic to make it unavailable to legitimate users.

Mục đíchPurposeTấn công làm ứng dụng ngừng phục vụ bằng lượng traffic khổng lồ từ rất nhiều nguồn.An attack that takes an app down with huge traffic from very many sources.

Amazon GuardDuty

Dịch vụ phát hiện mối đe doạ, liên tục giám sát và phân tích các nguồn dữ liệu như CloudTrail, VPC Flow Logs và DNS log để phát hiện hoạt động độc hại hoặc bất thường.A threat detection service that continuously monitors and analyzes data sources such as CloudTrail, VPC Flow Logs and DNS logs to identify malicious or unexpected activity.

Mục đíchPurposePhát hiện mối đe doạ bằng cách liên tục phân tích log của tài khoản; chỉ cảnh báo, không tự chặn.Detects threats by continuously analysing account logs; it alerts but does not block.

Amazon Inspector

Dịch vụ quản lý lỗ hổng, tự động phát hiện workload và quét liên tục EC2 instance, container image và Lambda function để tìm lỗ hổng phần mềm và cấu hình mạng bị lộ ngoài ý muốn.A vulnerability management service that automatically discovers workloads and continually scans EC2 instances, container images and Lambda functions for software vulnerabilities and unintended network exposure.

Mục đíchPurposeQuét tự động lỗ hổng phần mềm (CVE) và cổng mở ra internet trên EC2, image ECR, Lambda.Automatically scans for software vulnerabilities (CVEs) and internet-exposed ports on EC2, ECR images and Lambda.

Amazon Macie

Dịch vụ bảo mật dữ liệu dùng machine learning và so khớp mẫu để phát hiện dữ liệu nhạy cảm (ví dụ thông tin nhận dạng cá nhân) trong Amazon S3.A data security service that uses machine learning and pattern matching to discover sensitive data, such as personally identifiable information, in Amazon S3.

Mục đíchPurposeTìm dữ liệu nhạy cảm (thông tin cá nhân, số thẻ) trong S3 bằng ML và mẫu nhận diện.Finds sensitive data (personal data, card numbers) in S3 using ML and pattern matching.

AWS Firewall Manager

Dịch vụ quản lý tập trung các rule bảo mật (AWS WAF, AWS Shield Advanced, security group, AWS Network Firewall) cho mọi account trong AWS Organizations. Policy tự áp dụng cho account và tài nguyên mới khi chúng được tạo.A service that centrally manages security rules (AWS WAF, AWS Shield Advanced, security groups, AWS Network Firewall) across the accounts in AWS Organizations. Policies apply automatically to new accounts and resources as they are created.

Mục đíchPurposeÁp quy tắc tường lửa (WAF, Shield Advanced, security group, Network Firewall) thống nhất cho mọi tài khoản trong Organization.Applies firewall rules (WAF, Shield Advanced, security groups, Network Firewall) consistently across every account in an Organization.

Ở MFTECH: Khi MFTECH tạo thêm account, Firewall Manager tự gắn web ACL chung vào các ALB của account đó.When MFTECH adds an account, Firewall Manager attaches the shared web ACL to that account's ALBs automatically.

Cognito + IAM Identity Center + Directory Service

3 Học bài này →

Amazon Cognito

Nền tảng danh tính cho ứng dụng web và di động: cung cấp thư mục người dùng, xác thực (user pool) và cấp credentials AWS tạm thời để truy cập tài nguyên (identity pool).An identity platform for web and mobile apps: a user directory and authentication (user pools) and temporary AWS credentials to access resources (identity pools).

Mục đíchPurposeThêm đăng ký, đăng nhập cho người dùng ứng dụng web, mobile và cấp quyền AWS tạm thời cho họ.Adds sign-up and sign-in for web and mobile app users and gives them temporary AWS access.

Ở MFTECH: Khách hàng MFTECH đăng nhập ứng dụng di động qua Amazon Cognito.MFTECH customers sign in to the mobile app through Amazon Cognito.

User pool

Thư mục người dùng và nhà cung cấp danh tính OpenID Connect (OIDC) của Cognito: xử lý đăng ký, đăng nhập, kể cả qua nhà cung cấp bên ngoài như Google, và trả về token cho ứng dụng.Cognito's user directory and OpenID Connect (OIDC) identity provider: it handles sign-up and sign-in, including through external providers such as Google, and returns tokens to the app.

Mục đíchPurposeThư mục người dùng của ứng dụng: đăng ký, đăng nhập, MFA và trả về token.The app's user directory: sign-up, sign-in, MFA and tokens.

Identity pool

Thành phần của Cognito đổi token từ nhà cung cấp danh tính thành credentials AWS tạm thời, cho phép ứng dụng truy cập trực tiếp dịch vụ AWS như S3 hoặc DynamoDB.The Cognito component that exchanges identity provider tokens for temporary AWS credentials, letting the app access AWS services such as S3 or DynamoDB directly.

Mục đíchPurposeĐổi danh tính đã xác thực (hoặc khách) lấy credential AWS tạm thời để gọi thẳng S3, DynamoDB.Exchanges an authenticated (or guest) identity for temporary AWS credentials to call S3 or DynamoDB directly.

Lớp 3Layer 3 Compute 32 thuật ngữ

Scale up

Mở rộng theo chiều dọc: chuyển tài nguyên sang cấu hình lớn hơn (nhiều vCPU, bộ nhớ hơn), ví dụ đổi instance type. Bị giới hạn bởi cấu hình lớn nhất và thường cần dừng instance.Vertical scaling: moving a resource to a larger configuration (more vCPUs, more memory), for example by changing the instance type. Limited by the largest size and usually requires stopping the instance.

Mục đíchPurposeCho một máy mạnh hơn bằng cách đổi sang instance type lớn hơn; bị giới hạn bởi type lớn nhất.Makes one machine stronger by moving to a larger instance type; capped by the largest type.

Ở MFTECH: Database báo cáo được nâng từ 4 lên 16 vCPU khi dữ liệu tăng.The reporting database moves from 4 to 16 vCPUs as data grows.

Elastic IP address

Địa chỉ IPv4 public tĩnh được cấp cho tài khoản AWS và giữ nguyên cho tới khi bạn giải phóng. Có thể gắn vào instance và chuyển sang instance khác để che giấu sự cố.A static public IPv4 address allocated to your AWS account until you release it. You can associate it with an instance and remap it to another instance to mask a failure.

Mục đíchPurposeGiữ một địa chỉ IPv4 public cố định thuộc tài khoản, chuyển được sang instance khác khi cần.Keeps a fixed public IPv4 address owned by your account, movable to another instance when needed.

Amazon EC2

Amazon Elastic Compute Cloud cung cấp năng lực tính toán theo yêu cầu, có khả năng mở rộng trên AWS. Bạn khởi chạy máy chủ ảo (instance) với cấu hình, hệ điều hành mong muốn và trả tiền theo thời gian sử dụng.Amazon Elastic Compute Cloud provides on-demand, scalable computing capacity in AWS. You launch virtual servers (instances) with the configuration and operating system you need and pay for the time you use.

Mục đíchPurposeThuê máy chủ ảo theo nhu cầu, chọn cấu hình và trả tiền theo thời gian chạy.Rents virtual servers on demand, choosing their size and paying for the time they run.

Ở MFTECH: Ứng dụng web của MFTECH chạy trên các EC2 instance.MFTECH's web application runs on EC2 instances.

Instance

Máy chủ ảo trên AWS Cloud, được khởi chạy từ một AMI với một instance type xác định. Thuật ngữ cũng dùng cho máy chủ database của Amazon RDS (DB instance).A virtual server in the AWS Cloud, launched from an AMI with a specified instance type. The term is also used for Amazon RDS database servers (DB instances).

Mục đíchPurposeMột máy chủ ảo đang chạy, được tạo từ AMI theo một instance type.One running virtual server, launched from an AMI with an instance type.

Amazon Machine Image (AMI)

Image được AWS hỗ trợ và duy trì, chứa thông tin cần thiết để khởi chạy instance: hệ điều hành, phần mềm, cấu hình. AMI thuộc về một Region; muốn dùng ở Region khác phải copy AMI sang Region đó.A supported and maintained image that provides the information required to launch an instance: operating system, software and configuration. An AMI belongs to one Region and must be copied to use it in another.

Mục đíchPurposeĐóng gói sẵn hệ điều hành và phần mềm để tạo nhiều instance giống hệt nhau.Packages an OS and software to launch many identical instances.

Ở MFTECH: MFTECH đóng gói web server thành AMI để mọi instance mới khởi động với cùng cấu hình.MFTECH bakes its web server into an AMI so every new instance starts with the same configuration.

Instance type

Tổ hợp phần cứng của instance gồm CPU, bộ nhớ, lưu trữ và năng lực mạng, ví dụ m7g.large. Các họ instance được tối ưu cho từng loại workload: đa dụng, tính toán, bộ nhớ, lưu trữ, tăng tốc.The hardware combination of an instance: CPU, memory, storage and networking capacity, such as m7g.large. Instance families are optimized for workloads: general purpose, compute, memory, storage or accelerated.

Mục đíchPurposeChọn đúng lượng CPU, bộ nhớ, mạng cho workload; tên cho biết họ, thế hệ và kích thước.Picks the right CPU, memory and network for a workload; the name gives family, generation and size.

On-Demand Instances

Tuỳ chọn mua EC2 trả theo giây hoặc theo giờ sử dụng, không cần cam kết dài hạn. Phù hợp với workload ngắn hạn, không đều hoặc không thể gián đoạn.An EC2 purchasing option where you pay by the second or hour with no long-term commitment. Suits short-term, irregular workloads that cannot be interrupted.

Mục đíchPurposeTrả theo giây sử dụng, không cam kết; hợp với tải ngắn hạn hoặc khó dự đoán.Pays per second with no commitment; suits short or unpredictable workloads.

Reserved Instances

Mức giảm giá so với On-Demand khi cam kết sử dụng một cấu hình instance cụ thể (instance type, Region) trong 1 hoặc 3 năm.A discount over On-Demand pricing in exchange for committing to a specific instance configuration (instance type, Region) for 1 or 3 years.

Mục đíchPurposeGiảm giá cho instance chạy liên tục, đổi lấy cam kết 1 hoặc 3 năm; là giảm giá khi tính tiền, không phải máy riêng.Discounts always-on instances in return for a 1- or 3-year commitment; a billing discount, not a separate machine.

Savings Plans

Mô hình giá linh hoạt, giảm giá khi cam kết một mức chi tiêu theo giờ (USD/giờ) trong 1 hoặc 3 năm. Compute Savings Plans áp dụng cho EC2, Fargate và Lambda bất kể instance family hay Region.A flexible pricing model offering discounts in exchange for a commitment to a consistent amount of usage (USD/hour) for 1 or 3 years. Compute Savings Plans apply to EC2, Fargate and Lambda regardless of instance family or Region.

Mục đíchPurposeGiảm giá đổi lấy cam kết chi một số tiền mỗi giờ trong 1 hoặc 3 năm, linh hoạt hơn Reserved Instances.Discounts in return for committing to an hourly spend for 1 or 3 years; more flexible than Reserved Instances.

Spot Instances

Instance dùng phần năng lực EC2 chưa được sử dụng với giá thấp hơn nhiều so với On-Demand. EC2 có thể thu hồi Spot Instance với thông báo trước 2 phút, nên phù hợp với workload linh hoạt, chịu được gián đoạn.An instance that uses spare EC2 capacity at a steep discount from On-Demand. EC2 can reclaim it with a two-minute notice, so it suits flexible, interruption-tolerant workloads.

Mục đíchPurposeDùng công suất EC2 đang thừa với giá giảm tới 90%, chấp nhận bị thu hồi sau cảnh báo 2 phút.Uses spare EC2 capacity at up to 90% off, accepting reclaim after a 2-minute warning.

Ở MFTECH: Tác vụ resize ảnh hằng đêm chạy trên Spot Instances vì có thể chạy lại khi bị gián đoạn.Nightly image resizing runs on Spot Instances because it can rerun after an interruption.

Dedicated Host

Máy chủ vật lý dành riêng cho bạn, cho phép dùng giấy phép phần mềm tính theo socket, core hoặc VM sẵn có và đáp ứng yêu cầu tuân thủ.A physical server fully dedicated to your use, letting you bring existing per-socket, per-core or per-VM software licenses and meet compliance requirements.

Mục đíchPurposeThuê nguyên một máy chủ vật lý, thấy socket và core để dùng license sẵn có hoặc đáp ứng tuân thủ.Rents a whole physical server, with visible sockets and cores for existing licences or compliance.

User data

Dữ liệu, thường là shell script hoặc cloud-init directive, được truyền vào instance khi khởi chạy để tự động thực hiện tác vụ cấu hình ở lần khởi động đầu tiên.Data, usually a shell script or cloud-init directives, passed to an instance at launch to run automated configuration tasks on first boot.

Mục đíchPurposeChạy script cấu hình tự động ngay lần khởi động đầu tiên của instance.Runs a setup script automatically on an instance's first boot.

Placement group

Cách ảnh hưởng tới vị trí đặt các instance trên phần cứng: cluster (gần nhau, mạng độ trễ thấp), partition (chia theo phân vùng phần cứng) hoặc spread (trên các phần cứng khác nhau để giảm lỗi đồng thời).A way to influence how instances are placed on hardware: cluster (close together for low-latency networking), partition (separate hardware partitions) or spread (distinct hardware to reduce correlated failures).

Mục đíchPurposeQuyết định cách đặt các instance trên phần cứng: sát nhau cho độ trễ thấp, hoặc tách rời để chịu lỗi.Decides how instances sit on hardware: packed for low latency, or spread apart to survive failures.

Health check

Request được gửi định kỳ tới target hoặc endpoint để kiểm tra trạng thái. Load balancer chỉ định tuyến request tới target healthy; Route 53 dùng health check để chuyển traffic khỏi endpoint không hoạt động.Requests sent periodically to targets or endpoints to test their status. A load balancer routes requests only to healthy targets; Route 53 uses health checks to route traffic away from unhealthy endpoints.

Mục đíchPurposeLoad balancer gọi thử từng target định kỳ; target không trả lời đúng thì không nhận request nữa.The load balancer probes each target regularly; a target that fails stops receiving requests.

Ở MFTECH: Load balancer gọi /health trên mỗi máy chủ 30 giây một lần.The load balancer calls /health on every server every 30 seconds.

Elastic Load Balancing

Tự động phân phối traffic đến tới nhiều target như EC2 instance, container, địa chỉ IP trong một hoặc nhiều AZ; giám sát sức khoẻ target và chỉ định tuyến traffic tới target healthy.Automatically distributes incoming traffic across multiple targets, such as EC2 instances, containers and IP addresses, in one or more AZs; it monitors target health and routes traffic only to healthy targets.

Mục đíchPurposeMột điểm vào duy nhất chia request cho nhiều target khoẻ mạnh trên nhiều AZ.One entry point that spreads requests over healthy targets in several AZs.

Ở MFTECH: Mọi request vào mftech.vn đi qua load balancer trước khi tới web server.Every request to mftech.vn goes through the load balancer before reaching a web server.

Application Load Balancer (ALB)

Load balancer hoạt động ở tầng ứng dụng (tầng 7 của mô hình OSI), định tuyến request HTTP/HTTPS tới target group dựa trên nội dung request như path, host header, query string.A load balancer that functions at the application layer (layer 7 of the OSI model), routing HTTP/HTTPS requests to target groups based on request content such as path, host header or query string.

Mục đíchPurposeLoad balancer lớp 7: đọc request HTTP/HTTPS để chuyển theo đường dẫn, host, header.A layer 7 load balancer: reads HTTP/HTTPS requests to route by path, host and headers.

Network Load Balancer (NLB)

Load balancer hoạt động ở tầng 4 (TCP, UDP, TLS), xử lý hàng triệu request mỗi giây với độ trễ rất thấp; hỗ trợ địa chỉ IP tĩnh hoặc Elastic IP cho mỗi AZ.A load balancer that functions at layer 4 (TCP, UDP, TLS), handling millions of requests per second at ultra-low latency; it supports a static IP or Elastic IP address per AZ.

Mục đíchPurposeLoad balancer lớp 4 cho TCP/UDP: rất nhanh, IP tĩnh mỗi AZ, giữ nguyên IP nguồn.A layer 4 load balancer for TCP/UDP: very fast, a static IP per AZ, client IP preserved.

Target group

Nhóm target (EC2 instance, địa chỉ IP, Lambda function) mà load balancer định tuyến request tới, cùng với cấu hình health check dùng cho các target đó.A group of targets (EC2 instances, IP addresses, Lambda functions) that a load balancer routes requests to, with the health check settings used for them.

Mục đíchPurposeGom các đích nhận request cùng cách kiểm tra sức khoẻ của chúng.Groups the destinations for requests together with how their health is checked.

Listener

Tiến trình kiểm tra yêu cầu kết nối theo giao thức và cổng đã cấu hình (ví dụ HTTPS:443). Rule của listener quyết định cách load balancer định tuyến request tới target group.A process that checks for connection requests using the configured protocol and port (for example HTTPS:443). Listener rules determine how the load balancer routes requests to target groups.

Mục đíchPurposeLắng nghe kết nối tới load balancer trên một giao thức, cổng, rồi theo rule chuyển đi.Listens for connections to a load balancer on a protocol and port, then forwards by its rules.

Cross-zone load balancing

Khi bật, mỗi node của load balancer phân phối traffic đều cho các target đã đăng ký ở mọi AZ được bật; khi tắt, mỗi node chỉ phân phối cho target trong AZ của nó.When enabled, each load balancer node distributes traffic across registered targets in all enabled AZs; when disabled, each node distributes only to targets in its own AZ.

Mục đíchPurposeChia đều request cho mọi target, kể cả target ở AZ khác, khi số target giữa các AZ lệch nhau.Spreads requests evenly over all targets, including those in other AZs, when AZs hold uneven numbers.

Auto Scaling (ASG)

4 Học bài này →

Scale out / scale in

Mở rộng theo chiều ngang: tăng (scale out) hoặc giảm (scale in) số lượng tài nguyên, ví dụ số EC2 instance, theo nhu cầu thực tế. Khác với scale up là tăng cấu hình của một tài nguyên.Horizontal scaling: adding (scale out) or removing (scale in) resources, such as EC2 instances, to match demand. Different from scaling up, which increases the size of one resource.

Mục đíchPurposeThêm máy khi tải tăng (scale out), bớt máy khi tải giảm (scale in) để vừa đủ đáp ứng.Adds machines as load rises (scale out) and removes them as it falls (scale in) to match demand.

Ở MFTECH: Trong ngày khuyến mãi, MFTECH scale out từ 2 lên 10 instance, sau đó scale in về 2.On sale days MFTECH scales out from 2 to 10 instances, then scales back in to 2.

Auto Scaling group

Tập hợp EC2 instance được xem như một nhóm logic để mở rộng tự động và quản lý. Nhóm duy trì số instance trong khoảng minimum–maximum, thay instance không healthy và điều chỉnh theo scaling policy.A collection of EC2 instances treated as a logical grouping for automatic scaling and management. It keeps the instance count between minimum and maximum, replaces unhealthy instances and adjusts according to scaling policies.

Mục đíchPurposeGiữ đúng số EC2 instance khoẻ mạnh trên nhiều AZ, tự thêm bớt theo tải và thay máy hỏng.Keeps the right number of healthy EC2 instances across AZs, scaling with load and replacing failed ones.

Ở MFTECH: MFTECH đặt minimum 2, maximum 10 instance cho nhóm web server.MFTECH sets a minimum of 2 and a maximum of 10 web server instances.

Scaling policy

Quy tắc điều chỉnh dung lượng của Auto Scaling group: target tracking (giữ một metric quanh giá trị mục tiêu), step hoặc simple scaling (theo ngưỡng alarm), scheduled (theo lịch) và predictive (dự báo từ dữ liệu lịch sử).A rule that adjusts an Auto Scaling group's capacity: target tracking (keep a metric near a target value), step or simple scaling (on alarm thresholds), scheduled (on a schedule) and predictive (forecast from history).

Mục đíchPurposeQuy tắc nói khi nào và thêm bớt bao nhiêu máy, dựa trên metric hoặc lịch.The rule saying when and how many machines to add or remove, from metrics or a schedule.

Launch template

Mẫu chứa thông tin cấu hình để khởi chạy instance (AMI, instance type, key pair, security group, user data). Auto Scaling group dùng launch template khi thêm instance; launch configuration là cơ chế cũ.A template with the configuration to launch an instance (AMI, instance type, key pair, security groups, user data). Auto Scaling groups use it to add instances; launch configurations are the legacy mechanism.

Mục đíchPurposeLưu sẵn mọi thông số để tạo instance giống nhau; mỗi lần sửa thành một version mới.Stores every setting needed to launch identical instances; each change becomes a new version.

ECS + EKS + Fargate

4 Học bài này →

Container

Đơn vị phần mềm chuẩn hoá đóng gói code cùng các thành phần phụ thuộc để ứng dụng chạy nhanh và nhất quán trên nhiều môi trường; được tạo từ một container image.A standardized unit of software that packages code and its dependencies so the application runs quickly and reliably across environments; created from a container image.

Mục đíchPurposeĐóng gói ứng dụng cùng thư viện để chạy giống nhau ở mọi nơi; nhẹ và khởi động nhanh hơn máy ảo.Packages an app with its libraries to run the same everywhere; lighter and faster to start than a VM.

Amazon ECS

Amazon Elastic Container Service: dịch vụ điều phối container managed, giúp triển khai, quản lý và mở rộng ứng dụng container trên EC2 hoặc AWS Fargate.Amazon Elastic Container Service: a fully managed container orchestration service to deploy, manage and scale containerized applications on EC2 or AWS Fargate.

Mục đíchPurposeChạy và quản lý container trên AWS: giữ đủ số task đang chạy và thay task hỏng.Runs and manages containers on AWS, keeping the right number of tasks running and replacing failed ones.

Amazon EKS

Amazon Elastic Kubernetes Service: dịch vụ managed chạy Kubernetes trên AWS mà không cần tự cài đặt và vận hành control plane Kubernetes.Amazon Elastic Kubernetes Service: a managed service to run Kubernetes on AWS without installing and operating your own Kubernetes control plane.

Mục đíchPurposeChạy Kubernetes trên AWS: AWS vận hành control plane, bạn chạy pod như Kubernetes chuẩn.Runs Kubernetes on AWS: AWS operates the control plane, you run pods as in standard Kubernetes.

AWS Fargate

Công nghệ compute serverless cho container, dùng được với Amazon ECS và Amazon EKS: không cần cấp phát, cấu hình hay mở rộng cụm máy chủ; trả tiền theo vCPU và bộ nhớ container yêu cầu.A serverless compute engine for containers that works with Amazon ECS and Amazon EKS: no servers to provision, configure or scale; you pay for the vCPU and memory your containers request.

Mục đíchPurposeChạy container mà không quản lý máy chủ; trả tiền theo CPU, bộ nhớ của từng task.Runs containers with no servers to manage; you pay for each task's CPU and memory.

Lambda + API Gateway

4 Học bài này →

Serverless

Mô hình triển khai không cần cấp phát hay quản lý máy chủ: dịch vụ tự mở rộng theo nhu cầu, có sẵn tính sẵn sàng cao và tính tiền theo lượng sử dụng thực tế.A model with no servers to provision or manage: services scale automatically with demand, include high availability and are billed for actual usage.

Mục đíchPurposeChạy ứng dụng không phải quản lý máy chủ: tự mở rộng, không dùng thì không tốn.Runs applications without managing servers: scales on its own and costs nothing when idle.

AWS Lambda

Dịch vụ compute chạy code mà không cần cấp phát hay quản lý máy chủ. Lambda chạy function khi có sự kiện, tự mở rộng và tính tiền theo thời gian thực thi; mỗi lần gọi chạy tối đa 15 phút.A compute service that runs code without provisioning or managing servers. Lambda runs functions in response to events, scales automatically and bills for compute time; each invocation can run up to 15 minutes.

Mục đíchPurposeChạy một hàm khi có sự kiện, không cần máy chủ; mỗi lần chạy tối đa 15 phút.Runs a function when an event happens, with no servers; each run lasts at most 15 minutes.

Ở MFTECH: Mỗi khi người bán tải ảnh lên S3, một Lambda function tạo ảnh thumbnail.Each time a seller uploads an image to S3, a Lambda function creates a thumbnail.

Amazon API Gateway

Dịch vụ tạo, công bố, duy trì, giám sát và bảo mật REST, HTTP và WebSocket API ở mọi quy mô; hỗ trợ xác thực, giới hạn tốc độ (throttling) và cache.A service for creating, publishing, maintaining, monitoring and securing REST, HTTP and WebSocket APIs at any scale, with authorization, throttling and caching.

Mục đíchPurposeCửa vào API công khai: nhận request HTTPS, xác thực, giới hạn tốc độ rồi chuyển tới backend.The public front door of an API: takes HTTPS requests, authenticates, throttles, then forwards to the backend.

Event-driven architecture

Kiến trúc dùng sự kiện để kích hoạt và giao tiếp giữa các dịch vụ tách rời: bên phát sinh sự kiện không cần biết bên xử lý, và các thành phần mở rộng độc lập.An architecture that uses events to trigger and communicate between decoupled services: producers do not need to know consumers, and components scale independently.

Mục đíchPurposeCác thành phần phản ứng với sự kiện thay vì gọi trực tiếp nhau, nên thêm bớt xử lý mà không sửa bên phát.Components react to events instead of calling each other, so handlers can be added without changing the sender.

Lớp 4Layer 4 Storage 23 thuật ngữ

Amazon S3

Amazon Simple Storage Service: dịch vụ lưu trữ object với khả năng mở rộng, tính sẵn sàng, bảo mật và hiệu năng hàng đầu; được thiết kế cho độ bền dữ liệu 99,999999999% (11 số 9).Amazon Simple Storage Service: an object storage service offering industry-leading scalability, data availability, security and performance; designed for 99.999999999% (11 nines) of data durability.

Mục đíchPurposeLưu không giới hạn object (tệp) với độ bền rất cao, đọc ghi qua HTTP; không phải ổ đĩa gắn vào máy.Stores unlimited objects (files) with very high durability, read and written over HTTP; not a disk mounted on a machine.

Ở MFTECH: Ảnh sản phẩm, hoá đơn và log của MFTECH đều lưu trên Amazon S3.MFTECH's product images, invoices and logs are all stored in Amazon S3.

Bucket

Vùng chứa object trong Amazon S3. Tên bucket là duy nhất trên toàn bộ AWS (trong cùng partition) và bucket được tạo trong một Region.A container for objects stored in Amazon S3. Bucket names are unique across AWS (within a partition), and each bucket is created in one Region.

Mục đíchPurposeThùng chứa object, tên duy nhất toàn cầu, nằm trong một Region; quyền và cấu hình đặt ở mức bucket.A container for objects, globally unique name, in one Region; access and settings are set at bucket level.

Object

Thực thể cơ bản lưu trong Amazon S3, gồm dữ liệu và metadata, được xác định duy nhất trong bucket bằng key (tên) và version ID.The fundamental entity stored in Amazon S3, consisting of data and metadata, uniquely identified in a bucket by its key (name) and version ID.

Mục đíchPurposeĐơn vị dữ liệu trong S3: nội dung tệp, key (tên) và metadata; ghi lại là thay cả object.The unit of data in S3: file content, a key (name) and metadata; a write replaces the whole object.

Storage class

Mỗi object trong S3 có một storage class, quyết định chi phí lưu trữ, phí truy xuất, tính sẵn sàng và thời gian truy cập; chọn theo tần suất truy cập dữ liệu.Every object in S3 has a storage class that determines storage cost, retrieval fees, availability and access time; choose it by how often the data is accessed.

Mục đíchPurposeChọn mức giá lưu trữ theo tần suất đọc: dữ liệu càng ít đọc càng rẻ, nhưng có phí và thời gian lấy lại.Picks the storage price by how often data is read: rarer reads cost less, with retrieval fees and delays.

S3 Glacier storage classes

Các storage class dành cho lưu trữ dài hạn (archive) với chi phí thấp nhất: Glacier Instant Retrieval (truy xuất mili giây), Glacier Flexible Retrieval (phút tới giờ) và Glacier Deep Archive (trong vòng 12 giờ).Storage classes for long-term archiving at the lowest cost: Glacier Instant Retrieval (milliseconds), Glacier Flexible Retrieval (minutes to hours) and Glacier Deep Archive (within 12 hours).

Mục đíchPurposeLưu trữ lâu dài dữ liệu hiếm khi đọc với chi phí thấp nhất; đổi lại phải chờ khi lấy dữ liệu.Archives rarely read data at the lowest cost, in return for waiting when you retrieve it.

S3 Lifecycle

Tập rule định nghĩa hành động S3 áp dụng cho nhóm object trong suốt vòng đời: transition (chuyển sang storage class khác) và expiration (xoá object khi hết hạn).A set of rules defining actions S3 applies to a group of objects over their lifetime: transitions (move to another storage class) and expirations (delete objects when they expire).

Mục đíchPurposeTự chuyển object sang lớp rẻ hơn hoặc xoá đi theo tuổi, không cần làm tay.Moves objects to cheaper classes or deletes them by age, with no manual work.

Ở MFTECH: Log cũ hơn 30 ngày chuyển sang Standard-IA và bị xoá sau 1 năm.Logs older than 30 days move to Standard-IA and are deleted after a year.

S3 Versioning

Cách giữ nhiều phiên bản của một object trong cùng bucket, cho phép bảo toàn, truy xuất và khôi phục mọi phiên bản, kể cả khi bị ghi đè hoặc xoá nhầm.A means of keeping multiple variants of an object in the same bucket so you can preserve, retrieve and restore every version, including after accidental overwrites or deletes.

Mục đíchPurposeGiữ mọi phiên bản của object để khôi phục khi bị ghi đè hoặc xoá nhầm.Keeps every version of an object so overwrites and accidental deletes can be undone.

S3 Object Lock

Lưu object theo mô hình write-once-read-many (WORM): ngăn object bị xoá hoặc ghi đè trong một khoảng thời gian cố định (retention period) hoặc vô thời hạn (legal hold).Stores objects using a write-once-read-many (WORM) model, preventing deletion or overwrite for a fixed retention period or indefinitely (legal hold).

Mục đíchPurposeKhoá object version để không ai xoá hoặc sửa được trong thời hạn (WORM), đáp ứng quy định lưu trữ.Locks object versions so no one can delete or change them until a date (WORM), for retention rules.

Presigned URL

URL có chữ ký và thời hạn, cấp quyền truy cập tạm thời tới một object S3 cụ thể (tải lên hoặc tải về) cho người không có credentials AWS.A signed, time-limited URL that grants temporary access to a specific S3 object (upload or download) to someone without AWS credentials.

Mục đíchPurposeCho người không có tài khoản AWS tải lên hoặc tải xuống đúng một object trong thời gian ngắn; bucket vẫn riêng tư.Lets someone without AWS credentials upload or download one object for a short time; the bucket stays private.

Ở MFTECH: Ứng dụng cấp presigned URL để người bán tải ảnh trực tiếp lên S3.The app issues presigned URLs so sellers upload images directly to S3.

S3 Replication

Sao chép object tự động, bất đồng bộ giữa các bucket, trong cùng Region (SRR) hoặc khác Region (CRR). Versioning phải được bật ở cả bucket nguồn và đích.Automatic, asynchronous copying of objects between buckets in the same Region (SRR) or different Regions (CRR). Versioning must be enabled on both source and destination buckets.

Mục đíchPurposeTự sao chép object mới sang bucket khác, cùng Region (SRR) hoặc khác Region (CRR).Automatically copies new objects to another bucket, in the same Region (SRR) or another Region (CRR).

EBS + EFS + FSx

6 Học bài này →

Amazon EBS

Amazon Elastic Block Store cung cấp volume lưu trữ khối có thể gắn vào EC2 instance. Dữ liệu trên volume tồn tại độc lập với vòng đời instance; mỗi volume nằm trong một AZ.Amazon Elastic Block Store provides block storage volumes you attach to EC2 instances. Data persists independently of the instance's life; each volume resides in one AZ.

Mục đíchPurposeỔ đĩa mạng bền vững cho EC2, nằm trong một AZ; dữ liệu còn nguyên khi instance stop.A durable network disk for EC2 in one AZ; data survives when the instance stops.

Snapshot

Bản sao lưu tại một thời điểm của EBS volume (hoặc database), lưu trên Amazon S3 theo cơ chế tăng dần (incremental); dùng để khôi phục, tạo volume mới hoặc copy sang Region khác.A point-in-time, incremental backup of an EBS volume (or database) stored in Amazon S3; used to restore, create new volumes or copy to another Region.

Mục đíchPurposeSao lưu một EBS volume tại một thời điểm; lưu theo Region nên khôi phục được ở AZ khác hoặc copy sang Region khác.Backs up an EBS volume at a point in time; stored per Region, so it restores in another AZ or copies to another Region.

Instance store

Lưu trữ khối tạm thời trên ổ đĩa gắn vật lý với máy chủ chạy instance. Hiệu năng cao nhưng dữ liệu mất khi instance dừng, ngủ đông hoặc bị terminate.Temporary block storage on disks physically attached to the host computer. High performance, but data is lost when the instance stops, hibernates or terminates.

Mục đíchPurposeỔ đĩa rất nhanh gắn sẵn trên máy chủ vật lý; dữ liệu mất khi stop, terminate hoặc host hỏng.A very fast disk on the physical host; data is lost on stop, terminate or host failure.

IOPS

Input/output operations per second: số thao tác đọc/ghi mỗi giây mà volume đáp ứng. Volume gp3 và io2 cho phép cấu hình IOPS độc lập với dung lượng.Input/output operations per second a volume can sustain. gp3 and io2 volumes let you provision IOPS independently of size.

Mục đíchPurposeĐo số thao tác đọc ghi mỗi giây của ổ đĩa; database cần nhiều thao tác nhỏ nên cần IOPS cao.Measures disk read/write operations per second; databases make many small operations, so they need high IOPS.

Amazon EFS

Amazon Elastic File System: file system serverless, đàn hồi, dùng giao thức NFS, cho phép nhiều instance Linux ở nhiều AZ truy cập đồng thời; dung lượng tự tăng giảm theo dữ liệu.Amazon Elastic File System: a serverless, elastic NFS file system that many Linux instances across AZs can access at once; capacity grows and shrinks with your data.

Mục đíchPurposeFile system dùng chung cho nhiều máy Linux cùng lúc, qua nhiều AZ, tự tăng giảm dung lượng.A shared file system for many Linux machines at once, across AZs, growing and shrinking on its own.

Amazon FSx

Họ dịch vụ file system managed dựng trên các hệ thống file phổ biến: Windows File Server (SMB, Active Directory), Lustre (tính toán hiệu năng cao), NetApp ONTAP và OpenZFS.A family of fully managed file systems built on popular file systems: Windows File Server (SMB, Active Directory), Lustre (high-performance computing), NetApp ONTAP and OpenZFS.

Mục đíchPurposeFile system managed cho từng hệ sinh thái: Windows (SMB, AD), Lustre (HPC, liên kết S3), NetApp ONTAP, OpenZFS.Managed file systems per ecosystem: Windows (SMB, AD), Lustre (HPC, linked to S3), NetApp ONTAP, OpenZFS.

Storage Gateway + Snow Family + DataSync + DMS

7 Học bài này →

On-premises

Hạ tầng đặt tại data center hoặc văn phòng do doanh nghiệp tự quản lý, không nằm trên AWS. Mô hình kết hợp on-premises với AWS được gọi là hybrid.Infrastructure in data centers or offices that the company manages itself, outside AWS. Combining on-premises infrastructure with AWS is called a hybrid architecture.

Mục đíchPurposeHạ tầng doanh nghiệp tự sở hữu và vận hành bên ngoài AWS; kết hợp với AWS gọi là hybrid.Infrastructure the company owns and runs outside AWS; combined with AWS it is called hybrid.

Ở MFTECH: Hệ thống kế toán cũ của MFTECH vẫn chạy on-premises tại văn phòng Hà Nội.MFTECH's old accounting system still runs on premises in the Hanoi office.

AWS Storage Gateway

Dịch vụ lưu trữ hybrid cho phép ứng dụng on-premises sử dụng lưu trữ trên AWS qua các giao thức quen thuộc: file share (S3 File Gateway), volume (Volume Gateway) hoặc băng từ ảo (Tape Gateway).A hybrid storage service that lets on-premises applications use AWS storage through familiar protocols: file shares (S3 File Gateway), volumes (Volume Gateway) or virtual tapes (Tape Gateway).

Mục đíchPurposeCho máy on-premises dùng lưu trữ AWS qua giao thức quen thuộc (NFS, SMB, iSCSI), có cache tại chỗ.Lets on-premises machines use AWS storage through familiar protocols (NFS, SMB, iSCSI), with a local cache.

AWS DataSync

Dịch vụ truyền dữ liệu trực tuyến giúp đơn giản hoá, tự động hoá và tăng tốc việc di chuyển dữ liệu giữa lưu trữ on-premises, cloud khác và các dịch vụ lưu trữ AWS, có kiểm tra tính toàn vẹn.An online data transfer service that simplifies, automates and accelerates moving data between on-premises storage, other clouds and AWS storage services, with integrity verification.

Mục đíchPurposeChuyển lượng lớn tệp qua mạng lên AWS (hoặc giữa các dịch vụ lưu trữ) nhanh, tự động và có kiểm tra toàn vẹn.Moves large numbers of files over the network into AWS (or between storage services) quickly, automatically, with integrity checks.

AWS Snowball

Thiết bị vật lý do AWS gửi tới để chép dữ liệu tại chỗ rồi vận chuyển về AWS, dùng khi khối lượng dữ liệu quá lớn để truyền qua mạng; Snowball Edge còn có năng lực tính toán tại biên.A physical device AWS ships to you to copy data locally and transport it to AWS, for data too large to move over the network; Snowball Edge also provides edge computing.

Mục đíchPurposeChuyển hàng chục TB bằng thiết bị vật lý gửi tận nơi khi mạng quá chậm; xử lý được dữ liệu tại biên.Moves tens of TB on a physical device shipped to you when the network is too slow; can also process data at the edge.

AWS Transfer Family

Dịch vụ managed truyền file vào và ra khỏi Amazon S3 hoặc Amazon EFS qua các giao thức SFTP, FTPS, FTP và AS2.A fully managed service to transfer files into and out of Amazon S3 or Amazon EFS over SFTP, FTPS, FTP and AS2.

Mục đíchPurposeCho đối tác gửi nhận tệp qua SFTP, FTPS, FTP như trước, nhưng tệp nằm trong S3 hoặc EFS.Lets partners exchange files over SFTP, FTPS or FTP as before, with the files landing in S3 or EFS.

AWS Database Migration Service (DMS)

Dịch vụ di chuyển database lên AWS trong khi database nguồn vẫn hoạt động, hỗ trợ cùng hoặc khác engine và sao chép thay đổi liên tục (change data capture).Migrates databases to AWS while the source stays operational, supporting homogeneous and heterogeneous migrations and ongoing replication (change data capture).

Mục đíchPurposeChuyển database lên AWS trong khi database nguồn vẫn chạy: chép toàn bộ rồi đồng bộ thay đổi liên tục.Migrates a database to AWS while the source keeps running: copy everything, then stream ongoing changes.

AWS Application Migration Service (MGN)

Dịch vụ di chuyển server theo kiểu lift-and-shift: agent trên server nguồn sao chép liên tục dữ liệu ở mức block sang AWS, cho phép launch instance thử nghiệm rồi cutover sang EC2 với thời gian gián đoạn ngắn.A lift-and-shift server migration service: an agent on the source server continuously replicates block-level data to AWS, so test instances can be launched before a cutover to EC2 with short downtime.

Mục đíchPurposeChuyển nguyên máy chủ (lift-and-shift) lên EC2: sao chép liên tục từng block ổ đĩa rồi cắt chuyển với thời gian dừng ngắn.Moves whole servers (lift-and-shift) to EC2: replicates disks block by block, then cuts over with little downtime.

Ở MFTECH: MFTECH chuyển server ứng dụng tại văn phòng lên EC2 bằng MGN; hệ thống chỉ dừng trong lúc cutover.MFTECH moves its office application server to EC2 with MGN; the system stops only during the cutover.

Lớp 5Layer 5 Database 20 thuật ngữ

RDS + Aurora

6 Học bài này →

Amazon RDS

Amazon Relational Database Service: dịch vụ web giúp thiết lập, vận hành và mở rộng database quan hệ trên AWS (MySQL, PostgreSQL, MariaDB, Oracle, SQL Server, Db2); AWS đảm nhận cấp phát, vá lỗi, sao lưu và khôi phục.Amazon Relational Database Service: a web service that makes it easier to set up, operate and scale a relational database in AWS (MySQL, PostgreSQL, MariaDB, Oracle, SQL Server, Db2); AWS handles provisioning, patching, backup and recovery.

Mục đíchPurposeChạy database quan hệ (MySQL, PostgreSQL…) mà AWS lo cài đặt, vá lỗi, sao lưu và failover.Runs a relational database (MySQL, PostgreSQL…) while AWS handles setup, patching, backups and failover.

Ở MFTECH: Đơn hàng của MFTECH lưu trong Amazon RDS for MySQL.MFTECH's orders are stored in Amazon RDS for MySQL.

Amazon Aurora

Engine database quan hệ managed tương thích MySQL và PostgreSQL. Dữ liệu lưu trên cluster volume tự mở rộng, sao chép 6 bản trên 3 AZ; hiệu năng cao hơn MySQL và PostgreSQL thông thường.A fully managed relational database engine compatible with MySQL and PostgreSQL. Data lives on a self-growing cluster volume replicated six ways across three AZs, with higher throughput than standard MySQL and PostgreSQL.

Mục đíchPurposeDatabase quan hệ của AWS tương thích MySQL/PostgreSQL: lưu 6 bản trên 3 AZ, tới 15 replica dùng chung một ổ.AWS's MySQL/PostgreSQL-compatible relational database: 6 copies across 3 AZs, up to 15 replicas sharing one volume.

Multi-AZ deployment

Cấu hình RDS tự động tạo và duy trì một bản sao standby ở AZ khác, sao chép đồng bộ từ primary; khi primary gặp sự cố, RDS tự động failover sang standby.An RDS configuration that automatically provisions and maintains a synchronous standby replica in a different AZ; if the primary fails, RDS fails over to the standby automatically.

Mục đíchPurposeGiữ database chạy khi AZ của primary gặp sự cố: standby ở AZ khác nhận dữ liệu đồng bộ và tự tiếp quản.Keeps a database running when the primary's AZ fails: a standby in another AZ gets synchronous copies and takes over.

Read replica

Bản sao chỉ đọc của DB instance, được cập nhật bất đồng bộ từ primary; dùng để giảm tải đọc cho primary và có thể đặt ở Region khác.A read-only copy of a DB instance, updated asynchronously from the primary; used to offload read traffic and can be placed in another Region.

Mục đíchPurposeBản sao chỉ đọc để chia tải đọc khỏi database chính; sao chép bất đồng bộ, có thể ở Region khác.A read-only copy to take read load off the main database; asynchronous, possibly in another Region.

Ở MFTECH: Phòng kế toán chạy báo cáo trên read replica để database đơn hàng không bị chậm.Accounting runs reports on a read replica so the orders database stays fast.

Amazon RDS Proxy

Proxy database managed có tính sẵn sàng cao, gom và chia sẻ kết nối database (connection pooling), giúp ứng dụng như Lambda mở nhiều kết nối đồng thời không làm cạn tài nguyên database.A fully managed, highly available database proxy that pools and shares database connections, so applications such as Lambda can open many concurrent connections without exhausting the database.

Mục đíchPurposeGom và tái sử dụng kết nối database, để hàng nghìn Lambda không làm cạn giới hạn kết nối.Pools and reuses database connections so thousands of Lambdas do not exhaust the connection limit.

Failover

Quá trình tự động chuyển sang thành phần dự phòng khi thành phần chính gặp sự cố, ví dụ RDS chuyển endpoint sang standby trong Multi-AZ deployment.Automatically switching to a standby component when the primary fails, for example RDS pointing its endpoint to the standby in a Multi-AZ deployment.

Mục đíchPurposeTự chuyển sang thành phần dự phòng khi thành phần chính hỏng, để hệ thống tiếp tục phục vụ.Switches to a standby automatically when the main component fails, so the system keeps serving.

DynamoDB

6 Học bài này →

Amazon DynamoDB

Dịch vụ database NoSQL serverless, managed, có hiệu năng độ trễ một chữ số mili giây ở mọi quy mô; hỗ trợ mô hình key-value và document.A serverless, fully managed NoSQL database service with single-digit millisecond performance at any scale; it supports key-value and document data models.

Mục đíchPurposeDatabase NoSQL serverless trả lời trong vài mili giây ở mọi quy mô; dữ liệu thiết kế theo cách truy vấn.A serverless NoSQL database answering in single-digit milliseconds at any scale; data is modelled for its queries.

Ở MFTECH: Giỏ hàng của khách lưu trong Amazon DynamoDB.Customers' shopping carts are stored in Amazon DynamoDB.

NoSQL

Nhóm database phi quan hệ, dùng các mô hình dữ liệu như key-value, document, graph thay cho bảng quan hệ; tối ưu cho mở rộng theo chiều ngang và mẫu truy cập biết trước.Non-relational databases that use data models such as key-value, document or graph instead of relational tables; optimized for horizontal scaling and known access patterns.

Mục đíchPurposeLưu dữ liệu không theo bảng quan hệ cố định để mở rộng ngang dễ; mỗi bản ghi có thể có thuộc tính khác nhau.Stores data without fixed relational tables so it scales out easily; each record may carry different attributes.

Partition key

Thuộc tính trong primary key của bảng DynamoDB; giá trị partition key được đưa qua hàm băm để xác định partition lưu item. Partition key có nhiều giá trị khác nhau giúp phân bổ tải đồng đều.The attribute in a DynamoDB table's primary key whose value is hashed to choose the partition that stores the item. Keys with many distinct values spread load evenly.

Mục đíchPurposeGiá trị DynamoDB băm ra để chọn partition lưu item; key càng đa dạng thì tải càng chia đều.The value DynamoDB hashes to pick an item's partition; the more varied the key, the more even the load.

Read/write capacity mode

Cách DynamoDB tính phí và quản lý thông lượng đọc, ghi: on-demand (trả theo request, tự đáp ứng tải) hoặc provisioned (đặt trước read capacity unit và write capacity unit mỗi giây, có thể kết hợp auto scaling).How DynamoDB charges for and manages read and write throughput: on-demand (pay per request, adapts to load) or provisioned (set read and write capacity units per second, optionally with auto scaling).

Mục đíchPurposeChọn cách trả tiền cho thông lượng đọc ghi: theo request, hoặc đặt trước công suất.Chooses how to pay for read/write throughput: per request, or by reserving capacity.

DynamoDB Accelerator (DAX)

Cache trong bộ nhớ, managed, có tính sẵn sàng cao dành cho DynamoDB, giảm thời gian đọc từ mili giây xuống micro giây mà không cần thay đổi nhiều trong ứng dụng.A fully managed, highly available in-memory cache for DynamoDB that reduces read times from milliseconds to microseconds with minimal application changes.

Mục đíchPurposeCache trong bộ nhớ đặt trước DynamoDB, đọc trong micro giây mà gần như không sửa mã.An in-memory cache in front of DynamoDB, reading in microseconds with almost no code change.

Global tables

Tính năng DynamoDB sao chép bảng tự động giữa các Region được chọn, cho phép đọc và ghi ở mọi Region (multi-Region, multi-active).A DynamoDB feature that automatically replicates a table across chosen Regions, with reads and writes in every Region (multi-Region, multi-active).

Mục đíchPurposeSao chép bảng DynamoDB sang nhiều Region, đọc ghi được ở mọi nơi với độ trễ thấp.Replicates a DynamoDB table to several Regions, readable and writable everywhere with low latency.

ElastiCache + Redshift + Athena + Glue/EMR

8 Học bài này →

Amazon ElastiCache

Dịch vụ cache trong bộ nhớ managed tương thích Valkey, Redis OSS và Memcached, dùng để tăng tốc ứng dụng và giảm tải database.A fully managed in-memory caching service compatible with Valkey, Redis OSS and Memcached, used to speed up applications and offload databases.

Mục đíchPurposeCache trong bộ nhớ (Redis OSS, Valkey, Memcached) để trả lời truy vấn lặp lại thật nhanh và giảm tải database.An in-memory cache (Redis OSS, Valkey, Memcached) that answers repeated queries fast and relieves the database.

Ở MFTECH: Trang chi tiết sản phẩm đọc từ ElastiCache trước, chỉ truy vấn database khi cache miss.Product pages read from ElastiCache first and query the database only on a cache miss.

Data lake

Kho lưu trữ tập trung chứa dữ liệu có cấu trúc và phi cấu trúc ở mọi quy mô, giữ ở định dạng gốc (thường trên Amazon S3) để phân tích bằng nhiều công cụ.A centralized repository that stores structured and unstructured data at any scale in its original format (usually in Amazon S3) for analysis with many tools.

Mục đíchPurposeGom mọi dữ liệu thô và đã xử lý vào S3 một chỗ, để nhiều công cụ phân tích dùng chung.Gathers raw and processed data in one S3 place so many analytics tools can share it.

Amazon Athena

Dịch vụ truy vấn tương tác serverless, phân tích dữ liệu trực tiếp trên Amazon S3 bằng SQL chuẩn; trả tiền theo lượng dữ liệu quét.An interactive, serverless query service to analyze data directly in Amazon S3 using standard SQL; you pay for the data scanned.

Mục đíchPurposeTruy vấn SQL trực tiếp trên dữ liệu trong S3, không máy chủ, trả tiền theo lượng dữ liệu quét.Runs SQL directly on data in S3, serverless, paying for the data scanned.

Amazon Redshift

Data warehouse managed quy mô petabyte, lưu dữ liệu dạng cột và tối ưu cho truy vấn phân tích phức tạp trên tập dữ liệu lớn.A fully managed, petabyte-scale data warehouse that stores data in columns and is optimized for complex analytical queries on large data sets.

Mục đíchPurposeData warehouse lưu dạng cột để truy vấn tổng hợp, báo cáo trên dữ liệu rất lớn; không dùng cho giao dịch.A column-store data warehouse for aggregate queries and reports on very large data; not for transactions.

AWS Glue

Dịch vụ tích hợp dữ liệu serverless giúp khám phá, chuẩn bị và kết hợp dữ liệu (ETL) cho phân tích; AWS Glue Data Catalog lưu metadata schema để Athena và Redshift sử dụng.A serverless data integration service to discover, prepare and combine data (ETL) for analytics; the AWS Glue Data Catalog stores schema metadata for Athena and Redshift.

Mục đíchPurposeDò, mô tả và biến đổi dữ liệu (ETL) mà không cần máy chủ; Data Catalog là kho schema dùng chung.Discovers, describes and transforms data (ETL) without servers; the Data Catalog is the shared schema store.

Amazon EMR

Nền tảng cluster managed giúp chạy các framework big data như Apache Hadoop và Apache Spark để xử lý và phân tích lượng dữ liệu lớn.A managed cluster platform that runs big data frameworks such as Apache Hadoop and Apache Spark to process and analyze vast amounts of data.

Mục đíchPurposeChạy cụm Spark, Hadoop, Hive managed để xử lý dữ liệu lớn, toàn quyền cấu hình framework.Runs managed Spark, Hadoop and Hive clusters for big data, with full control of the frameworks.

Amazon OpenSearch Service

Dịch vụ managed giúp triển khai, vận hành và mở rộng cluster OpenSearch, dùng cho tìm kiếm toàn văn, phân tích log và giám sát ứng dụng.A managed service to deploy, operate and scale OpenSearch clusters for full-text search, log analytics and application monitoring.

Mục đíchPurposeTìm kiếm toàn văn và phân tích log gần thời gian thực, kèm dashboard.Full-text search and near-real-time log analytics, with dashboards.

Amazon QuickSight

Dịch vụ business intelligence (BI) trên cloud để tạo dashboard và biểu đồ tương tác từ dữ liệu. Tài liệu AWS hiện gọi dịch vụ là Amazon Quick, phát triển từ Amazon QuickSight.A cloud-scale business intelligence (BI) service for building interactive dashboards and visualizations from your data. The AWS documentation now calls it Amazon Quick, which evolved from Amazon QuickSight.

Mục đíchPurposeTạo dashboard và báo cáo BI serverless cho người dùng doanh nghiệp.Builds serverless BI dashboards and reports for business users.

Lớp 6Layer 6 Integration, Monitoring & Operations 31 thuật ngữ

SQS + SNS + EventBridge + Step Functions

9 Học bài này →

Decoupling

Tách rời các thành phần để chúng giao tiếp gián tiếp qua hàng đợi, topic hoặc event bus thay vì gọi trực tiếp; một thành phần chậm hoặc lỗi không làm ảnh hưởng thành phần khác.Separating components so they communicate indirectly through queues, topics or event buses instead of direct calls; a slow or failing component does not affect the others.

Mục đíchPurposeĐặt một lớp đệm (hàng đợi, topic) giữa các thành phần để bên chậm hay hỏng không kéo bên kia theo.Puts a buffer (queue, topic) between components so a slow or failed side does not drag the other down.

Amazon SQS

Amazon Simple Queue Service: dịch vụ hàng đợi message managed, bảo mật và bền vững, giúp tách rời và mở rộng microservice, hệ thống phân tán và ứng dụng serverless.Amazon Simple Queue Service: a secure, durable, fully managed message queuing service that lets you decouple and scale microservices, distributed systems and serverless applications.

Mục đíchPurposeHàng đợi message managed: bên gửi bỏ message vào, bên xử lý kéo ra và xoá khi xong.A managed message queue: senders drop messages in, processors pull them out and delete them when done.

Ở MFTECH: Đơn hàng mới được đưa vào SQS để hệ thống kho xử lý dần, kể cả khi lượng đơn tăng đột biến.New orders go into SQS so the warehouse system processes them gradually, even during spikes.

FIFO queue

Loại hàng đợi SQS bảo đảm thứ tự message (first-in-first-out) và xử lý đúng một lần (exactly-once); thông lượng giới hạn hơn standard queue.An SQS queue type that guarantees message order (first-in-first-out) and exactly-once processing, with more limited throughput than standard queues.

Mục đíchPurposeHàng đợi giữ đúng thứ tự gửi trong từng nhóm và loại bỏ message trùng.A queue that keeps send order within each group and removes duplicates.

Dead-letter queue (DLQ)

Hàng đợi nhận các message không được xử lý thành công sau số lần thử tối đa, giúp tách riêng message lỗi để phân tích mà không chặn hàng đợi chính.A queue that receives messages that could not be processed successfully after the maximum receive count, isolating problem messages for analysis without blocking the source queue.

Mục đíchPurposeGom message xử lý thất bại nhiều lần sang hàng đợi riêng để xem xét, không chặn hàng đợi chính.Moves messages that keep failing to a separate queue for review, so they do not block the main queue.

Amazon SNS

Amazon Simple Notification Service: dịch vụ managed gửi message từ publisher tới subscriber theo mô hình publish/subscribe qua topic; subscriber có thể là SQS, Lambda, HTTP endpoint, email hoặc SMS.Amazon Simple Notification Service: a managed service that delivers messages from publishers to subscribers through topics (publish/subscribe); subscribers can be SQS, Lambda, HTTP endpoints, email or SMS.

Mục đíchPurposePhát một message tới nhiều người nhận cùng lúc (pub/sub); đẩy đi ngay, không lưu chờ.Pushes one message to many subscribers at once (pub/sub); delivered immediately, not stored for later.

Fan-out

Mẫu kiến trúc trong đó một message publish tới SNS topic được nhân bản và đẩy tới nhiều endpoint (thường là nhiều SQS queue) để xử lý song song, độc lập.A pattern where a message published to an SNS topic is replicated and pushed to multiple endpoints (often several SQS queues) for parallel, independent processing.

Mục đíchPurposeGửi một sự kiện tới nhiều hệ thống xử lý song song và độc lập: SNS topic → nhiều SQS queue.Sends one event to several systems that process in parallel and independently: SNS topic → many SQS queues.

Amazon EventBridge

Dịch vụ serverless dùng sự kiện để kết nối các thành phần ứng dụng: event bus định tuyến sự kiện từ dịch vụ AWS, ứng dụng của bạn hoặc SaaS tới target theo rule; EventBridge Scheduler chạy tác vụ theo lịch.A serverless service that uses events to connect application components: event buses route events from AWS services, your applications or SaaS to targets using rules; EventBridge Scheduler runs tasks on a schedule.

Mục đíchPurposeBus sự kiện: nhận sự kiện từ dịch vụ AWS, SaaS, ứng dụng và theo rule chuyển tới đúng nơi xử lý.An event bus: takes events from AWS services, SaaS and apps and routes them to the right targets by rules.

AWS Step Functions

Dịch vụ điều phối trực quan giúp kết hợp nhiều dịch vụ AWS thành workflow (state machine), có sẵn cơ chế thử lại, xử lý lỗi và theo dõi trạng thái từng bước.A visual workflow service that combines AWS services into workflows (state machines) with built-in retries, error handling and per-step state tracking.

Mục đíchPurposeĐiều phối nhiều bước thành một quy trình có trạng thái, với rẽ nhánh, chạy song song, thử lại và xử lý lỗi.Orchestrates steps into a stateful workflow with branches, parallel runs, retries and error handling.

Amazon MQ

Dịch vụ message broker managed cho Apache ActiveMQ và RabbitMQ, hỗ trợ giao thức chuẩn như AMQP, MQTT, OpenWire, STOMP; phù hợp khi di chuyển ứng dụng đang dùng các broker này.A managed message broker service for Apache ActiveMQ and RabbitMQ that supports standard protocols such as AMQP, MQTT, OpenWire and STOMP; suited to migrating applications that use these brokers.

Mục đíchPurposeMessage broker managed (ActiveMQ, RabbitMQ) cho ứng dụng sẵn có dùng giao thức chuẩn, chuyển lên AWS không sửa mã.A managed message broker (ActiveMQ, RabbitMQ) for existing apps on standard protocols, moved to AWS without code changes.

Kinesis + MSK

4 Học bài này →

Amazon Kinesis Data Streams

Dịch vụ serverless thu thập và xử lý dữ liệu streaming theo thời gian thực ở mọi quy mô; dữ liệu được lưu giữ trong khoảng thời gian cấu hình và nhiều consumer có thể đọc lại. Dung lượng theo shard (provisioned) hoặc on-demand.A serverless service to capture and process streaming data in real time at any scale; data is retained for a configurable period and multiple consumers can replay it. Capacity is set per shard (provisioned) or on demand.

Mục đíchPurposeThu nhận luồng dữ liệu thời gian thực theo shard; nhiều consumer đọc cùng luồng và đọc lại được.Ingests real-time data streams in shards; many consumers read the same stream and can replay it.

Ở MFTECH: Lượt click của khách được đẩy vào Kinesis Data Streams để cập nhật bảng xếp hạng sản phẩm.Customer clicks flow into Kinesis Data Streams to update product rankings.

Amazon Data Firehose

Dịch vụ managed phân phối dữ liệu streaming theo thời gian gần thực tới đích như Amazon S3, Redshift, OpenSearch hoặc HTTP endpoint, có thể biến đổi dữ liệu trước khi ghi; không cần viết ứng dụng consumer.A fully managed service that delivers real-time streaming data to destinations such as Amazon S3, Redshift, OpenSearch or HTTP endpoints, optionally transforming it first; no consumer application to write.

Mục đíchPurposeNạp dữ liệu streaming vào S3, Redshift, OpenSearch mà không viết mã; gom theo lô gần thời gian thực.Loads streaming data into S3, Redshift or OpenSearch with no code, batching in near real time.

Amazon MSK

Dịch vụ Apache Kafka được quản lý: AWS vận hành broker và cluster trên nhiều AZ, ứng dụng tiếp tục dùng Kafka API sẵn có mà không cần sửa code.A managed Apache Kafka service: AWS runs the brokers and clusters across AZs, and applications keep using their existing Kafka APIs without code changes.

Mục đíchPurposeChạy Apache Kafka managed: AWS vận hành broker và ZooKeeper/KRaft, ứng dụng Kafka sẵn có dùng nguyên.Runs managed Apache Kafka: AWS operates the brokers and ZooKeeper/KRaft, existing Kafka apps work unchanged.

Ở MFTECH: Đội đối tác của MFTECH đã dùng Kafka nên chuyển sang Amazon MSK thay vì viết lại cho Kinesis.MFTECH's partner team already uses Kafka, so it moves to Amazon MSK instead of rewriting for Kinesis.

CloudWatch + CloudTrail + Config + Systems Manager

6 Học bài này →

Amazon CloudWatch

Dịch vụ giám sát tài nguyên AWS và ứng dụng chạy trên AWS theo thời gian thực: thu thập metric và log, tạo alarm, dashboard và tự động phản ứng khi có thay đổi.Monitors AWS resources and the applications you run on AWS in real time: collects metrics and logs, provides alarms and dashboards, and reacts automatically to changes.

Mục đíchPurposeTheo dõi metric và log của tài nguyên, ứng dụng; báo động và tự hành động khi vượt ngưỡng.Monitors resource and application metrics and logs; alarms and acts when thresholds are crossed.

Ở MFTECH: Alarm CloudWatch báo cho đội vận hành khi tỉ lệ lỗi 5xx vượt 1%.A CloudWatch alarm notifies the operations team when the 5xx error rate passes 1%.

Metric

Khái niệm cơ bản của CloudWatch: một tập hợp điểm dữ liệu có thứ tự theo thời gian, ví dụ CPUUtilization của một instance; dịch vụ AWS gửi metric mặc định, ứng dụng có thể gửi custom metric.The fundamental CloudWatch concept: a time-ordered set of data points, such as an instance's CPUUtilization; AWS services publish default metrics and applications can publish custom metrics.

Mục đíchPurposeChuỗi số đo theo thời gian, xác định bởi namespace, tên và dimension.A time series of measurements, identified by namespace, name and dimensions.

Alarm

Theo dõi một metric trong khoảng thời gian xác định và thực hiện hành động (gửi thông báo SNS, scaling, hành động EC2) khi giá trị vượt ngưỡng trong số chu kỳ cấu hình.Watches a metric over a time period and performs actions (SNS notification, scaling, EC2 action) when the value crosses a threshold for a configured number of periods.

Mục đíchPurposeTheo dõi một metric và chuyển trạng thái khi vượt ngưỡng trong đủ số chu kỳ, kèm hành động.Watches a metric and changes state when it crosses a threshold for enough periods, triggering actions.

AWS CloudTrail

Dịch vụ hỗ trợ kiểm toán vận hành và rủi ro, quản trị và tuân thủ: ghi lại hành động của user, role hoặc dịch vụ AWS dưới dạng sự kiện (API call qua console, CLI, SDK).A service that helps with operational and risk auditing, governance and compliance by recording actions taken by a user, role or AWS service as events (API calls via console, CLI, SDK).

Mục đíchPurposeGhi lại ai đã gọi API nào, khi nào, từ đâu trong tài khoản, để kiểm toán và điều tra.Records who called which API, when and from where in the account, for audit and investigation.

AWS Config

Dịch vụ cung cấp cái nhìn chi tiết về cấu hình tài nguyên AWS, ghi lại lịch sử thay đổi cấu hình và đánh giá mức tuân thủ so với rule mong muốn.Provides a detailed view of the configuration of AWS resources, records configuration changes over time and evaluates compliance against desired rules.

Mục đíchPurposeGhi lại cấu hình tài nguyên theo thời gian và đánh giá tài nguyên nào vi phạm quy tắc.Records resource configuration over time and evaluates which resources break your rules.

VPC Flow Logs

Tính năng ghi lại thông tin về traffic IP đi tới và đi ra khỏi network interface trong VPC (nguồn, đích, cổng, ACCEPT hoặc REJECT) và xuất tới CloudWatch Logs, S3 hoặc Firehose.Captures information about IP traffic going to and from network interfaces in a VPC (source, destination, port, ACCEPT or REJECT) and publishes it to CloudWatch Logs, S3 or Firehose.

Mục đíchPurposeGhi thông tin các luồng IP đi qua network interface (ai nói với ai, cổng nào, được cho qua hay bị từ chối).Records IP flows through network interfaces (who talked to whom, which port, accepted or rejected).

CloudFormation + Elastic Beanstalk

4 Học bài này →

Infrastructure as Code (IaC)

Thực hành quản lý hạ tầng bằng code và quy trình phát triển phần mềm (version control, review, kiểm thử), giúp tạo và cập nhật môi trường một cách tự động, lặp lại được.The practice of managing infrastructure with code and software development practices (version control, review, testing) so environments are created and updated automatically and repeatably.

Mục đíchPurposeMô tả hạ tầng bằng tệp mã để dựng lại giống hệt mỗi lần, review và quản lý phiên bản như mã nguồn.Describes infrastructure as code files so it is rebuilt identically every time, reviewed and versioned like source code.

AWS CloudFormation

Dịch vụ mô hình hoá và thiết lập tài nguyên AWS bằng template; CloudFormation tạo, cập nhật và xoá các tài nguyên đó cùng nhau như một đơn vị gọi là stack.A service that models and sets up AWS resources from templates; CloudFormation provisions, updates and deletes them together as a single unit called a stack.

Mục đíchPurposeDựng và cập nhật cả nhóm tài nguyên AWS từ một template; lỗi thì tự rollback.Creates and updates a whole group of AWS resources from one template; rolls back on failure.

AWS Elastic Beanstalk

Dịch vụ triển khai và mở rộng ứng dụng web: bạn tải code lên, Elastic Beanstalk tự xử lý cấp phát dung lượng, load balancing, auto scaling và giám sát sức khoẻ ứng dụng.A service for deploying and scaling web applications: you upload code and Elastic Beanstalk handles capacity provisioning, load balancing, auto scaling and application health monitoring.

Mục đíchPurposeTải mã ứng dụng lên, Beanstalk tự dựng EC2, Auto Scaling, load balancer và giám sát.Upload application code and Beanstalk builds EC2, Auto Scaling, a load balancer and monitoring for you.

AWS Systems Manager

Dịch vụ quản lý vận hành tập trung cho node trên AWS và on-premises: vá lỗi (Patch Manager), truy cập shell không cần SSH (Session Manager), lưu cấu hình và secret (Parameter Store), chạy lệnh từ xa.Centralized operations management for nodes on AWS and on premises: patching (Patch Manager), shell access without SSH (Session Manager), configuration and secrets (Parameter Store), remote commands.

Mục đíchPurposeVận hành nhiều máy từ một nơi: vá lỗi, chạy lệnh, truy cập shell không cần SSH, lưu tham số.Operates many machines from one place: patching, running commands, shell access without SSH, storing parameters.

AWS Backup + Disaster Recovery strategies

5 Học bài này →

Disaster recovery (DR)

Quá trình chuẩn bị và khôi phục workload sau sự kiện nghiêm trọng như sự cố cả một Region; mục tiêu được đo bằng RPO và RTO.The process of preparing for and recovering a workload from a disaster such as the loss of a whole Region; objectives are measured by RPO and RTO.

Mục đíchPurposeKế hoạch khôi phục hệ thống sau sự cố lớn (mất Region, xoá nhầm, ransomware) trong RTO và RPO đã định.The plan to restore systems after a major failure (lost Region, deletion, ransomware) within the agreed RTO and RPO.

Recovery point objective (RPO)

Khoảng thời gian tối đa chấp nhận được kể từ điểm khôi phục dữ liệu cuối cùng; quyết định lượng dữ liệu có thể mất giữa điểm khôi phục cuối và thời điểm gián đoạn.The maximum acceptable amount of time since the last data recovery point; it determines how much data loss is acceptable between the last recovery point and the interruption.

Mục đíchPurposeLượng dữ liệu tối đa được phép mất khi sự cố, đo bằng thời gian kể từ bản sao gần nhất.The most data you may lose in a failure, measured as time since the last copy.

Recovery time objective (RTO)

Khoảng thời gian trễ tối đa chấp nhận được từ lúc dịch vụ bị gián đoạn tới lúc khôi phục.The maximum acceptable delay between the interruption of service and restoration of service.

Mục đíchPurposeThời gian tối đa hệ thống được phép ngừng, tính từ lúc sự cố tới lúc phục vụ lại.The longest a system may be down, from the failure until it serves again.

DR strategies

Bốn chiến lược DR, xếp theo chi phí tăng dần và RTO/RPO giảm dần: backup and restore; pilot light (duy trì sẵn dữ liệu và thành phần lõi); warm standby (bản thu nhỏ luôn chạy); multi-site active/active.Four DR strategies in order of rising cost and falling RTO/RPO: backup and restore; pilot light (data and core components kept running); warm standby (a scaled-down copy always running); multi-site active/active.

Mục đíchPurposeBốn mức chuẩn bị DR, càng sẵn sàng thì khôi phục càng nhanh nhưng càng tốn.Four levels of DR readiness: the more ready, the faster the recovery and the higher the cost.

AWS Backup

Dịch vụ managed giúp tập trung và tự động hoá việc sao lưu dữ liệu trên nhiều dịch vụ AWS (EBS, RDS, DynamoDB, EFS, S3…) theo backup plan, kể cả sao chép sang Region hoặc tài khoản khác.A fully managed service to centralize and automate data protection across AWS services (EBS, RDS, DynamoDB, EFS, S3…) with backup plans, including copies to other Regions or accounts.

Mục đíchPurposeSao lưu tập trung, theo lịch cho nhiều dịch vụ AWS, kể cả copy sang Region hoặc tài khoản khác.Centralised, scheduled backups for many AWS services, including copies to other Regions or accounts.

Cost management, AI/ML và các dịch vụ khácCost management, AI/ML and other services

3 Học bài này →

AWS Budgets

Dịch vụ thiết lập ngân sách tuỳ chỉnh để theo dõi chi phí và mức sử dụng, gửi cảnh báo khi chi phí thực tế hoặc dự báo vượt ngưỡng; AWS Cost Explorer dùng để xem và phân tích chi phí.Lets you set custom budgets to track cost and usage and alerts you when actual or forecasted cost exceeds a threshold; AWS Cost Explorer is used to view and analyze costs.

Mục đíchPurposeĐặt ngân sách chi phí hoặc mức dùng và nhận cảnh báo trước khi vượt; có thể tự hành động.Sets cost or usage budgets and alerts you before they are exceeded; can act automatically.

Amazon Rekognition

Dịch vụ phân tích hình ảnh và video bằng deep learning: nhận diện đối tượng, khuôn mặt, chữ trong ảnh và nội dung không phù hợp.An image and video analysis service using deep learning: detects objects, faces, text in images and inappropriate content.

Mục đíchPurposePhân tích ảnh và video bằng AI qua API dựng sẵn, không cần tự huấn luyện mô hình.Analyses images and video with ready-made AI APIs, no model training needed.

Amazon SageMaker

Dịch vụ machine learning managed giúp xây dựng, huấn luyện và triển khai mô hình ML vào môi trường production.A fully managed machine learning service to build, train and deploy ML models into production.

Mục đíchPurposeNền tảng để tự xây dựng, huấn luyện và triển khai mô hình machine learning.A platform to build, train and deploy your own machine learning models.

Nhóm dịch vụ 177 thuật ngữ