If you don't already have one you will need a configured S3 account, and a bucket in which to store voice clips.
** Note ** Making requests to s3 is subject to their pricing policy.
- Visit https://aws.amazon.com/s3/
- Create a new personal account and complete verification.
- Log into your new Amazon Services account:
- Choose "S3" under the "Storage" category in the "Services" drop down.
- Click "Create bucket"
- Choose a bucket name. For this example guide we'll choose "voice-web".
- Choose a region.
- Make note of the region's associated endpoint and region from the list at https://docs.aws.amazon.com/general/latest/gr/rande.html
- Click next twice to skip over "Set properties".
- Give yourself full permissions.
- Verify that public read access is disabled.
- Do not grant Amazon S3 Log Delivery group write access to the bucket.
- Click next to verify the permissions.
- Click "Create Bucket" to finish.
- Choose "IAM" under the "Security, Identity & Compliance" section of the "Services" drop down.
- Under "Groups" select "Create New Group"
- Name your group "S3FullAccess"
- Filter for and select "AmazonS3FullAccess"
- Click "Next Step" and then "Create Group"
- Under "Users" select "Add user"
- Name the user "voice-web" and select "Programmatic Access"
- Click "Next: Permissions"
- Select the group "S3FullAccess" we created earlier.
- Click "Next: Review"
- Click "Create user"
- Record the keys for this user for use in the aws command line ui.
- Install the AWS command line UI. https://aws.amazon.com/cli/
- Run
aws configure
to configure credentials via the aws command line ui. - Set the default signature version to be version 4:
aws configure set default.s3.signature_version s3v4
- Create a file in your repository folder called
config.json
- Add a key
BUCKET_NAME
, and enter a value of the bucket we chose earlier "voice-web" - Add a key
AWS_REGION
with Region corresponding to your region name listed here: https://docs.aws.amazon.com/general/latest/gr/rande.html