Service Management
Services are the core unit in APSO. Each service represents a complete backend with its own database, API, and configuration.
Creating a Service
From Dashboard
- Log in to app.apso.cloudÂ
- Click + New Service
- Choose a template:
- Blank — Start from scratch
- SaaS Starter — Multi-tenant with auth
- API Only — Simple CRUD API
- Enter details:
- Name — Unique service identifier (lowercase, hyphens)
- Description — Service description
- Region — Deployment region
- Click Create
From CLI
# Create a new service
apso server new my-service
# Create from template
apso server new my-service --template saas-starter
# Create and scaffold locally
apso server new my-service --scaffoldService Configuration
General Settings
Navigate to Settings > General:
| Setting | Description |
|---|---|
| Name | Service identifier (cannot change) |
| Display Name | Human-readable name |
| Description | Service description |
| Region | Deployment region |
Schema Configuration
Navigate to Schema tab to edit your data model:
{
"entities": {
"Project": {
"scoping": "organization",
"fields": {
"name": { "type": "string", "required": true },
"status": { "type": "string", "enum": ["active", "archived"] }
}
}
}
}Changes to the schema trigger regeneration.
API Settings
Navigate to Settings > API:
| Setting | Default | Description |
|---|---|---|
| API Prefix | /api/v1 | URL prefix for all endpoints |
| Rate Limit | 1000/min | Requests per minute per user |
| CORS Origins | * | Allowed origins |
| Max Body Size | 10MB | Maximum request body size |
Database Settings
Navigate to Settings > Database:
- Connection String — PostgreSQL connection URL
- Pool Size — Connection pool configuration
- SSL Mode — SSL/TLS settings
Deployment
Auto-Deploy
Services automatically deploy when:
- Schema changes are saved
- Environment variables are updated
- Manual deploy is triggered
Manual Deploy
From the dashboard:
- Navigate to your service
- Click Deploy button
- Review changes
- Confirm deployment
From CLI:
apso deployDeployment Status
| Status | Description |
|---|---|
| Queued | Waiting in deployment queue |
| Building | Generating code |
| Deploying | Pushing to infrastructure |
| Running | Successfully deployed |
| Failed | Deployment error |
Rollback
To rollback to a previous version:
- Navigate to Deployments tab
- Find the version to restore
- Click Rollback
- Confirm rollback
Service Status
Health Checks
APSO performs continuous health checks:
GET /healthResponse:
{
"status": "healthy",
"database": "connected",
"uptime": 3600,
"version": "1.2.0"
}Status Indicators
| Status | Description | Action |
|---|---|---|
| Running | Healthy and accepting requests | None |
| Degraded | Partial functionality | Check logs |
| Stopped | Manually stopped | Start service |
| Error | Critical failure | Check logs, redeploy |
Starting and Stopping
Stop a Service
From dashboard:
- Navigate to your service
- Click Stop
- Confirm action
Stopped services:
- Don’t accept requests
- Don’t incur compute charges
- Retain all data and configuration
Start a Service
From dashboard:
- Navigate to your service
- Click Start
Service will return to Running status within seconds.
Deleting a Service
Warning: Deleting a service is permanent and cannot be undone.
From Dashboard
- Navigate to your service
- Go to Settings > Danger Zone
- Click Delete Service
- Type the service name to confirm
- Click Delete Forever
From CLI
apso service delete my-service --confirmWhat Gets Deleted
- All generated code
- Database and all data
- Environment variables
- Deployment history
- API keys associated with the service
Cloning a Service
To create a copy of an existing service:
- Navigate to the source service
- Click Clone
- Enter new service name
- Choose what to clone:
- Schema (always)
- Environment variables (optional)
- Database data (optional)
- Click Create Clone
Service Limits
| Resource | Free | Pro | Enterprise |
|---|---|---|---|
| Services | 3 | 20 | Unlimited |
| Entities per service | 10 | 50 | Unlimited |
| Database storage | 500MB | 10GB | Custom |
| API requests/month | 10,000 | 1M | Custom |
Related
Last updated on