Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan cara membuat project.
Untuk mempelajari project lebih lanjut, lihat
Ringkasan project
dalam dokumentasi air gap Google Distributed Cloud.
Login sebagai Admin Platform
Untuk membuat project, Anda memerlukan akun dengan izin yang diperlukan.
Pastikan Anda telah mengikuti langkah-langkah di
Menyiapkan akun Admin Platform
untuk menetapkan peran yang diperlukan ke akun administrator, dan
menghubungkan ke instance menggunakan akun tersebut.
Membuat project
Untuk membuat project di instance Sandbox GDC, lakukan langkah-langkah berikut. Langkah-langkah ini mencakup beberapa nilai spesifik yang harus Anda gunakan saat
membuat project di instance GDC Sandbox.
Di menu navigasi, klik Projects.
Klik Tambahkan project.
Di kolom Project name, masukkan nama project. Catat
nama project yang Anda tentukan: nama ini akan digunakan dalam perintah. Misalnya,
nama ini digunakan sebagai parameter namespace untuk perintah kubectl.
Opsional: Konfigurasi kemampuan jaringan project Anda. Hapus centang pada kotak Aktifkan perlindungan dari pencurian data untuk mengizinkan semua traffic keluar ke project lain di dalam organisasi Anda.
Klik Buat.
Untuk memverifikasi bahwa project baru tersedia, pesan akan ditampilkan di
konsol: Project PROJECT_NAME
successfully created.
Untuk mengetahui detail selengkapnya tentang pembuatan project, lihat dokumentasi Google Distributed Cloud dengan air gap, Membuat project.
Menambahkan Admin Platform ke project
Tunggu 30 detik, lalu muat ulang halaman untuk melihat project Anda di halaman Project.
Klik nama project dalam daftar project.
Di bagian Akses Project, klik Buka Pengelolaan Akses Identitas.
Klik Tambahkan anggota.
Dalam daftar Identity provider, pilih fake-oidc-provider.
Di daftar Jenis anggota, klik Pengguna.
Di kolom Username atau alias grup, masukkan platform-admin@example.com.
Dalam daftar Role, pilih Project IAM Admin.
Klik Tambahkan. Admin Platform ditambahkan ke project dan muncul dalam
daftar pengguna, sebagai fop-platform-admin@example.com .
Untuk menambahkan peran project lain, temukan pengguna fop-platform-admin@example.com
dalam daftar, lalu klik more_vert>Edit Peran. Misalnya, jika Anda ingin menambahkan izin untuk pengembangan AI generatif, Anda dapat menambahkan peran berikut:
Editor Dasbor
Admin Instance Harbor
Admin KMS
MonitoringRule Editor
Project Grafana Viewer
PNP Global
Klik Simpan.
Jika Anda melihat pesan error izin selama pengalaman Sandbox GDC di Konsol, API, atau CLI, salin pesan error untuk menentukan peran yang diperlukan. Tinjau Identity & Access dan Project Access untuk menemukan dan menerapkan izin peran yang diinginkan untuk kasus penggunaan Anda.
Tambahkan lebih banyak pengguna
Opsional: Buat lebih banyak pengguna yang memiliki akses yang lebih terperinci menggunakan
konsol GDC.
Klik Tambahkan anggota.
Dalam daftar Identity provider, pilih fake-oidc-provider.
Di daftar Jenis anggota, klik Pengguna.
Di kolom Username atau alias grup, masukkan nama pengguna Anda.
Di daftar Peran, pilih peran yang ingin Anda tetapkan kepada pengguna,
seperti Project Creator.
Klik Tambahkan.
Klik logoutLogout di panel menu
untuk kembali ke halaman Fake OIDC Provider.
Pilih Pengguna Kustom.
Masukkan nama pengguna kustom.
Klik Kirim.
Lampirkan cluster (opsional)
Secara opsional, Anda dapat melampirkan cluster Kubernetes ke project Anda. Instance Anda dilengkapi dengan dua cluster untuk workload berbasis container, user-vm-1 dan user-vm-2, seperti yang dijelaskan dalam Bekerja dengan cluster.
Anda telah menyelesaikan login pertama, mengonfigurasi peran pengguna, dan membuat project.
Anda dapat meninjau Mengelola identitas dan akses untuk mempelajari lebih lanjut definisi peran, atau melanjutkan ke bagian berikut untuk mulai menggunakan resource seperti penampung dan mesin virtual.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[],[],null,["# Create your first project\n\nThis page describes how to create a project.\nTo learn more about projects, see\n[Project overview](/distributed-cloud/hosted/docs/latest/gdch/platform/pa-user/project-management)\nin the Google Distributed Cloud air-gapped documentation.\n\nSign in as Platform Admin\n-------------------------\n\nTo create a project, you will need an account with the necessary permissions.\nMake sure you have followed the steps in\n[Set up the Platform Admin account](/distributed-cloud/sandbox/latest/platform-admin)\nto assign the necessary roles to the administrator account, and\n[connect](/distributed-cloud/sandbox/latest/connect) to the instance using that account.\n\nCreate a project\n----------------\n\nTo create a project in your GDC Sandbox instance, perform the following\nsteps. These steps include some specific values that you must use when\ncreating a project in your GDC Sandbox instance.\n\n1. In the navigation menu, click **Projects**.\n2. Click **Add project**.\n3. In the **Project name** field, enter a project name. Take note of the project name you specify: it will be used in commands. For example, this name is used as the `namespace` parameter for `kubectl` commands.\n4. Optional: Configure your project's networking capabilities. Clear the **Enable data exfiltration protection** checkbox to enable all egress traffic to other projects inside your organization.\n5. Click **Create**.\n6. To verify the new project is available, a message is displayed in the console: `Project `\u003cvar class=\"readonly\" translate=\"no\"\u003ePROJECT_NAME\u003c/var\u003e`\n successfully created`.\n\nFor more details about project creation, refer to the Google Distributed Cloud air-gapped\ndocumentation, [Create a project](/distributed-cloud/hosted/docs/latest/gdch/platform/pa-user/create-a-project).\n\nAdd the Platform Admin to the project\n-------------------------------------\n\n1. Wait 30 seconds and refresh the page to see your project in the Projects page.\n2. Click the project name in the project list.\n3. In the Project Access section, click **Go to Identity Access Management**.\n4. Click **Add member**.\n5. In the **Identity provider** list, select **fake-oidc-provider**.\n6. In the **Member type** list, click **User**.\n7. In the **Username or group alias** field, enter `platform-admin@example.com`.\n8. In the **Role** list, select **Project IAM Admin**.\n9. Click **Add** . The Platform Admin is added to the project and appears in the list of users, as `fop-platform-admin@example.com` .\n10. To add another project role, find the `fop-platform-admin@example.com` user in the list and click more_vert \\\u003e **Edit Roles** . For example, if you want to add permissions for generative AI development, you might add the following roles:\n - Dashboard Editor\n - Harbor Instance Admin\n - KMS Admin\n - MonitoringRule Editor\n - Project Grafana Viewer\n - Global PNP\n11. Click **Save**.\n\nIf you see a permissions error message during your GDC Sandbox\nexperience in the Console, API, or CLI, copy the error message to determine the\nrequired role. Review both **Identity \\& Access** and **Project Access** to\nlocate and apply desired role permissions for your use case.\n\nAdd more users\n--------------\n\nOptional: Create more users that have more granular access using the\nGDC console.\n\n1. Click **Add member**.\n2. In the **Identity provider** list, select **fake-oidc-provider**.\n3. In the **Member type** list, click **User**.\n4. In the **Username or group alias** field, enter your username.\n5. In the **Role** list, select the role that you want to assign to the user, such as **Project Creator**.\n6. Click **Add**.\n7. Click logout **Logout** in the menu bar to return to the Fake OIDC Provider page.\n8. Select **Custom User**.\n9. Enter a custom username.\n10. Click **Submit**.\n\n | **Note:** The custom username is automatically created with a 'fop-' prefix, but it should not be included when logging in.\n\n### Attach clusters (optional)\n\nOptionally, you can attach a Kubernetes cluster to your project. Your instance\ncomes with two clusters for container-based workloads, `user-vm-1` and\n`user-vm-2`, as described in [Working with clusters](/distributed-cloud/sandbox/latest/clusters).\n\nTo attach a cluster to your project, see\n[Attach projects to a cluster](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/cluster#attach-project-to-cluster)\nin the Distributed Cloud documentation.\n\nWhat's next\n-----------\n\nYou completed your first sign in, configured user roles, and created a project.\nYou can review [Manage identity and access](/distributed-cloud/sandbox/latest/iam) to learn more\nabout role definitions, or proceed to the following sections to begin\nworking with resources such as containers and virtual machines."]]