Revert "set s3 endpoint"

This reverts commit 05722fed87fe5e8ee1529c382062e83f510e6476.