Amazon QuickSight

Serverless BI dashboards. The visualisation layer that sits at the end of every analytics pipeline — connect it to Athena, Redshift, RDS or a file, build an analysis, publish a dashboard, share it. Priced per session, so viewers who don't log in cost nothing.

Dashboard BI serverless. Đây là tầng trực quan hoá nằm ở cuối mọi pipeline analytics — nối vào Athena, Redshift, RDS hay một file, dựng analysis, publish thành dashboard, rồi chia sẻ. Tính tiền theo session, nên người không vào xem thì không tốn gì.

Reach for itNên dùng

  • Business dashboards on top of Athena / Redshift / RDS with no BI server to runDashboard nghiệp vụ trên Athena / Redshift / RDS mà không phải nuôi server BI
  • Occasional viewers — per-session pricing beats per-seat licencesNgười xem thi thoảng — tính phí theo session rẻ hơn license theo ghế
  • Embedding charts into your own application or portalNhúng biểu đồ vào ứng dụng hay portal của chính bạn
  • Ad-hoc analysis and quick visualisations without a data-engineering ticketPhân tích ad-hoc và dựng biểu đồ nhanh, không phải mở ticket cho data engineer

Not the right toolKhông hợp

  • Operational alarms and on-call graphs → CloudWatch dashboardsAlarm vận hành và biểu đồ trực on-call → CloudWatch dashboard
  • Log search and exploration → OpenSearch DashboardsTìm kiếm và khám phá log → OpenSearch Dashboards
  • Heavy data transformation before charting → do it in Glue / Athena, not in the BI layerBiến đổi data nặng trước khi vẽ → làm ở Glue / Athena, đừng làm ở tầng BI
  • You need IAM-native, fine-grained access control over report users — QuickSight identities are separateCần phân quyền chi tiết theo IAM cho người xem báo cáo — định danh QuickSight tách riêng

1 · Overview — and what SPICE is1 · Tổng quan — và SPICE là gì

SPICE (Super-fast, Parallel, In-memory Calculation Engine) is QuickSight's own in-memory store. If you import a dataset, QuickSight keeps a copy in SPICE and every chart reads from memory — fast, and the source database is left alone. The trade-off: the copy is only as fresh as its last refresh. Direct query is the opposite — always live, but every filter click hits the source. SPICE (Super-fast, Parallel, In-memory Calculation Engine) là kho in-memory riêng của QuickSight. Nếu bạn import một dataset, QuickSight giữ một bản copy trong SPICE và mọi biểu đồ đọc từ bộ nhớ — nhanh, và database nguồn được để yên. Đánh đổi: bản copy chỉ mới bằng lần refresh gần nhất. Direct query thì ngược lại — luôn live, nhưng mỗi lần bấm filter là một lần chạm vào nguồn.

A dataset can be imported into the SPICE in-memory engine or queried directly against the source each time Data source Athena · Redshift · RDS… import SPICE in-memory copy · refreshed Super-fast Parallel In-memory Calculation Engine direct query — live, hits the source on every interaction QuickSight charts · dashboards serverless · embeddable per-session pricing import for speed and to spare the source · direct query for freshness

Pick per dataset, not per account. A slow or expensive source (Athena over a big bucket) is exactly what SPICE is for.

Chọn theo từng dataset, không phải theo cả tài khoản. Nguồn chậm hoặc đắt (Athena trên một bucket lớn) chính là chỗ SPICE sinh ra để phục vụ.

  • Serverless machine-learning-powered BI service to create interactive dashboards. The ML part gives you anomaly detection, forecasting and natural-language question answering out of the box.Dịch vụ BI serverless có machine learning để tạo dashboard tương tác. Phần ML cho sẵn phát hiện bất thường, dự báo và hỏi đáp bằng ngôn ngữ tự nhiên.
  • Fast, automatically scalable, embeddable, with per-session pricing — you pay for readers who actually open a dashboard, not for seats.Nhanh, tự scale, nhúng được, tính phí theo session — trả tiền cho người thật sự mở dashboard, không phải theo số ghế.
  • Use cases: business analytics · building visualizations · ad-hoc analysis · getting business insights from data.Use case: phân tích nghiệp vụ · dựng biểu đồ · phân tích ad-hoc · rút ra insight từ data.
  • In-memory computation using the SPICE engine happens only if data is imported into QuickSight — a direct-query dataset never touches SPICE.Tính toán in-memory bằng engine SPICE chỉ xảy ra khi data được import vào QuickSight — dataset direct query không hề đụng tới SPICE.
  • Enterprise edition adds column-level security (CLS) — hide specific columns (salary, PII) from specific users while everyone shares one dataset.Bản Enterprise có thêm column-level security (CLS) — giấu một số cột (lương, PII) khỏi một số user, trong khi mọi người vẫn dùng chung một dataset.

