Striim 3.9.4 / 3.9.5 documentation

Deploying Striim in the Google Cloud Platform
  1. If you have not done so already, sign up for the Google Cloud Platform and set up billing.

  2. If you do not already have a Google Cloud Platform project suitable for this deployment, create one (see Creating and Managing Projects).

  3. If you are deploying the BigQuery or Google Cloud Storage solution:

    • Create a service account in the project for use by Striim (see Creating and Managing Service Accounts).

    • Download the service account key, which you will later copy it to the virtual machine running Striim.

    • For BigQuery, give the service account write permission for the relevant tables (see Access Control). For Google Cloud Storage, assign the service account the Storage Legacy Bucket Writer role. For Spanner, give the service account the Cloud Spanner Database User or higher role for the instance (see Cloud Spanner Roles).

  4. Go to the Google Marketplace, search for Striim, click the desired solution, and click Launch on Compute Engine.

  5. At the top of the page, select the project to deploy in.

  6. Optionally, change the deployment name, region, and virtual machine settings. (This may affect your cost.)

  7. Click Deploy. Deployment may take a few minutes.

  8. Click Visit the site.

If you deployed the BigQuery, Google Cloud Storage, MySQL, or PostgreSQL solution, log in using the username admin and the password shown on the deployment preview page. If you do not get a login prompt, wait a few more minutes for Striim to complete startup and click Visit the site again. For discussion of the App Wizard page, which is the first thing you will see when you log in, see Creating apps using templates.

If you deployed the full Striim platform (Bring Your Own License) solution, continue with the following steps.

  1. Click Visit the site.

  2. You should see "Congratulations! You have successfully installed Striim on Google Cloud." Click Continue.

  3. Enter your name, email address, a name for the Striim cluster, and cluster and admin passwords. Make note of the cluster name and both passwords as they are necessary for various tasks you may need to perform in the future. Click Save and Continue.

  4. Enter the license key you received from Striim or leave the field blank to use a trial license. Click Save and Continue.

  5. Click Launch.

  6. Click Log In, enter admin and the admin password you specified above, and click Log In.

  7. If you are new to Striim, click Next to start the tutorial.

Additional steps required after deployment is complete

If the Google Deployment Manager preview page says you need to open any firewall ports, follow the instructions provided.

If you deployed the BigQuery or Google Cloud Storage solution, before using App Wizard templates or running any applications that write to BigQuery or GCS, copy the service account key .json file you downloaded above to the Striim server VM. Use one of the methods suitable for Linux discussed in Transferring Files to Instances. We recommend putting the file in /striim/conf but you may put it in any location. You will need to specify the fully-qualified file name in the ServiceAccountKey property of BigQueryWriter or GCSWriter.

If you deployed the MySQL or PostgreSQL solution, before using App Wizard templates or running any applications that write to the target databases, copy the appropriate driver to the Striim server VM as described in Installing the MySQL JDBC driver and Installing the PostgreSQL JDBC driver. For step 3, use one of the methods suitable for Linux discussed in Transferring Files to Instances.

Install any JDBC drivers required by your sources (see Installing third-party drivers) using one of the methods suitable for Linux discussed in Transferring Files to Instances.

Recommended next steps

Change the VM's public IP address from Ephemeral to Static or it will change every time you restart the VM. See Promoting an ephemeral external IP address.

For an introduction to Striim, follow the Quick Start, beginning with Viewing dashboards.

Google will suggest changing the admin password. The randomly generated "temporary" password should be quite secure, but if you wish to change it, see Running the console in the Google Cloud Platform, and use the command ALTER USER admin SET ( password:"<new password>" );.