Consacrant

A 157 MB app on a 2 GB box: sizing servers honestly

We measured a cold Next.js build at 3.8 GB and the running app at 157 MB. That 24x gap decides your hosting bill.

1 min read
deep blue and purple flowing shapes

The instinct is to size the server for the build. The build is the heaviest thing that will ever run, and it does not need to run there at all.

Build off-box, ship the output

CI compiles and rsyncs a standalone bundle. The server only executes it. That one decision is the difference between a $12 instance and a $48 one.

Keep reading