<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>R2 on Kevin&#39;s Blog</title>
    <link>https://bloglee.pages.dev/tags/r2/</link>
    <description>Recent content in R2 on Kevin&#39;s Blog</description>
    <generator>Hugo</generator>
    <language>zh</language>
    <lastBuildDate>Mon, 08 Dec 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://bloglee.pages.dev/tags/r2/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Cloudflare R2介绍</title>
      <link>https://bloglee.pages.dev/post/cloudflare-r2/</link>
      <pubDate>Mon, 08 Dec 2025 00:00:00 +0000</pubDate>
      <guid>https://bloglee.pages.dev/post/cloudflare-r2/</guid>
      <description>&lt;h2 id=&#34;r2-计费&#34;&gt;R2 计费&lt;/h2&gt;&#xA;&lt;p&gt;你可以简单记成：&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;总共就三笔钱：&lt;strong&gt;存储 + 操作次数 +（如果用 IA）取回费&lt;/strong&gt;。&#xA;出网到互联网（Egress）是免费的。&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h3 id=&#34;存储费用standard-storage&#34;&gt;存储费用（Standard storage）&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;单价：&lt;strong&gt;$0.015 / GB-month&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cloudflare R2 配置</title>
      <link>https://bloglee.pages.dev/post/config-cloudflare-r2/</link>
      <pubDate>Thu, 27 Mar 2025 00:00:00 +0000</pubDate>
      <guid>https://bloglee.pages.dev/post/config-cloudflare-r2/</guid>
      <description>&lt;p&gt;参考资料：&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://developers.cloudflare.com/r2/examples/aws/aws-sdk-js-v3/&#34;&gt;https://developers.cloudflare.com/r2/examples/aws/aws-sdk-js-v3/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;需要获得这几个-key&#34;&gt;需要获得这几个 key&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;R2_ACCOUNT_ID: 一个账号是一个 ID&lt;/li&gt;&#xA;&lt;li&gt;R2_ACCESS_KEY_ID:&lt;/li&gt;&#xA;&lt;li&gt;R2_SECRET_ACCESS_KEY&lt;/li&gt;&#xA;&lt;li&gt;R2_BUCKET_NAME: Bucket的name&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;步骤&#34;&gt;步骤&lt;/h2&gt;&#xA;&lt;h3 id=&#34;step-创建-bucket&#34;&gt;Step: 创建 Bucket&lt;/h3&gt;&#xA;&lt;h3 id=&#34;通过接口访问&#34;&gt;通过接口访问&lt;/h3&gt;&#xA;&lt;h4 id=&#34;step-生成-api-key&#34;&gt;Step: 生成 API Key&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;code&gt;R2&lt;/code&gt; → &lt;code&gt;&amp;quot;Manage R2 API Tokens&amp;quot;&lt;/code&gt; → &lt;code&gt;Create API Token&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;选择 Edit 权限 → 选择对应的 Bucket&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;记录：&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Access Key ID&lt;/li&gt;&#xA;&lt;li&gt;Secret Access Key&lt;/li&gt;&#xA;&lt;li&gt;Account ID（在 R2 页面右上角）&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;step-配置域名来获得-public-access&#34;&gt;Step: 配置域名来获得 Public Access&lt;/h4&gt;&#xA;&lt;p&gt;设置自定义域名 &lt;code&gt;s.example.com&lt;/code&gt;来获得 public access&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
