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 Type | Description |
|---|---|
| Static websites | Websites consisting of static HTML, CSS, JavaScript, and related assets. |
| Frontend applications | Browser-based applications generated through a frontend build process. |
| Server-rendered applications | Applications requiring a server-side runtime. |
| Backend applications | Application services implementing server-side functionality. |
| Web APIs | HTTP-based application programming interfaces. |
| Full-stack applications | Applications containing frontend and backend functionality. |
| Background services | Application 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:
| Runtime | Example Applications |
|---|---|
| Node.js | React, Vite, Next.js, Express, Docusaurus |
| Python | Django, Flask, FastAPI |
| PHP | Laravel and other PHP applications |
| Java | Spring Boot and other JVM applications |
| .NET | ASP.NET Core and supporting services |
| Go | Compiled web applications and APIs |
| Static | HTML, 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
| Configuration | Value |
|---|---|
| Runtime | Node.js 22 |
| Dependency installation | npm ci |
| Build command | npm run build |
| Output directory | dist |
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:
| Framework | Typical Output Directory |
|---|---|
| Vite | dist |
| Docusaurus | build |
| Next.js static export | out |
| Other frameworks | Framework-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 Type | Description |
|---|---|
| Build-time | Required while generating the application build. |
| Runtime | Required while the application is executing. |
| Public | Information intentionally available to application users. |
| Confidential | Information 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.
| Resource | Information Required |
|---|---|
| CPU | Expected processing requirements. |
| Memory | Expected normal and peak memory usage. |
| Storage | Required application and persistent storage capacity. |
| Network | Expected traffic and transfer requirements. |
| Concurrency | Expected number of simultaneous users or requests. |
| Background workloads | Scheduled 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.