Set up Wowza Streaming Engine for Linux on Alibaba

This guide describes how to install and use Wowza Streaming Engine™ media server software on a Debian Linux Alibaba Cloud ECS virtual machine instance. The Alibaba Cloud ECS (elastic compute service) provides CPU, memory, and other server components in the cloud. Wowza Media Systems™ offers a Linux-based, tuned, pre-configured Wowza Streaming Engine disk image that's ready to deploy on an Alibaba ECS instance. The image supports live and video-on-demand (VOD) streaming.



Create an instance with a Wowza Streaming Engine image
Reset the password
Connect to the instance
Configure Wowza Streaming Engine on the instance
Test the instance
Manage the instance


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

Wowza Streaming Engine Monthly Subscription users will still get a separate monthly invoice from Wowza for usage of Wowza Streaming Engine.

Create an instance with a Wowza Streaming Engine image

Instances, or virtual machines, are created in the Alibaba ECS Management Console, a portal for managing Alibaba cloud resources.
  1. Sign in to the Alibaba Cloud.
  2. Click Marketplace in the menu bar.

    Note: If necessary, click the Aliyun button in the upper-left corner of the ECS Management Console to go to the main Alibaba Cloud page.

  3. Under Software Infrastructure, select Wowza Streaming Engine 4: BYOL Edition.

    If necessary, click View All to find the Wowza Streaming Engine image.
  4. Click Choose Your Plan.

    Now, define your instance.
  5. For Version, choose the latest Wowza Streaming Engine version available.
  6. For Region, select a location that's available and as close as possible to where your viewers are located.
    • You can't change the region after you create the instance.
    • Instance configuration options and prices vary by region.
  7. Select a tiny, small, medium, or large ECS Instance Type. Use the descriptions of generation, CPU, memory, I/O disk optimization, and system disk size to help you make a selection.

    • Generation I uses Intel Xeon CPU and DDR3 memory.
    • Generation II uses Intel Haswell CPU and DDR4 memory
    • Generation III uses Intel Broadwell CPU and DDR4 memory.
    Note: You can't change the CPU generation after the instance is created.
    Select a configuration that meets your streaming needs. All options meet the minimum system requirements to run Wowza Streaming Engine.
  8. For Network, select VPC (or Default VPC).

    VPC, or virtual private cloud, supports dedicated connections and allows you to customize your network topology and IP addresses. The public IP address in a VPC network is a NAT IP address, which can't be queried through the command line in the ECS instance.
    • Alibaba provides elastic public IP addresses for its instances. Elastic IP addresses are, essentially, static. They persist when you start and stop the instance.
    • VPC networks aren't supported in all regions.
    • For Subscription, select Pay-as-you-go.
  9. Review the configuration, and then when you're ready to create the instance, click Agree Terms and Buy Now.
Alibaba provisions and starts the instance.

Reset the password

Before you can connect to the instance or run Wowza Streaming Engine on it, you must stop the instance and reset the password.
  1. In upper-right corner of the Alibaba Marketplace, click My Account and then click Console.
  2. Under Products & Services, click Elastic Compute Service.
  3. In the ECS Management Console contents panel, click Instances.
  4. In the Instance List, choose the region where your new instance is located.
  5. Select the instance, and then click Stop. It make take a few minutes for the instance to stop.
  6. Select the instance again, and then click Reset Password.
  7. Enter and confirm a new root user password, and then click Submit.

  8. Select the instance, and then click Start to start the instance again. It may take a few minutes for the instance to start.
  9. Make note of the instance's Internet IP address. You'll need it to connect to Wowza Streaming Engine on the virtual machine.

Connect to the instance

Log on to the instance to manage its settings and the applications that run on it, including Wowza Streaming Engine.

Alibaba requires connecting to the machine using a secure shell (SSH). If you're connecting on Windows, you must install an SSH client on the computer that you'll use to access the virtual machine. There are many SSH client programs to choose from, including PuTTY.

If you're accessing the virtual machine from a Linux or macOS computer, you can connect to the instance directly by using an SSH command. For example, ssh root@[instance_elastic_IP_address]. Then, enter the password of the root user of the instance.

Here's how to use PuTTY to access the virtual machine on Windows.
  1. Open the PuTTY SSH Client (putty.exe).
  2. In the PuTTY Configuration window, click the Session category.
  3. For Host Name, enter the Alibaba instance's elastic IP address.
  4. Use the default Port value (22)
  5. For Connection type, choose SSH.

  6. Click Open.

    The first time you connect, you'll see a Security Alert.

  7. Click Yes to trust the server's host key.
  8. Log in as the root user (Login as: root) with your newly reset password.
You can now work with the virtual machine as you would any other server.

Configure Wowza Streaming Engine on the instance

Next, sign in to Wowza Streaming Engine Manager, add your permanent license key, and create a new administrator account.
  1. In the PuTTY Terminal window, type the following commands:
    cd /usr/local/WowzaStreamingEngine/conf
    cat admin.password
  2. Copy the user name (wowza) and the temporary password.

    These are the credentials that you need to sign in to Wowza Streaming Engine Manager and manage Wowza Streaming Engine on the Alibaba instance.
  3. In a new browser window, open Wowza Streaming Engine Manager using the following URL:

    You can find the Internet IP address on the Instances page in the Alibaba ECS Management Console.
  4. Sign in to Wowza Streaming Engine Manager using the temporary credentials that you copied from the admin.password file.

    The Wowza Streaming Engine software on the virtual machine includes a temporary license key that doesn't let you use the Transcoder, nDVR, and DRM features in the software.
  5. Follow the instructions in Add license keys to replace the temporary license key with your Subscription or Perpetual license key for Wowza Streaming Engine.

    Next, create a new account to manage Wowza Streaming Engine on the virtual machine instance.
  6. Follow the instructions in Create user accounts to create a new account with Administrator access.
  7. After you create the account, sign out of Wowza Streaming Engine Manager and then sign in using the new account. You can then delete the temporary wowza account if desired.

Test the instance

  1. In Streaming Engine Manager, in the Test Video area of the Home page, click Test Players.

  2. Enter your Alibaba virtual machine's Internet IP address in the Server box.

The Test Players window that opens includes test players that are configured to stream the sample.mp4 video file in the Wowza Streaming Engine installation over various streaming formats. Each tab in the Test Players window either hosts a test player that you can use to play the video file or provides instructions for playing the video file. 

Manage the instance

Use the Alibaba ECS Management Console to start, stop, and perform other tasks on the virtual machine.
  • On the Instances page:
    • Click Start to start an instance.
    • Click Stop to stop an instance.
    • Click Manage to view or edit the instance configuration.
  • On the Images page:
    • Select an image and then click Delete to remove the image.
    • Click Copy Image to create a copy of the image.