dcubix

Ship software
peacefully

Connect your repo, select your regions. Dcubix takes care of scaling, firewalls, and caching.

Your stack

If it runs on your laptop,
it runs here.

Any framework, any language. Or bring a Dockerfile.

Built in

The parts you'd rather
not build.

Scales out, and up automatically

More instances when it's busy, fewer when it's quiet, in 42 regions. Each one has room to grow to 8 cores and 32 GB. Serverless sites take millions of users.

CPU
8 cores
Memory
32 GB

Deploys on git push.

Push to your branch. It builds, releases and goes live.

Security at the edge.

Every app sits behind a firewall and a cache, close to your users, before a request ever reaches it.

  • Edge firewall
  • WAF rules
  • Edge caching
  • Free HTTPS

A link for every branch.

Static sites and serverless functions get a preview per branch. Delete the branch and it goes.

main
shop-7k2q.dcubix.dev
checkout-v2
checkout-v2--shop-7k2q.dcubix.dev

Logs and metrics, live.

Every process in every region: logs, CPU, memory and traffic.

Volumes when you need them.

Attach one to a process. Its files stay through deploys and restarts.

Products

Intutive infrastructure.
Each made for its job.

Magic Apps

Runs anything a server runs, and scales it for you.

Connect a repo and pick regions. Dcubix detects how to build and start it, then runs your web process, workers and scheduler, with more instances when it's busy and fewer when it's quiet.

  • 8 cores and 32 GB per instance
  • 42 regions
Runs
See Magic Apps

Managed Postgres

Your own Postgres, on its own IP.

A real Postgres server for your apps: its own address, its storage on a volume, and every change kept so you can roll it back to a point in time.

  • Own IP address
  • Point-in-time restore
  • Beta open now
Try the beta

Serverless Sites

Static sites and serverless functions, in 330+ cities.

Connect a repo. Each visitor is served from the city nearest them, and your functions run there too. Every branch gets its own preview.

  • 330+ cities
  • Unlimited bandwidth
  • $1 per million requests
Builds
See Serverless Sites
FRAIADGRUBOMSINNRTSYD
                        
                            1
                            import { drizzle } from 'drizzle-orm/d1'
                          
                            2
                            import { connect } from '@dcubix/sqlite'
                          
                            3
                            import { users } from './schema'
                          
                            4
                             
                          
                            5
                            // Over HTTPS: nothing to pool, nothing to keep open
                          
                            6
                            const db = drizzle(connect({ url: env.DCX_DB_URL, token: env.DCX_DB_KEY }))
                          
                            7
                             
                          
                            8
                            const rows = await db.select().from(users).limit(3)
                          
                            9
                            console.log(rows)
                          
                      
                        
                            1
                            import { drizzle } from 'drizzle-orm/d1'
                          
                            2
                            import { connect } from '@dcubix/sqlite'
                          
                            3
                            import { users } from './schema'
                          
                            4
                             
                          
                            5
                            // Over HTTPS: nothing to pool, nothing to keep open
                          
                            6
                            const db = drizzle(connect({ url: env.DCX_DB_URL, token: env.DCX_DB_KEY }))
                          
                            7
                             
                          
                            8
                            const rows = await db.insert(users)
                          
                            9
                              .values({ name: 'Alan', email: 'alan@acme.dev' }).returning()
                          
                            10
                            console.log(rows)
                          
                      
                        
                            1
                            import { drizzle } from 'drizzle-orm/d1'
                          
                            2
                            import { eq } from 'drizzle-orm'
                          
                            3
                            import { connect } from '@dcubix/sqlite'
                          
                            4
                            import { users } from './schema'
                          
                            5
                             
                          
                            6
                            // Over HTTPS: nothing to pool, nothing to keep open
                          
                            7
                            const db = drizzle(connect({ url: env.DCX_DB_URL, token: env.DCX_DB_KEY }))
                          
                            8
                             
                          
                            9
                            const rows = await db.select().from(users)
                          
                            10
                              .where(eq(users.email, 'ada@acme.dev'))
                          
                            11
                            console.log(rows)
                          
                      
