Skip to Content
Console guideSites and APIs

Prerequisites

To create a project through the API, the user or organization API Key needs project.create on organization:*. If the project is created as PostgreSQL/MariaDB, use database.create; for Cache, Queue, or Valkey, use managed_service.create. To read the project afterward, grant project.read on project:<project-id>.

An owner session has full access. assistant, member, and API Keys need the corresponding grants.

To create a project on Zenifra, you need:

  • a created and verified account
  • to be signed in to the console

Accessing Project Creation

In the console sidebar, click + Create project.

Console dashboard with Create project highlighted in the sidebar

Video: creating an HTTP project from an OCI image, from the console to the live application.


Step 1: Choose the Project Type

Zenifra offers different application types for deployment:

Console Create New Project screen with HTTP Application selected as the project type

HTTP Application

Ideal for:

  • web applications (React, Vue, Angular)
  • HTTP servers (Nginx, Apache)
  • REST APIs
  • Node.js, Python, Bun, Go, Java, and PHP applications via Git repository (GitHub, GitLab, or Forgejo)
  • .NET, Nginx, Apache, and other stacks via OCI Image

Publishing methods

When you create it in the console, the Project Source of an HTTP project can be:

  • Git repository: choose the Git provider (GitHub, GitLab, or Forgejo), then select the repository and branch and choose an update mode. If you want every push to that branch to publish automatically, select Automatic by branch; on GitLab, turn on Auto-deploy. You can change the mode after creation; see GitHub Deployment, Deploy from GitLab, and Deploy from Forgejo. You can also edit the pre-build, build, and start commands on the edit project screen. pre-build and build are optional; start is required.
  • OCI Image: provide a standard OCI image to publish the application. In this flow, new versions are published by updating the image or tag in the console, with the CLI, with the API, or with the GitHub Action.

You can also start from a template or create the project with the CLI.

PostgreSQL Database

If you need a managed database, see our tutorial on how to create a PostgreSQL database.


Step 2: Select the Plan

Plans define the available resources and the price of your application. Each plan offers different levels of:

  • CPU, Memory, and GPU
  • free storage (when available)
  • exclusive features (custom subdomain, IP blocklist, etc.)

Choose your Plan section with the plans and hourly, monthly, and yearly prices

Payment Models

Choose how you want to pay for your project:

ModelDescriptionIdeal for
HourlyPay for each hour of use. Only pay for the time your application stays active.Projects with intermittent use, testing, development
MonthlyFixed monthly price. Instance reserved for you during 30 days.Applications that need to stay always available
YearlyAnnual conditions according to the current offer. Instance reserved for long-term projects.Long-term projects

Tip: In hourly billing, you pay for running time, with the cycle's total rounded up to the next full hour: if your application with 1 instance runs only 10 minutes in the month, you pay for 1 hour of the plan.


Step 3: Configure Basic Information

Hourly payment type and Basic Information with the project name and description filled in

Project Name

The name is used to:

  • identify your project on the dashboard
  • create automatic subdomains

Name rules:

  • Minimum: 6 characters
  • Maximum: 32 characters
  • Only lowercase letters, numbers, and hyphens
  • Example: my-web-project, my-company-api

Description

Optional field to add information about the project. It helps organize and identify projects when you have many of them.


Step 4: Configure the Project Source

Git repository

If you selected Git repository, choose the Git provider (GitHub, GitLab, or Forgejo), the repository, the main branch, and the application runtime. For Node.js, Python, Bun, Go, Java, and PHP projects, review the pre-build, build, and start commands before creating the project. On Node.js, Python, and Bun, not every project needs build; the field can stay empty when the application only needs start. On Go and Java, keep build filled in: it produces the binary or jar that start runs.

The optional Root directory field sets the repository folder where install, build, and start run. Keep . to use the repository root. In a monorepo, enter the relative path of the application folder, such as backend or apps/api, without .. and without a leading slash. See Root directory and monorepos.

In Automatic by branch mode, every push to the selected branch publishes a new version. In Manual, By Tag, and By Release modes, updates follow the selected action or event. See GitHub Deployment for details.

OCI Image

The OCI image is the template that will be used to create your instance. You can use public or private images.

Source and port section with port 80, Docker Image as the source, and the image docker.io/nginx:1.30.5

Public Image

Images that do not require authentication to download. Examples:

docker.io/nginx:1.30.5-alpine
docker.io/metabase/metabase:v0.50.0
docker.io/wordpress:6.5.3-php8.2-apache

Private Image

For images in private registries, you need to configure authentication:

Option 1: AWS ECR

  • AWS region where your repository is located
  • Access Key ID and Secret Access Key
  • Your AWS account ID

Option 2: Username and Token

  • Registry username
  • Access token or password

Important: Always use specific tags (such as v1.2.3) instead of latest. This ensures that your application always uses the same image version.


Step 5: Configure Port and Instances

Application Port

The port your application listens on internally. External traffic (HTTP/HTTPS on ports 80 and 443) is routed to that port.

Common ports by technology:

TechnologyDefault Port
Node.js3000
Python8000
Java/Spring8080
PHP8080
Nginx80

Number of Instances

Number of replicas for your application:

  • 1 instance: ideal for low-traffic applications or testing
  • 2+ instances: high availability and load balancing

Recommendation: For production applications, use at least 2 instances to improve availability in case of failures.


Step 6: Environment Variables

