Skip to main content
AWX supports dynamic inventory integration with major cloud providers, allowing automatic discovery and synchronization of hosts from cloud infrastructure. This eliminates manual inventory management and ensures inventory remains current.

Supported Cloud Providers

AWX integrates with the following cloud platforms:
  • Amazon EC2 (AWS)
  • Google Compute Engine (GCP)
  • Microsoft Azure Resource Manager
  • VMware vCenter
  • VMware ESXi
  • Red Hat Virtualization (RHV)
  • OpenStack
  • Red Hat Satellite 6
  • Red Hat Ansible Automation Platform (Controller)
  • Red Hat Insights
  • OpenShift Virtualization
  • Terraform State

Amazon Web Services (AWS)

AWS Credential Configuration

Create an AWS credential with your access credentials:

AWS EC2 Inventory Source

Create a dynamic inventory source:

Custom EC2 Inventory Plugin

For advanced configuration, create an SCM inventory with a custom plugin configuration:

AWS Regions

Supported AWS regions include:
  • us-east-1, us-east-2, us-west-1, us-west-2
  • eu-west-1, eu-west-2, eu-west-3, eu-central-1
  • ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2
  • ca-central-1, sa-east-1
  • And all other AWS regions

Microsoft Azure

Azure Credential Configuration

Creating Azure Service Principal

Azure Inventory Source

Custom Azure Inventory Plugin

Google Cloud Platform (GCP)

GCE Credential Configuration

GCE Inventory Source

Custom GCP Inventory Plugin

VMware vCenter

VMware Credential Configuration

VMware Inventory Source

VMware Inventory Variables

Configure additional source variables:

Custom VMware Inventory Plugin

Red Hat Virtualization (RHV)

RHV Credential Configuration

RHV Inventory Source

OpenStack

OpenStack Credential Configuration

OpenStack Inventory Source

Red Hat Satellite 6

Satellite 6 Credential Configuration

Satellite 6 Inventory Source

Terraform State

Terraform Backend Credential

For Terraform state integration, create credentials based on your backend:

Terraform Inventory Source

OpenShift Virtualization

OpenShift Credential Configuration

OpenShift Virtualization Inventory

Inventory Update Configuration

Update Options

Scheduling Updates

Create scheduled inventory updates:

Host Variables and Grouping

Automatic Host Variables

Cloud inventory sources automatically populate host variables:

Dynamic Grouping

Hosts are automatically grouped by various attributes:

Troubleshooting

Common Issues

Authentication Failures:
  • Verify credentials are valid and not expired
  • Check service account/principal has required permissions
  • Ensure API endpoints are accessible from AWX
No Hosts Discovered:
  • Verify filter expressions are correct
  • Check that instances are running
  • Ensure credential has read access to resources
  • Review inventory update job output
SSL Certificate Errors:
  • Add CA certificates to credential configuration
  • Consider disabling SSL verification for testing (not recommended for production)
Performance Issues:
  • Limit regions/zones to only what’s needed
  • Use instance filters to reduce query scope
  • Increase cache timeout for large inventories

Debug Inventory Updates

Best Practices

Security

  • Use IAM roles/managed identities when running in cloud
  • Apply least privilege to service accounts
  • Rotate credentials regularly
  • Store credentials in external secret managers when possible
  • Enable SSL/TLS verification

Performance

  • Use specific regions/zones instead of “all”
  • Apply instance filters to limit scope
  • Schedule updates during off-peak hours
  • Increase cache timeout for stable environments
  • Use “Update on Launch” sparingly for large inventories

Organization

  • Create separate inventory sources per environment
  • Use consistent tagging strategies across clouds
  • Document filter expressions and grouping logic
  • Test inventory updates before applying to production

API Examples

Create AWS Inventory Source

Trigger Manual Update

See Also