The database platform for content-driven websites
Astro DB is a fully managed SQL database that is fast, lightweight, and ridiculously easy-to-use.
No credit card required. Cancel anytime.
Astro DB is a fully managed SQL database designed exclusively for Astro.
Powered by LibSQL
LibSQL balanced lightweight efficiency with proven enterprise-grade performance.
Scale with confidence
Astro DBโs automatically scales up to meet demand and scales down to $0 when inactive.
Automatically configured
Everything is setup for you, like a TypeScript ORM with full type-safety out of the box.
Use Cases
Unlimited possibilities
Stop worrying about configuration, provisioning, and setupโjust start building. Unlock a universe of new site features with the only drop-in database designed exclusively for Astro.
- // Configure your database schemaconst Comments = defineTable({columns: {authorId: column.text(),postId: column.text(),body: column.text(),published: column.date({ default: NOW }),}})// Insert a new comment recordawait db.insert(Comments).values({authorId: "12345",postId: blogPostId,body,})
Features
Everything you need, included
Schema management
Your schema lives in your codebase, with automatic schema diffing and migrations.
Instant local development
Develop locally with zero dependencies. No Docker? No problem.
Webhooks
Changes to data trigger webhooks that can integrate with most third-party tools.
GitHub Automation
Easy-to-use simplicity meets powerful scalability, with a visual UI that will save you time.
Pricing
Get started for free,
then pay as you grow.
Base Plan
$0 / month
- Generous free tier
- No credit card required
-
Database
Unlimited
-
Applications
Unlimited
-
Storage
1GB included, per month
$1.00 per each additional 1GB
-
Row Reads
One billion included, per month
$0.001 per each additional 1M
-
Row Writes
One million included, per month
$1.00 per each additional 1M
Start building with
Astro DB today
astro add db
Copied!