Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • I found an article that AWS will charge the cost for the incomplete multipart uploads as long as I do not call Abort for the on-going uploads. https://docs.amazonaws.cn/en_us/AmazonS3/latest/userguide/abort-mpu.html
  • Usually software die, I The automatic discovery will be essential, because you can not know the previous handle I used that acquired by below code:in case of abnormal termination or something similar to that.

    Code Block
    $s3 = new S3Client([
        'version' => 'latest',
        'region'  => 'us-east-1'
    ]);
    
    .
    .
    .
    abnormal termination


  • I think AWS should provide a default policy which can delete the incomplete multipart uploads automatically, but AWS is saying that is just One of my complaint is that most of user does not know what happen until they pay more than they expected. That is what user should take care and such an information is not easy to find on AWS Web Site.


Here's the action you can do, so you do not need to waste your money for the incomplete multipart uploads.


The action user should do is "Creating lifecycle rule" in the S3 console.


What you should do is select your S3 Bucket and you will see the menu like below:

...

The final action you should do is click "Create rule"


Once you setup the above rule, your rule will be executed in 48 hours and its result will be like below:

Image Added

Image Added