How to write log and data in Druid Deep Storage in AWS S3

We have a druid cluster setup and now i am trying to write the indexing-logs and data into S3 deep storage.


This is a companion discussion topic for the original entry at https://stackoverflow.com/questions/73036162/how-to-write-log-and-data-in-druid-deep-storage-in-aws-s3