Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon S3, why is logging turn off by default and does turning it on have any impact?

I've just turn logging on in S3 so I can... well, log.

I was wondering why it is turned off by default and if turning it on has any impact on cost or on the performance of S3 transfers?

like image 665
MintDeparture Avatar asked Jan 05 '12 09:01

MintDeparture


People also ask

What is the purpose of enabling logging in S3 buckets?

When you enable logging, Amazon S3 delivers access logs for a source bucket to a target bucket that you choose. The target bucket must be in the same AWS Region and AWS account as the source bucket, and must not have a default retention period configuration.

What is the by default permissions given to Amazon S3 resources?

By default, all Amazon S3 buckets and objects are private. Only the resource owner which is the AWS account that created the bucket can access that bucket. The resource owner can, however, choose to grant access permissions to other resources and users.

How does Amazon S3 protect data by default?

Encryption. Amazon S3 supports both server-side encryption (with three key management options: SSE-KMS, SSE-C, SSE-S3) and client-side encryption for data uploads. Amazon S3 offers flexible security features to block unauthorized users from accessing your data.

Does S3 have a logging mechanism?

You can record the actions that are taken by users, roles, or AWS services on Amazon S3 resources and maintain log records for auditing and compliance purposes. To do this, you can use server access logging, AWS CloudTrail logging, or a combination of both.


1 Answers

It's turned off because you don't need it by default. I don't care what goes in to my buckets and I never analyse the logs. If you need it then turn it on.

If you turn it on, then you need to pay the cost of storage. That is all. There is no other costs.

I would also recommend that you set up another bucket called logs.mybucket for all of your logs.

like image 129
Layke Avatar answered Sep 20 '22 21:09

Layke