Skip to content

Concept

08of 08

Applications

7 min read

Application platform

What it is, in one sentence

A service that takes your team’s code and keeps it live: it builds, publishes, gives it an address and keeps the previous version, without anyone tending a server.

01The problem

You write code.
And run servers.

Between the finished code and the live application there is work that is not the product: machines, network, certificate, publishing, rollback. An application platform takes that work on.

Publishing should not be a project. It should be a gesture you repeat several times a day, without fear.

Without a platform, each team builds its own pipeline. One publishes by script, another by a sequence of steps only one person knows. When something breaks, rolling back depends on remembering what was live before.

PaaS, platform as a service, is the model in which the team delivers the code and declares what it needs: an address, a database, a variable. The platform decides how to build, where to run and how to swap the version without interrupting the people using it.

The measure of a good platform is not the publish that goes right. It is the one that goes wrong: what stays live, what the screen says and how long rolling back takes.

02The idea

What leaves
your hands.

PaaS is a division of labor. The list on the left stops being the team’s job. The one on the right never does.

The platform takes over6 fewer tasks

  • ServersCreate, update and replace machines.
  • BuildTurn the code into an executable version.
  • Version swapPut the new one live and take the old one out, without interruption.
  • Address and certificateThe public domain and the secure connection.
  • ScaleMore instances when demand rises.
  • RollbackPut a version already recorded back live.

Stays with you5 decisions

  • The codeWhat the application does, and how.
  • The configurationVariables, secrets and limits for each environment.
  • The dataWhat to keep, for how long and who accesses it.
  • When to publishWhen a version is ready, and for which environment.
  • The authorizationWho on the team can publish and promote.

03How it works

The new version goes up.
The previous one holds.

The platform only switches traffic after confirming that the new version answers. If a step fails, the publish stops there. Whoever was live keeps serving.

A publish that fails, and what happens to the people using itFictional example.
  1. CodeThe platform fetches the code from the repository.
  2. BuildGenerates the executable version.
  3. RecordStores the version. It never changes again.
  4. ConfigureApplies the configuration to the environment, alongside the version that is live.
  5. Respond: did not answerThe deployment 9 publish stops here. The address is not switched.
  6. Deployment 8 stays liveBefore, during and after the attempt. Every request still reaches it, and nobody saw 9 fail.

The swap is the last step.Build, record and configure happen alongside the version that is live. Traffic only changes at the end.

Failing is safe.The step that fails ends the attempt. There is no half-deployed application live.

Rolling back is not redoing.The previous version is recorded and intact. Restoring it rebuilds nothing.

04The principles

Five guarantees.
All about trust.

These five guarantees are what separates an application platform from a publish script.

The version

A version that does not change

Every publish generates a recorded version. It is not overwritten, and that is why you can know exactly what is live.

deployment 8 · recorded

The same artifact

What was tested in staging is the same binary that goes to production. Promoting does not rebuild.

staging = production

The previous one stays live

The new version only receives traffic once it is confirmed. Until then, and if anything fails, the previous one keeps serving.

9 failed · 8 live

Access

An environment is a boundary

Each environment has its own quota, network and configuration. One does not reach the other without authorization.

network closed by default

One door for everyone

People, command line and automation use the same governed interface. Nobody publishes through direct access to the infrastructure.

same API · same record

05Evidence

“Live” is not
one single thing.

“Published” can mean five different things. A good platform says how far it verified, instead of just saying it finished.

  1. 1Nothing checkedThe publish has started. That is all you know.
  2. 2Version checkedWhat was built is what was recorded.
  3. 3Configuration appliedThe environment received this version’s configuration.
  4. 4Application respondingIt responds inside the environment.
  5. 5Address confirmedPeople accessing from outside get this version.

06Common mistakes and evaluation

Ask to see
a failure.

Every demo shows the publish that goes right. The evaluation that matters is the other one: break it on purpose and look at what stays standing.

Five common mistakes

  1. Publishing on top

    Overwriting the version in use erases the way back.

  2. Rebuilding for every environment

    If production builds again, what was tested is not what runs.

  3. “Finished”, without saying what

    A green notice that does not say what was verified hides the failure until the customer finds it.

  4. Logging into the server to fix it fast

    A fix made by hand creates a state that no version describes.

  5. Environments that can see each other

    Staging that reaches the production database is an incident with a date already set.

How to evaluate a solution0 of 9 checked

07From concept to product

Zero

How NNumbers
applies it.

Zero publishes and runs your team’s applications: projects, services, deployments, environments and networks. You point it at a repository. The platform builds, publishes and gives it an address.

The concept asks forZero has

Publish without servers

Publishing

The platform fetches the code at the reference you provide and builds the image from the repository’s build file. A publish goes through nine steps, and you follow each one.

Image built (2 of 9)

A version that does not change

Deployments

The image integrity is confirmed and the version is recorded before any change to the environment. A recorded version is not overwritten.

deployment 8 · live

The previous one stays live

Restore

If a step fails, the publish stops there and the screen says where. Whoever was live keeps serving. Restoring rebuilds nothing: the return goes through six of the nine steps.

deployment 9 failed

The same artifact

Promote

It takes the tested version to another environment and reuses the same artifact: both environments run the same binary.

loja-web · promoted

Saying what it verified

Evidence

Every deployment shows how far the platform actually verified. There are five steps, from “Not verified yet” to “Address confirmed”.

Application responding

One door for everyone

Governed API

The console, the Zero command line and the service accounts use the same API: same request, same scope, same authorization.

person · service account · agent

Real product screen · sample data · the publish fails and the previous version stays live

Zero runs on NNumbers’ own infrastructure, operated by NNumbers — you do not need to buy [N]umbersCloud to use Zero. Whoever publishes does not get, nor need, administrative access to it. Consumption is measured from the first publish.

Explore Zero

Bring a repository.
Watch the publish fail.

You point us at one of your team’s applications. We show the steps, the address and what the screen says when something goes wrong.

Talk to NNumbers