How to Migrate from Amazon S3 to AWS Athena
Skippr is the easiest way to migrate from S3 to Athena and get fully cleansed and modeled data in one run command.
Source: S3. Destination: Athena.
Sample config
yaml
skippr:
workspace: s3_to_athena
pipelines:
s3_to_athena:
data_source: data_sources.source
data_sink: data_sinks.warehouse
data_sources:
source:
S3:
s3_bucket: my-data-bucket
s3_prefix: "raw/"
data_sinks:
warehouse:
Athena:
s3_bucket: my-bucket
glue_database_name: my_database
athena_workgroup_name: primary
athena_results_s3_bucket: my-bucket
region: us-east-1
catalog: AwsDataCatalogEnvironment
bash
export AWS_ACCESS_KEY_ID="your-key"
export AWS_SECRET_ACCESS_KEY="your-secret"
export AWS_DEFAULT_REGION="us-east-1"
export AWS_ACCESS_KEY_ID="your-key"
export AWS_SECRET_ACCESS_KEY="your-secret"Source connector: s3. Destination connector: athena.
See Quick start.
