Access R2 Storage from Cloudflare Workers: Step-by-Step Guide

Опубликовано: 09 Март 2023
на канале: Cloudflare Developers
7,131
74

In this video , we'll show you how to integrate R2 storage into your applications using Cloudflare's Workers API and Wrangler, a command-line tool for building and deploying Cloudflare Workers. With R2's global object storage and zero egress fees, building scalable and efficient applications has never been easier!

Demo Code: https://github.com/lauragift21/worker...

Check out these links to learn more about R2:
https://www.cloudflare.com/products/r2/
https://blog.cloudflare.com/introduci...
https://developers.cloudflare.com/r2/...
https://developers.cloudflare.com/r2/...
https://developers.cloudflare.com/r2/...

Timestamps
0:00 - Intro
0:12 - What is Cloudflare Workers?
0:24 - Access R2 Storage from the dashboard
0:39 - Install Wrangler
1:19 - Create a new worker project
1:48 - Create R2 Bucket with Wrangler
2:04 - Set up R2 Binding
2:25 - Perform CRUD Operations on your bucket
3:57 - Set Authorization Access on Bucket Operations
5:26 - Run locally
6:00 - Create a Secret Key
6:09 - Publish Workers
6:14 - Testing with CURL
6:45 - Outro
----------------------------------------

Deploy serverless code instantly across the globe to give it exceptional performance, reliability, and scale, with Cloudflare Workers.

Cloudflare Workers: https://cfl.re/CloudflareWorkersYT
Cloudflare Workers Docs: https://cfl.re/WorkersDocsYT


#CloudflareWorkers #DeveloperQuickTakes #R2


Смотрите видео Access R2 Storage from Cloudflare Workers: Step-by-Step Guide онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Cloudflare Developers 09 Март 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 7,13 раз и оно понравилось 7 людям.