How to load data from Postgres to S3 Glue
Learn how to use Airbyte to synchronize your Postgres data into S3 Glue within minutes.


Building your pipeline or Using Airbyte
Airbyte is the only open source solution empowering data teams to meet all their growing custom business demands in the new AI era.
- Inconsistent and inaccurate data
- Laborious and expensive
- Brittle and inflexible
- Reliable and accurate
- Extensible and scalable for all your needs
- Deployed and governed your way
Start syncing with Airbyte in 3 easy steps within 10 minutes



Take a virtual tour
Demo video of Airbyte Cloud
Demo video of AI Connector Builder
Setup Complexities simplified!
Simple & Easy to use Interface
Airbyte is built to get out of your way. Our clean, modern interface walks you through setup, so you can go from zero to sync in minutes—without deep technical expertise.
Guided Tour: Assisting you in building connections
Whether you’re setting up your first connection or managing complex syncs, Airbyte’s UI and documentation help you move with confidence. No guesswork. Just clarity.
Airbyte AI Assistant that will act as your sidekick in building your data pipelines in Minutes
Airbyte’s built-in assistant helps you choose sources, set destinations, and configure syncs quickly. It’s like having a data engineer on call—without the overhead.
What sets Airbyte Apart
Modern GenAI Workflows
Move Large Volumes, Fast
An Extensible Open-Source Standard
Full Control & Security
Fully Featured & Integrated
Enterprise Support with SLAs
What our users say

Raman Singh
Predictable, straightforward pricing model that simplified budgeting and significantly reduced overall spend

Chase Zieman

“Airbyte helped us accelerate our progress by years, compared to our competitors. We don’t need to worry about connectors and focus on creating value for our users instead of building infrastructure. That’s priceless. The time and energy saved allows us to disrupt and grow faster.”

Rupak Patel
"With Airbyte, we could just push a few buttons, allow API access, and bring all the data into Google BigQuery. By blending all the different marketing data sources, we can gain valuable insights."
How to Sync to Manually
Before you start, ensure that you have an AWS account with the appropriate permissions to create and manage AWS Glue, S3, and IAM resources. Log in to the AWS Management Console.
Navigate to the S3 service in the AWS Management Console and create a new S3 bucket where you will store the exported data from PostgreSQL. Ensure that the bucket's permissions and policies are set to allow access from AWS Glue and any other necessary AWS services.
Ensure your PostgreSQL database is accessible from AWS. This might require whitelisting the IP addresses of AWS services or setting up a VPN. Also, make sure you have the necessary credentials and permissions to access the database.
Go to the IAM service in the AWS Management Console and create a new role for AWS Glue. Attach the following policies to this role:
- AmazonS3FullAccess (or a custom policy with permissions limited to your specific S3 bucket).
- AWSGlueServiceRole.
- A policy that allows access to your PostgreSQL database (if needed, for example, through AWS Secrets Manager).
In the AWS Glue console, go to the "Connections" section and create a new connection. Choose JDBC as the connection type and enter the necessary details to connect to your PostgreSQL database, including the database URL, username, and password.
Create a new Glue Crawler that uses the connection you just set up. Configure the crawler to source data from your PostgreSQL database. Specify the database schema and tables you wish to export. Set the crawler to update the Glue Data Catalog with the table metadata.
Create a new Glue ETL job that reads data from the tables cataloged by your crawler and writes it to your S3 bucket in the desired format (such as CSV, Parquet, or JSON). Use the AWS Glue Studio or AWS Glue Job Script Editor to define and configure this ETL job. Once configured, run the job to transfer the data from PostgreSQL to your S3 bucket.
By following these steps, you can effectively move data from a PostgreSQL database to an S3 bucket using AWS Glue, leveraging AWS's native services without the need for third-party tools.