Environment variables (ENVs) are settings that your application can access at runtime. They are useful for:

  • sensitive settings (API keys, passwords)
  • external API URLs
  • settings that change between environments

ENV examples:

DATABASE_URL=postgres://user:pass@host:5432/db
API_KEY=your-key-here
PORT=3000

Limit: Up to 50 environment variables per project.


Step 7: Configure Storage

Does the application need to keep files?

Choose "No" for applications that do not keep files (such as stateless web servers). The instance uses the temporary disk included in the plan, and the Console shows its size. Everything the application writes is deleted on restart or when a new version is published. Files that can be deleted after use, such as imports, generated PDFs or reports, can stay in /data or /tmp.

Choose "Yes" if your application needs to:

  • save files that should survive restarts
  • keep user uploads

With "Yes", the Console asks for the capacity and directory below.

Note: Persistent storage data is replicated across 3 different instances. That means if you save a PDF file and, for some reason, a Zenifra server fails, your locally saved file still remains available.

Storage Capacity

Persistent storage only.

  • Minimum: 1 GB
  • Maximum: 250 GB

Warning: In hourly billing, storage can only be increased, never reduced. For monthly or yearly contracts, storage cannot be changed after project creation.

Directory to Persist

Absolute path of the directory inside the container whose data will be saved:

/app/data
/var/lib/postgresql/data
/uploads

Important: You can choose the persisted folder when creating the project, but that path cannot be changed later.


Step 8: Configure Domains

Before configuring domains, choose the project exposure:

  • Public: Zenifra creates a public route and domain for the application.
  • Private: the application runs without a public internet route and does not receive a Zenifra domain.

Use private projects for automations, workers, internal routines, or applications that do not need external traffic.

Zenifra Subdomain

Every public HTTP project receives a Zenifra subdomain. Zenifra first tries the project name; if that name is already in use, it adds a random suffix to keep the address unique. The project ID is not part of the address.

For a custom subdomain, use 6–54 characters with lowercase letters, numbers, and internal hyphens. The address cannot start or end with a hyphen.

Public projects on plans above Basic can also choose a custom subdomain in the following format:

your-project-sub-domain

Custom Domain

You can use your own domain (for example api.yourcompany.com) instead of the default subdomain, but this is configured after the public project has already been created and is reachable through the default Zenifra domain.

To configure after creation:

  1. Open the project settings
  2. Add your custom domain (for example api.yourcompany.com)
  3. For subdomains, such as api.yourcompany.com, configure a CNAME pointing to the subdomain created by Zenifra
  4. For root domains, such as yourcompany.com, create only an A record on @ with the value shown in the Console and delete the other records on @ (AAAA, ALIAS, ANAME, CNAME, and other A records); the Console marks the A and AAAA rows that get in the way with ❌ Remove
  5. Publish the SSL validation TXT records shown in the console, if requested

Limit: Up to 20 custom domains per project.


Step 9: Configure Network Access (Premium Plus and Higher)

This option is available from the Premium Plus plan.

Turn on Set restricted access and blocked IPs to fill in the lists. After creating the project, you change everything in Edit project, in the Protection section.

Restricted access: only these IPs can access

Defines which IP addresses can access your project. Non-listed IPs get the not found page (404).

CIDR format:

  • 0.0.0.0/0 - Allows all IPs
  • XXX.XXX.XXX.XXX/YY - Allows only that IP and its block

You can add your current IP automatically with one click.

Blocked IPs

Defines specific IPs that are denied access (403).


Step 10: Finish Creation

  1. Review all settings
  2. Click "Create Project"
  3. Wait a few seconds for creation

Project Cost Summary and the Create Project button

Project Created Successfully confirmation showing the project ID

After Creation

The console confirms the creation and shows the Project ID. When you click Continue, you return to the project list, where the new project shows its current status:

Project list with the new project running and the Open button highlighted

Open the project to see:

  • Project ID: unique identifier used by the CLI, the API, and the GitHub Action
  • Public address: available when the project was created as public
  • Status and logs: to follow the first deployment

Project page with the Project running status, the plan, and one active instance

When the status changes to Project running, the application already responds at the public address over HTTPS:

Default nginx page opened at the project public address

To automate the project through the API, CLI, or GitHub Actions, create an organization API key with only the scopes you need. Store the key in a secret manager and never commit it to the repository.


Next Steps


FAQ

Can I change the plan after creating the project?

It depends. If the payment model is Hourly, you can change the plan at any time. On monthly or yearly contracts, the plan cannot be changed during the contracted period. Projects on the Free plan (legacy) can move to a paid plan, but a paid project cannot move to Free.

How do I update my project image?

If the project uses Git repository as the source, the selected update mode defines how to publish: Automatic by branch responds to pushes, while Manual, By Tag, and By Release follow their respective flows. If the project uses an OCI image, update the image in the console, with the CLI, with the API, or with the GitHub Action.

Can I change the pre-build, build, and start commands later?

Yes. In projects with source Git repository, you can edit those commands and the Root directory after creation on the edit project screen.

Can I change the persistence directory later?

No. The directory chosen during creation for persistent storage, such as /data, cannot be changed later.

Can I have multiple projects?

Yes. Paid plans have no fixed project limit, and each project is billed according to its settings. On the Free plan (legacy), the organization has an instance limit; see Limits and quotas.

How do I delete a project?

  1. Open the specific project page
  2. Click Delete
  3. Confirm the action

Warning: This action is irreversible. All data and settings are permanently deleted.

Last updated on

On this page