Note: For Wowza Media Server 3.5.0. or later.
To build an Amazon EC2 DevPay AMI:
- Start a base Amazon machine.
- Install the latest version of the Sun Java Development Kit (JDK) from the Oracle website.
- Download the latest version of Wowza Media Server from the Wowza Media Store and install the software.
- Tune the server following the instructions in the Performance Tuning Guide.
- In a text editor, open the /usr/local/WowzaMediaServer/conf/Server.license file and replace the existing developer license with the following Wowza Media Server 3 for Amazon EC2 license:
Code:-----BEGIN LICENSE----- SVRC3-xG3Wv-HmYVf-tyR6u-xkv9b-UBrQT +GXGIHQZV2BSKBNVLPDTM6XUF0LGLX0DSXB94QRP0T370M9D2V15H35GR9IUG4QCW 4B4TGFW279I5AYOMW29FFXI0Y7HWLIK3FKWTFJEJQD0Q1PEKFD79TZWNXQC5T4A8Z F2TN7P70WK8MWX84NK257TPLGXL07CQ8B6NYN2WVIQLX651GR257XXHA4CL1ILT6W 5PVFNO1KIEA5EN8IC2FO9M44XC9VQIPGYD1S1E4GXRLLEQO -----END LICENSE-----
- Save the Wowza Media Server configuration as an Amazon Machine Image (AMI) and register it using the ec2-register command.
- Use the following command to attach our DevPay ID to the AMI:
where [AMI-ID] is the ID of the new Amazon AMI that's returned by the ec2-register command.Code:ec2-modify-image-attribute [AMI-ID] --product-code 8ED157F9
Note: If you're re-building an AMI from our pre-built DevPay AMIs, you must adjust the directory structure for the AMI to function properly. Execute the following commands to create the correct local content and logs folders:
Code:
rm -rf /usr/local/WowzaMediaServer/content mkdir /usr/local/WowzaMediaServer/content chown -R wowza:wowza /usr/local/WowzaMediaServer/content chmod -R 775 /usr/local/WowzaMediaServer/content rm -rf /usr/local/WowzaMediaServer/logs mkdir /usr/local/WowzaMediaServer/logs chown -R wowza:wowza /usr/local/WowzaMediaServer/logs chmod -R 775 /usr/local/WowzaMediaServer/logs
To build Wowza Media Server from a Fedora AMI:
- Start a Fedora Amazon Machine Image (AMI).
Linux® Fedora™ Core for Amazon EC2 images are available at https://fedoraproject.org/wiki/Cloud...SIG/EC2_Images.
Amazon provides the following Fedora Core 8 public images:
- ec2-run-instances ami-48aa4921 -t m1.small -k wowza-keypair
- ec2-run-instances ami-f61dfd9f -t m1.large -k wowza-keypair
- ec2-run-instances ami-48aa4921 -t m1.small -k wowza-keypair
- Install the latest version of the Sun Java Development Kit (JDK) from the Oracle website.
- Download the latest version of Wowza Media Server from the Wowza Media Store and install the software.
- Tune the server following the instructions in the Performance Tuning Guide.
- In a text editor, open the /usr/local/WowzaMediaServer/conf/Server.license file and replace the existing developer license with your Subscription (Daily or Monthly) license.
Note: If you want to re-stream Amazon S3 content using Wowza Media Server, you can configure the MediaCache AddOn package to do so.
- Click here, if you are having problems or would like to discuss this article.
- Leave a comment below, if there is some aspect of this article you would like to see changed or improved.


Article List
Categories