If I had a million images, would it be better to store them in some folder/sub-folder hierarchy or just dump them all straight into a bucket (without any folders)?
W
Answer to the original question "Max files per directory in S3" is: UNLIMITED. See also S3 limit to objects in a bucket.