Merge Multiple Files on Aws S3 into Zip

I have an application which uploads a lot of audio files to AWS S3. Is that possible to zip arbitrary files on the server on the fly and let the user download entire archive?

1 Answer

Yes, this is possible but you would have to write all the code. There are two general ways to do it:

1. Via Amazon EC2 web server

Create a web server on Amazon EC2 using your preferred operating system, web server, etc. Write a web app that does what you desire.

2. Via AWS Lambda and Amazon API Gateway

The new-fangled world is to avoid servers by writing code for AWS Lambda, which is an event-activated service that runs code you provide. Combine it API Gateway to handle requests as API calls and you don't need a server.

There's even new frameworks such as JAWS (JavaScript + AWS Stack) that makes this easier:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest