# Configuring S3 (DO Space) and CDN with staging server before production

**URL:** <https://meta.discourse.org/t/configuring-s3-do-space-and-cdn-with-staging-server-before-production/251808>\
**Category:** Self-hosting\
**Created:** [January 14, 2023, 11:56pm UTC](https://meta.discourse.org/t/configuring-s3-do-space-and-cdn-with-staging-server-before-production/251808 "2023-01-14T23:56:48Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Octoberon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/octoberon/32/288382_2.png) [@Octoberon](https://meta.discourse.org/u/Octoberon)\
**Post date:** [January 14, 2023, 11:56pm UTC](https://meta.discourse.org/t/configuring-s3-do-space-and-cdn-with-staging-server-before-production/251808/1 "2023-01-14T23:56:49Z")

</div>

I run a modest forum that’s going to run out of storage on the server soon so I’m planning to extend the storage with a DO Space and Bunny CDN. I’ve been crawling Meta documentation and found lots of useful information about settng up S3 (compatible) storage and a CDN.

In addition to the main production Droplet I’ve created a staging server and restored a backup from the production server to it. This is my first run through setting up object storage and a CDN so I’d like to do a dry run with the staging server first. My question is, what I should do when I want to implement again with the production server? Should I remove the content from the Space storage, run the process again for the main server and restore the latest backup to the staging server at the end? I’m rying to avoid disrupting the live forum but am I creating problems by taking this approach?

Any thoughts or advice welcome.

---

_[View the full topic](https://meta.discourse.org/t/configuring-s3-do-space-and-cdn-with-staging-server-before-production/251808)._
