# 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:** [Maio 26, 2015, 1:40am UTC](https://meta.discourse.org/t/discourse-meta-is-now-running-s3-for-uploads/29241 "2015-05-26T01:40:55Z")\
**Posts on this page:** 1\
**Showing post:** 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:** [Maio 26, 2015, 1:40am 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)

---

_[View the full topic](https://meta.discourse.org/t/discourse-meta-is-now-running-s3-for-uploads/29241)._
