Vercel’s AWS Databases marketplace listing is a procurement and IAM shortcut, not a topology guarantee. The 64ms figure Vercel reports for 50 sequential round trips rests on one premise, that your functions and your database are in the same data centers. Nothing in either documented provisioning path enforces that, and Vercel does not say which path the benchmark ran on. The link-an-existing-account flow that most production teams will reach for creates the database in your own AWS account, in a region you pick during setup, with no coupling to the region your Fluid functions run in. Region match, not account path, is what decides whether the headline number transfers.
What does the Vercel Marketplace AWS integration actually provision?
The listing provisions an AWS-managed database and wires IAM-based authentication into your Vercel project, but placement stays your decision. Per the Jun 4, 2026 AWS announcement, you can create an Aurora PostgreSQL database or a DynamoDB table from 17 AWS regions enabled by default, and Aurora DSQL from 16, and new AWS accounts created from Vercel include $100 in credits, usable across any of the three database options for up to six months. The marketplace page describes the integration broadly as creating “a new database, storage bucket, or a search backend,” with the same credit offer; the databases the launch documentation names are Aurora PostgreSQL, Aurora DSQL, and DynamoDB.
The auth model is the part worth pausing on. The database client uses Vercel’s OIDC integration to assume your AWS role and generate IAM auth tokens on each connection, so there are no stored database passwords, and Vercel automatically injects environment variables and configuration when you connect a resource to a project. That is a real operational improvement over secret rotation. What the integration adds is a procurement and credential surface: the database goes in a region you pick at creation, and connection pooling is left to your application code.
When does Vercel’s 64ms benchmark actually hold?
Vercel’s headline number, 50 sequential round trips averaging 64ms on AWS RDS (Aurora), roughly 1ms per trip, against 109ms for an unnamed Provider B (~2ms) and 150ms for Provider C (~3ms), comes from the launch post. The explanation offered is that “Vercel runs on AWS infrastructure” and “Your functions and your database are in the same data centers, which means latency stays low.” Two parts of that framing deserve scrutiny.
First, the workload is sequential round trips, which measures per-trip network latency and tells you nothing about concurrent connection establishment. It does not model the second when three hundred cold-started functions all open a connection. Second, the “same data centers” claim is a premise about placement. The post credits the result to “no network hop between your code and your data,” and it never says which provisioning path or which regions the test covered. The premise holds exactly when your function’s region and your database’s region match, and that is a condition you create, not one the product guarantees.
The marketplace exposes two paths. “Create new (Vercel-managed account)” is the greenfield flow: choose Aurora PostgreSQL, Aurora DSQL, or DynamoDB, pick your AWS region and plan, connect the resource. “Link an existing AWS account” grants Vercel AWS IAM temporary delegation permissions, then runs the same engine, region, and plan selection and creates the database in your own AWS account while keeping your existing AWS setup. Both paths have you pick the database region yourself, and neither documented flow couples that choice to the region your Fluid functions execute in.
How does Fluid Compute change the connection-pool story?
Fluid Compute lets multiple invocations share a single function instance with persistent global state, so a connection pool initialized at global scope survives across requests, which is the lifecycle fix Vercel ships as attachDatabasePool. Under classic serverless, each invocation tends to open its own connection, and a function that suspends loses the pool it built. Fluid Compute inverts that: concurrent invocations routed to the same instance can share one pool, and the platform still automatically scales up additional instances as needed. Vercel’s attachDatabasePool helper from @vercel/functions wraps the lifecycle with a waitUntil that keeps the instance alive just long enough to close idle connections after a request completes. That is the fix for the “phantom” usage the KB describes, connections that linger because idle timeouts do not run while an instance is suspended.
Vercel’s pooling guidance is specific: define the pool in global scope, set a low idle timeout around 5 seconds, keep the minimum pool size at 1, and avoid a max pool size of 1, because it “does not reduce total connections and harms concurrency in Fluid Compute,” with rolling releases recommended to avoid a surge of new instances connecting at once.
The reuse is within a single instance, full stop. The guide documents the pattern with pg for PostgreSQL or mysql2 for MySQL, and the launch post’s client snippet uses pg. When the platform scales up additional instances, each builds its own pool; the mechanism does not multiplex connections across function instances.
Why does burst traffic still exhaust RDS connections under Fluid?
Fluid pooling reuses connections within one instance but not across instances, so a burst of cold-started functions still opens one connection per instance and lands on RDS’s max_connections ceiling. The arithmetic is the same one that has made serverless-to-RDS a known footgun for years. Every fresh instance pays setup before its pool warms, and PostgreSQL’s TLS handshake, authentication, and session setup can take 20–50 ms per connection. Relational databases impose hard ceilings: approximately 170 connections on a db.t3.medium and around 1,200 on a db.r6g.xlarge, while AWS Lambda can scale from zero to 3,000 concurrent executions within seconds.
Fluid helps on the steady-state side, because a warm instance reuses its pool across many invocations instead of reconnecting each time. Fluid does not help on the burst side, because every instance that cold-starts during a traffic spike opens its own connection before its pool warms. Three hundred concurrent instances opening one connection each is three hundred connections, and on a small RDS instance that is already past the ceiling. Procurement got easier; the max_connections ceiling did not move.
What does RDS Proxy do that Fluid pooling does not?
RDS Proxy multiplexes many client connections onto a small warm backend pool, 1,000 Lambda functions connecting simultaneously while the proxy uses about 50 backend connections, with a ratio that can exceed 20:1 in practice for short-running query workloads. AWS RDS Proxy sits between the application and the database, exposes its own endpoint, and tracks session state per client so a backend connection returns to the pool when a client goes idle. Terraform settings commonly used for it include max_connections_percent=90, connection_borrow_timeout=120, and session_pinning_filters=['EXCLUDE_VARIABLE_SETS'].
The proxy has its own failure mode: pinning. A client that runs SET statements, uses temporary tables, or holds a long transaction gets pinned to a single backend connection, and, in the source’s words, “excessive pinning eliminates the multiplexing benefit.”
The distinction that matters: Fluid’s attachDatabasePool reuses connections inside one function instance, while RDS Proxy multiplexes connections across all clients of the database. They are not substitutes. Fluid reduces how often a given instance reconnects; RDS Proxy reduces how many backend connections the sum of all instances demands. For bursty serverless traffic against a relational database, the second property is the one that protects the max_connections ceiling.
| Property | Fluid attachDatabasePool | AWS RDS Proxy |
|---|---|---|
| Where it sits | Inside the function instance | Between app and database |
| Scope of reuse | Per-instance, across invocations | Cross-client, across all instances |
| Consolidation ratio | 1:1 within the instance | Can exceed 20:1 (short-running queries) |
| What it absorbs | Reconnection cost on warm instances | Burst-driven total connection count |
| What it does not absorb | Cross-instance burst onto the DB | Pinned sessions (SET, temp tables, long transactions) |
What should you check before clicking “Connect resource”?
Before connecting a database, confirm which provisioning path you are on and check that the database region matches your Fluid function region, because nothing in the documented setup flow couples the two. The checks that actually change your runtime profile:
- Which path are you on? “Create new (Vercel-managed account)” is the fully managed flow; “Link an existing AWS account” creates the database in your own AWS account under IAM temporary delegation. Both have you pick the region yourself.
- Do the regions match? A Fluid function in one AWS region talking to a database in another pays a cross-region round trip on every query, and the region pairing is left entirely to you.
- Which account holds the database? On the linked path the database lives in your AWS account while your functions run on Vercel’s infrastructure. The IAM delegation covers authentication; it does not decide placement.
- What is your client type? The guide documents the pooling pattern with
pgandmysql2. If you use Aurora DSQL, check its connection model before assuming thepgpattern applies. - Do you need RDS Proxy in front? If the workload bursts, Fluid pooling alone will not hold the
max_connectionsceiling. Put RDS Proxy between the functions and the database, let Fluid handle per-instance reuse, and watch for pinning if your workload leans on SET statements, temp tables, or long transactions. - Are you eligible for the $100 in credits? New AWS accounts created from Vercel only, usable across the three database options for up to six months. Existing accounts get the integration, not the credit.
Procurement convenience is now decoupled from runtime topology
The marketplace listing makes the IAM, credential, and billing surface trivial and leaves the latency and pooling topology on the buyer. Before this integration, where your database lived relative to your functions was a decision you made consciously: you stood up the database, you wired IAM, you managed credentials. Now that friction is gone, and with it the prompt to think about placement. A team can click “Connect resource,” see credentials auto-injected, read the launch post’s benchmark, and ship, without checking whether the region picked during setup is the region the Fluid functions run in.
The convenience is real, and the OIDC auth model is a genuine improvement over stored passwords. The benchmark is fair for what it measures. The cross-region latency tax and the per-instance pooling gap are still the buyer’s to discover, usually under load.
Join the discussion
Share a useful perspective or ask a question about this article.