mmds allows you to get some information which are currently missing from the AWS meta-data service
# Figure out the pricing model of the instance
~$ mmds pricing-model
spot
~$ mmds
NAME:
mmds - Missed (AWS) Meta-Data (service)
USAGE:
mmds [global options] command [command options] [arguments...]
VERSION:
<devel>
COMMANDS:
pricing-model get instance pricing-model
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--log-level level log level (debug,info,warn,fatal,panic) (default: "info") [$MMDS_LOG_LEVEL]
--log-format format log format (json,text) (default: "text") [$MMDS_LOG_FORMAT]
--help, -h show help
--version, -v print the version
You can have a look at the release page of the project, we currently build it for Linux, Darwin and Windows platforms.
~$ wget https://github.com/mvisonneau/mmds/releases/download/0.1.0/mmds_linux_amd64 -O /usr/local/bin/mmds; chmod +x /usr/local/bin/mmds
You can also use the docker version:
~$ docker run -it --rm mvisonneau/mmds
If you use docker, you can easily get started using :
~$ make dev-env
# You should then be able to use go commands to work onto the project, eg:
~docker$ make fmt
~docker$ mmds
Contributions are more than welcome! Feel free to submit a PR.
Content type
Image
Digest
Size
7.7 MB
Last updated
over 6 years ago
docker pull mvisonneau/mmds