AWS Trusted Advisor

A standing, install-nothing audit of the account against AWS best practice, sorted into six categories. It tells you; it never fixes anything and it never changes a limit. Half the exam value is knowing what it can't see — public S3 objects — and that the interesting checks need a Business or Enterprise support plan.

Một bản audit thường trực, không cần cài gì, soi tài khoản theo best practice của AWS, chia làm sáu nhóm. Nó chỉ báo cho bạn; không tự sửa gì và không tự đổi limit. Một nửa giá trị khi thi nằm ở chỗ biết nó không thấy được gì — object S3 public — và các check hay ho đòi support plan Business hoặc Enterprise.

Reach for it / not the right toolKhi nào dùng / khi nào không

Reach for Trusted AdvisorChọn Trusted Advisor

  • "Give me a quick health read on an account I just inherited" — zero setup, answers in minutes."Cho tôi một bản đọc nhanh tình trạng tài khoản vừa tiếp quản" — không cần cài đặt, vài phút là có.
  • Catching idle / underused resources — unattached EBS volumes, idle load balancers, low-utilisation instances, unassociated Elastic IPs.Bắt tài nguyên nhàn rỗi / dùng non — EBS volume chưa gắn, load balancer nhàn rỗi, instance dùng rất ít, Elastic IP không gắn vào đâu.
  • Warning before a service limit bites — "you're at 85% of your EIPs in this region".Cảnh báo trước khi chạm service limit — "bạn đang dùng 85% số EIP ở region này".
  • Obvious hygiene: security groups wide open on port 22, no MFA on root, RDS without Multi-AZ, expiring certificates.Vệ sinh cơ bản: security group mở toang cổng 22, root chưa bật MFA, RDS không Multi-AZ, chứng chỉ sắp hết hạn.

Not the right toolKhông phải chỗ dùng

  • Custom rules. The check list is AWS's, fixed. You want your own condition → AWS Config custom rules.Rule riêng. Danh sách check là của AWS, cố định. Muốn điều kiện của mình → AWS Config custom rule.
  • Continuous, event-driven detection. Checks refresh on a cadence, not on every change — Config and EventBridge react in near real time.Phát hiện liên tục theo sự kiện. Check chạy lại theo chu kỳ, không phải mỗi lần thay đổi — Config và EventBridge mới phản ứng gần thời gian thực.
  • Threat detection. Suspicious API calls, crypto-mining, compromised keys → GuardDuty. Trusted Advisor checks configuration, not behaviour.Phát hiện tấn công. API call đáng ngờ, đào coin, key bị lộ → GuardDuty. Trusted Advisor soi cấu hình, không soi hành vi.
  • Detailed cost analysis. It flags waste; it doesn't do attribution or forecasting — that's Cost Explorer and Cost Allocation Tags.Phân tích chi phí chi tiết. Nó chỉ báo lãng phí; không quy trách nhiệm hay dự báo — việc đó là của Cost Explorer và Cost Allocation Tags.
  • Changing anything. It is read-only advice. Remediation is always you, or an automation you wire up yourself.Thay đổi bất cứ thứ gì. Nó chỉ đọc và khuyên. Việc khắc phục luôn là bạn, hoặc automation bạn tự nối vào.

Six categories, three places the answers goSáu nhóm, ba nơi kết quả đi tới

Shape to hold in your head: it reads the account, scores every check green / yellow / red, and then hands that result to a console, an email, an event bus, or an API. The support plan decides how many checks run and whether the API is open to you. Hình dung cần nhớ: nó đọc tài khoản, chấm mỗi check thành xanh / vàng / đỏ, rồi đưa kết quả đó ra console, email, event bus, hoặc API. Support plan quyết định chạy bao nhiêu check và bạn có được dùng API hay không.

