Set up a project

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 gcloud command 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:

       gcloud  
      components  
      update 
      
  • Confirm you have version 1.25.8 of the kubectl CLI.

  • Have one or more GDC racks at target locations.

Set up your Google Cloud project

Before you provision Telecom Network Automation, you must set up a Google Cloud project:

  1. Set your default project:

     gcloud  
    config  
     set 
      
    project  
     PROJECT_NAME 
     
    

    Replace PROJECT_NAME with a name for your project.

  2. In the default project, start the GKE compute endpoints:

     gcloud  
    services  
     enable 
      
    compute.googleapis.com 
    
  3. Assign the environment variables:

      export 
      
     PROJECT_ID 
     = 
     $( 
    gcloud  
    config  
    get-value  
    project ) 
     export 
      
     PROJECT_NUM 
     = 
     $( 
    gcloud  
    projects  
    describe  
     $PROJECT_ID 
    --format = 
     "value(projectNumber)" 
     ) 
     export 
      
     LOCATION 
     = 
     ZONE 
     # create a /workdir to clone all repositories 
    mkdir  
    ~/workdir cd 
      
    ~/workdir 
    

    Replace ZONE with the zone closest to your location, such as us-central1-a .

  4. Assign IAM roles to users in your organization to grant permission to your Google Cloud project:

     gcloud  
    projects  
    add-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 .
  5. Enable Telecom Network Automation endpoints in the project:

     gcloud  
    services  
     enable 
      
    telcoautomation.googleapis.com 
    
  6. Set the default gcloud timeout:

     gcloud  
    config  
     set 
      
    http_timeout  
     3600 
     
    
  7. Resolve Telecom Network Automation deployments by granting the Logs Viewer role to the limited-access Telecom Network Automation monitoring group:

     gcloud  
    projects  
    add-iam-policy-binding  
     $PROJECT_ID 
    --member = 
    group:cloud-gmec-tna-monitoring-team@twosync.google.com  
    --role = 
    roles/logging.viewer 
    
Create a Mobile Website
View Site in Mobile | Classic
Share by: