Set up a project
Stay organized with collections
Save and categorize content based on your preferences.
Before you perform operations in Telecom Network Automation, you must set up a Google Cloud project. To set up a project, complete the following steps.
Before you begin
Before continuing, ensure you have the following:
The latest version of the
gcloudcommand line interface (CLI) tool. Do either of the following:- For full installation instructions, see Install the gcloud CLI.
Update your existing version using the following command:
gcloudcomponentsupdate
Confirm you have version 1.25.8 of the
kubectlCLI.Have one or more GDC racks at target locations.
- The software must run version 1.5.0. For more information, see Installation requirements.
Set up your Google Cloud project
Before you provision Telecom Network Automation, you must set up a Google Cloud project:
Set your default project:
gcloudconfigsetprojectPROJECT_NAMEReplace PROJECT_NAME with a name for your project.
In the default project, start the GKE compute endpoints:
gcloudservicesenablecompute.googleapis.comAssign the environment variables:
exportPROJECT_ID=$(gcloudconfigget-valueproject) exportPROJECT_NUM=$(gcloudprojectsdescribe$PROJECT_ID --format="value(projectNumber)") exportLOCATION=ZONE # create a /workdir to clone all repositories mkdir~/workdir cd~/workdirReplace ZONE with the zone closest to your location, such as
us-central1-a.Assign IAM roles to users in your organization to grant permission to your Google Cloud project:
gcloudprojectsadd-iam-policy-binding$PROJECT_ID --member='user:EMAIL'--role='ROLE'Replace the following:
- EMAIL: the email of the user to bind the role to.
- ROLE: the name of the role.
For example,
roles/owner. For a full list of Telecom Network Automation roles, see Architecture and permissions.
Enable Telecom Network Automation endpoints in the project:
gcloudservicesenabletelcoautomation.googleapis.comSet the default
gcloudtimeout:gcloudconfigsethttp_timeout3600Resolve Telecom Network Automation deployments by granting the Logs Viewer role to the limited-access Telecom Network Automation monitoring group:
gcloudprojectsadd-iam-policy-binding$PROJECT_ID --member=group:cloud-gmec-tna-monitoring-team@twosync.google.com--role=roles/logging.viewer