Trusted Advisor reads the account read-only with no agent installed, evaluates six check categories — Cost Optimization, Performance, Security, Fault Tolerance, Service Limits and Operational Excellence — and sends results to four destinations: the console dashboard with red, yellow and green flags; an opt-in weekly email digest; EventBridge and CloudWatch for alarms and automation; and the AWS Support API, which is available only on Business and Enterprise support plans. Basic and Developer plans get core checks only. 1 · YOUR ACCOUNT EC2 · EBS · S3 IAM · RDS · ELB CloudFront · EIP quotas in use read-only, no agent scans 2 · CHECK CATEGORIES Cost Optimization Performance Security Fault Tolerance Service Limits Operational Excellence Trusted Advisor 3 · WHERE IT LANDS Console dashboard red · yellow · green per check Weekly email digest opt-in, to billing/ops contacts EventBridge · CloudWatch alarm on a check → SNS · Lambda AWS Support API Business / Enterprise only Basic / Developer core checks only, no programmatic access Business / Enterprise full check set + Support API + alarms

The four destinations are the whole integration story. If a scenario needs a check result to trigger something, the answer is EventBridge or a CloudWatch alarm — and both quietly assume Business or Enterprise, because that's where the interesting checks live.

Bốn đích đến này là toàn bộ câu chuyện tích hợp. Nếu tình huống cần kết quả check kích hoạt một hành động, câu trả lời là EventBridge hoặc CloudWatch alarm — và cả hai ngầm giả định Business hoặc Enterprise, vì các check hay ho nằm ở đó.

What each category actually flagsMỗi nhóm thực sự báo cái gì

Cost Optimization money you're burning for nothing — idle load balancers, unattached EBS volumes, low-utilisation EC2, unassociated Elastic IPs, Reserved Instance and Savings Plans coveragetiền đang đốt vô ích — load balancer nhàn rỗi, EBS volume chưa gắn, EC2 dùng rất ít, Elastic IP không gắn vào đâu, mức phủ Reserved Instance và Savings Plans
Performance things throttling you — over-utilised instances, EBS throughput being capped, CloudFront not fronting what it should, high-latency configurationsnhững chỗ đang bóp cổ chai — instance quá tải, throughput EBS bị chặn trần, CloudFront chưa đứng trước thứ đáng lẽ phải có, cấu hình gây độ trễ cao
Security the classics — security groups open to 0.0.0.0/0 on 22/3389, no MFA on root, exposed access keys, weak IAM password policy, public buckets, expiring ACM certificatesnhững lỗi kinh điển — security group mở 0.0.0.0/0 ở cổng 22/3389, root chưa MFA, access key bị lộ, password policy IAM yếu, bucket public, chứng chỉ ACM sắp hết hạn
Fault Tolerance single points of failure — one-AZ Auto Scaling groups, RDS without Multi-AZ, EBS volumes with no snapshot, ELB with unhealthy or unbalanced targetsđiểm chết đơn lẻ — Auto Scaling group nằm một AZ, RDS không Multi-AZ, EBS volume chưa có snapshot, ELB có target hỏng hoặc lệch tải
Service Limits usage approaching a quota (roughly 80%+) per service, per region. Monitoring only — the number is changed elsewhere.mức dùng đang tiến sát quota (khoảng từ 80%) theo từng service, từng region. Chỉ theo dõi — con số được đổi ở nơi khác.
Operational Excellence the newest category — operational hygiene gaps such as missing logging, resources outside a managed pattern, and configurations that will make an incident harder to debugnhóm mới nhất — các lỗ hổng vận hành như thiếu logging, tài nguyên nằm ngoài khuôn mẫu quản lý, và cấu hình khiến sự cố khó debug hơn

The support plan is the feature flagSupport plan chính là công tắc tính năng

This is the single most reusable exam fact on the page. If a scenario wants automated or programmatic use of Trusted Advisor, the account must be on Business or Enterprise — and "upgrade the support plan" is a legitimate answer. Đây là dữ kiện thi dùng lại được nhiều nhất trên trang này. Nếu tình huống muốn dùng Trusted Advisor kiểu tự động hay bằng code, tài khoản phải ở Business hoặc Enterprise — và "nâng support plan" là một đáp án hợp lệ.

