sets up amazon s3 to store images