$ node users.js[ { id: 1, name: 'Ada', email: 'ada@acme.dev' }, { id: 2, name: 'Linus', email: 'linus@acme.dev' }, { id: 3, name: 'Grace', email: 'grace@acme.dev' }]
$ node users.js[ { id: 4, name: 'Alan', email: 'alan@acme.dev' }]
$ node users.js[ { id: 1, name: 'Ada', email: 'ada@acme.dev' }]

Serverless Database

The fastest way to give your app a database.

SQLite over HTTPS, made for serverless functions: no connections to pool, no server to size. Keep your ORM; Drizzle and Kysely work through their D1 drivers.

  • $1 per billion reads
  • $1 per million writes
  • $0.50 a month, side project
Works with
See Serverless Database
Pricing

Pay for what runs.

No plans. No seats. Metered by the second, the request and the row.

Magic Apps

By the second

CPU your code actually uses, memory it actually holds.

Compute
$0.025 per CPU, per hour$1 buys 40 CPU-hours
Memory
$0.0125 per GB, per hour$1 buys 80 GB-hours
Data sent out
$0.05 per GB$1 buys 20 GB

Serverless Sites

By the request

And the millisecond of CPU.

Requests
$1 per million$1 buys 1 million requests
CPU time
$0.03 per million milliseconds$1 buys 33 million milliseconds
Bandwidth
UnlimitedFree, however much you serve

Serverless Database

By the row

Rows read and written, storage by the hour.

Storage
$1 per GB, per month$1 buys 1 GB for a month
Rows read
$1 per billion$1 buys 1 billion rows read
Rows written
$1 per million$1 buys 1 million rows written
HTTP requests
$1 per million$1 buys 1 million requests

Managed Postgres

By the second

Your own Postgres, on its own IP.

Compute, memory and data sent out
Same as Magic Apps$0.025 per CPU-hour, $0.0125 per GB-hour, $0.05 per GB out
Storage
$0.15 per GB, per month$1 buys 6.6 GB for a month
Public IPv4
$2 per monthOne address per database
Backups
Free7 days, restore to any second

What a month costs

A side project
A Next.js site with a small database

A portfolio or a small SaaS on Serverless Sites. It serves 500,000 requests a month at about 4 ms of CPU each, and keeps its data in a 250 MB database that reads 50 million rows and writes 200,000. Bandwidth is free.

Requests: 500,000
$0.50
CPU time: 4 ms each
$0.06
Database: 250 MB stored
$0.25
Rows read: 50 million
$0.05
Rows written: 200,000
$0.20

$1.06a month

A busy API
Three regions all month, a rush in Frankfurt every afternoon

An API on Magic Apps with a quarter of a CPU and 512 MB in three regions, all month. Every afternoon traffic spikes in Frankfurt, so that region adds five instances for four hours, then settles back. You pay for the rush only while it lasts, plus 50 GB of data sent out.

3 × 0.25 CPU, all month
$13.50
3 × 512 MB, all month
$13.50
Frankfurt rush: 5 × 0.5 CPU, 4 h a day
$7.50
Frankfurt rush: 5 × 512 MB, 4 h a day
$3.75
Data sent out: 50 GB
$2.50

$40.75a month

A nightly batch job
8 cores and 16 GB for two hours a night

Each night a job crunches the day's data on 8 cores and 16 GB for two hours, then idles on 200 MB and 0.02 CPU until the next run.

8 cores × 2 h × 30 nights
$12.00
16 GB × 2 h × 30 nights
$12.00
Resting: 200 MB, 22 h a day
$1.65
Resting: 0.02 CPU, 22 h a day
$0.33

$25.98a month

They ship in peace.

Our drug discovery runs need many CPU cores, but only while they run. Paying AWS M-class instance all day made no sense. On Dcubix we pay for the cores while they work.
Stalin ArulsamyTargetGen
We had a working model on a laptop and needed it in front of researchers. On Dcubix it was live the same day. No servers to set up, no DevOps, just push and it's running.
RRajeshBreastCAR
We moved from AWS to a VPS, but managing the VPS was hard. Then we switched to the Dcubix app platform. We pay even less than the VPS, and everything sets itself up.
MNMohammed NiasDiabetome
Our clients are all over the world, so our site has to be fast everywhere. Dcubix serves it from the edge, close to each of them, and it loads quickly wherever they are.
IlamparithiPragmatic Project Consilium