New s3 bucket, filling with files before anything was connected

0

I have a new s3 bucket I'm setting up to act as storage for CrushFTP. Prior to setting up any connection to this new bucket it started filling with files in the screenshot below. I'm pretty new to s3 configuration but how can I tell where these are coming from? I have a bucket policy defined to allow logging and for an IAM account that s3 uses to PUT and GET and other permissions needed for access. No other account is allowed by the policy as a defined it other than me, the owner. The data in this seems to be basic info about the bucket and my account accessing it. Could it be logging?

https://i.imgur.com/vrg8sfx.png

已提問 2 年前檢視次數 252 次
1 個回答
4
已接受的答案

Based on the screenshot and filename format, these look like S3 server access logging logs.

Server access logging is useful for security, audit, object requests and understanding your AWS costs. When you set up logging on your bucket, it is enabled at the bucket level and logs to a configured destination bucket. It is best practice to log to a different bucket than to the one you are monitoring otherwise you will end up in an infinite loop since each time you write a new log file it will be seen as a new request and create another new log file. This can result in higher storage costs.

Would recommend verifying your server access logging configuration and ensuring they are directing to a different bucket.

For details, see https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerLogs.html https://aws.amazon.com/premiumsupport/knowledge-center/s3-server-access-logs-same-bucket/

AWS
已回答 2 年前
profile pictureAWS
專家
已審閱 2 年前
  • And I think I can confirm that, I turned logging off on this bucket and confirmed that these files stopped being created. Thank you!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南