Excerpt |
---|
In VoipNow, incoming faxes, recorded calls, and voicemail messages are the largest space consumers. |
On this page:
Table of Contents |
---|
The Amazon Account Setup
For an Amazon S3 cloud storage, you need to set up an Amazon account. To do so, go 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
STEP 1: After registering to Amazon Web Services, you have to sign in to the AWS Console.
STEP 2: Open the Services drop-down list and select S3.
STEP 3: Click the Create Bucket button.
STEP 4: Fill in the bucket name, e.g. voipnowstorage.
STEP 5: Select the region for the bucket, e.g. US Standard.
STEP 6: 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 | ||||
---|---|---|---|---|
|
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.
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 | ||
---|---|---|
| ||
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 | ||||
---|---|---|---|---|
|
STEP 10: Fill in the following in the Policy Document text area:
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/*" } ] } |
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.
You can also associate the user with a policy from the user section.
Once you have completed these steps, it is time to move on to VoipNow's web interface and configure the storage engine.
Storage in the Cloud Setup
In order to set up a storage for your system, you must navigate 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 Select Storage drop-down list, select the Amazon S3 storage engine and customize the Amazon S3 Preferences taking into account the following explanations.
Panel | ||
---|---|---|
| ||
Access Key - This is your user's Access Key ID. |
Once you have defined all these settings, press OK.
You should now have cloud storage enabled on your VoipNow server.
Tips & 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.
Also, if at a later point you decide to give up on the Amazon S3 service, the files created using Amazon S3 will remain in the cloud, while the new files will be locally stored.
Please note that the VoipNow system is only aware of one S3 bucket. If at a later time you start using another bucket, changing the bucket name into VoipNow will not automatically migrate your data.
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 |
---|
Things to check if nothing is saved in your S3 bucket:
|
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.