Set up Wowza Streaming Engine for Linux on Rackspace Cloud

This article describes how to install and configure Wowza Streaming Engine™ media server software on a Rackspace Cloud instance that's running Ubuntu Linux.

Note: Rackspace is a Works With Wowza™ partner.


Create a Rackspace Cloud account
Configure and start a virtual machine instance
Connect to the server
Install Wowza Streaming Engine
Create firewall rules
IPv6 support (optional)
Connect to Wowza Streaming Engine Manager
Creating an image
Deleting the instance


This guide describes how to install and configure Wowza Streaming Engine on a Rackspace Cloud virtual machine that's running Linux. Rackspace Cloud is a cloud-computing platform that virtualizes computing resources as virtual machines. This guide is based on Linux; however, Wowza Streaming Engine is also supported on Windows, macOS, and Unix with Rackspace.

This guide assumes basic familiarity with the processes of connecting to and using Linux servers. If you're not familiar with Linux, you can learn more at the Linux Academy website. This guide also assumes basic familiarity with Wowza Streaming Engine.


With Rackspace Cloud, you must "bring your own license" (BYOL) for Wowza Streaming Engine. You can use any Wowza Streaming Engine Subscription or Perpetual license key with your Rackspace Cloud instance. Rackspace manages all billing for your running instance time and bandwidth consumption.

Wowza Streaming Engine Subscription users will still get a separate monthly invoice from Wowza Media Systems™ for usage of Wowza Streaming Engine. Subscription users have access to all Wowza Streaming Engine functionality and features, including Transcoder (for 64-bit instances only), nDVR, and DRM.

Create a Rackspace Cloud account

To get started using Wowza Streaming Engine on Rackspace Cloud, you must first sign in to your Rackspace Cloud account. If you don't have an account, Create a cloud account.

Configure and start a virtual machine instance

After you've logged into the Rackspace Cloud control panel, you can create a virtual server instance. First, in the Cloud Servers panel (on the left), select where you want to create your server. For the purposes of this guide, we'll create a server in the Virginia (Northern Virginia (IAD)) data center. Note that London (London (LON)) isn't available, as you must create a separate account for UK servers.

After selecting a region, click Create Server. You'll be presented with a few sections to configure your server.
Server Details – This is where you define your server's initial hostname and confirm the region where you want to create it.
Image – This is where you select the server operating system. For this guide, we'll use Linux Ubuntu 14.04 LTS PVHVM, which offers higher I/O performance.

After selecting an operating system image, you must define what Rackspace calls 'Flavor'. There are five flavor classes, and a slider that lets you dial the flavor up or down. The Description window on the right shows the performance values and the hourly cost associated with the flavor. Pay close attention to the network speeds offered, as this will be the biggest factor limiting capacity for Wowza Streaming Engine.

Consider the following when specifying your flavor:
  • If you plan to use Transcoder, you'll need more CPU resources.
  • If you plan to use Wowza nDVR, you'll need more Disk I/O resources.
Finally, expand Advanced Options, and then click Select Networks to see a list of networks. By default, the system comes with two interfaces, one external and one internal to the Rackspace Cloud for communication between virtual machines. For this guide, we'll accept the defaults for both sections.

Note: Under Advanced Options, if you have an SSH key you want to use, you can add it in the SSH Key box (this is optional).
After you've specified your options, click Create Server. The green dot with a $ in it indicates that from this point on, your server will incur usage charges.

After you create the image, you'll be given a root password.
Important: This is the only time you'll see this password, so be sure to make a note of it.

If you lose this password, you can change the password from the myCloud panel by clicking the gear icon next to the server, and then selecting Change Password.

After your server is active, the Server Details screen shows the server's status. At this point, you can enter Reverse DNS details for the system's IPv4 and IPv6 addresses by clicking Add Record. Pick an IP Address, enter a Hostname that you want it to resolve to, and then click Save Record.

Connect to the server

