AWS Athena

Setup Athena Integration To Mitzu


To connect Mitzu to Athena, you’ll need to input your IAM credentials:

  • AWS Access key

  • AWS Secret Key

Mitzu will encrypt these credentials for storing.

If you use other AWS services, we recommend creating a special AWS Service Account that only has the permissions required to run Athena and input the IAM credentials from that account to connect Mitzu to Athena.

See Identity and access management in Athena.

Getting connection information

  1. Create an AWS Athena service user.

Head over to AWS IAM and create a user. This user should be able to access 3 main resources:

  • Files in S3

  • AWS Glue

  • AWS Athena

Here, you can find more information about AWS users and how to create them.

Here is an example IAM Policy document that can be used:

  "Version": "2012-10-17",
  "Statement": [
      "Sid": "Athena",
      "Effect": "Allow",
      "Action": [
      "Resource": "*"
      "Sid": "Glue",
      "Effect": "Allow",
      "Action": [
      "Resource": "*"
      "Sid": "S3ReadAccess",
      "Effect": "Allow",
      "Action": ["s3:GetObject", "s3:ListBucket", "s3:GetBucketLocation"],
      "Resource": [
      "Sid": "AthenaResultsBucket",
      "Effect": "Allow",
      "Action": [
      "Resource": ["arn:aws:s3:::bucket2", "arn:aws:s3:::bucket2/*"]
  1. Find and copy the AWS_ACCESS_KEY_ID and AWS_SECRET_KEY to Mitzu. The Catalog in the case of AWS Athena should stay AwsDataCatalog or leave the field empty. Make sure you have chosen the correct bucket for storing intermediary files.

  1. Add tables from Athena. Follow here.

Last updated