# Amazon S3 Chinese Special Region Support

**URL:** https://meta.discourse.org/t/amazon-s3-chinese-special-region-support/26466
**Category:** Feature
**Created:** [March 18, 2015, 6:56am UTC](https://meta.discourse.org/t/amazon-s3-chinese-special-region-support/26466 "2015-03-18T06:56:17Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![exherb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/exherb/32/115808_2.png) [@exherb](https://meta.discourse.org/u/exherb)
#### Post date: [March 18, 2015, 6:56am UTC](https://meta.discourse.org/t/amazon-s3-chinese-special-region-support/26466/1 "2015-03-18T06:56:18Z")

</div>

Amazon deployed a region in China last year, but this region is not a part of [amazonaws.com](http://amazonaws.com). The region name is “cn-north-1”, and the s3 endpoint is “[s3.cn-north-1.amazonaws.com.cn](http://s3.cn-north-1.amazonaws.com.cn)”. So is that possible for Discourse to support this s3 region? Thank you for your fantastic work.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [March 19, 2015, 11:57pm UTC](https://meta.discourse.org/t/amazon-s3-chinese-special-region-support/26466/2 "2015-03-19T23:57:53Z")

</div>

You could add a pull request for it in GitHub, if you want.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [March 20, 2015, 5:51am UTC](https://meta.discourse.org/t/amazon-s3-chinese-special-region-support/26466/3 "2015-03-20T05:51:15Z")

</div>

Here’s the file:

> <https://github.com/discourse/discourse/blob/main/app/models/s3_region_site_setting.rb>

---

<div class="post-metadata">

### Author: ![exherb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/exherb/32/115808_2.png) [@exherb](https://meta.discourse.org/u/exherb)
#### Post date: [March 20, 2015, 3:18pm UTC](https://meta.discourse.org/t/amazon-s3-chinese-special-region-support/26466/4 "2015-03-20T15:18:15Z")

</div>

thanks, I will try to fix it.

---

<div class="post-metadata">

### Author: ![freemangl](https://avatars.discourse-cdn.com/v4/letter/f/8c91f0/32.png) [@freemangl](https://meta.discourse.org/u/freemangl)
#### Post date: [January 19, 2016, 6:41am UTC](https://meta.discourse.org/t/amazon-s3-chinese-special-region-support/26466/5 "2016-01-19T06:41:51Z")

</div>

How to add this region?  
Shall I just add a ‘cn-north-1’ in def self.valid\_values?

How is it map to endpoint “[s3.cn-north-1.amazonaws.com.cn](http://s3.cn-north-1.amazonaws.com.cn)”?

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [December 4, 2025, 11:35am UTC](https://meta.discourse.org/t/amazon-s3-chinese-special-region-support/26466/6 "2025-12-04T11:35:46Z")

</div>


