volume_mute
Choose the best storage option
publish date: 2024/08/07 22:49:15.921727 UTC
volume_muteyou're a developer and you plan to build out an application to transcode large media files like videos. You will be using an AWS Lambda function to perform the transcoding, but you need a place to store both the original media files and the transcoded media files. Due to regulations, you need to store these files for at least a year.
Which of the storage services below are more suitable?
Correct Answer
Amazon S3
Explanation
S3 is the best option because of the following:
- First of all, the question says that they're using a Lambda function. Because of that, we are ruling EBS out, as EBS volumes can only be attached to EC2 instances. Even if they were using EC2, video files are typically large in size, so you may have to use multiple EBS volumes to store that data, which might not be cost effective in the long run. So EBS is out. You can have a similar argument for Amazon EFS.
- Instance storage is out for the same reason. We're not using EC2 here, but also because we want this data to persist for a year, and instance storage is considered ephemeral.
Reference
AWS Skills Builder, go-math-science.com