# 请问大家存储都使用的什么

**URL:** <https://www.isharkfly.com/t/topic/16496>\
**Category:** Discourse\
**Tags:** discourse\
**Created:** [October 30, 2024, 3:00am UTC](https://www.isharkfly.com/t/topic/16496 "2024-10-30T03:00:06Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![gulu](https://www.isharkfly.com/letter_avatar_proxy/v4/letter/g/94ad74/32.png) [@gulu](https://www.isharkfly.com/u/gulu)\
**Post date:** [October 30, 2024, 3:00am UTC](https://www.isharkfly.com/t/topic/16496/1 "2024-10-30T03:00:06Z")

</div>

使用亚马逊 s3，阿里云的 oss，有无详细配置教程

---

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [October 30, 2024, 3:02am UTC](https://www.isharkfly.com/t/topic/16496/2 "2024-10-30T03:02:24Z")

</div>

我们使用的 AWS S3。

Discourse 原生支持和兼容最好的存储就是 S3。

方法请访问：[Discourse 如何备份到 S3 - #3 by honeymoose](https://www.isharkfly.com/t/discourse-s3/56/3)

---

<div class="post-metadata">

**Author:** ![luobo](https://www.isharkfly.com/user_avatar/www.isharkfly.com/luobo/32/15604_2.png) [@luobo](https://www.isharkfly.com/u/luobo)\
**Post date:** [October 30, 2024, 3:02am UTC](https://www.isharkfly.com/t/topic/16496/3 "2024-10-30T03:02:42Z")

</div>

没有，我是自己的服务器，资源都是在本地存储的

---

<div class="post-metadata">

**Author:** ![gulu](https://www.isharkfly.com/letter_avatar_proxy/v4/letter/g/94ad74/32.png) [@gulu](https://www.isharkfly.com/u/gulu)\
**Post date:** [October 30, 2024, 6:28am UTC](https://www.isharkfly.com/t/topic/16496/4 "2024-10-30T06:28:35Z")

</div>

内网穿透么？不会oss会不会很卡

---

<div class="post-metadata">

**Author:** ![luobo](https://www.isharkfly.com/user_avatar/www.isharkfly.com/luobo/32/15604_2.png) [@luobo](https://www.isharkfly.com/u/luobo)\
**Post date:** [October 30, 2024, 7:40am UTC](https://www.isharkfly.com/t/topic/16496/5 "2024-10-30T07:40:06Z")

</div>

是内网穿透，我的站访问量小，资源加载速度还行的，访问量大了估计就GG了

---

<div class="post-metadata">

**Author:** ![gulu](https://www.isharkfly.com/letter_avatar_proxy/v4/letter/g/94ad74/32.png) [@gulu](https://www.isharkfly.com/u/gulu)\
**Post date:** [October 30, 2024, 7:40am UTC](https://www.isharkfly.com/t/topic/16496/6 "2024-10-30T07:40:46Z")

</div>

请问你准备了多大的硬盘，要做备份么？

会卡么。

---

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [October 30, 2024, 3:33pm UTC](https://www.isharkfly.com/t/topic/16496/7 "2024-10-30T15:33:43Z")

</div>

> [@gulu](#):
>
> 多大的硬盘

硬盘的配置历来是越大越好。

按照 Linux 的配置来说，通常不建议磁盘使用率超过 50%，正常的服务一般都会保障磁盘使用率比较低。

根据你上传的附件要求是什么，如果就是图片的话，通常问题不大。

如果还有视频，那么分分钟就填满了。

同时还会增加 Web 服务器的压力，这时候你的 Web 服务器性能也不能太差了。

## 备份

如果附件存储在本地，备份最好要同时备份。

这时候占的空间更多。

---

<div class="post-metadata">

**Author:** ![luobo](https://www.isharkfly.com/user_avatar/www.isharkfly.com/luobo/32/15604_2.png) [@luobo](https://www.isharkfly.com/u/luobo)\
**Post date:** [October 31, 2024, 2:11am UTC](https://www.isharkfly.com/t/topic/16496/8 "2024-10-31T02:11:19Z")

</div>

我目前是一个100G的，我感觉绰绰有余了

---

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [October 31, 2024, 2:17am UTC](https://www.isharkfly.com/t/topic/16496/9 "2024-10-31T02:17:33Z")

</div>

> [@luobo](#):
>
> 100G的

足够用了。

 ![2024-10-30_22-14-20](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/2X/1/12404aee1e26ebf40153bf52dcbee2986edab419.png)

我们这里还上传了不少 MP4 的小视频，其实也不大，也就几十个M。

普通图片也就几个 M，一个主题也就平均给 10 M 的附件， 1 个G，需要 100 个主题才 1 G。

很多时候主题都是文字，附件还没有 10M，1000 个主题才 10 G。

---

<div class="post-metadata">

**Author:** ![Dummy](https://www.isharkfly.com/letter_avatar_proxy/v4/letter/d/7c8e57/32.png) [@Dummy](https://www.isharkfly.com/u/Dummy)\
**Post date:** [November 5, 2024, 4:57am UTC](https://www.isharkfly.com/t/topic/16496/10 "2024-11-05T04:57:54Z")

</div>

你最后用的是哪个存储？

---

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [November 5, 2024, 5:27am UTC](https://www.isharkfly.com/t/topic/16496/11 "2024-11-05T05:27:31Z")

</div>

> [@Dummy](#):
>
> 你最后用的

AWS S3

---

<div class="post-metadata">

**Author:** ![Dummy](https://www.isharkfly.com/letter_avatar_proxy/v4/letter/d/7c8e57/32.png) [@Dummy](https://www.isharkfly.com/u/Dummy)\
**Post date:** [November 18, 2024, 3:33pm UTC](https://www.isharkfly.com/t/topic/16496/12 "2024-11-18T15:33:26Z")

</div>

不知道除了s3，还有没有其他被使用过可以推荐做后备的？

aws注册卡在信用卡验证那里 😅，了解了一下我的工行卡还会因为账单没有地址会出现封号问题 🤐

---

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [November 18, 2024, 4:00pm UTC](https://www.isharkfly.com/t/topic/16496/13 "2024-11-18T16:00:57Z")

</div>

> [@Dummy](#):
>
> 封号问题

如果是这样话，可以惨下官方的这个文章：[Configure an S3 compatible object storage provider for uploads - Self-Hosting - Discourse Meta](https://meta.discourse.org/t/configure-an-s3-compatible-object-storage-provider-for-uploads/148916)

上面的文章中列出了 Discourse 能够支持的存储。

 ![2024-11-18_11-00-33](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/3X/f/2/f27d147e8f93e3e4504041e84c5ad9f8f5825a49.jpeg)

建议从上面挑选一个。

如果官方说不支持，还是建议不要使用。

---

<div class="post-metadata">

**Author:** ![Dummy](https://www.isharkfly.com/letter_avatar_proxy/v4/letter/d/7c8e57/32.png) [@Dummy](https://www.isharkfly.com/u/Dummy)\
**Post date:** [November 19, 2024, 1:52am UTC](https://www.isharkfly.com/t/topic/16496/14 "2024-11-19T01:52:54Z")

</div>

aws有CNY支付，但是不知道会不会被国内审核个人信息，如果只是存图片、视频、备份应该没啥问题吧 🤣？

---

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [November 19, 2024, 3:18am UTC](https://www.isharkfly.com/t/topic/16496/15 "2024-11-19T03:18:29Z")

</div>

> [@Dummy](#):
>
> 应该没啥问题

AWS 的存储这个通常不会有什么问题的。

---

<div class="post-metadata">

**Author:** ![Ava](https://www.isharkfly.com/user_avatar/www.isharkfly.com/ava/32/15917_2.png) [@Ava](https://www.isharkfly.com/u/Ava)\
**Post date:** [November 19, 2024, 4:39pm UTC](https://www.isharkfly.com/t/topic/16496/16 "2024-11-19T16:39:16Z")

</div>

> [@honeymoose](#):
>
> 是文字，附件还没有10M，1000个主题才10

大佬，费用是如何的？我都打算限制视频上传，不懂费用如何？

---

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [November 19, 2024, 5:54pm UTC](https://www.isharkfly.com/t/topic/16496/17 "2024-11-19T17:54:33Z")

</div>

> [@Ava](#):
>
> 费用如何

费用还好了，我现在一个月就几块钱，还没有 VPS 的成本高。
