๐๏ธ Temporary Databases
Spin up PostgreSQL, Redis, MongoDB, or MySQL instances on demand. Pre-loaded templates, connection strings, auto-backup on expiry, and automatic cleanup. Perfect for prototyping, demos, and CI/CD testing.
What Are Temporary Databases?
Temporary Databases give you real, isolated database instances that auto-expire. No provisioning, no infrastructure management, no cleanup. Just spin up, use, and walk away. Perfect for:
- Prototyping โ Try out a schema idea without setting up infrastructure
- CI/CD testing โ Spin up a fresh database per test run, tear it down automatically
- Demos & interviews โ Pre-loaded sample data for product demos or coding interviews
- Training โ Give each student their own database instance that auto-cleans
- Microservice testing โ Test service interactions against real database engines
- Migration testing โ Test database migrations against a disposable copy
How It Works
- Navigate to Temporary Databases in your 25cent.cloud dashboard
- Select a database engine: PostgreSQL, Redis, MongoDB, or MySQL
- Choose a template (empty, e-commerce, blog schema, etc.) or start blank
- Set duration (1โ72 hours) โ instance spins up in seconds
- Get your connection string and start using it immediately
- Database auto-expires โ optional backup exported before cleanup
Pricing
1 quarter per hour (25ยข/hour). No monthly fees, no egress charges, no storage fees. All database engines cost the same. Sessions can be extended at any time.
Supported Engines
| Engine | Version | Use Cases |
|---|---|---|
| PostgreSQL | 16.x | Relational data, full-text search, JSON, geospatial |
| Redis | 7.x | Caching, sessions, queues, pub/sub, leaderboards |
| MongoDB | 7.x | Document storage, flexible schemas, aggregation pipelines |
| MySQL | 8.x | Traditional relational, WordPress, legacy migrations |
Templates
Pre-loaded templates get you started instantly with sample data and schemas:
- Empty โ Blank database, your schema from scratch
- E-commerce โ Products, orders, customers, inventory tables with sample data
- Blog โ Posts, comments, users, categories with realistic content
- SaaS โ Multi-tenant schema with users, organizations, billing, and permissions
- Analytics โ Event tracking, time-series data, aggregate views
API Usage
POST /api/temp-database/instances
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json
{
"engine": "postgresql",
"template": "e-commerce",
"duration": 4,
"enableBackup": true
}
Response:
{
"instanceId": "db_abc123xyz",
"engine": "postgresql",
"connectionString": "postgresql://user:[email protected]:5432/temp_abc123xyz",
"expiresAt": "2026-02-28T18:00:00Z",
"cost": 4,
"status": "running",
"template": "e-commerce"
}
Connecting
Use the connection string with any standard client:
# psql
psql "postgresql://user:[email protected]:5432/temp_abc123xyz"
# Node.js
const pool = new Pool({ connectionString: '...' });
# Python
conn = psycopg2.connect("postgresql://user:[email protected]:5432/temp_abc123xyz")
# redis-cli
redis-cli -h db.25cent.cloud -p 6379 -a pass
vs. Cloud DBaaS
| Feature | 25cent.cloud | AWS RDS | PlanetScale |
|---|---|---|---|
| Setup Time | Seconds | 5-10 minutes | 1-2 minutes |
| Monthly Minimum | $0 (25ยข/hour) | $15+/month | $29+/month |
| Auto-Cleanup | โ Yes | โ Manual | โ Manual |
| Pre-loaded Templates | โ Yes | โ No | โ No |
| Multi-Engine | โ PG, Redis, Mongo, MySQL | โ Multiple | MySQL only |
Security
- Each instance is fully isolated โ no shared tenancy
- Connections encrypted via TLS
- Unique credentials per instance โ non-reusable after expiry
- Optional auto-backup export (SQL dump / JSON) before cleanup
- Complete data wipe on expiry โ no residual data