Basic · DeveloperBasic · Developer Business · EnterpriseBusiness · Enterprise
ChecksSố check a small set of core checks onlychỉ một nhóm nhỏ core check the full check set, all six categoriesbộ check đầy đủ, cả sáu nhóm
Programmatic accessTruy cập bằng code no — console onlykhông — chỉ console AWS Support API — DescribeTrustedAdvisorChecks, DescribeTrustedAdvisorCheckResult, RefreshTrustedAdvisorCheckAWS Support API — DescribeTrustedAdvisorChecks, DescribeTrustedAdvisorCheckResult, RefreshTrustedAdvisorCheck
AlarmingCảnh báo weekly email digest, if enabledemail tuần, nếu bật weekly email plus CloudWatch alarms / EventBridge rules on check resultsemail tuần cộng thêm CloudWatch alarm / EventBridge rule theo kết quả check
Org-wide viewXem toàn tổ chức per accounttheo từng tài khoản organizational view across all accounts in AWS Organizationsxem gộp toàn bộ tài khoản trong AWS Organizations
Endpoint gotchaBẫy endpoint The Support API is a global service reached through us-east-1. A Lambda that polls checks from another region still signs against us-east-1 — a classic reason a home-built refresher silently returns nothing. Support API là service global, gọi qua us-east-1. Một Lambda ở region khác đi poll check vẫn phải ký theo us-east-1 — lý do kinh điển khiến công cụ tự viết trả về rỗng mà không báo lỗi.

Turning a check into an actionBiến một check thành hành động

Trusted Advisor never fixes anything, so every "automatically respond" scenario is the same three-step wiring: refresh the check → catch the result → route it. Trusted Advisor không bao giờ tự sửa, nên mọi tình huống "tự động phản ứng" đều là ba bước như nhau: làm mới check → bắt kết quả → định tuyến nó.

1 · Refresh1 · Làm mới checks refresh on their own cadence; a scheduled Lambda calling RefreshTrustedAdvisorCheck forces the data to be current before you act on itcheck tự làm mới theo chu kỳ riêng; một Lambda chạy theo lịch gọi RefreshTrustedAdvisorCheck ép dữ liệu mới trước khi bạn hành động
2 · Catch2 · Bắt kết quả check status changes surface as EventBridge events, and as CloudWatch metrics you can alarm on — "warn me when any Service Limits check turns yellow"thay đổi trạng thái check hiện ra dưới dạng event EventBridge, và metric CloudWatch để đặt alarm — "báo tôi khi bất kỳ check Service Limits nào chuyển vàng"
3 · Route3 · Định tuyến the rule target does the work — SNS to a team, SQS plus a Lambda to aggregate across accounts, or a chat notifier. Multi-account: each member account emits, one bus collects.target của rule mới làm việc — SNS gửi cho team, SQS cộng Lambda để gộp nhiều tài khoản, hoặc bot chat. Nhiều tài khoản: mỗi tài khoản thành viên phát ra, một bus gom lại.
Service Limits: monitor here, change elsewhereService Limits: theo dõi ở đây, thay đổi ở chỗ khác The Service Limits category only reports how close you are to a quota. Raising the number is a separate act: open a case in AWS Support Center, or — the modern answer — use Service Quotas, which lists quotas, requests increases through an API, and can itself alarm at a chosen utilisation threshold. If a question offers both, Service Quotas is the automatable one. Nhóm Service Limits chỉ báo bạn đang cách quota bao xa. Nâng con số lên là việc riêng: mở case trong AWS Support Center, hoặc — đáp án hiện đại — dùng Service Quotas, nơi liệt kê quota, xin nâng qua API, và tự nó cũng đặt được cảnh báo ở ngưỡng sử dụng bạn chọn. Nếu đề đưa ra cả hai, Service Quotas là cái tự động hoá được.

