Adobe MEDIA SERVER User Manual page 30

Using adobe media server on amazon web services
Table of Contents

Advertisement

USING ADOBE MEDIA SERVER ON AMAZON WEB SERVICES
Using Adobe Media Server on Amazon Web Services
To call Administration APIs, configure and start the Administration Server. See the tasks in the section
Server Administration
Console" on page 25. After you've completed those tasks, you can call Administration APIs
over RTMP.
Call Administration APIs over HTTP:
Edit the /opt/adobe/ams/conf/ams.ini file as follows:
1
USERS.HTTPCOMMAND_ALLOW = TRUE
2
Edit the file opt/adobe/ams/conf/Users.xml to list the Administration APIs that can be called over HTTP (only
is allowed, by default):
ping
<AdminServer>
<HTTPCommands>
<!-- The <Enable> value is set in the ams.ini file. -->
<Enable>${USERS.HTTPCOMMAND_ALLOW}</Enable>
<!-- List of Admin APIs that can be accessed over HTTP.-->
<!-- Add multiple commands separated by commas.
<!-- every command (it's not recommended to allow all commands). -->
<Allow>ping</Allow>
<!-- List of server admin commands denied access via HTTP. -->
<!-- Add multiple commands seperated by commas.
<!-- every command. -->
<Deny>All</Deny>
<Order>Deny,Allow</Order>
</HTTPCommands>
</AdminServer>
Restart the server and the Administration Server:
3
./amsmgr adminserver restart
./amsmgr server ams restart
Note: When you edit a configuration file, restart Adobe Media Server. When you edit the Users.xml configuration file,
restart Adobe Media Server and Flash Media Administration Server.
For more information, see
Working with the Administration
Starting and stopping an instance
When you launch an instance, the instance is backed by Amazon Secure Simple Storage (S3). After you launch the
instance, you can create an Elastic Block Storage (EBS) volume and attach it to the instance. The major difference
between S3-backed and EBS-backed instances is that EBS-backed instances can be stopped and restarted. Instances
that are S3-backed can be launched and terminated, they cannot be stopped and restarted.
Important: When you terminate an instance, any changes made to that instance (media copied to the instance and
changes to configuration files) are lost. To save media and configuration files, copy them off the instance before you
terminate.
Terminate an instance
You cannot stop an instance backed by S3, you must terminate it. To start it, you have to launch a new instance (choose
an AMI, define a security group, and so on).
1
In the AWS Management Console, select the instance.
Select the Instance Actions drop-down list and choose Terminate.
2
"All" indicates -->
"All" indicates -->
API.
Last updated 9/20/2013
27
"Adobe Media

Advertisement

Table of Contents
loading

Table of Contents