I have a base file which is to be packaged inside another file. At every request, we append/merge the license file with the original base file and give client a URL to the newly created packaged file (Base file + license). Currently, we download file from s3 into ec2 instance, merge and then upload the same back to s3 bucket. Is there a way to manage the same?
P.S. Base file is of large sizes and the license file is smaller in size.
Problem Statement: We need to create a package from a collection of products to be given as a single file to user. Currently, we download all products from s3 onto our ec2 instance, add license file, zip them into a new package file and upload the "packaged" file back to s3 and share the link with customer. What I want or atleast intend to do is instead of downloading individual files and then uploading the large file back, what if I can just upload the license file and give reference of all individual files so that the packaged files is created and saved at s3. it saves to-and-fro of data from S3