Nubiecloud Docs
Concepts

Key concepts

The Organization → Project → Environment → Application hierarchy, and the difference between building an image and deploying it.

On Nubiecloud, your resources are organized in a cascade. Understanding this hierarchy makes everything else obvious.

The hierarchy

Organization        ← billing, plan, global resources, members
└── Project         ← one product, a share of the org's resources
    └── Environment     ← dev / staging / preproduction / production
        └── Application ← your deployed service
            └── Dependencies ← databases, Redis… (managed services)
Building blockRoleWhat attaches to it
OrganizationContainer for billing and shared resourcesPlan, global quotas, members, regions
ProjectGroups the applications of a single productProject quotas, environments, project members
EnvironmentIsolates the stages of the lifecycledev, staging, preproduction, production
ApplicationThe running serviceDeployed image, resources, env variables, domain
DependenciesServices the app needsPostgreSQL, MySQL, Redis, RabbitMQ, Kafka

ℹ️ Quotas cascade downwards. The organization's plan sets the total CPU / RAM / Storage. Each project consumes a share of that total; each application consumes a share of its project's resources.

Build ≠ Deployment

Two notions not to confuse:

  • Build: producing an image (an executable artifact) from your source code. See Builds.
  • Deployment: running an image in an environment, with its resources, its env variables and its network exposure. See Deploying an application.

You build first, then you deploy. The same image can be deployed in several environments.

See also

On this page