בדף הזה מוסבר איך להפעיל ולהשבית את App Lifecycle Manager.
הפעלת שירות
- נכנסים לחשבון 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 theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Google Cloud project.
-
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 theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Google Cloud project.
- אם Google Cloud CLI עדיין לא מותקן, צריך להתקין ולהפעיל אותו. אם כבר התקנתם את Google Cloud CLI, תוכלו לעדכן את הרכיבים שלו באמצעות הפקודה:
gcloud components update.כדי לבדוק את הגרסה של ה-CLI של gcloud, מריצים את הפקודה:
gcloud version
- מפעילים את ה-API דרך מסוף Google Cloud או באמצעות gcloud CLI:
- במסוף Google Cloud , כדי להפעיל את ממשקי ה-API הנדרשים, בכרטיסייה תחילת העבודה בדף סקירה כללית, לוחצים על הפעלת ממשקי API של App Lifecycle Manager.
כדי להפעיל את ממשקי ה-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.
- כדי להשתמש ב-App Lifecycle Manager, צריך גם את ההרשאות המתאימות. מידע נוסף זמין במאמר בקרת גישה באמצעות IAM.
המאמרים הבאים
- מידע נוסף על App Lifecycle Manager.
- כדי לפרוס אפליקציית SaaS, מתחילים עם יצירת מוצר SaaS.
- כדי ללמוד איך לפרוס מכונה וירטואלית באמצעות App Lifecycle Manager, אפשר לנסות את המדריך למתחילים.