Skip to content
← Back to Blog

Monday, May 1st 2023

Introducing storage on Vercel

Vercel KV, Vercel Postgres, Vercel Blob, and Vercel Edge Config are now available.

Posted by

Avatar for ethomson

Edward Thomson

Director of Product, Ship

Avatar for adriancooney

Adrian Cooney

Software Engineer

Avatar for jueungraceyun

Jueun Grace Yun

Software Engineer

Avatar for vvoyer

Vincent Voyer

Software Engineer

Avatar for elijahjcobb

Elijah Cobb

Software Engineer

Avatar for fabiobenedetti

Fabio Benedetti

Software Engineer

Data is an integral part of the web. As JavaScript and TypeScript frameworks make it easier than ever to server-render just-in-time data, it's time to make databases a first-class part of Vercel's frontend cloud.

Today, we’re excited to announce a suite of serverless storage solutions now available on Vercel, powered by some of the best infrastructure providers in the industry.

  • Vercel KV: A serverless Redis solution that's easy and durable, powered by Upstash
  • Vercel Postgres: A serverless SQL database built for the frontend, powered by Neon
  • Vercel Blob: A solution to upload and serve files at the edge, powered by Cloudflare R2

Why now?

Driven by the need for both performance and personalization, frameworks are becoming server-first and edge-first. This shift is exemplified by React Server Components and the introduction of streaming infrastructure into our runtimes. These capabilities make it easier than ever to fetch data from a database or other data sources, within the server component itself.

Simultaneously, as the world moves away from monolithic architectures to composable ones, there's no shortage of options for backends and databases. But for new projects, the choice can still be paralyzing.

In the spirit of being the end-to-end solution for building on the web, we are introducing solutions that are open, easy to use, and scale as efficiently as our frontends.

Vercel KV: A durable Redis database

A key-value store like Redis is one of the most common tools developers reach for when managing things like rate-limiting, session management, or application state.

Today, we're introducing Vercel KV, a serverless, Redis-compatible, easy-to-use, and highly durable database. Vercel KV enables you to create Redis-compatible databases that can be written to and read from Vercel's Edge Network in regions you specify, with little configuration needed.

import kv from '@vercel/kv';
export async function getPrefs() {
const prefs = await kv.get('prefs');
return prefs || {};
export async function updatePrefs(prefs: Record<string, string>) {
return kv.set('prefs', prefs);

We’ve partnered with Upstash to deliver tooling designed to embrace serverless, that persists in memory and on disk by default. This means it can be used to persist state, without risk of losing your data when a server crashes.

Vercel Postgres: Complex data made easy

PostgreSQL is the preferred way of handling relational data for many developers. We’ve partnered with Neon to introduce Vercel Postgres, the first serverless SQL database built for the frontend cloud.

import { sql } from '@vercel/postgres';
import { redirect } from 'next/navigation';
async function create(formData: FormData) {
'use server';
const { rows } = await sql`
INSERT INTO products (name)
VALUES (${formData.get('name')})
export default function Page() {
return (
<form action={create}>
<input type="text" name="name" />
<button type="submit">Submit</button>
Use Vercel Postgres with Next.js Server Actions (to be announced Thursday)

With Vercel Postgres, you get a fully managed, highly scalable, fault-tolerant database that delivers high performance and low latency for your web applications. Vercel Postgres is designed to work seamlessly with the Next.js App Router and Server Components and other frameworks like Nuxt and SvelteKit, making it easy to fetch data from your Postgres database to render dynamic content on the server at the speed of static.

You can use Vercel Postgres to query, insert, update, or delete data directly inside your React Server Components, providing you with powerful server-first data mutations and less client-side JavaScript.

Vercel Blob: Easy file storage at the edge

Vercel Blob is a fast, easy, and efficient solution for storing files in the cloud. It provides an effortless yet powerful storage API built entirely on top of web standards without the need to configure buckets or implement heavy SDKs.

import { put } from '@vercel/blob';
export const runtime = 'edge';
export async function PUT(request: Request) {
const { url } = await put('avatars/user-12345.png', request.body, { access: 'public' });
return Response.json({ url });

Vercel Blob can store files like images, PDFs, CSVs, or other unstructured data. Use Vercel Blob for:

  • Files you normally store in an external file storage solution like Amazon S3. With your project hosted on Vercel, you can readily access and manage these files via Vercel Blob
  • Files that are programmatically uploaded or generated at build time, for display and download such as avatars, screenshots, cover images and videos
  • Large files such as videos and audio to take advantage of the global network

Getting started

This builds on our existing integrations with database partners like Supabase, PlanetScale, and MongoDB.

Vercel's first-party storage makes it easy for developers to manage their frontend storage needs, without worrying about infrastructure. Hobby and Pro users can get started with Vercel KV and Vercel Postgres today.

Get started with KV

Try Vercel KV with our Next.js starter template.

Open template

Get started with Postgres

Try Vercel Postgres with our Next.js starter template.

Open template

Vercel Blob is currently in Private Beta and will be rolling out soon, sign up to get early access. Learn more about pricing, limits, and usage in the documentation.