# Uploading artifacts directly to S3

**URL:** https://hub.mender.io/t/uploading-artifacts-directly-to-s3/5519
**Category:** General Discussions
**Tags:** mender-artifact, minio, s3
**Created:** [January 3, 2023, 10:34am UTC](https://hub.mender.io/t/uploading-artifacts-directly-to-s3/5519 "2023-01-03T10:34:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rhirsh](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@rhirsh](https://hub.mender.io/u/rhirsh)
#### Post date: [January 3, 2023, 10:34am UTC](https://hub.mender.io/t/uploading-artifacts-directly-to-s3/5519/1 "2023-01-03T10:34:21Z")

</div>

Hi,

I’m looking for a way to upload artifacts **directly to S3** , without passing through the Mender API.  
Anyone knows if this is possible? I tried uploading an artifact directly to minio, and obviously it didn’t show up in `artifacts list`. I suppose that there’s additional metadata required and it is stored in mongodb?

My use case:  
I got multiple Google Kubernetes clusters, and each cluster hosts its own Mender Server.  
I also have a build system that builds `mender artifacts` which need to be uploaded to all (or some of) the Mender Servers.  
I was thinking that if the build system could just upload the artifact directly to S3, I could use a single Minio which will serve all Mender Servers across all of my GKE clusters.

Unfortunately, I cannot use just a single Mender Server deployment for all my GKE clusters.  
Any suggestions/ideas are welcome.

I’m using v3.4.0

Thanks,  
Roman

---

<div class="post-metadata">

### Author: ![alfrunes](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/alfrunes/32/703_2.png) [@alfrunes](https://hub.mender.io/u/alfrunes)
#### Post date: [January 4, 2023, 11:42am UTC](https://hub.mender.io/t/uploading-artifacts-directly-to-s3/5519/2 "2023-01-04T11:42:29Z")

</div>

Unfortunately, there currently is no way of uploading/registering artifacts without going through the Mender server. The backend needs to validate the artifact format and the payload and header checksums. The only reliable way I can think of is uploading the artifact to all your server instances.

---

<div class="post-metadata">

### Author: ![rhirsh](https://avatars.discourse-cdn.com/v4/letter/r/5daacb/32.png) [@rhirsh](https://hub.mender.io/u/rhirsh)
#### Post date: [January 4, 2023, 2:34pm UTC](https://hub.mender.io/t/uploading-artifacts-directly-to-s3/5519/3 "2023-01-04T14:34:26Z")

</div>

Thank you for your reply @alfrunes

---

<div class="post-metadata">

### Author: ![mho](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@mho](https://hub.mender.io/u/mho)
#### Post date: [November 2, 2023, 5:15pm UTC](https://hub.mender.io/t/uploading-artifacts-directly-to-s3/5519/4 "2023-11-02T17:15:45Z")

</div>

FYI this is now available in Mender Enterprise 3.6.3

[https://docs.mender.io/3.6/server-installation/direct-upload](https://docs.mender.io/3.6/server-installation/direct-upload)
