This article describes the minimum requirements to launch a Wowza Media ServerŽ 3.6 for Amazon Elastic Compute Cloud (Amazon EC2) instance, enabled for RTMP streaming as an example. To learn more about how to enable additional streaming formats and for more advanced deployment scenarios, see the Wowza Media Server for Amazon EC2 User's Guide
This document describes how to install and configure Wowza Media Server 3.6 on Amazon EC2
, an Amazon web service that provides resizable compute capacity in the cloud. Amazon EC2 is a cloud-computing platform that virtualizes computing resources as virtual machines. A single virtual machine configuration is registered as an Amazon Machine Image (AMI). Wowza Media Systems provides Amazon Linux AMIs
with preconfigured and tuned versions of Wowza Media Server 3.6 that are ready to start using the Amazon EC2 Management Console.
This document assumes that you're already familiar with Wowza Media Server. If you aren't familiar with Wowza Media Server, you can get a free 30-day trial license for Wowza Media Server 3.6 by completing a request form on the Wowza Media Server Trial webpage
. The Wowza Media Server 3.6 Trial Edition download includes the Wowza Media Server software, all premium AddOns, documentation, and examples. The Wowza Media Server User's Guide
contains comprehensive documentation about how to install and use the server.
After you have your client-side and server-side applications up-and-running on your computer, use this article to learn how to quickly deploy a Wowza Media Server 3.6 for Amazon EC2 instance. For more extensive deployment documentation, see the Wowza Media Server for Amazon EC2 User's Guide
Create AWS account
To get started using Wowza Media Server 3.6 for Amazon EC2, you must sign-in to or create an Amazon Web Services (AWS) account
and then select one of the following licensing model options for each Wowza Media Server 3.6 for EC2 instance that you plan to use.
Option 1: Bring Your Own (LicKey)
The LicKey License option
enables you to use your regular Subscription (Daily or Monthly) or Perpetual license key with your Wowza Media Server 3.6 for EC2 instance. When using this option, billing for your running instance time and bandwidth consumption is managed by Amazon. Wowza Media Server Subscription users will continue to receive a separate monthly invoice from WowzaŽ for usage of the Wowza Media Server software and AddOns. This option provides access to all Wowza Media Server functionality and all premium AddOns, including Wowza Transcoder
(for 64-bit instances only), Wowza nDVR
, and Wowza DRM
Option 2: DevPay
The DevPay License option
enables you to use a Wowza Media Server software license that's embedded in a pre-built Amazon DevPay AMI (a separate license isn't needed). This option provides the convenience of a combined monthly invoice from Amazon for running instance time, bandwidth consumption, and Wowza Media Server usage; however, it doesn't provide access to the premium AddOns.
Start EC2 Management Console
Amazon EC2 Management Console is a web interface that enables you to manage Amazon EC2 and Wowza Media Server 3.6 AMIs from a web browser. Many users find that it's easier to use the Management Console instead of the EC2 command line tools.
This article describes Management Console functionality that's only supported by the Mozilla Firefox
and Google Chrome
To start the EC2 Management Console, go to https://console.aws.amazon.com/ec2
and sign in using the email address and password that you specified when you signed up for AWS.
The EC2 Dashboard
will load in the Management Console. If a different dashboard is displayed, click the Services
tab in the navigation bar at the top of the webpage, click All AWS Services
, and then click EC2
When you sign-in to the EC2 Management Console for the first time, the upper-right side of the navigation bar displays a drop-down list called Select a Region
. Wowza provides public Amazon Linux AMIs that are preconfigured to launch in specific regions. For more information about how to select a region for your Wowza Media Server for EC2 instance, see Choose a Wowza Media Server AMI
Choose a Wowza Media Server AMI
Wowza provides public Amazon Linux AMIs
with preconfigured versions of Wowza Media Server 3.6 that are ready to launch through the EC2 Management Console. You must get a current Wowza Media Server AMI ID for each Wowza Media Server 3.6 for EC2 instance that you plan to use.
Two collections of pre-built AMIs are listed on the Wowza Pre-Built AMIs webpage
, organized by licensing option. Before you choose an AMI from one of these collections for your instance, be sure to consider the following factors:
- The licensing model option that you want to use (either LicKey or DevPay). For more information about the licensing options, see the Wowza on Amazon AWS webpage.
- The region that you want to use. For help in selecting a region that meets your requirements, see Regions and Availability Zones.
Launch the instance
To launch a Wowza Media Server 3.6 for Amazon EC2 instance, do the following:
- In the Wowza Pre-Built AMIs webpage, click the link for the Wowza Media Server AMI that you want to use.
- If you're signed-in to the EC2 Management Console, it will start and the Choose Instance Type page will be displayed. If you're not signed-in, provide the email address and password that you specified when you signed up for AWS, and then sign in.
- In the EC2 Management Console, do the following (we recommend that you leave all optional settings at their default values unless specified otherwise below):
- On the Choose Instance Type page, select the instance type that you want to use. The instance type specifies the hardware configuration for your EC2 instance. All Wowza Media Server AMIs are set to use the m1.small instance type by default. To select a different instance type, click All instance types in the navigation pane, and then click the instance type that you want to use in the list. If you're not sure which instance type to select, see Amazon EC2 Instance Types. Because pricing per instance-hour can vary based on the selected instance type, see Amazon EC2 Pricing.
- On the Configure Security Group page, select the option to create a new security group, and then fill out the form. A security group defines firewall rules for your instance in the selected region. For the purposes of this article, open port 1935 in the firewall to enable RTMP streaming. To do this, in the lower pane, select Custom TCP rule in the Protocol list, enter 1935 in the Port Range (Code) box, and then click the Add Rule button.
- On the Review page, click Launch. A dialog box will be displayed asking that you either select an existing key pair or a create a new key pair. A key pair enables you to use management tools such as Telnet to connect to your Amazon EC2 instance after you launch it. For the purposes of this article, we'll not use a key pair. In the dropdown list, select the option Proceed without a key pair, select the Acknowledgement checkbox, and then click the Launch Instances button.
If you want to connect to and manage this instance later, see "Creating a key pair" in the Wowza Media Server for Amazon EC2 User's Guide
. Select the option Choose an existing key pair
in the dropdown list, select the key pair name in the Select a key pair
list, select the Acknowledgement
checkbox, and then click the Launch Instances
- In the Launch Status page, click the View Instances button to see the status of your EC2 instance. It may take several minutes for your instance to launch. After the Instance State changes from pending to running, the instance is started. It might take an additional minute or two after that before Wowza Media Server is available for streaming.
You'll start incurring charges for your running instance from when it boots until you stop (terminate) it. When you no longer need the instance, follow the instructions in Terminate the instance
in order to stop incurring charges.
If you used a LicKey
AMI ID, the instance uses a temporary license key when you launch it for the first time. You must replace the temporary license key with a valid Wowza Media Server 3.6 Subscription (Daily or Monthly) or Perpetual license key. To learn how to do this, see "Adding a Subscription or Perpetual license key" in the Wowza Media Server for Amazon EC2 User's Guide
Get the instance public domain name
You must use the public domain name (or hostname) of your running instance to access the instance remotely for streaming. To get the public domain name of your instance, do the following:
- In the Navigation pane in EC2 Management Console, under Instances, click Instances.
- Select the running instance.
- In the lower pane, click the Description tab. The Public DNS value is the public domain name of your running instance.
Test the instance
You can quickly verify that your running Wowza Media Server 3.6 for EC2 instance is working correctly by using an example player on a remote computer to stream a sample video on-demand file from the instance. To get the example player, you can download the Wowza Media Server example files
to the remote computer. To stream the sample on-demand video file from your running instance, do the following:
- Extract the Wowza Media Server example files from the compressed (zipped) folder and then run the VideoOnDemandStreaming example installation batch file to install the example player:
- Open the FlashRTMPPlayer example player in a web browser:
- In the FlashRTMPPlayer example player, enter the following information and then click the Connect button:
Where [instance-public-dns] is the public domain name of your Amazon EC2 instance running Wowza Media Server 3.6.
The Big Buck Bunny
video should start to play.
Terminate the instance
When you terminate an instance, you'll lose all changes or files that you have on the server. If you have anything that you don't want to lose, be sure to save it to Amazon Simple Storage Service (Amazon S3)
or to Amazon Elastic Block Store (EBS)
before terminating the instance or you'll lose data. After you've saved your data, do the following to terminate the instance:
- In the Navigation pane in EC2 Managment Console, under Instances, click Instances.
- Select the running instance.
- Click the Actions button, and then click Terminate. The Instance State column for the selected instance will show shutting-down and then terminated.
Amazon recommends that you confirm that the machine reaches the terminated
state before you sign out. You'll continue to be charged for instances that fail to shut down correctly.
For Wowza Media Server 3.6.2 on 06-10-2013