# Discourse Meta is now running S3 for uploads

**URL:** https://meta.discourse.org/t/discourse-meta-is-now-running-s3-for-uploads/29241
**Category:** Site feedback
**Created:** [2015年五月26日 01:40 UTC](https://meta.discourse.org/t/discourse-meta-is-now-running-s3-for-uploads/29241 "2015-05-26T01:40:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2015年五月26日 01:40 UTC](https://meta.discourse.org/t/discourse-meta-is-now-running-s3-for-uploads/29241/1 "2015-05-26T01:40:55Z")

</div>

In the following post I described the weaknesses in our S3 implementation:

[https://meta.discourse.org/t/amazon-s3-is-not-deprecated-in-1-3-for-image-attachment-storage/26594/108?u=sam](https://meta.discourse.org/t/amazon-s3-is-not-deprecated-in-1-3-for-image-attachment-storage/26594/108)

Since then @zogstrip and to a minor extent me, have been working on fixing the s3 issues.

In particular:

1. We now upload to s3 in the background (without blocking a web worker)
2. We stopped using the fog gem.
3. We moved to an s3 “friendly” upload scheme for avatars
4. We support an additional CDN in front of S3 content
5. We changed the URL scheme on s3 to match the local scheme (which makes it way easier to move to a from s3)

I went ahead and enabled this here, we will be refining this and even migrating all the existing images and avatars on meta to s3

![](https://global.discourse-cdn.com/meta/original/3X/6/3/631aea48fe87665483321868107a4c574c69f67b.png)

---

<div class="post-metadata">

### Author: ![fantasticfears](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantasticfears/32/119608_2.png) [@fantasticfears](https://meta.discourse.org/u/fantasticfears)
#### Post date: [2015年五月26日 02:06 UTC](https://meta.discourse.org/t/discourse-meta-is-now-running-s3-for-uploads/29241/2 "2015-05-26T02:06:55Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/9/4/94c97143357c100084c57d46740142c10a46fdb5.png) 

fastly complains…

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2015年五月26日 02:07 UTC](https://meta.discourse.org/t/discourse-meta-is-now-running-s3-for-uploads/29241/3 "2015-05-26T02:07:00Z")

</div>

avatars are broken atm due to some cdn changes, working on a fix

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2015年五月26日 04:42 UTC](https://meta.discourse.org/t/discourse-meta-is-now-running-s3-for-uploads/29241/5 "2015-05-26T04:42:32Z")

</div>

Fixed, if anyone is having issues, please clear browser cache.

---

<div class="post-metadata">

### Author: ![jeffwidman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeffwidman/32/105515_2.png) [@jeffwidman](https://meta.discourse.org/u/jeffwidman)
#### Post date: [2015年五月26日 07:36 UTC](https://meta.discourse.org/t/discourse-meta-is-now-running-s3-for-uploads/29241/6 "2015-05-26T07:36:57Z")

</div>

HUGE fan of decoupling uploads from app server. Thanks!

---

<div class="post-metadata">

### Author: ![geeksareforlife](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/geeksareforlife/32/114335_2.png) [@geeksareforlife](https://meta.discourse.org/u/geeksareforlife)
#### Post date: [2015年五月26日 12:17 UTC](https://meta.discourse.org/t/discourse-meta-is-now-running-s3-for-uploads/29241/7 "2015-05-26T12:17:48Z")

</div>

This is fantastic news, thank you @sam . I can now upgrade our site, I’ve been delaying it until I had time to migrate off of S3!

Is there anything we need to run to move current avatars/uploads that are already on S3 to the new scheme?

J
