My product will take an image from the user and modify it using algorithms ( I'm thinking about using AWS lambdas) and then display it to the user. Is there a recommended best practice for this? My thought process is this:
1.) Have image uploaded in Iframe, send that image to an s3 bucket.
2.) Bucket redirects to an api-gateway request that accesses the uploaded image in the S3 bucket.
3.) Image is processed and uploaded back to S3 bucket.
4.) Iframe is re-directed back to S3 bucket's new modified image.
This approach seems a bit convoluted but is the only way I can see to make this work. Any tips would be appreciated, thanks in advance!