Demo applications and reference architectures
Learn how you can use R2 within your existing application and architecture.
Demos
Explore the following demo applications for R2.
- Jobs At Conf: A job lisiting website to add jobs you find at in-person conferences. Built with Cloudflare Pages, R2, D1, Queues, and Workers AI.
- Upload Image to R2 starter: Upload images to Cloudflare R2 from a Next.js application.
- DMARC Email Worker: A Cloudflare worker script to process incoming DMARC reports, store them, and produce analytics.
Reference architectures
Explore the following reference architectures that use R2:
- Automatic captioning for video uploads: By integrating automatic speech recognition technology into video platforms, content creators, publishers, and distributors can reach a broader audience, including individuals with hearing impairments or those who prefer to consume content in different languages.
- Composable AI architecture: The architecture diagram illustrates how AI applications can be built end-to-end on Cloudflare, or single services can be integrated with external infrastructure and services.
- Egress-free object storage in multi-cloud setups: Object storage is a modern data storage approach that stores data as objects rather than in a hierarchical structure like traditional file systems, making object storage highly scalable and flexible for managing vast amounts of data across diverse applications and environments.
- Fullstack Applications: Full-stack web applications leverage a combination of frontend and backend technologies, collectively forming a stack that powers the entire application. This technology stack encompasses various tools, frameworks, and languages, each serving a specific purpose within the development ecosystem.
- Optimizing Image Delivery with Cloudflare Image Resizing and R2: Optimizing image delivery for websites is crucial for enhancing user experience. Since images often represent the largest portion of a website’s data, they significantly affect page load times, search engine rankings, delivery costs, and overall performance. This reference architecture diagram will guide you through a straightforward, scalable, and high-performance solution. By simply adjusting the URL string to specify image size and quality, you can cache and deliver the optimized image to any …
- Serverless ETL pipelines: Extract, Transform, Load (ETL) pipelines are a cornerstone in the realm of data engineering, facilitating the seamless flow of data from its raw state to a structured, usable format. ETL pipelines are instrumental in the data processing journey, particularly in scenarios where data needs to be collected, cleansed, and transformed before being loaded into a target destination.
- Serverless image content management: In this reference architecture diagram, we reveal how to leverage various components of Cloudflare’s ecosystem to construct a scalable image management solution. This solution integrates moderation principles via Cloudflare’s Workers AI platform and performs image classification through inference at the edge. The storage of images is handled by Cloudflare’s R2 product, an S3 API-like object storage system, while metadata is stored in a key/value store to enable content augmentation.