To connect to the server via an SSH client such as PuTTY, ZOC, or SecureCRT, use the user name root and the password you recorded from above. An SSH hyperlink will appear in the top right corner of the Rackspace Cloud control panel. If your browser is configured for SSH hyperlinks (ssh://), it'll open your client of choice.

Install Wowza Streaming Engine

Issue the following commands to update the package database and install the unzip (file compression), wget (web downloader), and htop (performance monitor) tools:

sudo apt-get update
sudo apt-get install wget htop unzip -y
Afterwards, you can install and configure Wowza Streaming Engine. On the Downloads page, right-click the Download link for your selected Linux installer, and then save the link location to the clipboard.
Note: If you want to use Transcoder, be sure to choose a Linux 64-bit installer.

On the virtual machine, issue the following command to download the Wowza Installer package to the virtual machine by using wget:

wget {paste link copied to clipboard from previous step}
Follow the steps on the installer download page to install the package. For more information see Install and configure Wowza Streaming Engine.
  • You'll need your license key for Wowza Streaming Engine to complete installation.
  • Wowza Streaming Engine is self-tuning.

Create firewall rules

Rackspace Cloud virtual machines are fully accessible from the Internet. While a firewall isn't necessary for Wowza Streaming Engine to function, we recommended that you configure a firewall for better security.

For a more secure environment, we recommended that you turn on your firewall and only open the required ports. To create a firewall on a Rackspace Cloud virtual machine running Ubuntu, you must use the Linux ufw commands. The following examples show how to open a single port and a range of ports in the firewall, and how to turn off the firewall:

Open a single port in Ubuntu firewall

sudo ufw allow 1935/tcp

Open a port range in Ubuntu firewall

sudo ufw allow 8086:8088/tcp

Disable Ubuntu firewall

sudo ufw disable
Note: By default, many Linux distributions come with the firewall turned on, which can prevent Wowza Streaming Engine from working properly. To configure and disable the firewall, refer to the firewall instructions for your operating system.

IPv6 support (optional)

Rackspace Cloud supports native IPv6. If you want to enable IPv6 for Wowza Streaming Engine, change the following line in [install-dir]/conf/Tune.xml:


To enable IPv6 for Wowza Streaming Engine Manager, make a similar change in [install-dir]/manager/bin/ in the following line:

CMD="$_EXECJAVA -cp $CLASSPATH -Dcom.wowza.wms.ConfigURL=\"\" -Dcom.wowza.wms.ConfigHome=$WMSMGR_HOME$WMSMGR_HOME/temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=$WMSLOGGING_PROPERTIES launch.Main --prefix=/enginemanager --defaultWebApp=/enginemanager --tempDirectory=$WMSMGR_HOME/temp  --webroot=$WMSMGR_HOME/temp --warfile=$WMSMGR_HOME/lib/WMSManager.war --httpPort=8088 --config=$WMSMGR_HOME/conf/ --ajp13Port=-1 --directoryListings=false"

Connect to Wowza Streaming Engine Manager

In a browser, open Wowza Streaming Engine Manager using the IP address provided in the Rackspace myCloud page and port 8088:


Sign in with your Wowza Streaming Engine user name and password. If this is your first time using Wowza Streaming Engine, click through the introduction pages for a quick overview. Otherwise, click Skip.

From here, see Find your way around Wowza Streaming Engine Manager and Get started as a Wowza Streaming Engine Manager administrator finish setting up and start streaming.

Dealing with an incorrect/private IP under connection settings

If the Host -Server value under Application Connection Settings on the Wowza Streaming Engine Manager Home page starts with 10, this means that the manager is listing the virtual machine's private IP address. Although this is merely informational, you can open [install-dir]/conf/VHost.xml in a text editor and change the address in <Manager>/<TestPlayer>/<IpAddress>:

    <!-- Properties defined are used by the Manager -->

You can use an IP address or valid DNS hostname here. If you're using IPv6, you can create both an A and an AAAA record in your DNS for the same host name, and clients connecting to the server will use whichever one is available in the order of preference set by the operating system.

Creating an image

If you want to save the configuration for later use, you must create an image of the server. In the Rackspace myCloud manager, on the Cloud Servers tab, click the Gear icon next to the server name, and then click Create Image:

You'll be prompted to give this image a name:

Click Create Image. The green stripe next to the server will turn into a two-tone "barber pole" to indicate that the image is being created.

After the image is created, the green bar will return to a solid color. To verify the image:
  1. Click the Server tab, and then click Saved Images:

  2. Verify the image details:

Deleting the instance

After you finish using the virtual machine and have created an image that you want to re-use, you can delete the machine. This will shut down the instance, de-allocate all resources assigned to it, and stop usage billing for the instance.
Note: This is permanent. If you haven't created an image, any data on this instance is deleted forever.
In the Rackspace myCloud manager, on the Cloud Servers tab, click the Gear icon next to the server name, and then click Delete Server. You'll be asked to confirm the request.

After you've confirmed this, the "barber pole" indicates that the deletion process has started:

When the process is complete, the server is removed and you'll no longer incur usage charges for its resources.