If you use Databricks, here is a discussion about how to set up a store in s3 from within Databricks: Databricks and AWS s3