Does using aws cli s3 sync --delete files in s3 folder cost any money?

0

Using life cycle to set rules or directly delete files in s3 doesn't cost money.

But what if I use aws cli sync --delete command to sync local folder to s3 folder, when I delete files in local, is there any fee for s3 file deletion?

Like api operation fee?

Thanks.

acchen
asked 4 months ago167 views
1 Answer
1

Hello.

Executing the "aws s3 sync" command requires "s3:ListBucket" authority, so when you execute the command, it probably retrieves a list of objects and checks the differences.
Therefore, when you execute a command, I think that at least the fee for List API will be incurred.
https://aws.amazon.com/s3/pricing/?nc1=h_ls

profile picture
EXPERT
answered 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions