Amazon S3 Chinese Special Region Support


(Herb Brewer) #1

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


(Jeff Atwood) #2

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


(Kane York) #3

Here’s the file:


(Herb Brewer) #4

thanks, I will try to fix it.


(无限星辰) #5

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”?