To create an automated video transcoding configuration using three RightScale ServerTemplates in Google Compute Engine.
Table of Contents
The following prerequisites are required to complete this tutorial:
Google Compute Engine is an IaaS and PaaS offering, built on the same infrastructure that powers Google’s global operations. This tutorial utilizes a simple configuration using three ServerTemplates to push jobs into a queue from a producer server and render the videos using a consumer server to demonstrate the consistent performance of Google Compute Engine.
Before you launch a server in the Google Compute Engine cloud, make sure you create a Security Group to allow communication among servers in your deployment and define who can initiate communication with those servers.
For your generic example security group, open the following protocols and ports:
After setting up your security group, you must first create a new deployment which acts as a logical grouping of related servers. In this example, you will add three servers to the deployment: GCE Demo - RabbitMQ server, GCE Demo - Video Transcode Consumer server, and the GCE Demo - Video Transcoder Producer server. Keep in mind that this is for testing purposes, deployments are commonly used for organizational purposes where you group a set of servers together that belong to the same project, such as a production or staging environment.
The next step is to import the ServerTemplates to launch your servers.
From your deployment, add the first server using the GCE Demo - RabbitMQ ServerTemplate.
Go to your deployment level Inputs tab and click edit and enter the following information:
Input Name | Description | Value |
Transcoding HandBrake Presets | Defines the settings for HandBrake video transcoding. | array: ["text:Universal","text:High Profile"] |
Transcoding RSS Source | Retrieves the RSS feed of videos to transform. | array: ["text:http://commondatastorage.googleapis.com/video_transcode_demo/video.xml"] |
Transcode AMQP Hostname | Used to pass messages between applications. | env: "PRIVATE_IP" of "GCE Demo - RabbitMQ" |
(Optional) Transcode Consumer Log Level | Can be set to either "info", "warn", "error", or "debug." | (Example Value) text: error |
© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.