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...
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: