Deploying Bots

Once you have built and tested your automation, you can deploy your bot to a live environment. Narakim manages the full deployment lifecycle — from containerization to orchestration to health monitoring.

How Deployment Works

  1. You build and validate your automation on the Logic canvas.
  2. You navigate to the Deployments tab and create a deployment configuration.
  3. You click Deploy — Narakim packages your automation graph, resolves secrets, and spins up an isolated Docker container running the Automation Engine.
  4. The bot instance starts processing events in real time.
  5. You monitor the instance status, metrics, and log stream from the Studio.

Deployment Configuration

SettingOptionsDescription
EnvironmentDEVELOPMENT, PRODUCTION, DEVELOPMENTLogical grouping for the deployment
ProviderLOCAL_DOCKER, AWS_ECS, AWS_LAMBDA, AZURE_CONTAINER, GCP_CLOUD_RUNWhere the container runs
Resource TierSMALL, MEDIUM, LARGE, XLARGECompute and memory allocation
Health CheckPath + intervalEndpoint to verify the container is healthy
Auto-RestartEnabled / DisabledAutomatically restart the container on crash
Auto-ScaleEnabled / DisabledScale horizontally based on load (provider-dependent)
Env VarsKey-value pairsCustom environment variables injected at runtime

Bot Instance Lifecycle

STOPPED → STARTING → RUNNING
                         │
                    ┌────┴────┐
                    ▼         ▼
                  ERROR    DEGRADED
                    │
                    └── STOPPED (on auto-restart)
StateMeaning
STOPPEDThe bot instance is not running.
STARTINGContainer is being provisioned and initialized.
RUNNINGBot is live and processing events.
ERRORA fatal error has occurred. Check the log stream.
DEGRADEDPartial functionality — some extensions may be failing.

Monitoring a Running Instance

From the Deployments tab, you can see:

  • CPU and Memory usage — Live metrics for the running container.
  • Uptime — How long the current instance has been running.
  • Last Ping — Timestamp of the last health check response.
  • Activity Timeline — Deployment events: started, progress updates, completed, failed.
  • Log Stream — Real-time INFO, WARN, ERROR, and DEBUG entries from the Automation Engine.

Stopping a Bot

Click Stop on the running instance in the Deployments tab. The container is gracefully shut down. You can restart it at any time by clicking Deploy again.

Development vs Production

Use Development for testing with non-production data. Secrets can be scoped to an environment — configure separate development and production secrets in the Configurations tab to avoid using live credentials during development.

Was this helpful?
historyLast updated: May 10, 2026