Important - Mavis C2C requires a subscription and Mavis Cloud Hub account.
This support article describes how to directly setup Mavis Camera to use Amazon S3 as a Mavis C2C destination. To remotely configure Mavis C2C use Mavis Cloud Hub in a browser by visiting hub.mavis.cloud
What is Amazon S3
Amazon S3 is an object storage service offering industry-leading scalability, data availability, security, and performance. It allows customers to store and protect any amount of data for a range of use cases, including websites, mobile applications, backup and restore, archive and enterprise applications.
Connecting to Amazon S3
-
Ensure you have an S3 bucket and correct user permissions. Sign in to AWS Console for S3 and create a bucket (or make a note of an existing bucket) you wish to use with Mavis C2C. Use IAM to create a user and attach the following Permissions Policy (e.g. as an inline policy via JSON), replacing "mavis-c2c-example-bucket" with the name of the bucket you want to use.
{
Note: AWS includes many different ways to manage users and permission. In this example we have used an inline policy attached directly to a user. Contact your AWS administrator if you wish to setup your permissions differently.
"Version": "2012-10-17",
"Statement": [
{
"Sid": "mavis-c2c",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": [
"arn:aws:s3:::mavis-c2c-example-bucket",
"arn:aws:s3:::mavis-c2c-example-bucket/*"
]
}
]
} - Sign in to Mavis Cloud Hub. Using Mavis Camera, create or sign in to your Mavis Cloud Hub account. Open Mavis Camera and tap the "Cloud" button. Select Mavis C2C and follow the instructions to sign in with Apple or use a personal email address.
-
Generate an Access Key.
- From the AWS IAM select the same user used in step 1.
- Click on "Security Credentials" tab.
- Click on "Create access key"
- Select "Other" for the use case
- Enter 'Mavis C2C' for the Description tag value
- Copy Access key
- Copy Secret access key. IMPORTANT: You won't get another opportunity to copy this key.
- Add Amazon S3 destination details. Using Mavis Camera add Amazon S3 as a Mavis C2C destination. Add the Access key and Secret access key generated in step 3.
- Choose a Location. Enter the exact bucket name from step 1. Tap "Check Bucket" to confirm the bucket exists. If correct, select a folder. This is the location in the bucket where assets will be uploaded. Folders are created in the AWS Console for S3.
- Record. Upload video progressively to Amazon S3