Do I need to set cycle for deleting incomplete multipart uploads when my glacier deep archive object upload is cancelled?

0

As title, I am uploading objects to glacier deep archive directly (without cycle set). I checked here and found out it seems like cancelling glacier deep archive upload does not encounter incomplete multipart uploads. So no need to worry about the "incomplete multipart cost."

Am I right? Thanks!

asked a year ago222 views
1 Answer
0

You are billed for all storage associated with uploaded parts. For more information, see Multipart upload and pricing. So it's important that you either complete the multipart upload to have the object created or stop the multipart upload to remove any uploaded parts.

You can stop an in-progress multipart upload in Amazon S3 using the AWS Command Line Interface (AWS CLI), REST API, or AWS SDKs. You can also stop an incomplete multipart upload using a bucket lifecycle configuration.

To make sure you are not being charged for parts of an incomplete multipart upload, it is a best practice to set up a lifecycle policy with the maximum number of days that can pass from the start of a multipart upload to its completion. In the document you mention, there is an example of such policy, however, you can look at the official documentation on how to set it up.

AWS
David C
answered a year 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