Skip to main content

Application Requirements

Applications hosted through Zanthem Infrastructure must provide sufficient technical information to allow the application environment to be configured, deployed, maintained, and monitored.

Application compatibility is evaluated during onboarding.

Application Types​

Zanthem-managed hosting may accommodate applications including:

Application TypeDescription
Static websitesWebsites consisting of static HTML, CSS, JavaScript, and related assets.
Frontend applicationsBrowser-based applications generated through a frontend build process.
Server-rendered applicationsApplications requiring a server-side runtime.
Backend applicationsApplication services implementing server-side functionality.
Web APIsHTTP-based application programming interfaces.
Full-stack applicationsApplications containing frontend and backend functionality.
Background servicesApplication processes that perform non-interactive workloads, subject to approval.

Application suitability and resource requirements must be confirmed before provisioning.

Runtime Requirements​

Your organization must identify the programming language, framework, and runtime required by the application.

Common runtime environments include:

RuntimeExample Applications
Node.jsReact, Vite, Next.js, Express, Docusaurus
PythonDjango, Flask, FastAPI
PHPLaravel and other PHP applications
JavaSpring Boot and other JVM applications
.NETASP.NET Core and supporting services
GoCompiled web applications and APIs
StaticHTML, CSS, JavaScript, and generated static websites

This list describes common application environments and does not guarantee support for every framework, runtime version, or application configuration.

Confirm compatibility with your account manager.

Runtime Versions​

Applications should explicitly identify their required runtime version.

Where supported, version requirements should be defined within the application source repository.

Node.js Example​

A Node.js application may identify its runtime requirements through package.json.

{
"engines": {
"node": "22.x"
}
}

Applications may also provide an .nvmrc file.

22

The runtime version used for deployment must be consistent with the application requirements established during onboarding.

:::info Runtime maintenance

Applications should use maintained runtime versions.

Runtime upgrades may be necessary when existing versions reach end of support or introduce security concerns.

Coordinate runtime changes with your account manager.

:::

Source Repository Requirements​

Applications delivered through a source repository should include all files necessary to reproduce the application build.

A typical repository may include:

  • Application source code
  • Dependency manifests
  • Dependency lockfiles
  • Framework configuration
  • Build configuration
  • Runtime configuration examples
  • Application documentation
  • Database migration files, where applicable
  • Required static assets

Generated dependencies and sensitive configuration files should not be committed unless explicitly required and approved.

Example Node.js Repository​

example-application/
├── src/
├── public/
├── package.json
├── package-lock.json
├── .env.example
├── .gitignore
└── README.md

The actual repository structure depends on the application framework.

Build Configuration​

Applications requiring a build process must provide the commands necessary to install dependencies and generate the production application.

Example Build Configuration​

ConfigurationValue
RuntimeNode.js 22
Dependency installationnpm ci
Build commandnpm run build
Output directorydist

These values are illustrative.

Applications using other package managers, frameworks, or build systems must provide their corresponding requirements.

Static Application Example​

npm ci
npm run build

A static application must identify the directory containing its generated production website.

Common output directories include:

FrameworkTypical Output Directory
Vitedist
Docusaurusbuild
Next.js static exportout
Other frameworksFramework-specific

The output directory must be verified against the actual application configuration.

Single-page applications using browser-side routing may require additional routing configuration.

Notify your account manager if the application requires requests to unknown paths to be routed to its main HTML document.

Application Startup​

Applications requiring a persistent server-side runtime must provide a production startup command.

Example Startup Command​

npm run start

The startup command must launch the production application rather than a development server.

Applications should not depend on development-only features such as hot module replacement or interactive development prompts.

Application Network Configuration​

Server-side applications must listen on the internal network interface and port established for their hosting environment.

Applications should support configurable ports where possible.

Example Configuration​

HOST=0.0.0.0
PORT=3000

The actual listening address and port must match the approved deployment configuration.

The internal application port is not necessarily the port used by clients accessing the public application endpoint.

Public HTTPS traffic may be routed internally to the configured application port.

Environment Variables​

Applications should support external configuration through environment variables or another approved configuration mechanism.

Example Environment Template​

NODE_ENV=production
PORT=3000
APP_URL=https://app.example.com
AUTH_ISSUER=https://auth.zanthem.cloud/realms/example-company
AUTH_CLIENT_ID=example-app

Provide an example configuration file identifying the required variable names without including production credentials.

Your account manager will coordinate the configuration of environment-specific values.

Build-Time and Runtime Configuration​

Some application variables are required during the application build, while others are required when the application is running.

Applications must identify which variables are required at each stage.

Configuration TypeDescription
Build-timeRequired while generating the application build.
RuntimeRequired while the application is executing.
PublicInformation intentionally available to application users.
ConfidentialInformation restricted to trusted server-side environments.

:::warning Frontend environment variables

Environment variables embedded into frontend application builds may be accessible to users through the generated application source code.

Never include confidential client secrets, private keys, or other sensitive credentials in publicly distributed frontend builds.

:::

Persistent Storage​

Applications requiring persistent local storage must identify those requirements before deployment.

Examples include:

  • User-uploaded files
  • Generated documents
  • Application-generated assets
  • Local application data
  • Files required across application restarts

Files written to an application's ordinary runtime filesystem may not survive redeployment.

Applications must use the persistent storage locations established during provisioning.

Persistent storage requirements and data retention policies are subject to the applicable service agreement.

External Dependencies​

Applications must identify external services required for normal operation.

Examples include:

  • Authentication services
  • External APIs
  • Email delivery services
  • Payment processing services
  • External storage providers
  • Existing database connections

Provide any associated network connectivity requirements to your account manager.

External database connectivity may be supported as an application dependency. Standalone managed database hosting is not offered through this service.

Resource Requirements​

Provide estimated application resource requirements during onboarding.

ResourceInformation Required
CPUExpected processing requirements.
MemoryExpected normal and peak memory usage.
StorageRequired application and persistent storage capacity.
NetworkExpected traffic and transfer requirements.
ConcurrencyExpected number of simultaneous users or requests.
Background workloadsScheduled tasks or long-running processes.

Resource allocation is determined according to the application requirements and service agreement.

Applications must not intentionally exceed their assigned resource allocation.

Health Checks​

Server-side applications should provide a lightweight health check endpoint where appropriate.

Example Endpoint​

GET /healthz

Example Response​

{
"status": "healthy"
}

A health check endpoint should:

  • Respond without requiring interactive authentication.
  • Return an appropriate HTTP status code.
  • Complete within a reasonable response time.
  • Avoid exposing sensitive configuration.
  • Accurately represent the intended health condition.

Where appropriate, separate readiness checks may be used to determine whether the application is ready to accept incoming traffic.

Application Logging​

Applications should write operational logs to standard output and standard error, where supported.

Logs should include sufficient information to diagnose application failures without exposing sensitive information.

Never include:

  • Passwords
  • Client secrets
  • Authentication tokens
  • Private keys
  • Sensitive user information
  • Unredacted confidential configuration

Application logging requirements and access procedures are established during onboarding.

Deployment Readiness Checklist​

Before submitting an application for deployment, confirm that:

  • Application runtime requirements are documented.
  • Dependency manifests and lockfiles are included.
  • Production build commands are documented.
  • Production startup commands are documented, if applicable.
  • Application listening ports are identified.
  • Required environment variables are documented.
  • Confidential credentials are excluded from source code.
  • Persistent storage requirements are identified.
  • External dependencies are documented.
  • The production application has been tested.
  • Domain requirements have been communicated.
  • Resource requirements have been communicated.