Failed inventory with HTTP 404 error on IAM security user credentials for AWS EC2 and EBS Data Collector in Cloud Insights
- Last Updated:
Cloud Insights (Acquisition Unit in Centos / RHEL )
When attempting to poll from any EC2 or EBS instances within a EC2 and EBS Data Collector in Cloud Insights, the following message is reported within the Data Collector's Inventory status:
Error retrieving data: Request failed with status 404: http://[PUBLIC-IP]:80/latest/meta-data/iam/security-credentials/[IAM-role]
In reference to the above error message, [PUBLIC-IP] represents the public IP address of the EC2/EBS instance from which Cloud Insights is having trouble acquiring data. [IAM-role] is the assigned IAM role running on the particular EC2/EBS instance that will retrieve temporary credentials like access keys and tokens.