Analytics
Amazon QuickSight
BI Visualization, SPICE Engine, Dashboards, ML Insights, Generative BI
Giới thiệu
Amazon QuickSight là dịch vụ Business Intelligence (BI) serverless và cloud-native của AWS, cho phép tạo dashboards, visualizations và reports từ nhiều data sources khác nhau.
Tại sao cần QuickSight?
Đặc điểm chính
| Đặc điểm | Mô tả |
|---|---|
| Serverless | Không cần quản lý infrastructure |
| Scalable | Tự động scale theo số users |
| Pay-per-session | Chỉ trả tiền khi user thực sự dùng |
| SPICE engine | In-memory engine cho query nhanh |
| ML-powered | Anomaly detection, forecasting tự động |
| Generative BI | Amazon Q để hỏi bằng ngôn ngữ tự nhiên |
Cách hoạt động
Workflow
| Bước | Mô tả |
|---|---|
| 1. Connect | Kết nối tới data sources (S3, RDS, Redshift...) |
| 2. Prepare | Clean, filter, transform data |
| 3. Import to SPICE | Load data vào in-memory engine (optional) |
| 4. Analyze | Tạo visualizations, calculations |
| 5. Share | Publish dashboards, schedule reports |
SPICE Engine
SPICE = Super-fast Parallel In-memory Calculation Engine
SPICE Capacity
| Tier | SPICE per user |
|---|---|
| Standard | 10 GB per author |
| Enterprise | 10 GB per author (có thể mua thêm) |
| Max rows | 2 billion rows per dataset |
Data Sources
Supported Data Sources
Visualizations
Các loại Charts
| Category | Chart Types |
|---|---|
| Comparison | Bar charts, Stacked bars, Clustered bars |
| Trend | Line charts, Area charts, Combo charts |
| Distribution | Histograms, Box plots, Scatter plots |
| Composition | Pie charts, Donut charts, Tree maps, Sunburst |
| Relationship | Scatter plots, Bubble charts, Network graphs |
| Geospatial | Maps, Choropleth, Heat maps, Point maps |
| KPIs | KPI visuals, Gauges, Sparklines |
| Tables | Tables, Pivot tables |
| Other | Word clouds, Radar charts, Sankey diagrams |
Dashboard Components
Amazon Q in QuickSight
Amazon Q = Generative AI assistant tích hợp trong QuickSight
Capabilities
Sharing và Embedding
User Types
| User Type | Capabilities | Pricing |
|---|---|---|
| Author | Create/edit analyses, dashboards, datasets | Monthly subscription |
| Reader | View dashboards, apply filters | Pay-per-session |
| Admin | Manage users, settings, capacity | Included with Author |
Sharing Options
Pricing
Pricing Model
| Edition | Author | Reader |
|---|---|---|
| Standard | $9/month | N/A (no reader role) |
| Enterprise | $18/month | $0.30/session (max $5/month) |
SPICE Pricing
| Amount | Price |
|---|---|
| First 10 GB/user | Included |
| Additional | ~$0.25/GB/month |
Key Point
[!TIP] Pay-per-session cho Readers rất cost-effective! User chỉ trả khi thực sự mở dashboard (max $5/month). Rất phù hợp cho việc share dashboards với nhiều users không thường xuyên dùng.
So sánh với các BI Tools khác
| Feature | QuickSight | Tableau | Power BI |
|---|---|---|---|
| Deployment | Serverless (AWS) | On-prem/Cloud | Cloud/On-prem |
| AWS Integration | ✅ Native | Plugin | Plugin |
| ML/AI Features | ✅ Built-in | Add-on | Built-in |
| Pricing | Pay-per-session | Per user | Per user |
| SPICE Engine | ✅ In-memory | Hyper | VertiPaq |
| Embedding | ✅ Easy | Complex | Complex |
| Learning Curve | Easy | Steep | Medium |
Khi nào dùng QuickSight?
| Scenario | Recommended? |
|---|---|
| Heavy AWS workload (S3, Redshift, Athena) | ✅ Ideal |
| Need serverless, no infrastructure | ✅ Ideal |
| Pay-per-session pricing model | ✅ Ideal |
| Embed BI into SaaS product | ✅ Ideal |
| Already using Tableau/Power BI | ⚠️ Consider migration effort |
| Need very complex visualizations | ⚠️ Tableau might be better |
Use Cases
1. Business Dashboards
2. Operational Monitoring
3. Embedded Analytics
4. Data Lake Analytics
Exam Tips
Key Points for AWS Exams
- Serverless BI - Không cần quản lý servers
- SPICE - In-memory engine cho fast queries
- Pay-per-session - Reader chỉ trả khi dùng (Enterprise)
- ML Insights - Anomaly detection, forecasting built-in
- Amazon Q - Natural language queries (Generative BI)
- Embedding - Dễ dàng embed vào web apps
Common Exam Scenarios
| Scenario | Answer |
|---|---|
| Need BI tool integrated with AWS services | QuickSight |
| Visualize data from S3/Athena | QuickSight with SPICE |
| Serverless analytics dashboard | QuickSight |
| Embed dashboards in customer app | QuickSight embedded |
| Pay only when users view reports | QuickSight (pay-per-session) |
| Ask questions in natural language | Amazon Q in QuickSight |
| Need ML-powered forecasting in BI | QuickSight ML Insights |
Phân biệt với services khác
| Need | Service |
|---|---|
| Query data từ S3 | Athena |
| Visualize data | QuickSight |
| ETL/Transform data | Glue |
| Data warehouse | Redshift |
| Search & Analytics | OpenSearch |