Skip to content

Changing storage class for my s3 data. ** LARGE video files

0

Hello,

I have about 20T+ of archival video files that I would like to store in S3 Glacier. They are currently in S3 and I am trying to change the storage class to Glacier storage to be most cost efficient. However when I try to do this I get the attached this error message:

**The object exceeds the maximum size of 5GB. **

I have read that is possible to "split" large files to make them more acceptable but I am concerned about what this may do to a video file... will it still work upon retrieval? Most of my content is recorded in 4k so files that exceed 5g are common.

I am NOT a computer science expert and I am not comfortable with detailed coding. Is there a simple and easy way to achieve this? I would like to move virtually all of it to Glacier Deep. If so can you provide detailed, user friendly instructions to achieve this? I cannot be the first video creator to run into this issue.

asked 10 months ago380 views

2 Answers
2
Accepted Answer

You're encountering this error because there's a 5GB size limitation when changing storage classes using the Amazon S3 console, not because of a limitation with the S3 Glacier Deep Archive storage class itself.

For objects larger than 5GB, you'll need to use the AWS Command Line Interface (CLI) instead of the console. The good news is that you don't need to split your video files - they can be stored intact in Glacier Deep Archive, which supports objects up to 5TB in size.

Here's a user-friendly approach to solve your issue:

  1. Install the AWS CLI if you haven't already (available from the AWS website with installation guides)

  2. Configure the CLI with your credentials (run "aws configure" and follow the prompts)

  3. Use this command to change the storage class of a specific file:

aws s3 cp s3://your-bucket-name/your-video.mp4 s3://your-bucket-name/your-video.mp4 --storage-class DEEP_ARCHIVE
  1. For multiple files, you can use:
aws s3 cp s3://your-bucket-name/ s3://your-bucket-name/ --recursive --storage-class DEEP_ARCHIVE --exclude "*" --include "*.mp4"

Alternatively, you could set up an S3 Lifecycle configuration rule to automatically transition your objects to Glacier Deep Archive after a specified time period. This would be a more hands-off approach if you're not comfortable with the CLI.

Your video files will remain intact and will work normally upon retrieval. Just be aware that retrieving files from Glacier Deep Archive can take 12-48 hours, so this storage class is best for truly archival content that you don't need immediate access to.
Sources
Setting the storage class of an object - Amazon Simple Storage Service
Change to Glacier Deep Archive storage class? Can no longer use this class for files > 5GB | AWS re:Post

answered 10 months ago

EXPERT

reviewed 10 months ago

2

To handle video files over 5GB for S3 Glacier, you can use multipart uploads to split and reassemble them transparently. However, instead of manually splitting files (which would corrupt videos), use AWS S3 Batch Operations with a lifecycle policy: create a lifecycle rule in your S3 bucket to transition objects to Glacier Deep Archive after 1 day, which bypasses the 5GB limit as lifecycle transitions handle large files automatically. Alternatively, use S3 Glacier Direct Upload via the AWS CLI with multipart upload (e.g., aws s3 cp --storage-class DEEP_ARCHIVE), which splits large files behind the scenes without corruption—retrieval will restore the intact original file. For simplicity, enable S3 Intelligent-Tiering with archive policies, which automatically moves inactive data to Deep Archive after 30+ days without size restrictions.

answered 10 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.