Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: get ec2 cpu perf data from AWS API
Previously, Nomad was using a hand-made lookup table for looking up EC2 CPU performance characteristics (core count + speed = ticks). This data was incomplete and incorrect depending on region. The AWS API has the correct data but requires API keys to use (i.e. should not be queried directly from Nomad). This change introduces a lookup table generated by a docker image based on the Amazon cli tool. https://hub.docker.com/r/hashicorpnomad/ec2info The docker image is created from https://github.com/hashicorp/nomad-ec2info. Going forward, Nomad can incorporate regeneration of the lookup table somewhere in the CI pipeline so that we remain up-to-date on the latest offerings from EC2. Fixes #7830
- Loading branch information