LogoLogo
Chartbeat DocsHelp CenterContact
  • Datastream Documentation
  • Getting Started
    • What is Datastream?
    • Use Cases
    • How it Works
    • Metrics and Dimensions
    • Playbooks and Code Examples
      • Datastream with Redshift
      • Datastream with BigQuery
  • Implement Tracking
    • Basic Tracking
    • ID Sync
  • Destination Setup
    • Amazon S3
    • Google Cloud Storage
  • Chartbeat Docs
  • Help Center
  • Contact Support
  • Back to Chartbeat.com
Powered by GitBook
On this page
  • Configure your S3 bucket
  • Chartbeat S3 policy
  • Redshift

Was this helpful?

  1. Destination Setup

Amazon S3

Configure your S3 bucket

Follow these steps to configure your Amazon S3 bucket to receive your Datastream feed:

  1. Log in to Amazon Web Services and create a new bucket for Chartbeat data files.

  2. Add the correct bucket policy to provide permissions for Chartbeat to access.

  3. Chartbeat needs the IAM role to have write access for the bucket. These actions are s3:PutObject, s3:GetObject, s3:ListBucket.

  4. Please find our S3 policy below. You will need to specify the name of your bucket in this policy to allow Chartbeat’s IAM role to access your bucket.

  5. Let us know when your S3 bucket policy is set up and the bucket name

Chartbeat S3 policy

The first step is creating the bucket policy itself, you just need to change the entry under "Resource" to the name of your S3 bucket:

{
  "Id": "Policy1464981107152",
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "Stmt1464981098061",
      "Action": [
        "s3:GetObject",
        "s3:PutObject",
        "s3:ListBucket"
      ],
      "Effect": "Allow",
      "Resource": ["arn:aws:s3:::your-bucket-name-here/*", "arn:aws:s3:::your-bucket-name-here"],
      "Principal": {
        "AWS": [
          "arn:aws:iam::273001990628:role/lambda_llrs_execution_role"
        ]
      }
    }
  ]
}

To set this policy on the bucket:

  1. Click on the bucket you want to use in the list on the left.

  2. Click the "Properties" button on the right.

  3. Expand the "Permissions" tab below that.

  4. Click the "Add Bucket Policy" button.

  5. Paste the bucket policy into the text box, hit save.

  6. Email your account manager with a confirmation and let them know so we can turn on your feeds.

Redshift

PreviousID SyncNextGoogle Cloud Storage

Last updated 3 months ago

Was this helpful?

Go to your AWS S3 dashboard ()

If relevant, review our guide to loading Datastream data from your S3 bucket into an .

https://console.aws.amazon.com/s3
Amazon Redshift cluster here