DeplAI
— credits
DeplAI

Application

Dashboard

HomeYour ProfileOrganizationsUsageDocumentation

Services

UI/UX customizerSecurity AgentDASTCloudDeployInstance ManagementCode ReviewerSoonSessions

BYOK

KeysCatalogCompareUsage

Account

BillingInvoicesCreditsRefer & EarnNEWIntegrations
Settings
DE

DeplAI

Free

— creditsFree
deplaiDocumentation

Start here

Services

Account and models

Help and reference

Help and reference

Production operations

Production readiness is a chain of verified states. Terraform success proves that an infrastructure action completed; it does not prove that bootstrap, application startup, dependencies, or HTTP health succeeded.

Production readiness is a chain of verified states. Terraform success proves that an infrastructure action completed; it does not prove that bootstrap, application startup, dependencies, or HTTP health succeeded.

Readiness model

Report a deployment as live only after the relevant bootstrap and health gates pass. Non-EC2 targets may have different lifecycle signals, but the same principle applies: use target-specific readiness, not a generic success flag.

Recommended promotion path

  1. 1Freeze or identify the source revision and application artifact.
  2. 2Run repository analysis and applicable security modules.
  3. 3Resolve blocking organization policy findings.
  4. 4Review architecture assumptions, estimate, Terraform, and plan.
  5. 5Apply to a non-production environment.
  6. 6Verify bootstrap, service health, logs, secrets, network reachability, and data migrations.
  7. 7Exercise rollback or recovery before production promotion.
  8. 8Repeat the approved process for production with tighter access and retained evidence.

Production topology

The production stack uses a public reverse proxy for TLS and keeps Connector, execution services, database, and supporting services on private container networks. Browser traffic reaches the Connector and a restricted same-origin WebSocket path. Connector calls execution services with a server-side service credential.

The Agentic Layer has privileged access to the container runtime so it can launch scanners and Terraform helpers. Treat its host as a trusted execution environment. Restrict host access, protect the Docker socket, patch the host, and do not publish internal service ports directly.

Credentials and secrets

CredentialProduction practice
GitHub OAuth/AppUse production callback and webhook URLs; grant minimum repository access; rotate secrets deliberately.
AWSPrefer narrowly scoped, short-lived credentials; separate environments and accounts where practical.
BYOKUse workload-specific provider keys, provider spend limits, and organization policy.
Internal service keysGenerate distinct random values and keep them server-side.
Session and encryption keysUse non-placeholder production values; back up only through an approved secret system.
Application secretsDeliver through the deployment secret flow; do not commit them to source or Terraform.

State and backups

Back up MySQL because it contains the control-plane records required to interpret projects, sessions, organizations, billing, DAST, AI configuration, and deployment history. Protect persistent project/report volumes according to your recovery target. Configure Terraform remote state and locking, restrict bucket and lock-table access, and test recovery.

External systems also need their own retention: GitHub repository history, AWS logs and state, provider billing records, and payment-provider records are not replaced by a DeplAI session.

Observability

Use three layers of evidence:

  • session status and logs for user-facing workflow history;
  • service and container logs for Connector, Agentic Layer, customization, database, and reverse proxy health;
  • external provider logs for GitHub delivery, AWS operations, model API failures, and payments.

Correlate with project, session, run, deployment, and external request identifiers. Do not place secret values in incident notes.

Failure domains

DomainTypical symptomProduction response
Control planeLogin, database, or authorization failuresRestore Connector/database health before retrying work
Execution planeLost socket, worker unavailable, stuck runInspect durable record and worker logs; determine whether resume is supported
ProviderRate limit, timeout, invalid modelUse approved retry/fallback and preserve resolved model evidence
Terraform/AWSPlan/apply error or lockRead diagnostics, state, and lock ownership before any recovery action
BootstrapInfrastructure exists but app is unavailableRead sanitized bootstrap phase and instance logs; do not report deployed
ApplicationHealth check fails after startupRoll back artifact or fix app/config; preserve infrastructure if healthy
DataMigration or database failureFollow application-specific recovery; image rollback alone may be unsafe

Change management

Use organization roles and security policy to separate who can read, run, approve, configure credentials, and operate deployments. A production approval should identify the source revision, artifact digest where available, environment, plan, expected cost, security evidence, rollback target, and operator.

Current limits

AWS is the implemented infrastructure apply and runtime provider. Azure and GCP can appear in advisory architecture/cost paths but are not equivalent production apply targets. Some live workflow context is process-local. DeplAI is not currently a full runtime monitoring or incident-management platform.

Related: Deploy | Instance management | Artifacts and recovery | Security and data

On this page

Readiness modelRecommended promotion pathProduction topologyCredentials and secretsState and backupsObservabilityFailure domainsChange managementCurrent limits