amazon-ec2-metadata-mock

A tool to simulate Amazon EC2 instance metadata

APACHE-2.0 License

Stars
267

Bot releases are hidden (Show)

amazon-ec2-metadata-mock - v1.12.0 Latest Release

Published by LikithaVemulapalli about 1 month ago

What's Changed

New Contributors

Full Changelog: https://github.com/aws/amazon-ec2-metadata-mock/compare/v1.11.2...v1.12.0

amazon-ec2-metadata-mock - v1.11.2

Published by cjerad about 2 years ago

What's Changed

⚠️ Change in output ⚠️

  • fix directory listing behavior by @cjerad in https://github.com/aws/amazon-ec2-metadata-mock/pull/185
    From issue https://github.com/aws/amazon-ec2-metadata-mock/issues/173
    Previously:
    $ curl 127.0.0.1:1338/latest/meta-data/network/interfaces/macs
    0e:49:61:0f:c3:11/device-number
    0e:49:61:0f:c3:11/interface-id
    0e:49:61:0f:c3:11/ipv4-associations/192.0.2.54
    0e:49:61:0f:c3:11/ipv6s
    0e:49:61:0f:c3:11/local-hostname
    0e:49:61:0f:c3:11/local-ipv4s
    0e:49:61:0f:c3:11/mac
    0e:49:61:0f:c3:11/network-card-index
    0e:49:61:0f:c3:11/owner-id
    0e:49:61:0f:c3:11/public-hostname
    0e:49:61:0f:c3:11/public-ipv4s
    0e:49:61:0f:c3:11/security-group-ids
    0e:49:61:0f:c3:11/security-groups
    0e:49:61:0f:c3:11/subnet-id
    0e:49:61:0f:c3:11/subnet-ipv4-cidr-block
    0e:49:61:0f:c3:11/subnet-ipv6-cidr-blocks
    0e:49:61:0f:c3:11/vpc-id
    0e:49:61:0f:c3:11/vpc-ipv4-cidr-block/
    0e:49:61:0f:c3:11/vpc-ipv6-cidr-blocks%
    
    Now:
    $ curl 127.0.0.1:1338/latest/meta-data/network/interfaces/macs
    0e:49:61:0f:c3:11
    
  • Update helm-chart-test to run in the afternoon by @snay2 in https://github.com/aws/amazon-ec2-metadata-mock/pull/183
  • Create USAGE.md by @brycahta in https://github.com/aws/amazon-ec2-metadata-mock/pull/186

New Contributors

Full Changelog: https://github.com/aws/amazon-ec2-metadata-mock/compare/v1.11.1...v1.11.2

amazon-ec2-metadata-mock - v1.11.1

Published by brycahta over 2 years ago

amazon-ec2-metadata-mock - v1.11.0

Published by brycahta over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/aws/amazon-ec2-metadata-mock/compare/v1.10.1...v1.11.0

amazon-ec2-metadata-mock - v1.10.1

Published by brycahta over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/aws/amazon-ec2-metadata-mock/compare/v1.10.0...v1.10.1

amazon-ec2-metadata-mock - v1.10.0

Published by brycahta over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/aws/amazon-ec2-metadata-mock/compare/v1.9.2...v1.10.0

amazon-ec2-metadata-mock - v1.9.2

Published by brycahta about 3 years ago

Updates 🆙

  • Upgrade to go 1.17

Improvements 🚀

  • Use embed lib to populate default values
  • CI/CD fixes and enhancements
amazon-ec2-metadata-mock - v1.9.1

Published by bwagner5 about 3 years ago

Improvements 🚀

  • Support Apple Silicon (darwin/arm64) natively! 🍎 👩🏽‍💻
amazon-ec2-metadata-mock - v1.9.0

Published by brycahta over 3 years ago

New Features 🎉

  • Delay the Rebalance Recommendation availability using new flags: --rebalance-delay-sec or --rebalance-trigger-time #124 (thanks to Bryan Carter)
  • Adding more IMDS paths #119 (thanks to Bryan Carter)
    • kernel-id
    • ramdisk-id
    • network/interfaces/macs/mac/network-card-index

Bug Fixes 🐛

  • Helm Chart fix(capitalization): namespace is rendered empty #120 (thanks to David Beck)

Improvements 🚀

  • Upgrade to go 1.16 #121 (thanks to Bryan Carter)
amazon-ec2-metadata-mock - v1.8.1

Published by bwagner5 almost 4 years ago

Bug Fixes 🐛

  • Return null instead of the empty string on unset values in the instance identity document -- thanks #112 @julian3xl
amazon-ec2-metadata-mock - EC2 Metadata Mock v1.8.0

