Ch 5, Deployment Flashcards: The Claw AI Agent Ecosystem (Ava S. Barron)

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/24

flashcard set

Earn XP

Description and Tags

Concept flashcards for Ch 5, Deployment, based on The Claw AI Agent Ecosystem by Ava S. Barron (ISBN 979-8-2526-0474-9).

25 Terms

1
New cards

Loopback port binding

Prefixing the published port with 127.0.0.1 so the gateway listens only on the host. Without it, Docker publishes the port on all interfaces and the Control UI becomes reachable externally.

2
New cards

restart: unless-stopped

Compose restart policy that brings the container back after a crash or host reboot, but not after a deliberate docker compose down.

3
New cards

workspace/ volume

Operator-owned directory holding the identity files and agent configuration. You edit it directly, and it must be backed up.

4
New cards

state/ volume

Agent-managed directory holding session history, memory logs and checkpoints. It is what lets the agent remember; never delete it.

5
New cards

Healthcheck start_period

A grace period before Docker begins health checks, so a container that is still initializing is not restarted prematurely.

6
New cards

Image pinning

Referencing a fixed version tag or sha256 digest instead of :latest, so production does not pick up unintended updates.

7
New cards

openclaw onboard stages

Security acknowledgment, model provider setup, channel configuration, channel allowlists, and skills setup.

8
New cards

First message after onboarding

Ask the agent to read BOOTSTRAP.md and walk you through it. This runs identity initialization before any real work.

9
New cards

Settings the wizard skips

Budget limits, model routing, cache settings, memory governance, and heartbeat interval and routing. All need manual edits to openclaw.json.

10
New cards

dmPolicy: allowlist

Only user IDs in the channel's allowFrom list can message the agent directly. The default open policy lets anyone on the platform reach it.

11
New cards

groupPolicy: disabled

The agent ignores group chats. An open group policy lets any group member feed it prompt injection.

12
New cards

Telegram as first channel

The recommended starting channel because it needs the least credential setup and gives the fastest feedback for testing.

13
New cards

Control UI access rule

From a remote IP the Control UI works only over HTTPS with a valid certificate; otherwise use localhost. This is intentional.

14
New cards

SSH tunnel for the Control UI

Development access method: forward a local port over SSH to the server's loopback-bound gateway port.

15
New cards

.env secrets approach

Minimum viable option: secrets in an env file loaded by Compose. Gitignore it, set mode 600, and exclude secrets that reach beyond OpenClaw.

16
New cards

Docker secrets

Swarm-mode secrets stored and transmitted encrypted, exposed only to authorized services as files. Requires OpenClaw support for _FILE variables.

17
New cards

When to use an external secrets manager

When several people can SSH to the host, credentials are shared across services, regulation demands audited automatic rotation, or you deploy for a client.

18
New cards

Committed .env file

Treat every credential in it as compromised and rotate all of them. Deleting the file after a push does not undo the exposure.

19
New cards

Gateway token entropy

Generate the token randomly, for example with openssl rand -hex 24. Short or human-chosen tokens can be brute-forced against an exposed port.

20
New cards

Docker and ufw

Docker edits iptables directly and bypasses ufw by default, so check that the Docker-managed rules match your firewall intent.

21
New cards

openclaw doctor

Built-in policy audit that reports known misconfiguration patterns. Review every warning before going live.

22
New cards

Backup targets

workspace/ and state/. With a working Compose setup, these two directories are all a full recovery needs. Test restores quarterly.

23
New cards

archive/ directory

Holds earlier versions of identity files for rollback and audit. It is version history, not a backup.

24
New cards

Behavioral monitoring

A short weekly read of a few recent conversations, checking for misread instructions, missed confirmation gates and unexpected MEMORY.md writes.

25
New cards

Uptime Kuma

Optional external uptime monitor added to the Compose stack that polls the health endpoint and alerts when it fails.