הפעלת השירות

בדף הזה מוסבר איך להפעיל ולהשבית את App Lifecycle Manager.

הפעלת שירות

  1. נכנסים לחשבון Google Cloud . אם אתם משתמשים חדשים ב- Google Cloud, צרו חשבון כדי שתוכלו להעריך את הביצועים של המוצרים שלנו בתרחישים מהעולם האמיתי. לקוחות חדשים מקבלים בחינם גם קרדיט בשווי 300$ להרצה, לבדיקה ולפריסה של עומסי העבודה.
  2. 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

  3. Verify that billing is enabled for your Google Cloud project.

  4. 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

  5. Verify that billing is enabled for your Google Cloud project.

  6. אם Google Cloud CLI עדיין לא מותקן, צריך להתקין ולהפעיל אותו. אם כבר התקנתם את Google Cloud CLI, תוכלו לעדכן את הרכיבים שלו באמצעות הפקודה: gcloud components update.

    כדי לבדוק את הגרסה של ה-CLI של gcloud, מריצים את הפקודה:

    gcloud version
  7. מפעילים את ה-API דרך מסוף Google Cloud או באמצעות gcloud CLI:
    1. במסוף Google Cloud , כדי להפעיל את ממשקי ה-API הנדרשים, בכרטיסייה תחילת העבודה בדף סקירה כללית, לוחצים על הפעלת ממשקי API של App Lifecycle Manager.
    2. כדי להפעיל את ממשקי ה-API הנדרשים באמצעות ה-CLI של gcloud, מריצים את הפקודה:

            gcloud services enable saasservicemgmt.googleapis.com
            gcloud services enable artifactregistry.googleapis.com
            gcloud services enable cloudbuild.googleapis.com
            gcloud services enable storage.googleapis.com
            gcloud services enable developerconnect.googleapis.com
            gcloud services enable config.googleapis.com
            gcloud services enable designcenter.googleapis.com
            gcloud services enable apphub.googleapis.com
            gcloud services enable cloudresourcemanager.googleapis.com
            gcloud services enable iam.googleapis.com
            gcloud services enable cloudasset.googleapis.com
            gcloud services enable monitoring.googleapis.com
            gcloud services enable logging.googleapis.com
            gcloud services enable servicehealth.googleapis.com
            

      צריך להפעיל את כל ממשקי ה-API האלה כי שירותי ה-API האלה משמשים את App Lifecycle Manager.

  8. כדי להשתמש ב-App Lifecycle Manager, צריך גם את ההרשאות המתאימות. מידע נוסף זמין במאמר בקרת גישה באמצעות IAM.

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