Portable allows you to send data to Google Cloud Storage (GCS) as a destination. By configuring your GCS bucket and service account credentials, you can seamlessly store Parquet files in your preferred folder structure.
This guide walks you through the setup process, including permissions, configuration, and troubleshooting.
If you don’t already have a GCS bucket, follow these steps:
portable-data-bucket
).Portable requires a service account JSON key to authenticate with your GCS bucket.
portable-gcs-access
).roles/storage.admin
) for full access, or Storage Object Admin (roles/storage.objectAdmin
) if you only need file management.Now, let's configure Google Cloud Storage as a destination in Portable.
Field | Description |
---|---|
Bucket | The name of your GCS bucket (e.g., test-dor-1 ). |
GCP Service Account JSON | Paste the entire contents of your JSON key here. |
Upload Path | (Optional) Folder path inside your bucket (e.g., folder1 ). |
🔹 Note: Portable uses the static IP 34.122.15.109. If you have a firewall, add this to your allowlist.
To confirm that your setup is working:
If you run into issues, check these common fixes:
Error: Failed to configure GCP access. Ensure that your credentials are correctly set.
✅ Fix: Verify that your service account JSON is correctly copied.
Error: Failed to access GCP Storage: bucket does not exist or permission denied.
✅ Fix: Ensure the service account has the correct role (roles/storage.admin
).
Error: Bucket does not exist.
✅ Fix: Double-check that the bucket name matches exactly.