Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated using 4PSA automated script
Excerpt

In VoipNow, incoming faxes, recorded calls, and voicemail messages are the largest space consumers.
By default, these resources are stored locally. VoipNow however allows users to store such resources in the Amazon S3 cloud.

...

Table of Contents
maxLevel2

Amazon account setup

Table of Contents

...

For an Amazon S3 cloud storage, you need to set up an Amazon account. To do so, go to to http://aws.amazon.com/s3/ and select Sign Up.

If you do not have an AWS account already, you are prompted to create one as part of the sign-up process.

Create S3

...

bucket for VoipNow

...

storage

...

  1. After registering to Amazon Web Services, you have to sign in to the AWS Console.

...

  1. Open the Services drop-down list and select S3.

...

  1. Click the Create Bucket button.

...

  1. Fill in the bucket name, e.g. voipnowstorage.

...

  1. Select the region for the bucket, e.g. US Standard.

...

  1. Click Create. The newly created voipnowstorage appears in the buckets table.

Set

...

up users and

...

policies

STEP 1: Open the Services drop-down list and select IAM. This is the AWS Identity and Access Management.

STEP 3: Navigate to the Users section and click the Create New Users button.

STEP 4: Fill in a name for the new user and make sure the Generate an access key for each User check box is selected. Click Create and a confirmation pop-up is displayed. Do not close this pop-up!

Anchor
access_key
access_key

STEP 5: Click on Show User Security Credentials and write down the Access Key ID and Secret Access Key or or download them as a .csv file.

...

Note
titlePay Attention

If you do not download the credentials now, you will not be able to retrieve the credentials at a later time.

STEP 5: Close the window. The user is be added to the list.

STEP 6: Navigate to the Groups section and click the Create New Group button.

STEP 7: Enter a name for the new group, e.g. VoipNowS3Access.

STEP 8: Continue to customize Permissions and select the Custom Policy option.

STEP 9: Fill in a name for the policy, e.g. VoipNowS3AccessPolicy.

Anchor
policy
policy

STEP 10: Fill in the following in the Policy Document text area:

Code Blockpanel
{
    "Version": "2012-10-17",
    "Statement":[
      {
         "Effect":"Allow",
         "Action":[
         "s3:ListAllMyBuckets"
         ],
         "Resource":"arn:aws:s3:::*"
      },
      {
         "Effect":"Allow",
         "Action":[
         "s3:ListBucket",
         "s3:GetBucketLocation"
         ],
         "Resource":"arn:aws:s3:::voipnowstorage"
      },
      {
         "Effect":"Allow",
         "Action":[
         "s3:PutObject",
         "s3:GetObject",
         "s3:DeleteObject"
      ],
         "Resource":"arn:aws:s3:::voipnowstorage/*"
      }
   ]
}

where voipnowstorage is the bucket name we have previously created.

STEP 11: Confirm the group creation. The group is added to the list.

STEP 12: Select the group and then click the Add Users to Group button. A pop-up window is displayed.

STEP 13: Select the user you have previously created and add it to the group.

...

Once you have completed these steps, it is time to move on to VoipNow's web interface and configure and configure the storage engine.

Storage in the

...

cloud setup

In order to set up a storage for your system, you must navigate to to Cloud Management →  Storage Configuration and define the storage details to suit your needs.

You can choose between storage on the local disk (POSIX) and storage in the cloud (Amazon S3).

From the the Select Storage drop drop-down list, select the Amazon S3 storage engine and customize the the Amazon S3 Preferences taking into account the following explanations.

...

...

bgColor#ddfade
  1. The Availability Zone requires a descriptive name. For instance, you may fill in a suggestive name referring to the region where you defined your bucket (e.g. USEast).
  2. Availability Zone URL is the URL specific to the Region where you defined your bucket (see the '

...

  1. Amazon Simple Storage Service (S3)' section of this document), e.g. s3.amazonaws.com is the URL for the US Standard region. If you get this wrong, nothing is saved in your S3 bucket.
  2. Bucket. Specify the name of the bucket you have configured in

...

  1. the previous section.
  2. Fill in

...

  1. the Amazon S3 Credentials:
    • Access Key - This is your user's Access Key ID.
    • Access Secret - This is your user's Secret Access Key.
    • Access Secret - Confirm the Secret Access Key.
  2. Once you have defined all these settings,

...

  1. press OK.

...

  1.  At this point, you should have cloud storage enabled on your VoipNow server.

Tips

...

and tricks

If you have previously stored these files locally and decided to use the Amazon S3 service, you should know that old files cannot be transferred to the cloud. They will remain in the local filesystem.

...

To continue accessing old voicemails, faxes, recordings, you will have to perform a migration of these resources between the old bucket and the new one using the Amazon S3 console or any other tool fully supporting the S3 API.

Note
titleMandatory checkup

Things to check if nothing is saved in your S3 bucket:

  • the The policy bucket name is the same with the one you configured in S3 and filled in the Bucket field of the VoipNow Web Interface.
  • the The S3 region you've set up for your bucket is the same with the one set up in the Availability Zone URL field of the VoipNow Web Interface.

Need help? Ask a question in our GetSatisfaction community.

Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.