I would like to know if I can upload files to a private AWS S3 bucket through Cloudflare’s CDN edge location (aka a reverse CDN). My goal is to improve data transfer speed and improve connection reliability especially in China. My needs are:
- The PUT request will have all the necessary header auth keys required by the S3 bucket which Cloudflare needs to forward if the request is to succeed.
- Cloudflare does not need to cache the files or if we do, it needs to honor the permission settings of the file in S3.
- Needs to have good performance and network reliability in China mainland even though the S3 bucket in located in USA. Must not be affected by the Great Firewall.
Is this possible with Cloudflare and what are the steps I need to do to implement this?
I tried a similar thing using AWS Cloudfront and while the performance did improve, the connection reliability was poor due to DNS resolution issues. So I’m confident this can work if your network is better there.