用EdgeOne加速CloudflareR2存储桶

加速前

Screenshot_2025-07-26_21-25-19

加速后

image-20250726214538759

开始操作

打开 EdgeOne,选择添加域名

image-20250726212927222

源站配置IP/域名改为对象存储源站,后面的S3 兼容不用改,接着打开 Cloudflare 的 r2 存储桶

Screenshot_2025-07-26_21-32-00

找到 设置,复制这一串 S3 API

复制下来应该是 https://aaaa.r2.cloudflarestoreage.com/bbbb这种格式的

你需要改成 bbbb.aaaa.r2.cloudflarestoreage.com

填到源站地址中

image-20250726213424283

打开私有访问授权,鉴权选择v4,地域填auto

打开 r2 api(见下图)

image-20250726213548416

创建一个 api,权限选择对象只读,生成之后显示这样

Screenshot_2025-07-26_21-14-28

访问密钥ID 填到 Access Key ID,机密访问密钥填到 Secret Access Key 中,最后填完了长这样。

image-20250726213851858

然后就可以了。

  • All rights reserved.
  • No part of this website, including text and images, may be reproduced, modified, distributed, or transmitted in any form or by any means, without the prior written permission of the author.
  • Unauthorized commercial use is strictly prohibited.
  • Unauthorized personal use is strictly prohibited.