Things that catch you outNhững chỗ dễ vấp

  • Public bucket yes, public objects no. The security check tells you a bucket has open permissions. It does not enumerate the objects inside and cannot tell you that one object has a public ACL. For that: S3 Event Notifications, EventBridge, or AWS Config rules — and really, S3 Block Public Access so it can't happen. Bucket public thì thấy, object public thì không. Check bảo mật cho biết một bucket đang mở quyền. Nó không duyệt các object bên trong và không thể báo rằng một object có ACL public. Cho việc đó: S3 Event Notifications, EventBridge, hoặc AWS Config rules — và tốt nhất là bật S3 Block Public Access để chuyện đó không xảy ra được.
  • It never fixes anything. Read-only advice, always. Any option that says Trusted Advisor "automatically remediates" or "automatically increases the limit" is wrong. Nó không bao giờ tự sửa. Luôn chỉ là lời khuyên chỉ-đọc. Bất kỳ phương án nào nói Trusted Advisor "tự khắc phục" hay "tự nâng limit" đều sai.
  • Results are not live. Each check has its own refresh interval and there's a cooldown before you can force a refresh again. Fix a finding and the console can still show red for a while — refresh before concluding the fix failed. Kết quả không phải thời gian thực. Mỗi check có chu kỳ làm mới riêng và có thời gian chờ trước khi ép làm mới lại. Sửa xong một lỗi mà console vẫn đỏ một lúc là bình thường — hãy refresh trước khi kết luận là sửa hỏng.
  • The weekly email is opt-in. Nobody gets a digest until someone enables it and picks the recipients — and it goes to the account's billing / operations / security contacts, not to whoever happens to be logged in. Email tuần phải tự bật. Không ai nhận được bản tóm tắt cho tới khi có người bật và chọn người nhận — và nó gửi tới contact billing / operations / security của tài khoản, không phải người đang đăng nhập.
  • Findings are a checklist, not a mandate. A yellow on "low utilisation EC2" may be a deliberately oversized box for a quarterly batch job. Read before you rightsize. Kết quả là danh sách gợi ý, không phải mệnh lệnh. Một cảnh báo vàng "EC2 dùng ít" có thể là máy được cố ý để dư cho job batch hàng quý. Đọc kỹ trước khi rightsize.
  • Access is IAM-gated too. Seeing checks needs trustedadvisor:* / support:* permissions; a plan upgrade alone doesn't make the dashboard appear for a restricted role. Truy cập còn bị IAM chặn. Muốn xem check cần quyền trustedadvisor:* / support:*; chỉ nâng plan thôi không làm dashboard hiện ra cho một role bị giới hạn.

Exam reflexesPhản xạ khi thi

The question says…Đề nói… AnswerTrả lời
"Detect public objects inside an S3 bucket""Phát hiện object public bên trong một bucket S3" Not Trusted Advisor — S3 Event Notifications / EventBridge / AWS Config rulesKhông phải Trusted Advisor — S3 Event Notifications / EventBridge / AWS Config rules
"Alert when a service limit is nearly reached""Cảnh báo khi sắp chạm service limit" Trusted Advisor Service Limits + a CloudWatch alarm (or Service Quotas' own alarm)Trusted Advisor Service Limits + một CloudWatch alarm (hoặc alarm của chính Service Quotas)
"Increase the limit""Nâng limit" Service Quotas or a Support case — never Trusted Advisor, which only monitorsService Quotas hoặc mở Support case — không bao giờ là Trusted Advisor, vốn chỉ theo dõi
"Pull check results into our own dashboard / script""Kéo kết quả check vào dashboard / script của mình" AWS Support API — requires Business or Enterprise supportAWS Support API — cần support Business hoặc Enterprise
"We only see a handful of checks""Chúng tôi chỉ thấy vài check" Account is on Basic / Developer — core checks only; upgrade the plan for the full setTài khoản đang ở Basic / Developer — chỉ core check; nâng plan để có bộ đầy đủ
"A custom compliance rule, evaluated on every change""Một rule tuân thủ tự định nghĩa, đánh giá mỗi khi có thay đổi" AWS Config — Trusted Advisor's check list is fixed and periodicAWS Config — danh sách check của Trusted Advisor là cố định và chạy theo chu kỳ
"Free, no-setup way to spot idle resources and obvious waste""Cách miễn phí, không cần cài đặt để tìm tài nguyên nhàn rỗi và lãng phí rõ ràng" Trusted Advisor Cost Optimization checksCác check Cost Optimization của Trusted Advisor