Versions Compared

Key

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

...

I learned AWS S3 keeps incomplete multipart uploads constantly and that won't be deleted as long as user does not make any actions. This is something unusual architecture I haven't expected, so I paid for that incomplete multipart uploads, because people may expect the incomplete multi uploads would be deleted automatically as long as that parts are not integrated for very long time.

  • 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 can not know the previous handle I used that acquired by below code:

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


  • I think AWS should provide a default policy which can delete the incomplete multipart uploads automatically, but AWS is saying that is just what user should take care.


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

...