ser verless da t a la ke wo rksho p - 2019/9/12 · welcome to quicksight you are about to access...

8
Serverless Data Lake Workshop - 2019/9/12 1. Create QuickSight account 搜尋 QuickSight 服務並且建立一個新帳號 (第一次使用的情況下) 2. Login to QuickSight portal

Upload: others

Post on 10-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ser verless Da t a La ke Wo rksho p - 2019/9/12 · Welcome to QuickSight You are about to access QuickSight in AWS Account 460307153158. Email address By choosing to continue, you

Serverless Data Lake Workshop - 2019/9/12

1. Create QuickSight account

搜尋 QuickSight 服務並且建立一個新帳號 (第一次使用的情況下)

2. Login to QuickSight portal 

Page 2: Ser verless Da t a La ke Wo rksho p - 2019/9/12 · Welcome to QuickSight You are about to access QuickSight in AWS Account 460307153158. Email address By choosing to continue, you

3. Switch to Virginia region for permission setting 

由於 QuickSight 是透過 Athena 存取我們的資料湖(S3),我們需要給 QuickSight 擁有存取 Athena 的權限。權限配置則要把  region 切換到 Virginia Region,並且點選右上角帳號 user icon 進到 Manage QuickSight 頁面。選擇左下角 Security &  permissions,並且重新開關 Athena 的權限

Page 3: Ser verless Da t a La ke Wo rksho p - 2019/9/12 · Welcome to QuickSight You are about to access QuickSight in AWS Account 460307153158. Email address By choosing to continue, you
Page 4: Ser verless Da t a La ke Wo rksho p - 2019/9/12 · Welcome to QuickSight You are about to access QuickSight in AWS Account 460307153158. Email address By choosing to continue, you

點選 Connect both 按鈕來重新配置 Athena 權限。這邊需要注意的是,配置的同時我們需要重新給他對應的資料湖位置(也就是S3 位置),概念是讓 QuickSight 知道他可以擁有的是 Athena 能夠存取哪一個 S3 Bucket 權限。當然,未來使用時若有多個資料湖要串連則可以選擇多個 bucket

Page 5: Ser verless Da t a La ke Wo rksho p - 2019/9/12 · Welcome to QuickSight You are about to access QuickSight in AWS Account 460307153158. Email address By choosing to continue, you

回到原頁面點選 Update 更新權限

Page 6: Ser verless Da t a La ke Wo rksho p - 2019/9/12 · Welcome to QuickSight You are about to access QuickSight in AWS Account 460307153158. Email address By choosing to continue, you

切換回 Oregon Region。到這裡配置就算完成了

4. Identify the data source 

Page 7: Ser verless Da t a La ke Wo rksho p - 2019/9/12 · Welcome to QuickSight You are about to access QuickSight in AWS Account 460307153158. Email address By choosing to continue, you

點選左上角 New Analysis > New Data Set > Athena,建立一個 Data source 

接下來 QuickSight 會尋找 Glue Data Catalog 裡的 Database 資訊,來找出資料的 metadata,包含 Database 以及 Table 資訊

由於這次 Workshop 目的是讓大家學習如何使用,而且資料量並不大,因此我們不使用 QuickSight SPICE 做 Query 加速,直接選擇 Directly query your data 並點選 Visualize 按鈕

Page 8: Ser verless Da t a La ke Wo rksho p - 2019/9/12 · Welcome to QuickSight You are about to access QuickSight in AWS Account 460307153158. Email address By choosing to continue, you

5. Start to play around QuickSight!

使用左上角 Add 按鈕新增 Visual 圖表。圖表可在左下方選擇你喜歡的圖表類型,並且拖拉 Data set 裡的資料欄位到你圖表對應的 位置,如長條圖中的 X Y 軸