Follow

Amazon Simple Storage Service (S3)

To use Amazon Web Services (AWS) as your Storage Service, you'll need to provide the following information when creating your Storage Service Resource:

  • Access Key
  • Secret Key
  • Bucket Name

How to properly configure your AWS account so that you'll only grant OnSIP the necessary permissions to store recordings.  

  1. Use the AWS Identity and Access Management Service (IAM) to create a user whose security credentials can be shared with OnSIP.  The IAM Service is provided for free to every AWS account. From the Console, select "services" and then "IAM", then select "users" and click on the  "Add User" button.  Name the user "OnSIPRecording" and choose "Programatic access".
    IAM_user_Step_1.jpg
  2. Create a security policy using the IAM Service that permits OnSIP to read the location of your bucket (s3:GetBucketLocation) and to save new files in it (s3:PutObject).
    IAMuser_step_2.jpg
    Choose "Policies"  and click on "Create Policy".  Choose "Create your own Policy".  Name this policy "OnSIPRecording" and cut/paste the following example.  Be sure to change the bucket name to your unique bucket name: 

           {

              "Version": "2012-10-17",
              "Statement": [
               {
                 "Sid": "Stmt1431106067000",
                 "Effect": "Allow",
                 "Action": [
                   "s3:PutObject",
                   "s3:GetBucketLocation"
                 ],
                 "Resource": [
                   "arn:aws:s3:::my-bucket-name/*"
                 ]
               }
             ]
           }

    IAM_user_step_3.jpg

    IAM_user_policy_create_step_4.jpg 
  3. Create an Access Key for the new user. Note: For security reasons, the secret key will only be viewable in the AWS Console at the time the Access Key is created. We recommend you copy and paste it into the Storage Service creation form in the OnSIP Admin Portal now.IAM_user_keys_step_6.jpg
  4. Sign in to the AWS Console and use the AWS Simple Storage Service (S3) to create a Bucket that will be used to store your recordings.  The bucket name must be unique across all S3 accounts, so something like "onsip" is too generic.  Be sure to choose the US region closest to you. Do not use a "/" in the bucket name, as it is not supported by Amazon and will break uploads. Use the default settings for users and permissions.
    S3_bucket_create_step_1.jpg
    S3_bucket_step_2.jpg
    S3_bucket_step_4.jpgS3_bucket_step_5.jpg
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk