Scales to zero
No instance sizes, no servers to patch, no idle bill. Each database grows with your traffic and costs nothing while nobody uses it.
Postgres-compatible SQL databases that start in a minute, scale on their own and are billed only for the work they do. Query them from Edge Functions, psql or any Postgres library.
// lyrcloud.json: "databases": { "DB": "shop-db" }
export default {
async fetch(request, env) {
const { results } = await env.DB
.prepare('SELECT id, name, price FROM products WHERE price < $1')
.bind(50)
.all();
return Response.json(results);
},
};
// $ lyrcloud db create shop-db
// $ lyrcloud db query shop-db "select count(*) from products"
No instance sizes, no servers to patch, no idle bill. Each database grows with your traffic and costs nothing while nobody uses it.
Standard SQL with psql and the Postgres drivers you already use. Built on Amazon Aurora DSQL.
Add "databases": { "DB": "my-db" } to lyrcloud.json and query env.DB: no passwords to store.
Run queries and browse results in the dashboard, or with lyrcloud db query.
psql passwords are signed tokens that expire within an hour, so nothing long-lived can leak.
Every database is its own cluster, encrypted and replicated across three availability zones.
Launch: 1 database, 0.5 GB and 250k DPU a month. Scale: 5 databases, 5 GB and 3M DPU. Past that, $14 per million DPU and $0.60 per GB-month from Lyrcloud credit.
Register or transfer a domain with free WHOIS privacy and Lyrcloud DNS, paid by card or with Lyrpay.
Learn moreResponse caching, static files and whole static sites for your edge functions, with cache headers you control and purges from the CLI.
Learn moreRate limits, IP rules, a firewall for common attacks, bot checks and secure headers for your edge functions, set in lyrcloud.json and enforced before your code runs.
Learn moreCreate a free account in under a minute. No credit card required.