2 · Integrations2 · Tích hợp

QuickSight connects to AWS services, uploaded files, SaaS applications and on-premises databases over JDBC AWS services RDS Aurora Redshift Athena S3 OpenSearch Timestream QuickSight analyses · dashboards file imports XLSX · CSV JSON · TSV ELF & CLF log formats SaaS Salesforce Jira on-premises (JDBC) Teradata · any JDBC database

Four families of source: AWS services, uploaded files, SaaS apps, and anything reachable over JDBC.

Bốn nhóm nguồn: dịch vụ AWS, file upload, ứng dụng SaaS, và bất cứ thứ gì kết nối được qua JDBC.

ELF & CLFELF & CLF Common Log Format and Extended Log Format — the plain-text formats web servers write access logs in. QuickSight can read them directly, which is why "upload the web server logs and chart them" needs no ETL step. Common Log Format và Extended Log Format — các định dạng text mà web server dùng để ghi access log. QuickSight đọc trực tiếp được, nên "upload log web server rồi vẽ biểu đồ" không cần bước ETL nào.

3 · Analysis, dashboard, and who can see it3 · Analysis, dashboard, và ai được xem

An analysis is published into a dashboard, a read-only snapshot that can be shared with QuickSight users and groups Analysis editable workspace where the author builds publish Dashboard read-only snapshot of that analysis keeps filtering · parameters · controls · sort share Users standard edition Groups enterprise edition live inside QuickSight, not IAM you can share the analysis itself too — that gives edit access

Publish first, share second. Sharing the analysis hands over the editor; sharing the dashboard hands over the view.

Publish trước, share sau. Share analysis là trao quyền chỉnh sửa; share dashboard là trao quyền xem.

  • Define Users (standard edition) and Groups (enterprise edition). These users and groups only exist within QuickSight, not IAM.Khai User (bản standard) và Group (bản enterprise). User và group này chỉ tồn tại trong QuickSight, không phải IAM.
  • A dashboard is a read-only snapshot of an analysis that you can share, and it preserves the configuration of that analysis (filtering, parameters, controls, sort).Dashboard là bản chụp chỉ đọc của một analysis mà bạn chia sẻ được, và nó giữ nguyên cấu hình của analysis đó (filter, parameter, control, sort).
  • You can share either the analysis or the dashboard with users or groups. To share a dashboard you must first publish it.Bạn có thể share analysis hoặc dashboard cho user hay group. Muốn share dashboard thì phải publish trước.
Viewers see the underlying dataNgười xem thấy cả data gốc Users who can see the dashboard can also see the underlying data. "Read-only" means they can't edit the analysis — it does not mean the numbers behind a chart are hidden. If some columns must stay invisible, that's column-level security in the enterprise edition, not a dashboard permission. Ai xem được dashboard thì cũng xem được data phía dưới. "Chỉ đọc" nghĩa là không sửa được analysis — không có nghĩa là những con số đằng sau biểu đồ bị che. Nếu bắt buộc phải giấu vài cột thì đó là column-level security ở bản enterprise, không phải quyền của dashboard.

Exam reflexesPhản xạ khi thi

  • "Dashboards / visualisations / BI, serverless" → QuickSight. It's the visualisation end of every analytics pipeline: S3 → Athena → QuickSight."Dashboard / trực quan hoá / BI, serverless" → QuickSight. Nó là đầu cuối trực quan hoá của mọi pipeline analytics: S3 → Athena → QuickSight.
  • "Dashboards are slow / the source database is being hammered" → import into SPICE instead of direct query."Dashboard chậm / database nguồn bị dập tơi tả" → import vào SPICE thay cho direct query.
  • "Hide the salary column from some viewers" → column-level security, enterprise edition."Giấu cột lương với một số người xem" → column-level security, bản enterprise.
  • "Manage report access with IAM users" → trap. QuickSight users and groups are its own."Quản quyền xem báo cáo bằng IAM user" → bẫy. User và group của QuickSight là hệ riêng.
  • "Show charts inside our own web app" → embedded dashboards, billed per session."Hiện biểu đồ ngay trong web app của mình" → dashboard nhúng, tính phí theo session.