Interview Prep/Ansible/AWX, AAP and Cloud Integration

How does AWX capacity work, and how do you scale it?

AdvancedProductionAWX, AAP and Cloud Integration
Answer

Capacity is measured in forks. Each instance's capacity comes from its CPU and memory (roughly 4 forks per CPU core, and about 100 MB of memory per fork), and an adjustment slider picks a point between the CPU-based and memory-based numbers. A job consumes its effective forks plus one, so a job with forks: 50 on 200 hosts uses 51 units.

Scaling levers:

  • Add execution nodes or bigger ones, grouped into instance groups (for example prod-eu, prod-us).
  • Pin job templates and inventories to instance groups so prod work is not queued behind dev jobs.
  • Use container groups to burst job pods into Kubernetes.
  • Use job slicing to split one huge job across nodes.

Watch pending job counts and wait times; a queue that keeps growing means capacity, not playbook speed, is the bottleneck.

All Ansible questions Roadmap: Ansible

More on AWX, AAP and Cloud Integration