This page describes how to create a project. To learn more about projects, see Project overview in the Google Distributed Cloud air-gapped documentation.
Sign in as Platform Admin
To create a project, you will need an account with the necessary permissions. Make sure you have followed the steps in Set up the Platform Admin account to assign the necessary roles to the administrator account, and connect to the instance using that account.
Create a project
To create a project in your GDC Sandbox instance, perform the following steps. These steps include some specific values that you must use when creating a project in your GDC Sandbox instance.
- In the navigation menu, click Projects.
- Click Add project.
- 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 forkubectl
commands. - 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.
- Click Create.
- To verify the new project is available, a message is displayed in the
console:
Project PROJECT_NAME successfully created
.
For more details about project creation, refer to the Google Distributed Cloud air-gapped documentation, Create a project.
Add the Platform Admin to the project
- Wait 30 seconds and refresh the page to see your project in the Projects page.
- Click the project name in the project list.
- In the Project Access section, click Go to Identity Access Management.
- Click Add member.
- In the Identity provider list, select fake-oidc-provider.
- In the Member type list, click User.
- In the Username or group alias field, enter
platform-admin@example.com
. - In the Role list, select Project IAM Admin.
- Click Add. The Platform Admin is added to the project and appears in the
list of users, as
fop-platform-admin@example.com
. - To add another project role, find the
fop-platform-admin@example.com
user in the list and click > Edit Roles. For example, if you want to add permissions for generative AI development, you might add the following roles:- Dashboard Editor
- Harbor Instance Admin
- KMS Admin
- MonitoringRule Editor
- Project Grafana Viewer
- Global PNP
- Click Save.
If you see a permissions error message during your GDC Sandbox experience in the Console, API, or CLI, copy the error message to determine the required role. Review both Identity & Access and Project Access to locate and apply desired role permissions for your use case.
Add more users
Optional: Create more users that have more granular access using the GDC console.
- Click Add member.
- In the Identity provider list, select fake-oidc-provider.
- In the Member type list, click User.
- In the Username or group alias field, enter your username.
- In the Role list, select the role that you want to assign to the user, such as Project Creator.
- Click Add.
- Click
- Select Custom User.
- Enter a custom username.
Click Submit.
Attach clusters (optional)
Optionally, you can attach a Kubernetes cluster to your project. Your instance
comes with two clusters for container-based workloads, user-vm-1
and
user-vm-2
, as described in Working with clusters.
To attach a cluster to your project, see Attach projects to a cluster in the Distributed Cloud documentation.
What's next
You completed your first sign in, configured user roles, and created a project.
You can review Manage identity and access to learn more
about role definitions, or proceed to the following sections to begin
working with resources such as containers and virtual machines.