In the Amazon S3 console, create an Amazon S3 bucket where you can store albums and photos. For more information about using the console to create an S3 bucket, see Creating a Bucket in the Amazon Simple Storage Service Console User Guide. As you create the S3 bucket, be sure to do the following:
https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/s3-example-photos-view.html

