I am developing an iPhone app to allow a user upload photo and share it.
I want to use S3 to store upload the images as well as process the images (for example, thumbnail, reduced size image).
I've installed AWS PHP API on my EC2 instance, my questions are: 1) Should photo uploaded from iPhone app go to an EC2 directory first, then copy them over to S3 bucket, or it should directly get uploaded to S3?
2) How can I create different folders under the S3 bucket through PHP API and how to read the files from the folder?
Kindly help me out in this case, will be grateful!