# S3 Storage: Non-AWS Server

**URL:** https://drone.discourse.group/t/s3-storage-non-aws-server/8792
**Category:** Drone Support
**Created:** [February 7, 2019, 8:14am UTC](https://drone.discourse.group/t/s3-storage-non-aws-server/8792 "2019-02-07T08:14:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bclermont](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bclermont/32/4910_2.png) [@bclermont](https://drone.discourse.group/u/bclermont)
#### Post date: [February 7, 2019, 8:14am UTC](https://drone.discourse.group/t/s3-storage-non-aws-server/8792/1 "2019-02-07T08:14:12Z")

</div>

From [https://docs.drone.io/server/storage/database/](https://docs.drone.io/administration/server/database/), “S3 Storage” is a great feature. But as the code isn’t available, I wonder which client implementation is used to connect to S3, and if it’s technically possible to connect to a non AWS S3 bucket… such as minio, GCP, DO, etc.

One of the best Go client is [GitHub - minio/minio-go: MinIO Go client SDK for S3 compatible object storage](https://github.com/minio/minio-go) which I hope you use. If yes, is there a environment variable to specify the endpoint?

---

<div class="post-metadata">

### Author: ![jsussman](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/jsussman/32/5244_2.png) [@jsussman](https://drone.discourse.group/u/jsussman)
#### Post date: [February 21, 2019, 4:41am UTC](https://drone.discourse.group/t/s3-storage-non-aws-server/8792/2 "2019-02-21T04:41:25Z")

</div>

Just ran into this same question and after a bit of perusing it appears that the current code does not support specifying an endpoint unless you want to mount in a configuration file and have the [aws-sdk-go](https://github.com/aws/aws-sdk-go) read from it. I wasn’t a huge fan of doing the aforementioned behavior so I created [this PR](https://github.com/drone/drone/pull/2600) to add the logic/environment variable.
