```EC2 There are two tables that provide EC2 insta...
# core
c
Copy code
EC2
There are two tables that provide EC2 instance related information. On non-EC2 instances these tables return empty results. ec2_instance_metadata table contains instance meta data information. ec2_instance_tags returns tags for the EC2 instance osquery is running on. Retrieving tags for EC2 instance requires authentication and appropriate permission. There are multiple ways credentials can be provided to osquery. See AWS logging configuration for configuring credentials. AWS region (--aws_region) argument is not required and will be ignored by ec2_instance_tags implementation. The credentials configured should have permission to perform ec2:DescribeTags action.