# Using multiple containers - what needs to be shared?

**URL:** https://meta.discourse.org/t/using-multiple-containers-what-needs-to-be-shared/181736
**Category:** Self-hosting
**Created:** [March 3, 2021, 9:26am UTC](https://meta.discourse.org/t/using-multiple-containers-what-needs-to-be-shared/181736 "2021-03-03T09:26:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![PaulMw](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@PaulMw](https://meta.discourse.org/u/PaulMw)
#### Post date: [March 3, 2021, 9:26am UTC](https://meta.discourse.org/t/using-multiple-containers-what-needs-to-be-shared/181736/1 "2021-03-03T09:26:39Z")

</div>

Hi, we’re currently exploring the possibility of moving to discourse (from Invision) and due to our traffic will need to use multiple load-balanced containers. I see there’s a guide for this, which is great. But just from a very basic perspective, is it just the database + uploaded images etc which would need to be shared across the instances?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 3, 2021, 12:32pm UTC](https://meta.discourse.org/t/using-multiple-containers-what-needs-to-be-shared/181736/2 "2021-03-03T12:32:46Z")

</div>

It’s the database and redis. You want to serve the images from s3, so you don’t need shared disk. I believe that cdck served images and assets locally some years ago, but S3 for static assets is what they’re doing now. See [Using Object Storage for Uploads (S3 & Clones)](https://meta.discourse.org/t/using-object-storage-for-uploads-s3-clones/148916). You’ll also want two CDNs,one for Discourse and one for S3.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 2, 2021, 12:33pm UTC](https://meta.discourse.org/t/using-multiple-containers-what-needs-to-be-shared/181736/3 "2021-04-02T12:33:44Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
