TMS: How to create Postgres -> BigQuery sync connection with Airbyte
You can get familiar with the GUI by reading this doc:How to make Airbyte connections (https://app.clickup.com/2496230/docs/2c5q6-69975/2c5q6-223735)
Database
Create a new airbyte_xyz123 database user if it does not exist yet
GCP Project
IAM
- Create a new service account:
- Name: customer-airbyte-deployment_environment
Example:
soite-airbyte-stable - Permissions:
BigQuery Data EditorBigQuery Job User
- Name: customer-airbyte-deployment_environment
Example:
- Create a service account JSON key and save it somewhere. This will be used later in the Airbyte destination settings.
Big Query
Create the required datasets with Terraform:
Airbyte
Set up a source
- Name:Â Customer Name - attracs-postge - tms_databasenamehere
- Host: 34.88.30.27
This is the public IP address of the Postgres database
- Port: 5432
- DB Name: The name of the database you created the view tables for
- Schemas: public
- User: Give the username of your airbyte_xyz123 database user
- Password: Give the password of your airbyte_xyz123 database user
- JDBC URL Params: Keep default
- Connect using SSL: Enable this
- Replication Method: Keep default
- SSH Tunnel Method: Keep default
- Finally click Set up source.
Set up a destination
todo: add details like in source.
Set up a connection
- Select the source you created
- Select the destination you created
- Change the settings:
- Destination Namespace: destination default
- Leave everything else default