Hi Team, I'm deployed airbyte by docker-compose on...
# replication-ask-ai
d
Hi Team, I'm deployed airbyte by docker-compose on EC2. And now logs in the container. How can I store logs on S3 instead of in the container?
k
To store your Airbyte logs on S3, you need to follow the guide provided by AWS to get your logs from your Airbyte Docker containers in CloudWatch [source](https://docs.airbyte.com/deploying-airbyte/on-aws-ec2). However, please note that Airbyte does not support logging to separate Cloud Storage providers. You can configure Kubernetes logging by defining the following environment variables: 1.
GCS_LOG_BUCKET
- Define the GCS bucket to store logs. 2.
S3_BUCKET
- Define the S3 bucket to store logs. 3.
S3_RREGION
- Define the S3 region the S3 log bucket is in. 4.
S3_AWS_KEY
- Define the key used to access the S3 log bucket. 5.
S3_AWS_SECRET
- Define the secret used to access the S3 log bucket. 6.
S3_MINIO_ENDPOINT
- Define the url Minio is hosted at so Airbyte can use Minio to store logs. 7.
S3_PATH_STYLE_ACCESS
- Set to
true
if using Minio to store logs. Empty otherwise. For more information on configuring Kubernetes logging, please see [here](https://docs.airbyte.com/operator-guides/configuring-airbyte). Please note that these configurations are for Kubernetes deployments. If you are using Docker, you might need to adjust your setup accordingly.