Skip to main content

Running Striim in Amazon EC2

The fastest and easiest way to run Striim in Amazon EC2 is to get it from the AWS Marketplace (see Deploying Striim from the AWS Marketplace). If you prefer to run Striim in your own EC2 VM, contact Striim support for assistance.

Striim currently offers the following AWS EC2 solutions:

  • Striim for Amazon Web Services - BYOL Platform: the full Striim platform using a free trial license or a license purchased from Striim (BYOL = "bring your own license")

  • Striim for Amazon Redshift: licensed for MySQL, Oracle, SQL Server sources and RedshiftWriter and FileWriter targets. (FileWriter can be useful for debugging and testing.)

With the BYOL solution, you will be billed monthly by Amazon for virtual machine usage and purchase your license directly from Striim. After the trial period, you must Contact Striim support to purchase a license.

With the other solutions, you will be billed by Amazon monthly according to usage. See the individual solutions for pricing details.

Deploying Striim from the AWS Marketplace

To deploy a Striim AWS Marketplace solution:

  1. Go to the appropriate page in the AWS Marketplace.

  2. Click Continue to Subscribe > Continue to Configuration.

  3. Select the desired region, then click Continue to Launch.

  4. Optionally, change the EC2 Instance Type.

  5. Under Security Group Settings, click Create New Based on Seller Settings, enter a name and description, and click Save.

  6. Under Key Pair Settings, select the key pair to use with Striim.

    If you do not have a key pair in the selected region, click Create a key pair in EC2, change the region to the one you selected previously, click Create Key Pair, enter a name, click Create, save the .pem file, and return to the Launch page, and refresh the key pair list. If the new key pair is not selected automatically, select it.

  7. Click Launch.

  8. Click EC2 Console.

    EC2_Console_link.png
  9. Make note of the Instance ID, then in the left-side menu click Elastic IPs.

  10. Click Allocate new address. If you see a choice of options, select VPC. Then click Allocate > Close. Make note of the IP address as you will use it to access Striim.

  11. Select Actions > Associate address, select the EC2 instance ID, select its private IP, and click Associate > Close.

  12. In the left-side menu, click Instances.

  13. If you have more than one instance, select the one you just created. Copy its Public DNS (IPv4) string (at the top of the right column on the Description tab at the bottom of the page).

    Displays how to copy the public DNS IP address for the EC2 instance you created, by selecting the Copy to clipboard option at the top of the right column on the Description tab at the bottom of the page.
  14. Paste the public DNS string in your browser's address bar, add :9070 (for example, ec2-3-91-177-185.compute-1.amazonaws.com:9070), and press Enter. You should see this message:

    A success message that displays the text "Congratulations! You have successfully installed Striim."
  15. Click OK to allow cookies, then click Accept Striim EULA and Continue to accept the license agreement.

  16. For Striim BYOL only, enter your name, email, company name, and email address. If you already have a license, be sure that the company name exactly matches the name associated with your license.

  17. Enter a name for the Striim cluster and sys, admin, and keystore passwords. Be sure to remember the cluster name and passwords, since you will need them to log in to Striim and run the Striim console or Forwarding Agent.

  18. Click Save and Continue.

  19. For the BYOL Platform only, provide a license key if you have one. Otherwise, leave the license key field blank to proceed with a trial license, then click Continue.

  20. Click Launch.

  21. When launch has completed, click Log In. (You can return to the login page using the View Instances > Access Software link on the Your Software page.)

  22. Log in as admin with the admin password you provided above.

If you are new to Striim, see Getting Started.

Installing Striim from an Amazon EC2 AMI

To create a multi-server Striim cluster in EC2, you must install it from an AMI. Contact Striim support for assistance.

Using ssh to run the Striim console in EC2

To access the Striim instance's command line, use ssh. On Windows, you can get ssh by installing the Windows Subsystem for Linux or, if your Windows version does not support that, you can install Cygwin or the third-party utilities WinSCP and Putty, or use the AWS Command Line Interface (AWS CLI).

The syntax is:

ssh -i <private key file name> centos@<Public DNS string>
  • The private key file is the .pem file specified in the "Select an existing key pair or create a key pair" step above. Before using ssh, you must run this command on the private key file once: chmod 400 <private key file name>

  • centos is the Linux user name used by the Striim server.

  • You can find the Public DNS string for the Striim instance on the AWS Instances page. The format of this string is ec2-<Public IP>.<EC2 region>.compute.amazon.com.

Putting all these together, the command would look something like this (assuming you ran it from the same directory where the .pem file is stored):

ssh -i MyStriimUser.pem centos@ec2-203.0.113.23.us-west-1.compute.amazonaws.com

When ssh connects to the Striim instance, you will see something like this:

TIBCO Silver -  CentOS 6.5 x86_64 AMI
Bootstrap complete. Visit http://silver.tibco.com for more information.
us-west-1b-i-07e1133b674e72aed
[centos:~]$

To run the console, enter:

sudo /opt/Striim/bin/console.sh -c StriimCluster