Production Deployment
A production readiness checklist for AgentShield covering images, data stores, network exposure, secrets, monitoring, and operations.
This checklist turns a working evaluation into a production deployment. Production mode enforces many items automatically; the rest are operational decisions.
Start from the production overlay
infrastructure/kubernetes/overlays/production is a starting point. Hosts, TLS, managed data stores, and Secrets are yours to supply. Review the rendered YAML before applying it.
Images and supply chain
- Use released images from
ghcr.io/johannes7549/agentshield-<service>. - Verify each image's cosign signature against the release workflow identity.
- Pin every image by digest.
- Optionally enforce signatures at admission with a policy controller.
Data stores
- PostgreSQL 16 with TLS, all migrations applied, backups configured.
- Services connect as
agentshield_appwith a strong password; the owner role is used only for migrations and bootstrap. - Redis with TLS (
rediss://) and durability appropriate to the 130-second nonce window. - NATS JetStream over
tls://, with storage for seven days of events. - Private S3-compatible bucket over TLS; object lock or versioning if deletion is a concern.
Configuration
-
AGENTSHIELD_ENV=productionon every service. -
INTELLIGENCE_TOKEN(32+ characters) on the gateway and analyzer;INTELLIGENCE_URLon loopback (the production overlay's sidecar) or over HTTPS. -
SMTP_URLwithsmtps://orrequire_tls=true, and an HTTPSDASHBOARD_URL, if invitations are emailed. - Tools file with only the hosts you need, credentials from Secrets, and no development flags.
-
NODE_ENV=productionon the dashboard so the session cookie isSecure. -
DASHBOARD_ORIGINset if a proxy rewrites theHostheader.
Network
- TLS terminates in front of the gateway, control plane (if exposed), and dashboard.
- Only
/api/v1/runtime/on the gateway is exposed to agents. - The analyzer is reachable only from the gateway.
- Metrics ports are reachable only from Prometheus.
- NetworkPolicy is enforced by your network plugin.
- Gateway egress is limited to public HTTPS and the data stores.
Identity and access
- The bootstrap owner changes their password after first sign-in.
- Members have the least role they need; approvers and auditors use their dedicated roles.
- Each agent workload has its own agent, seed, and policy.
- Agent seeds are stored in a secret manager.
Policy
- An organization policy denies actions no agent should ever take.
- Irreversible actions require approval.
- Policy changes are reviewed before they are applied.
Monitoring and response
- Prometheus scrapes every service; the provided alert rules are loaded.
- An Alertmanager routes alerts to people.
- Someone triages content alerts and incidents.
- Audit heads are exported on a schedule and copied off-database.
- Runbooks exist for suspending agents and rotating credentials.
Verification
After deploying:
curl -fsS https://gateway.example.com/health/ready
curl -fsS https://agentshield.example.com/api/healthThen authorize a sample.echo call from a test agent, confirm the decision appears in the console, and run the chaos catalog from the Chaos section to confirm defensive properties hold in your environment.
Was this page helpful?
Configuration
How AgentShield services are configured, how production mode tightens validation, and the configuration files that sit beside environment variables.
Scaling Considerations
How each AgentShield component scales, where contention appears, and how budgets and per-organization serialization affect throughput.