Chef Ohai
Integrate Chef Ohai with Cloudaware to ingest detailed AWS EC2 instance facts into the CMDB for richer inventory, troubleshooting, and governance.
- Audience: Cloudaware administrators, DevOps/platform engineers
- Outcome: The Chef Ohai integration is configured, and AWS EC2 instance facts are available in the Cloudaware CMDB for inventory, troubleshooting, and governance
Capabilities
The integration supports:
- Ingestion of AWS EC2 instance facts collected by Chef Ohai from an S3 bucket
- Enrichment of AWS EC2 records in the Cloudaware CMDB with detailed system properties
- Inventory, troubleshooting, and governance workflows based on Chef-derived metadata
Prerequisites
Before you begin, make sure you have:
- Access to a Cloudaware account.
- A user with access to the Admin Console and permissions to manage cloud accounts, organizations, and integrations (Cloudaware Administrator).
- Chef Ohai configured to generate facts for AWS EC2 instances.
- AWS EC2 instance facts uploaded to an AWS S3 bucket accessible by Cloudaware.
- AWS account connected to Cloudaware.
Although Chef Ohai supports multiple clouds, the Cloudaware integration currently supports only AWS.
Add a Chef Ohai Integration to Cloudaware
To connect Chef Ohai data to Cloudaware:
- In Cloudaware, go to Admin.
- Find Chef Ohai, then click + ADD.
- Enter the following values:
- AWS Account: Select the AWS account from the drop-down list that owns the S3 bucket.
- Bucket Name: Enter the name of the S3 bucket that stores the uploaded EC2 instance facts.
- Bucket Region: Specify the AWS region where the S3 bucket resides.
- File Prefix: Enter the path prefix within the bucket where Cloudaware should read the uploaded facts.
- Click SAVE.
- Confirm that the integration status indicator is green.
View Chef Ohai Data in CMDB
To browse Chef Ohai facts on AWS EC2 instance records:
- In Cloudaware, open CMDB Navigator.
- In the left pane, select AWS.
- Open AWS EC2 Instances and select an instance record.
- Confirm that Chef Ohai facts are displayed on the corresponding AWS EC2 instance in the Cloudaware CMDB.
Supported Objects
Cloudaware surfaces Chef Ohai-provided AWS EC2 instance facts on related CMDB records for inventory review and reporting.
| Cloudaware Object | Chef Ohai Data |
|---|---|
| AWS EC2 Instance | Chef Ohai facts collected from the S3 bucket |
Troubleshooting
Initial data collection may take time to complete.
No Chef Ohai Facts Appear in CMDB
- Allow the initial discovery cycle to complete.
- Confirm that the AWS account is connected to Cloudaware.
- Confirm that the S3 bucket name, bucket region, and file prefix are correct.
- Verify that Chef Ohai fact files exist in the configured S3 bucket path.
- In CMDB Navigator, verify that you are viewing the related AWS EC2 instance records.
Integration Shows Red Status
- Confirm that Cloudaware has access to the selected AWS account and S3 bucket.
- Check whether the configured bucket region matches the actual S3 bucket region.
- Verify that the file prefix points to the path where Chef Ohai facts are uploaded.
- Re-enter the integration details by editing the integration in Cloudaware.
Still stuck? Contact Cloudaware Support at support@cloudaware.com with the integration name and a brief description of the issue.
Reconfigure or Remove the Integration
To update bucket settings, edit the existing integration instead of deleting and re-creating it.
Update the Integration Details
- Go to Admin.
- Select Chef Ohai.
- Select the specific integration.
- Open the three-dot menu (⋮), then click Edit.
- Update the required fields.
- Click Save.
Remove the Integration from Cloudaware
- Go to Admin.
- Select Chef Ohai.
- Select the specific integration.
- Open the three-dot menu (⋮), then click Delete.
- Confirm the deletion if prompted.
Security Notes
- Store Chef Ohai fact files in a dedicated S3 bucket or prefix used only for Cloudaware ingestion.
- Grant Cloudaware the minimum required S3 read access to the bucket and prefix that contain Chef Ohai facts.
- Avoid uploading secrets, tokens, private keys, or other sensitive runtime data in Chef Ohai fact files.
- Review bucket access policies periodically to confirm that only approved principals can read or write the fact files.
- Remove stale fact files according to your organization's data-retention policy.