Cloud Provider Account Support for Google Compute Engine

Document created by Chris Sommerstad Employee on Jul 20, 2017
Version 1Show Document
  • View in full screen mode

CloudTest Pro users can create Cloud Provider Accounts for the Google Compute Engine cloud provider.

The Google Compute Engine provides data centers in the U.S. and Europe and uses Google's OAuth 2.0 standard for authentication.

Important Note: As of SOASTA 57.09 (limited availablity), Google supports Google Compute Engine Reserved IPs.

Browser Prerequisites

Enable browser popups for the following URLs using the recommended steps for your browser:

  • CloudTest URL (The CloudTest URL to enable is presented in the Cloud Provider Account box when you select Type: Google Compute Engine).

Google Developer Prerequisites

To get started with Google Compute Engine in CloudTest, you'll first need to take care of some prerequisites in your Google Developer Account.


Note: The following instructions presume an existing Google Developer ID with billing enabled so that network services such as Compute Engine are enabled. Your Google account isn't charged unless you create a server instance (the following steps do not include creating a server instance 

Additionally, the Google Compute Engine (GCE) API must be set to On (see the Google Compute Engine, API settings section, GCE button.

  • First, you'll need a project. If you don't have one, create it now.
  1. Login to the Google Developer Console and then click Create Project.

  1. In the New Project box, set the (editable) Project ID and note it for later use. Check the Terms of Service box to continue and click Create to continue.

  1. Click to open your project (e.g. My Project) and locate the Networks node.

TIP:  Billing services must be enabled for the Compute Engine node to appear in this project.


  1. Click the navigation menu in the top-left corner then click Networking.


  1. On the 'default' network page, locate the Firewalls section, and click the Create new link text.

  1. In the Create a new firewall box, give the new firewall a name and enter the following text into the Protocols & ports box (shown below):


  1. Click Create to complete firewall configuration for the "default" network.

  1. Click the OAuth consent screen tab and enter the Product name.


  1. Click the Credentials tab, open the New credentials dropdown menu and select oAuth client ID.


  1. Select the Other radio button and enter the Product name into the Name field.


  1. Click the download JSON button on the far-right side of the screen.

Setup Google Compute Engine as a Cloud Provider

Use the following steps to enter your valid Google Compute Engine credentials as a CloudTest Pro Cloud Provider Account.

      1. Select Central > Cloud Provider Accounts and then click New to launch the Cloud Provider Account dialog box.
      2. Enter a name for the new cloud provider account. This name is used in locations and also appears in the Cloud Provider Account drop-down in the Grid Manager.
      3. Change the “Type” drop-down to “Google Compute Engine”.

      1. Enter the Google Compute Engine project ID.

Note: All Google Compute Engine resources belong to a project. Specify that project ID noted earlier (i.e. ren-stimpy-941).

      1. Choose the Google Compute Engine JSON file that corresponds to this Client ID (e.g. the one downloaded from the Google Compute Engine API above).

After doing so, the Cloud Provider Account box refreshes and the Authentication Code field appears.

At the same time, the Google Compute Engine OAuth "Request for Permission" popup window appears.

      1. If you're not signed into Google, sign in now. The page below appears. Complete the sign-in by clicking Accept.

TIP:  As noted earlier and in the Cloud Provider Account box (before it refreshes), browser popups must be enabled for this to work.

After clicking Accept, the landing page above appears. This page contains the Authentication Code you'll need to enter into the Cloud Provider Account box, Authentication Code field.

      1. Copy the Authentication code and paste it into the Cloud Provider Account box.
      1. Optionally, configure an access control list in the Cloud Provider Account box in CloudTest. Refer to Cloud Provider Accounts for additional Access Control List steps.
      2. Click OK to complete configuration of this Cloud Provider Account.

The completed item appears in the Cloud Provider Accounts list in Central.

When the Cloud Provider Account is saved, a new set of locations for Google Compute Engine will be automatically created, if they do not already exist.

One or more locations will be specified during Grid Manager configuration of grids. For more information about Locations, refer to Using Locations

Launching Test Servers using Google Compute Engine

Once a Google Compute Engine Cloud Provider Account has been created for use with CloudTest Pro, you are ready to create a grid that will provision servers via that cloud vendor.

Creating a Grid using Google Compute Engine


Note: As of SOASTA 57.13, we support comma separated lists of tags in the Security Group field of the Grid manager.

  1. Select Central > Grids and then click New. The Grid Manager appears with Step 1 General displayed.
  2. Enter a Grid Name, and optionally, enter a description and a repository location for the new grid, and then click the right arrow.

The Step 2 Server Instances page appears.

      1. Change the Location drop-down to one of defined Google Compute Engine locations. For example, Google Compute Engine US Central. US Central and Europe West are the only two Google Compute Engine locations offered at this time.
      2. Specify the number of Test Server instances, and then optionally, define Results Server Instances. For most cases, the default One for every 50 Test Serverinstances is acceptable for result servers.
      3. By default, Google Compute Engine servers will be launched using Large instances. Extra–Large instances can also be selected via the Server Class dropdown.
        • "Large" is translated to the "n1–standard–2" machine type.
        • "Extra-Large" is translated to "n1–standard–4".
      4. If you wish to combine the Google Compute Engine servers with servers from other cloud providers, click the Add a Location box. Otherwise, click the right arrow icon to proceed.

The Step 3 Summary and Deploy Tear Down page appears. Click the Deploy Instances button to begin launching servers.

Note: CloudTest Pro users may see an additional Grid Monitor Database field for those configurations where more than one Results Database is available. For more about using and launching grids, refer to Managing Grids.

Note: At the time of the first grid deployment using your Google Compute Engine account, CloudTest creates an image that will appear in your in the Google Developer Console's list of Images. No additional costs are associated with this image.