Leonard Hopp
08/04/2025, 2:05 PMkapa.ai
08/04/2025, 2:05 PMairbyte-data-bucket, mycompany-airbyte-logs - Do not use ARN as the bucket name: Use the actual bucket name, not the ARN. Using an ARN will result in validation errors in Airbyte ([forum post](https://discuss.airbyte.io/t/112)). ### S3 Bucket Path - Organize by namespace and stream: The default and recommended path format in Airbyte is: ${NAMESPACE}/${STREAM_NAME}/${YEAR}_${MONTH}_${DAY}_${EPOCH}_ This structure ensures that: - Each stream has its own directory. - Files are sortable by upload time. - The path is both readable and unique. - Customizable variables: You can use variables like ${NAMESPACE}, ${STREAM_NAME}, ${YEAR}, ${MONTH}, ${DAY}, ${EPOCH}, ${UUID}, etc., to further organize your data ([S3 setup guide](https://docs.airbyte.com/integrations/destinations/s3#step-2-set-up-the-s3-destination-connector-in-airbyte)). - Avoid empty spaces and unsupported placeholders in the path or filename pattern. - Multiple slashes are collapsed: Airbyte will collapse multiple / characters into a single /. #### Example Path mycompany-airbyte-data/data_output_path/public/users/2021_01_01_1234567890_0.csv.gz - `mycompany-airbyte-data`: bucket name - `data_output_path/public/users/2021_01_01_1234567890_0.csv.gz`: bucket path and file ### Summary - Use a simple, unique, DNS-compliant bucket name. - Use the default or a similarly structured bucket path to organize data by namespace, stream, and date for clarity and scalability. - Do not use ARNs as bucket names. For more details and examples, see the [Airbyte S3 destination setup guide](https://docs.airbyte.com/integrations/destinations/s3#step-2-set-up-the-s3-destination-connector-in-airbyte).kapa.ai
08/04/2025, 2:05 PMairbyte-data-prod, companyname-airbyte-backups, or airbyte-bucket. - Region Consideration: You may include the region or environment in the name for clarity, e.g., airbyte-data-us-east-1 or airbyte-staging-bucket. - No ARNs: When configuring Airbyte, use the bucket name (e.g., nyc-tlc), not the full ARN. Using the ARN as the bucket name will result in validation errors. The bucket name should match the regex: ^[a-zA-Z0-9.-_]{1,255}$ and not be an ARN unless using specific access point ARNs, which is not typical for standard S3 usage in Airbyte [Forum Post](https://discuss.airbyte.io/t/112). ### S3 Bucket Path - Organized by Namespace and Stream: The default and recommended path format in Airbyte is: ${NAMESPACE}/${STREAM_NAME}/${YEAR}_${MONTH}_${DAY}_${EPOCH}_ This results in a structure like: <bucket-name>/<namespace>/<stream-name>/<upload-date>_<epoch>_<partition-id>.<format-extension> Example: airbyte-bucket/data_output_path/public/users/2021_01_01_1234567890_0.csv.gz - Customizable: You can customize the path using variables such as ${NAMESPACE}, ${STREAM_NAME}, ${YEAR}, ${MONTH}, ${DAY}, ${EPOCH}, and ${UUID} to suit your organizational needs. - Avoid Empty Spaces: Do not use empty spaces or unsupported placeholders in the path or filename pattern, as they will not be recognized. - Hierarchical and Readable: Organize paths so each stream has its own directory, and files can be sorted by upload time for easier management and retrieval. - Collapse Multiple Slashes: Multiple / characters in the path are collapsed into a single /. ### Example Best Practice - Bucket Name: airbyte-prod-data - Bucket Path: company_namespace/stream_name/${YEAR}_${MONTH}_${DAY}_${EPOCH}_ This approach ensures clarity, scalability, and ease of management for your data in S3. For more details and examples, see the Airbyte documentation on [S3 destination setup](https://docs.airbyte.com/integrations/destinations/s3#step-2-set-up-the-s3-destination-connector-in-airbyte) and [bucket policy](https://docs.airbyte.com/integrations/destinations/s3#step-2-set-up-the-s3-destination-connector-in-airbyte).Leonard Hopp
08/04/2025, 2:14 PMkapa.ai
08/04/2025, 2:14 PMkapa.ai
08/04/2025, 2:14 PM