EasyManua.ls Logo

Adobe MEDIA SERVER - Page 38

Adobe MEDIA SERVER
42 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
35
USING ADOBE MEDIA SERVER ON AMAZON WEB SERVICES
Using Adobe Media Server on Amazon Web Services
Last updated 9/20/2013
ssh -i keypair.pem root@public-dns
For example, the following command connects to an instance:
ssh -i /Users/AMS/Documents/amsdocs4.pem root@ec2-50-16-19-38.compute-1.amazonaws.com
Note: Log in to the Adobe Media Server instance as root.
Copy content to an instance
1 Open a shell.
2 To copy files to a directory on the instance, use the scp command. following command:
scp -i keypair.pem fileToUpload.xxx root@public-dns:/remote/dir/toUpload
For example, the following command copies the file sample.f4v to the vod application on the instance:
scp -i /Users/AMS/Documents/amsdocs4.pem /Users/AMS/Documents/sample.f4v root@ec2-50-16-19-
38.compute-1.amazonaws.com:/mnt/applications/vod/media
For information about where to put files to stream, see “Where to store content on an instance” on page 30 and
Tutorials: on-demand and live streaming” on page 6.
Using Amazon Simple Storage Solution (S3) to store content
According to the Amazon web site: Amazon S3 provides a simple web services interface that can be used to store and
retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly
scalable, reliable, secure, fast, inexpensive infrastructure that Amazon uses to run its own global network of web sites.
Create an Amazon S3 account to store content. Adobe Media Server on Amazon Web Services installs with
FuseOverAmazon (s3fs) which allows you to mount an S3 bucket as a local file system on the Adobe Media Server
instance. Copy files from the S3 bucket to the /mnt/applications/vod/media directory to stream them from the vod
application. Copy the files back to the S3 bucket before you terminate the instance.
Important: Technically, it is possible to stream files from an S3 bucket. However, Adobe does not recommend it because
performance may suffer. It is not technically possible to record files to the S3 bucket.
Mount an S3 bucket as a local file system
1 Create an Amazon S3 account at aws.amazon.com/s3.
2 Create an S3 bucket and upload media to it.
See Amazon Simple Storage Service Getting Started Guide.
3 FuseOverAmazon (s3fs) is installed on the Adobe Media Server on Amazon Web Services instance.
FuseOverAmazon mounts the S3 bucket as a local file system on the instance.
For information about the FuseOverAmazon command line options, see FuseOverAmazon.
4 Locate your Access Key ID and your Secret Access Key.
See Using Credentials > How to Get Your Access Key ID and Secret Access Key in the Amazon Web Services User
Guide.
5 Create a directory on the instance to mount the S3 bucket, for example, /mnt/s3fs.
Create the directory as a subdirectory of the /mnt directory because it contains the most storage space.
6 Open a shell and issue the following command:

Related product manuals