-
Notifications
You must be signed in to change notification settings - Fork 536
Host files in multiple S3 regions #42
Comments
I always keep the global s3 in sync with the China s3 mirror |
the global s3 is backed with s3-accelerate, which already utilizes all cloudfront edge locations. |
Try |
Thanks, it's great you already thought about this issue and that there is already a solution! |
Due to regulation in China, it requires a business entity and registration with the government to set up CDN in China. |
Also, China AWS accounts are separate from global AWS accounts, so we would at least need to cloudfront end points. Then we would need DNS magic to point to the right endpoint, so I haven't gone through that route yet. |
Btw, the China S3 mirror also slow in Asia-Pacific region outside of mainland (eg. HK). |
@leezu how's the speed with the global repo? Tokyo/Singapore edges might be fast. |
That works. I had some speed issues but in the end a VPN is at fault. Sorry about the noise. |
Is this issue resolved? |
I think the current S3 Accelerate approach is sufficient. AWS recently added CloudFront endpoints in Hong Kong and mainland China. Do we have any reports of trouble downloading in China? I'll close this for now, but let's reopen once we have more evidence of the issue. |
@leezu they won't. China is a separate region entirely and there's no data exchange with the global region except on the public network. |
Cloudflare does, so I think Cloudfront will need to do eventually as well. Cloudflare advertises this feature heavily https://www.cloudflare.com/network/china/ |
Downloading files from S3 hosted in the US can be painfully slow from Hong Kong (and likely mainland). @szha can we easily host them in a second region?
In my experience the bandwidth to Europe is good, in case that the Hong Kong region is not yet ready.
The text was updated successfully, but these errors were encountered: