Skip to main content

Application Types

Understand the different types of applications you can deploy and manage on Nife.

Application Types Overview

Nife supports four main application types, each optimized for different deployment scenarios.

Apps (Containerized Applications)

What are Containerized Apps?

Containerized applications are Docker containers running your custom code or services.

Characteristics

  • Docker container-based
  • Microservices architecture
  • Scalable across replicas
  • Custom code deployable
  • Stateless or stateful
  • API backends
  • Long-running services

Use Cases

  • REST APIs
  • GraphQL servers
  • Microservices
  • Worker services
  • Custom applications
  • Real-time applications
  • Background jobs

Managing Container Apps

Create Container App

  • Click "Deploy App" button
  • Upload Docker image or Git repo
  • Configure environment
  • Set resource requirements
  • Deploy to regions

Scale Container Apps

  • Increase replica count
  • Load balance traffic
  • Update configuration
  • Rolling deployments
  • Blue-green deployment

Monitor Container Apps

  • CPU/memory metrics
  • Request counts
  • Error rates
  • Latency
  • Container logs

Container App Metrics

Key Metrics

  • Running replicas
  • Deployment status
  • Region deployed
  • Resource usage
  • Request metrics

Sites (Static Websites)

What are Static Sites?

Static websites served from CDN for fast global delivery.

Characteristics

  • HTML/CSS/JavaScript
  • Pre-built content
  • No server processing
  • CDN distributed
  • Fast delivery
  • Low latency
  • Cost effective

Use Cases

  • Documentation
  • Blogs
  • Portfolio websites
  • Landing pages
  • JAM stack applications
  • Single-page applications
  • Static content

Managing Static Sites

Create Static Site

  • Click "New Site" button
  • Upload build files or Git repo
  • Configure build process
  • Select CDN locations
  • Deploy to edge

Update Site

  • Redeploy from Git
  • Upload new files
  • Clear cache
  • Version history

Access Site

  • Open in browser
  • Copy URL for sharing
  • Custom domain
  • SSL certificate included

Databases

What are Database Services?

Managed databases for data persistence and querying.

Supported Databases

  • PostgreSQL
  • MySQL
  • MongoDB
  • Redis
  • Other data stores

Characteristics

  • Managed database
  • Automatic backups
  • High availability
  • Built-in replication
  • Connection pooling
  • Performance optimized

Use Cases

  • Data persistence
  • Relational data
  • Document storage
  • Caching layer
  • Session storage
  • Queue data
  • Analytics data

Managing Databases

Create Database

  • Click "New Database" button
  • Select database type
  • Configure size
  • Set regions
  • Create initial database

Manage Database

  • Backups and restore
  • User management
  • Connection strings
  • Performance tuning
  • Monitoring

Database Metrics

  • Connection count
  • Query performance
  • Storage usage
  • Backup status
  • Replication lag

Standalone Services

What are Standalone Services?

Custom Docker services running on dedicated servers you manage.

Characteristics

  • Docker-based
  • Server managed
  • Monolith architecture
  • Custom infrastructure
  • Full control
  • IP-based access
  • Status monitoring

Use Cases

  • Legacy applications
  • Custom services
  • Specialized workloads
  • On-premises integration
  • Custom infrastructure
  • Non-containerized apps
  • Server-based services

Managing Standalone Services

Register Server

  • Add server IP address
  • Configure credentials
  • Install Docker
  • Enable monitoring

Deploy Service

  • Docker image
  • Environment configuration
  • Port mapping
  • Resource allocation

Monitor Services

  • Service status (active/inactive)
  • Server health
  • Performance metrics
  • Service logs

Comparison of Types

Feature Comparison

FeatureAppsSitesDatabasesStandalone
ScalabilityHighCDNBuilt-inLimited
ComplexityMediumLowMediumHigh
CostMediumLowMediumVariable
ManagementNifeNifeNifeYour infra
Auto-scalingYesNoNoNo
Global ReachYesYesRegionalLimited
Uptime SLA99.9%99.99%99.95%As configured

Deployment Type Indicators

Identifying Application Type

