ניהול משאבים בקטלוג REST של Iceberg

Borderless Lakehouse מאפשר לכם לנהל את נקודת הקצה של קטלוג REST של Apache Iceberg בתוך קטלוג זמן הריצה של Lakehouse. אתם יכולים להשתמש ב Google Cloud מסוף או ב-API בארכיטקטורת REST כדי ליצור, להגדיר ולנטר את הקטלוגים האלה, וכך ליצור את שכבת המטא-נתונים שנדרשת לחיבורים למנוע השאילתות.

לפני שמתחילים

  1. כדאי לקרוא את המאמר מידע על קטלוג זמן הריצה של Lakehouse כדי להבין איך קטלוג זמן הריצה של Lakehouse פועל ומהן המגבלות של השירות.
  2. נכנסים לחשבון Google Cloud . אם אתם משתמשים חדשים ב- Google Cloud, צרו חשבון כדי שתוכלו להעריך את הביצועים של המוצרים שלנו בתרחישים מהעולם האמיתי. לקוחות חדשים מקבלים בחינם גם קרדיט בשווי 300$ להרצה, לבדיקה ולפריסה של עומסי העבודה.

    In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

    Verify that billing is enabled for your Google Cloud project.

    Enable the BigLake API.

    Roles required to enable APIs

    To enable APIs, you need the serviceusage.services.enable permission. If you created the project, then you likely already have this permission through the Owner role (roles/owner). Otherwise, you can get this permission through the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin). Learn how to grant roles.

    Enable the API

    In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

    Verify that billing is enabled for your Google Cloud project.

    Enable the BigLake API.

    Roles required to enable APIs

    To enable APIs, you need the serviceusage.services.enable permission. If you created the project, then you likely already have this permission through the Owner role (roles/owner). Otherwise, you can get this permission through the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin). Learn how to grant roles.

    Enable the API

התפקידים הנדרשים

כדי לקבל את ההרשאות שדרושות לשימוש בקטלוג של זמן הריצה של Lakehouse, אתם צריכים לבקש מהאדמין להקצות לכם בפרויקט את תפקידי ה-IAM הבאים:

להסבר על מתן תפקידים, ראו איך מנהלים את הגישה ברמת הפרויקט, התיקייה והארגון.

יכול להיות שאפשר לקבל את ההרשאות הנדרשות גם באמצעות תפקידים בהתאמה אישית או תפקידים מוגדרים מראש.

פעולות ניהול

אפשר לבצע את פעולות הניהול הבאות במשאבי נקודת הקצה של קטלוג REST של Apache Iceberg באמצעות Google Cloud המסוף או API בארכיטקטורת REST:

  • יצירת קטלוג: יוצרים נקודת קצה לניהול קטלוג REST של Apache Iceberg שמפנה למיקומי מחסני נתונים ב-Cloud Storage (CreateIcebergCatalog).
  • עדכון קטלוג: שדרוג קטלוג קיים עם קטגוריה אחת לקטלוג עם כמה קטגוריות (UpdateIcebergCatalog).
  • יצירת מרחב שמות: יוצרים מרחב שמות בנקודת קצה של קטלוג REST של Iceberg כדי לקבץ טבלאות קשורות (CreateIcebergNamespace).
  • הפעלת מכירת פרטי כניסה: מעבירים את שיטת האימות של קטלוג קיים למצב של מכירת פרטי כניסה כדי למכור אסימוני אחסון לזמן קצר ישירות למנועי שאילתות (UpdateIcebergCatalog).
  • קבלת פרטים על הקטלוג: צפייה במאפיינים ובמטא-נתונים של הקטלוג, כולל ה-URI של קטלוג REST שנדרש לחיבורי לקוח (GetIcebergCatalog).
  • ניהול רשימות ACL של מרחבי שמות: צפייה במדיניות IAM ועדכונה במרחבי השמות של הקטלוג כדי לשלוט בגישה של גורמים ספציפיים (get-iam-policy, set-iam-policy).
  • מחיקת קטלוג: ביטול הרישום של נקודת קצה לניהול מטא-נתונים של קטלוג מקטלוג זמן הריצה של Lakehouse ‏ (DeleteIcebergCatalog).
  • מחיקת מרחב שמות: מחיקת מרחב שמות מקטלוג REST של Iceberg כשכבר אין בו צורך (DeleteIcebergNamespace).
  • צפייה ביומני ביקורת: בדיקת יומני הביקורת ב-Cloud כדי למצוא רשומות שניתן לאמת של פעילויות אדמין וגישה לנתונים.

תמחור

לפרטים על התמחור, ראו תמחור של Lakehouse.

המאמרים הבאים