The imds-mock simulates an on-demand instance by default. Once the mock has started, all supported instance categories1 will be available for querying via both IMDSv1 and IMDSv2.
imds-mock
docker run -p 1338:1338 purpleclay/imds-mock
docker run -p 1338:1338 ghcr.io/purpleclay/imds-mock
A list of currently supported instance categories can be found here↩