User guide
31
Using Adobe Media Server on Amazon Web Services
Last updated 8/28/2014
About managing content on an instance
When you launch an instance, the instance contains a new installation of Adobe Media Server for Amazon Web
Services. To stream media, use an SSH client to connect to an instance and move the media and any supporting content
(application folders and configuration files) to the instance.
An AMS instance uses two EBS volumes. The first volume is the primary volume that contains the installed operating
system, AMS, and storage blocks. The second volume, which is the secondary volume, is mounted to the /mnt folder
that contains applications, logs, and the webroot folder.
For additional information and screenshots, see Launch an Instance in “Amazon Elastic Compute Cloud Getting
Started Guide”.
Before you terminate an instance, copy all the media and any supporting content, including modified configuration
files, to an Amazon Simple Storage Service (S3) block or to an Amazon Elastic Block Storage (EBS) volume. Any files
left on the instance are deleted when the instance is terminated.
Using Amazon Simple Storage Solution (S3) to store content
Using Amazon Elastic Block Store (EBS) to store and stream content
Note: When you terminate an instance, all content on the instance is permanently deleted. Before you terminate an
instance, copy any content you’ve added or modified, including configuration files, off the instance.
Where to store content on an instance
The Adobe Media Server vod (video on demand) application has a default directory in which it looks for content
(media files) to stream. However, you can configure the server to use any directory. On Adobe Media Server on
Amazon Web Services, store content in any subdirectory of the following directory:
/mnt
On Amazon EC2 instances, the /mnt directory is much larger than the / directory. Therefore, on Adobe Media Server
instances, the /applications, /logs, and /webroot directories are all subdirectories of /mnt.
The following table lists the default content directory and configuration location:
For more information about configuring the location of content on an instance, see Configuring content storage in
Adobe Media Server Configuration and Administration Guide.
Application Default content directory Configuration location
vod This application plays on-demand streams
from the following directory:
/mnt/applications/vod/media
Flash Player and AIR clients can stream FLV
files in that directory from the following URL:
rtmp://public-dns/vod/filename
Flash Player and AIR clients can stream
F4V/MPEG-4 files in that directory from the
following URL:
rtmp://public-dns/vod/mp4:filename.xxx
See On-demand streaming.
/opt/adobe/ams/conf/ams.ini file
VOD_DIR = /mnt/applications/vod/media