S3: Scheduling reports

Rockerbox can deliver reports to an Amazon S3 bucket. In order to setup the delivery configuration, you'll need to:

  • Setup the S3 bucket in Rockerbox
  • Grant access to the Rockerbox Amazon ARN

Setup the S3 Bucket in Rockerbox

  • Go to Settings > Destinations
  • Click New Delivery Option
  • Select Amazon S3
  • For an S3 path of s3://rockerbox-client/files, enter the following information:

Field

Example

Name (enter a friendly name to identify the bucket)

rockerbox-s3-delivery

Bucket Name

rockerbox-client

Root Directory

/files

  • Click Add New Delivery Option

Grant Access to the Rockerbox ARN

You've now setup your destination. You will be directed to the Setup Instructions to complete the setup. If you are not on that page, or you need to return for the Setup Instructions:

  • Go to Settings > Destinations
  • Click Amazon S3
  • Click the button under the Manage button to the right of the S3 bucket

This page will provide the remaining setup options. You will need to update your S3 bucket policy to grant access to the ARN.

Sample ARN: arn:aws:iam::123456789:user/client-example

For reference, here's what a sample bucket policy might look like:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "RockerboxAccess",
            "Effect": "Allow",
            "Principal": {
                "AWS": [
                    "arn:aws:iam::123456789:user/client-example"
                ]
            },
            "Action": [
                "s3:GetObject",
                "s3:GetObjectAcl",
                "s3:PutObject",
                "s3:PutObjectAcl",
                "s3:ListBucket"
            ],
            "Resource": [
                "arn:aws:s3:::bucket-where-rockerbox-reports-will-be-sent",
                "arn:aws:s3:::bucket-where-rockerbox-reports-will-be-sent/*"
            ]
        }
    ]
}

If you're interested in learning more about Amazon Simple Storage Service, check out Amazon's S3 page here.

Test Delivery

If this is the first time you are delivering reports to this outbox, we highly recommend you first Test the Outbox Destination before you schedule your first report.

Schedule Delivery

If you've successfully completed testing, then you can schedule your report to this destination by going to Analytics > Exports > Scheduled Exports.


Did this page help you?