Preparing for the Setup of the Environment

In order for Velostrata to work with GCP, you'll need to make sure all of the following are configured before proceeding onto the next section: 

  1. Login as a user with administrative privileges in GCP. 
    1. NOTE: This is required in order to create the deployment using Deployment Manager. 
    2. NOTE: The user only requires Administrative privileges during the setup.
  2. Create a project in GCP.
    1. Alternatively, if you just created your GCP account, you can also just rename "My First Project" to something else. 
  3. From the menu (top left) select "APIs & Services" > "Library"
    1. Search for all of the following and either verify they are enabled, or if not, enable them one by one:
      1. Identity and Access Management (IAM) API
      2. Cloud Resource Manager API
      3. Google Cloud Deployment Manager V2 API
      4. Compute Engine API
  4. From the menu (top left) select "IAM & admin" > "IAM
    1. Find the member that contains "@cloudservices.gserviceaccount.com" and click the edit icon to the right of the name
    2. Click the Add Another Role link
    3. Select "Roles" from the left column and "Role Administrator" from the right column. 
    4. Click save.
  5. Download the GCP SDK [+Python if not already installed, too] from https://cloud.google.com/sdk/downloads and install it on your workstation (where you access VMware vCenter from). 
    1. NOTE: that you may need to reboot your workstation after installing the SDK.
    2. NOTE: Powershell version 3 or higher is required on your workstation
  6. After installing the GCP SDK, perform an update from the same command prompt by running the command: gcloud components update

Once you have completed these steps, you are ready to proceed to the next section.