Each application shows its type:

  • App Icon: Containerized applications
  • Globe Icon: Static websites
  • Database Icon: Database services
  • Rocket Icon: Standalone services

Type-Specific Features

Apps Only

  • Replica scaling
  • Auto-restart
  • Rolling updates
  • Load balancing

Sites Only

  • CDN distribution
  • Cache purging
  • Build pipeline
  • Custom domains

Databases Only

  • Backups
  • Replication
  • Connection pooling
  • User management

Standalone Only

  • Server registration
  • Service listing
  • Custom monitoring
  • Direct IP access

Choosing Application Type

Decision Guide

Choose Apps for:

  • Containerized microservices
  • APIs and backends
  • Scalable workloads
  • Dynamic content
  • Auto-scaling needs
  • Global distribution

Choose Sites for:

  • Static content
  • Websites
  • JAM stack apps
  • Documentation
  • Fast delivery
  • Low complexity

Choose Databases for:

  • Data persistence
  • Relational data
  • Document storage
  • Caching
  • Managed service
  • Built-in features

Choose Standalone for:

  • Legacy apps
  • Custom infrastructure
  • Special requirements
  • Full control needed
  • On-premises integration
  • Specialized workloads

Application Type Details

Viewing Type Details

In Dashboard List

  • See deployment type
  • View type icon
  • Filter by type
  • Use type-specific filters

In Application Details

  • Full type information
  • Type-specific settings
  • Related services
  • Configuration options

Type-Specific Operations

Operations by Type

Apps Operations

  • Scale replicas
  • Configure environment
  • View metrics
  • Access logs
  • Restart service
  • Pause/resume

Sites Operations

  • Trigger rebuild
  • Purge cache
  • Configure domain
  • View build logs
  • Redeploy

Database Operations

  • Create backup
  • Restore backup
  • Manage users
  • Tune performance
  • Monitor connections

Standalone Operations

  • Check status
  • View services
  • Manage services
  • Monitor server
  • Manage registration

Integration Between Types

Multi-Type Deployments

Deploy multiple types together:

Common Stack

  1. App: API backend
  2. Database: Data store
  3. Site: Frontend website
  4. Cache: Redis for performance

Communication

  • Apps connect to databases
  • Sites call app APIs
  • Services use caches
  • Standalone integrates with others

Regional Considerations

Regional Features by Type

Apps

  • Multi-region deployment
  • Load balancing across regions
  • Regional failover
  • Global scale

Sites

  • CDN edge locations
  • Global distribution
  • Regional caching
  • Automatic failover

Databases

  • Regional replicas
  • Cross-region backup
  • Read replicas
  • Disaster recovery

Standalone

  • Fixed server location
  • No replication
  • Limited scaling
  • Single region

Best Practices

  1. Choose Right Type: Match your needs
  2. Use Databases Wisely: For persistence
  3. Leverage CDN: For static sites
  4. Scale Apps: Use multi-replica
  5. Monitor All: Track every type
  6. Document Architecture: Keep records
  7. Plan Growth: Design for scale
  8. Test Integration: Between types

Quick Decision Guide: Choosing Application Types

Use this table to quickly identify the right application type for your use case:

Use CaseBest TypeWhyKey Benefits
REST APIs, MicroservicesAppsContainerized, scalableAuto-scaling, multi-region
Websites, DocumentationSitesCDN-optimizedFast delivery, low cost
Data PersistenceDatabasesManaged serviceAutomated backups, replication
Legacy ApplicationsStandaloneCustom infrastructureFull control, on-premises integration

Application Type Comparison Matrix

Core Characteristics by Type:

FeatureAppsSitesDatabasesStandalone
ScalabilityHorizontal (replicas)CDN distributionReplicationLimited
ComplexityMediumLowMediumHigh
Cost ModelPay per replicaLow/FixedVariableCustom
Auto-scalingYesNoNoNo
Global ReachMulti-regionEdge locationsRegionalLimited
ManagementNifeNifeNifeYour responsibility
Best ForDynamic servicesStatic contentData layerCustom needs

Next Steps