GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
INSPEEK(1) Eclat User Reference INSPEEK(1)

ispeek - EC2 instance store lister

ispeek [-NQTdr] [-D STRING] [-b URL] [-p NUMBER] [--base-url=URL] [--delimiter=STRING] [--names] [--quote] [--type] [--port=NUMBER] PATH [KEY...]
ispeek [-Vh] [--help] [--usage] [--version]

Lists contents of the EC2 instance store. The PATH argument specifies the pathname to list. It is relative to http://169.254.169.254/latest. If PATH ends with a slash, it is treated as a directory and its content is listed. Otherwise, it is treated as a file.

Optional KEY arguments are allowed when listing content of a file. If one or more KEYs are given, the file is parsed as a JSON object. For each KEY, a corresponding value is looked up in the resulting object and printed on a separate line, prefixed with KEY and a colon.

The utility must be run from a EC2 instance.

-b, --base=URL
Base URL to use, instead of http://169.254.169.254/latest.
-d, --debug
Increase debugging level.
-p, --port=NUMBER
Set remote port number, instead of the default 80.

Following option applies only when listing directories:

-r, --recursive
List directories recursively.

The options below configure output if at least one KEY is given:

-D, --delimiter=STRING
Delimit output values with STRING. Default delimiter is a colon.
-N, --names
Print key names.
-Q, --quote
Quote string values. String values will be enclosed in double-quotes. Double-quote and backslash characters appearing within strings will be escaped with backslashes.
-T, --type
Print type character. Type characters are: 0, for null values, b, for booleans, n, for numeric values, s, for strings , a, for arrays, and o, for objects.

The order of printing is: key name, type, value.

-V, --version
Print program version.
-h, --help
Give a concise help summary.
--usage
Give a short usage message.

$ ispeek /meta-data/instance-id
i-deadbeef
$ ispeek /dynamic/instance-identity/document
{
  "instanceId" : "i-deadbeef",
  "billingProducts" : null,
  ...

$ ispeek /dynamic/instance-identity/document region instanceType
eu-west-1
m3.xlarge

$ ispeek -NT /dynamic/instance-identity/document region instanceType
region:s:eu-west-1
instanceType:s:m3.xlarge

$ ispeek -r meta-data/iam
/meta-data/iam/info
/meta-data/iam/security-credentials/
/meta-data/iam/security-credentials/user

eclat(1).

Sergey Poznyakoff

Report bugs to <bug-eclat@gnu.org.ua>.

Copyright © 2012-2018 Sergey Poznyakoff
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
January 21, 2015 INSPEEK

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.