How to Migrate from PostgreSQL to AWS Athena
Skippr is the easiest way to migrate from PostgreSQL to Athena and get fully cleansed and modeled data in one run command.
Source: PostgreSQL. Destination: Athena.
Sample config
yaml
skippr:
workspace: postgres_to_athena
pipelines:
postgres_to_athena:
data_source: data_sources.source
data_sink: data_sinks.warehouse
data_sources:
source:
Postgres:
host: localhost
port: 5432
user: myuser
password: mypass
database: mydb
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"Source connector: postgres. Destination connector: athena.
See Quick start.
