Cloudflare R2
Learn how to connect your Cloudflare R2 buckets to ArylLabs and deploy websites directly from them.
Overview
Cloudflare R2 is an S3-compatible object storage service that charges zero egress fees. By connecting your R2 bucket to ArylLabs, you can host incredibly large websites, heavy media assets, and high-traffic applications without worrying about bandwidth costs.
Prerequisites
- A Cloudflare account with R2 enabled.
- An active R2 bucket.
- An R2 API Token with Admin Read & Write permissions for that bucket.
Connecting R2 to ArylLabs
- Go to the Storage Hub: Navigate to Storage in your ArylLabs dashboard.
- Select Cloudflare R2: Click on the Cloudflare R2 provider card to begin the connection process.
- Enter your credentials: You will need to provide your R2 Access Key ID, Secret Access Key, and your Cloudflare Account ID.
- Save Connection: Once connected, your bucket will appear in the "Your Connections" list.
Deploying from R2
To deploy a website from your R2 bucket, go to the Websites tab, click Create, and select your connected R2 bucket as the source.
Deploy a Website