Use this when designing or understanding an automation platform — controller, inventory, credentials, scheduler, queue and workers.
Automation Architecture
Automation architecture describes the parts of an automation platform — controller or control node, inventory, credential store, scheduler, task queue, workers and API — and whether it pushes changes or targets pull them.
1. Architecture: control plane (controller, scheduler, state, secrets) and execution (workers, agents).
2. Secure the controller — it can change everything.
3. Separate credentials per environment.
4. HA for critical automation.
5. Back up state and config.
trigger → controller → workers/agents → targets → results
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Target-state verification ladder Verify boundary
Automation Architecture uses a strict target-state ladder for orchestrator/controller execution: request accepted → job/task succeeded → target object changed → effective runtime state confirmed → original workload verified.
Step 2 Verification path Verify boundary
Verify an automation architecture by tracing one bounded change end to end. Start from a known source revision and approved trigger, show which controller accepted it, which worker/runner executed it, which identity and target API were used, and which durable execution ID ties the stages together. Inject a safe failure at one boundary—invalid input, unavailable target, denied permission or timeout—and verify the failure is classified at that boundary rather than silently retried into a larger incident. Then perform an allowed change and read the target through an independent interface to show consumer-visible convergence. Finally, repeat the same request to test idempotency/deduplication and inspect the audit trail. Architecture verification is incomplete if it only shows that the controller reported success. For Automation Architecture, retain the pre-state, concrete execution/correlation identifiers and independent post-state together so the same claim can be checked later without interpreting a generic success message.
Step 3 Where it fails Narrow the fault
Failure analysis should move through the architecture in order: trigger/input → source/intent resolution → controller scheduling → worker execution → credential authorization → target API → asynchronous target convergence → independent verification. A healthy controller cannot show the target changed; a target API 2xx response may still precede eventual failure; and a failed verification may reflect stale read paths rather than failed mutation. Avoid compensating at a later layer for an earlier ownership problem—for example, adding controller retries when the target is rejecting an invalid request. Preserve the first failing step, request identity and target state before retrying. Recovery should be designed for partial completion, duplicate delivery and controller restart, and the original consumer-facing operation must be re-run after remediation to show closure. For Automation Architecture, remediation should change the first failing step and then repeat the original bounded operation plus independent read-back; avoid broad retries or scope expansion while target state is uncertain.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Subtopics
Go one level deeper into this subject.
A controller is the server component that stores job definitions, inventories and credentials and coordinates execution, such as AWX or Ansible Automation Platform, Puppet Server or the Jenkins controller.
Subtopic Managed NodeA managed node is a target system the automation configures, such as a server, network device or VM, reached by an agent or remotely over SSH, WinRM or an API.
Subtopic Control NodeA control node is the machine that runs the automation tool and connects to targets, such as an Ansible control node.
Subtopic Agent-based AutomationAgent-based automation installs an agent on each managed system, such as Puppet, Chef or Salt minions, which checks in with a server and applies configuration locally.
Subtopic Agentless AutomationAgentless automation connects to systems over existing protocols like SSH, WinRM or APIs, as Ansible does, so nothing needs installing on targets, though the control node needs network access and credentials.
Subtopic Push ModelIn the push model, a central controller connects to targets and applies changes when a job runs, as Ansible does.
Subtopic Pull ModelIn the pull model, managed nodes periodically fetch their desired configuration from a server and apply it themselves, as Puppet agents or GitOps controllers do, which suits large and changing fleets.
Subtopic Centralized AutomationCentralized automation runs all jobs from one platform or control node, giving one place for credentials, logs and access control, at the cost of a single point of failure and scaling limits.
Subtopic Distributed AutomationDistributed automation spreads execution across many workers, regions or sites close to the targets, improving scale and resilience but requiring coordination, shared state and consistent configuration.
Subtopic Workflow EngineA workflow engine orchestrates multi-step automation with ordering, branching, parallel steps, waiting, approvals and retries, such as AWX workflows, Temporal, Airflow or n8n.
Subtopic Job RunnerA job runner executes a defined automation job — playbook, script or pipeline — with its inputs and credentials, capturing output, exit status and logs for the controller.
Subtopic Task QueueA task queue holds pending automation tasks until a worker takes them, such as Redis, RabbitMQ or Celery, letting the platform absorb bursts and retry tasks that fail.
Subtopic SchedulerA scheduler in automation architecture starts jobs at defined times or intervals and tracks missed or overlapping runs, as part of the controller or as an external service like cron.
Subtopic WorkerA worker is a process or node that picks up tasks from the queue and executes them, such as an AWX execution node or Jenkins agent.
Subtopic State StoreA state store keeps the recorded state of managed resources between runs, such as Terraform state, so the tool can calculate what to change.
Subtopic InventoryThe inventory in automation architecture is the component that tells the platform which targets exist, how to reach them and which groups and variables apply.
Subtopic Credential StoreA credential store holds secrets that automation uses — SSH keys, API tokens, passwords — encrypted and injected at runtime, such as AWX credentials, Jenkins credentials or HashiCorp Vault, never in code.
Subtopic API LayerThe API layer exposes automation as REST or GraphQL endpoints, so other systems, portals and pipelines can start jobs, pass inputs and read results without direct access to the automation server.
Subtopic Automation Control PlaneThe automation control plane is the central layer that decides what runs where — job definitions, scheduling, access control, credentials and audit — separate from the workers that execute tasks.
- The control node or controller holds credentials for everything it manages.
- Push models need targets reachable at run time; pull models need agents.
- The state store and credential store are the most sensitive parts.
- Architecture diagram (controller, workers, state, secrets) — components
- Network paths from controller to targets — connectivity
- HA/backup of control components — resilience
ReferenceWhy it matters1 section · depth on demand
In depth
Automation architecture describes how the pieces of an automation platform fit together: where code lives, what runs it, how it reaches targets, where secrets come from, and how results are recorded.
| Layer | Examples |
|---|---|
| Source control | Git repositories |
| Source of truth | NetBox, CMDB, YAML data |
| Execution | Ansible AWX/AAP, CI runners, Rundeck, n8n |
| Secrets | Vault, cloud key vaults |
| Targets | Devices, servers, APIs, clouds |
| Observability | Job logs, metrics, notifications |
Separate the control plane (scheduling, approvals, credentials) from execution workers that sit close to targets, and restrict which networks the workers can reach.
ReferenceImportant terms & boundaries1 section · depth on demand
Mechanics
Automation Architecture is a control-plane design problem: triggers create work, a scheduler/orchestrator selects executable intent, workers execute against target APIs, state and secrets are read from durable systems, and telemetry records what actually happened. The most important boundary is ownership. Source control owns reviewed intent, the automation controller owns execution state, a secret store owns credentials, and the target platform owns the resulting resource state. Queues, locks, idempotency keys and retry policy determine how concurrent or repeated requests behave. A robust architecture also distinguishes desired state from observed target state and keeps verification on a read path that is not merely the same write response. Centralizing every action in one privileged runner creates a large blast radius; splitting responsibilities without correlation IDs makes causality impossible to reconstruct. For Automation Architecture, keep runtime identity, ownership, durable intent and consumer-visible target state as separate facts; this prevents a controller status or similarly named object from being mistaken for the state the automation is meant to manage.
ReferenceConfiguration & state1 section · depth on demand
Lifecycle
Treat automation components as workload components with versioning, change control, access policy, capacity, backup and lifecycle ownership. Define which repository/revision is deployable, how controller configuration is promoted, how secrets rotate, how workers are patched, and which target environments each identity may mutate. Prefer small, composable control planes with explicit interfaces over a single opaque script host. Architecture should include a safe bootstrap path, a break-glass/manual path, bounded retry and timeout behavior, and a recovery plan for controller/state-store loss. Revisit the design when scale, target diversity or organizational ownership changes; an architecture that was safe for ten devices may be unsafe for ten thousand. Preserve execution metadata long enough to correlate source revision, request identity, worker, credential identity, target and final read-back. For Automation Architecture, a fresh non-interactive execution should be reproducible from reviewed prerequisites and versioned intent, with explicit credentials, target scope, dependency versions and rollback/recovery ownership rather than hidden operator-session state.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in > Automation Architecture. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/azure/well-architected/operational-excellence/enable-automation · confidence 94%Quick lookup tables
→ Automation Architecture · operational reference
Context-specific ownership, verification, output and failure-boundary lookup for → Automation Architecture.
| Layer | Automation Architecture operational reference |
|---|---|
| Runtime/ownership | Automation architecture / Azure Well-Architected current · identify controller/worker/target ownership before mutation |
| Persistent intent | Versioned configuration/playbook/workflow with explicit dependencies and least-privilege identity |
| Verification | Inventory trigger → controller → state store → credential boundary → target API → independent read-back for one production automation path. |
| Expected interpretation | Every automation path has an explicit owner, durable source of intent, execution/control plane, credential boundary, target API and independent verification path; hidden interactive state is absent. |
| Recovery boundary | Preserve correlation IDs + pre-state, then verify target/service independently after remediation |
Deep reference
Healthy vs suspicious evidence
Output interpretation
Architecture-level output should be structured around lineage rather than console text. Capture request/change ID, source revision, workflow/job ID, runner identity, credential/service principal identity, target resource IDs, start/end timestamps, retry count, result class and independent read-back state. A dashboard saying “green” is a summary, not evidence; preserve the underlying identifiers needed to navigate to the controller record and target state. Distinguish rejected input, scheduling delay, runner failure, target API rejection, partial mutation and verification failure because each has a different owner and remediation. Metrics should include queue depth, duration, success/failure rate, retry rate and verification mismatch rate, while logs retain bounded context without leaking secrets. This output contract makes architecture changes measurable instead of anecdotal. For Automation Architecture, machine-usable identifiers/properties should be captured before presentation formatting; summaries should link back to the exact execution and target records used for the decision.