Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transforms – AWS EC2 Metadata – Support Additional IMDS Instance Metadata Categories #22069

Open
commiterate opened this issue Dec 21, 2024 · 0 comments
Labels
meta: good first issue Anything that is good for new contributors. transform: aws_ec2_metadata Anything `aws_ec2_metadata` transform related type: feature A value-adding code addition that introduce new functionality.

Comments

@commiterate
Copy link

commiterate commented Dec 21, 2024

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

Enrich events with data from IMDS to:

  • Quickly locate impacted instances (e.g. partition, region, availability zone ID, host ID).
    • Placement categories such as partition (e.g. aws), region (e.g. us-east-1), availability zone ID (e.g. use1-az1, use1-az2), placement group, partition number, and host ID (for dedicated hosts) help determine impact locality.
    • Lifecycle properties such as EC2 Auto Scaling target lifecycle state help correlate on-instance events with external events.

Attempted Solutions

N/A

Proposal

The AWS EC2 Metadata transform currently supports a subset of IMDS instance metadata categories.

Support additional IMDS instance metadata categories. In particular:

  • Services
    • AWS Partition (services/partition)
    • AWS Region Domain (services/domain)
  • Placement
    • AWS Region (placement/region)
      • In multi-region deployments with global observability aggregation, it's useful to know an instance's region to identify region outages (e.g. us-east-1 is down but us-west-2 is up).
    • AWS Availability Zone ID (placement/availability-zone-id)
      • Across AWS accounts, the same availability zone name (e.g. us-east-1a, which the filter supports today) maps to different underlying availability zone IDs (e.g. use1-az1, use1-az2).
      • In multi-account deployments, it's useful to know an instance's availability zone ID to identify availability zone outages (e.g. use1-az1 is down but use1-az2 is up).
    • Placement Group Name (placement/group-name)
    • Placement Group Partition Number (placement/partition-number)
    • Dedicated Host ID (placement/host-id)
      • Useful for identifying bad dedicated hosts (e.g. EC2 Mac instances which require dedicated hosts due to Apple's EULA).
  • IP Addresses (Public/Private IPv4/6)
    • The transform currently supports only the public + private IPv4 addresses.
  • AWS EC2 Auto Scaling
    • Target Lifecycle State (autoscaling/target-lifecycle-state)

References

Version

0.43.1

@commiterate commiterate added the type: feature A value-adding code addition that introduce new functionality. label Dec 21, 2024
@jszwedko jszwedko added transform: aws_ec2_metadata Anything `aws_ec2_metadata` transform related meta: good first issue Anything that is good for new contributors. labels Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta: good first issue Anything that is good for new contributors. transform: aws_ec2_metadata Anything `aws_ec2_metadata` transform related type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

No branches or pull requests

2 participants