Published by brycahta almost 4 years ago

New Features 🎉 🔥

  • Adding dynamic paths:
    • fws/instance-monitoring
    • instance-identity/pkcs7
    • instance-identity/signature

Improvements

  • Add Resources block to Helm chart -- thanks #102 @nucleusv
amazon-ec2-metadata-mock - EC2 Metadata Mock v1.7.0

Published by brycahta almost 4 years ago

Introducing EC2 Instance Rebalance Recommendation 🎉🎉🎉

v1.7.0 adds support for the new EC2 Instance Rebalance Recommendation, a notification directed towards Spot Instances that are at an elevated risk of interruption!

The latest/meta-data/events/recommendations/rebalance path has been added to support this new notification, and the notification's noticeTime can be overridden via --rebalance-rec-time flag, config file, or environment variable. For more information on testing Rebalance Recommendations with AEMM see here.

Upgrade to v1.7.0 today to ensure your Spot infrastructures are ready to handle Rebalance Recommendations!

amazon-ec2-metadata-mock - EC2 Metadata Mock v1.6.0

Published by brycahta about 4 years ago

New Features

  • Add MockIPCount flag to return spot interrupts (Spot ITN) and events to a set number of IPs within a cluster
    • By default, 2 IPs will be eligible for Spot ITN and 2 IPs will be eligible for scheduled events (separate cache)
  • Add placement/* paths that were added to IMDS Aug 2020:
    • placement/availability-zone-id
    • placement/group-name
    • placement/host-id
    • placement/partition-number
    • placement/region

Bug Fixes

N/A

Improvements

  • Updated ReadMes
  • Shell scripts have been linted with shellcheck
  • AEMM is now configured as a Deployment and no longer a DaemonSet. Replicas is defaulted to 1

Breaking Changes

N/A

amazon-ec2-metadata-mock - EC2 Metadata Mock v1.5.0

Published by brycahta about 4 years ago

New Features

  • Add MockTriggerTime flag to return spot interrupts and events at a specific time (#88 thanks @bruecktech!)

Bug Fixes

N/A

Improvements

  • upgrading to go 1.15 (#90)

Breaking Changes

N/A

amazon-ec2-metadata-mock - EC2 Metadata Mock v1.4.1

Published by brycahta about 4 years ago

New Features

N/A

Bug Fixes

N/A

Improvements

  • fixed push-docker-images so DockerHub manifest contains all supported os/arch

Breaking Changes

N/A

amazon-ec2-metadata-mock - EC2 Metadata Mock v1.4.0

Published by brycahta about 4 years ago

New Features

  • Adding instance-life-cycle path 🎉
    • ex: curl localhost:1338/latest/meta-data/instance-life-cycle

Bug Fixes

  • Resolving #81 --thanks for the callout @petrukngantuk !

Improvements

  • updated push-docker-images to populate manifest correctly...again

Breaking Changes

N/A

amazon-ec2-metadata-mock - EC2 Metadata Mock v1.3.0

Published by brycahta about 4 years ago

New Features

  • Supports requests with trailing slash
    • ex: curl localhost:1338/latest/meta-data/instance-type/ returns m4.xlarge instead of 404
  • Supports subpath listings
    • ex: curl localhost:1338/latest/meta-data/spot returns instance-action termination-time instead of 404

Bug Fixes

  • Resolving #23

Improvements

  • updated push-docker-images to populate manifest correctly

Breaking Changes

N/A

amazon-ec2-metadata-mock - EC2 Metadata Mock v1.2.0

Published by brycahta about 4 years ago

New Features

  • Dynamic path latest/dynamic/instance-identity/document has been added-- Thanks @bobbyc ! #74
  • AEMM can now be deployed to Windows nodes via Helm. #75
    • Try it out by adding --set targetNodeOs="windows" as a parameter in Helm chart installation

Bug Fixes

N/A

Improvements

  • Binary and Docker image builds + deployments for Windows added to Travis
  • Automated PR will be cut to Homebrew post-deployment keeping both repo and tap in sync

Breaking Changes

N/A

amazon-ec2-metadata-mock - EC2 Metadata Mock v1.1.3

Published by brycahta over 4 years ago

New Features

N/A

Bug Fixes

N/A

Improvements

  • Updated helm charts to support k8s versions 1.12 and 1.13

Breaking Changes

N/A

amazon-ec2-metadata-mock - EC2 Metadata Mock v1.1.2

Published by bwagner5 over 4 years ago

New Features

N/A

Bug Fixes

N/A

Improvements

Breaking Changes

N/A

Package Rankings
Top 5.04% on Proxy.golang.org
Related Projects