Deployment Overview¶
Deploying USL applications to production.
Deployment Options¶
USL applications can be deployed to:
- Docker - Containerized deployment
- Kubernetes - Orchestrated containers
- Serverless - AWS Lambda, Google Cloud Functions, Azure Functions
- Traditional VMs - Any Linux/Windows server
- Platform-as-a-Service - Heroku, Render, Fly.io
Generated Assets¶
USL generates everything needed for deployment:
generated/
├── src/ # Application code
├── Dockerfile # Docker configuration
├── k8s/ # Kubernetes manifests
│ ├── deployment.yaml
│ ├── service.yaml
│ └── ingress.yaml
├── terraform/ # Infrastructure as code
└── .github/
└── workflows/
└── deploy.yml
Quick Deploy¶
Docker¶
Kubernetes¶
Serverless¶
Environment Variables¶
Configure via environment:
Database Migrations¶
USL generates migration files:
Monitoring¶
Generated apps include:
- Health check endpoint:
/health - Metrics endpoint:
/metrics - OpenAPI spec:
/api/openapi.yaml