User guide
36
Using Adobe Media Server on Amazon Web Services
Last updated 8/28/2014
Otherwise a warning is generated and you cannot log in.
3 Use the ssh command to connect to an instance. Use the following syntax:
ssh -i keypair.pem amsadmin@public-dns
For example, the following command connects to an instance:
ssh -i /Users/AMS/Documents/amsdocs4.pem amsadmin@ec2-50-16-19-38.compute-1.amazonaws.com
Note: Log in to the Adobe Media Server instance as amsadmin.
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 amsadmin@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 amsadmin@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 and Tutorials: on-demand
and live streaming .
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.
Note: 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.