Page tree

Versions Compared

Key

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

...

Begin by setting up an Amazon account. Please follow the next steps:

  1. Go to to http://aws.amazon.com/s3/ and select Sign Up.  If If you do not have an AWS account already, you are prompted to create one as part of the sign-up process.
  2. After registering to Amazon Web Services, you have to sign in to the AWS Console.

...

  1. Navigate to the Users section and click the Create New Users button.
  2. 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
  3. Click on on Show User Security Credentials and and write down the the Access Key ID and  and Secret Access Key or or or download them as a .csv file.  This This step is important as you will use the Access Key and Secret Key later to connect the VoipNow server to the cloud storage.

    Note
    titlePay Attention

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

  4. Close the window. The user is be added to the list.

...

  1. Navigate to the Groups section and click the Create New Group button.
  2. Enter a name for the new group, e.g. VoipNowS3Access.
  3. Continue to customize Permissions and select the Custom Policy option.
  4. Fill in a name for the policy, e.g. VoipNowS3AccessPolicy.
    Anchor
    policy
    policy
  5. Fill in the following in the Policy Document text area where where voipnowstorage is is the bucket name we have previously created.

    Code Block
    {
        "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/*"
          }
       ]
    }

  6. Confirm the group creation. The group is added to the list.
  7. Select the group and then click the the Add Users to Group button button. A pop-up window is displayed.
  8. Select the user you have previously created and add it to the group.
  9. You can also associate the user with a policy from the user section.  After After you have completed these steps, go to VoipNow's web interface and and configure the storage engine.

...

  1. In the VoipNow Web Interface, navigate to Cloud ManagementStorage Configuration.  This This is where you can choose between storage on the local disk (POSIX) and storage in the cloud (Amazon S3).
  2. Select the 'Amazon S3' storage engine in the Select Storage drop-down list.
  3. Customize the Amazon S3 Preferences.  Please Please note that the VoipNow system knows of only one S3 bucket. If you later start using another bucket, changing the bucket name in VoipNow will not migrate your data automatically.  In In order to continue accessing the old voicemails, faxes, recordings, you will have to do the 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.
    • Availability Zone:  Fill in a descriptive name for the Availability Zone.  ItIt's your choice, but you could fill in a suggestive name referring to the region where you defined your bucket (e.g. USEast).  
    • Availability Zone URL: Specify Specify the Amazon Availability Zone URL. This is the URL specific to the Region where you defined your bucket (see the 'Amazon Simple Storage Service Amazon Simple Storage Service (S3)' section of of this document).  ee.g.  s3.amazonaws.com is is the URL for the US Standard region.  If If you get this wrong, nothing is saved in your S3 bucket.
    • Bucket:  Specify the name of the bucket you have configured in the the previous section.
    Note

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

    • 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 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.
  4. Select the the Change Amazon S3 Credentials checkbox checkbox.
  5. Fill in the the Amazon S3 Credentials.
    • Access Key:  Fill in the the Access Key ID.
    • Access Secret:  Fill in the the Secret Access Key.
    • Access Secret ConfirmSecret Confirm:  Confirm the Secret Access Key.  
  6. Confirm your settings by clicking clicking OK.  You You should now have cloud storage enabled on your VoipNow server.

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