Snapshot and restore from local infra to aws s3

Please guide me how can i setup snapshot and restore the indices form inhouse elastic server to aws s3 bucket.

Look this post: