My service stored a lot of files on AWS S3. According to GDPR, I have to implement the possibility to create an archive of these files and store it on S3 as well (for downloading). Also, I have to filter these files.
The best options as for me, it is run the lambda functions (as parts of step function) that filter files, extract the content of files, archive, and upload back to S3.
I looked for something like Amazon Elastic Transcoder. This service transcodes media on the fly. I hoped to find anything for archiving files.
In the worst case, I am going to run the EC2 virtual machine and host there custom service that will create and upload this archive for me. But it isn't the best solution because this functionality will be called time to time and FaaS is the best options for this.
Is it possible to find more elegant solution?