User guide

32
Using Adobe Media Server on Amazon Web Services
Last updated 8/28/2014
Set content permissions
Adobe Media Server on Amazon Web Services instances run CentOS, which is a Linux distribution. On Linux, all files
and directories belong to an owner and a group. All Adobe Media Server files and directories belong to
amsuser:amsgroup.
When you upload content to an instance, change the contents owner and group to amsuser:amsgroup. Changing the
owner and group to amsuser:amsgroup ensures that the server can access and manipulate the content. To change the
owner of all content in a directory to amsuser:amsgroup, use the following command:
chown amsuser:amsgroup *
For more information, see Understanding Linux file permissions.
Using key pairs to connect to an instance securely
To connect to a instance, use an SSH client such as WinSCP, OpenSSH, PuTTY, or Terminal. SSH is a network protocol
that allows you to connect two devices securely.
For a list of SSH clients and which platforms and protocols they support, see Comparison of SSH clients on Wikipedia.
Instead of using a password, SSH clients use a key pair to verify their identity with the server. When you launch a Adobe
Media Server on Amazon Web Services instance, you generate and download a key pair. A key pair consists of a public
key and a private key. The instance has a copy of the public key and you download the private key as a .pem file. Set the
permissions of the .pem file used for authentication on Linux or Unix machines as 0400, using chmod 0400
filename.pem command. When you connect to the instance, pass the .pem file to the server so it can verify that the
private key matches the public key.
Some SSH clients, such as WinSCP, cannot read .pem files. To use these clients, use the PuTTYgen application to
convert the .pem file to a .ppk file that the client can read. The following sections explain how to convert a file.
Adobe Media Server on Amazon Web Services instances run on CentOS which is a Linux distribution. You can connect
to instances from Linux operating systems, Mac OS®, Windows, and from any other operating systems that support
SSH.
For more information about key pairs, see Using Public Keys for Authentication.
Connect to an instance and copy files from a Windows computer
Note: Some companies block SSH access. If you can’t connect to an instance, contact your server administrator for SSH
access.
On a Windows computer, you can use either of the following:
WinSCP
WinSCP is a free SSH, SCP, and SFTP client. It has a graphical interface that you can use to copy files from a local
computer to a remote computer.
PuTTY