In general you can get a lot of instance metadata by accessing API on
That includes instance id.
On generic Linux system, you can get the ID either using curl:
wget -q -O - http://169.254.169.254/latest/meta-data/instance-id
If you instance is based on Amazon Linux or have cloud-utils installed you can also run:
for instance id.
more documentation on metadata is a available here:
Provided by:Forthscale systems, cloud experts
Tuesday, February 26, 2019
Subscribe to: Posts (Atom)
solving error: Your current user or role does not have access to Kubernetes objects on this EKS cluster.
Trying to access EKS cluster with kubectl you might get an error similar to: Your current user or role does not have access to Kubernetes ob...
Following information is intended for bash shell only. The system variable TMOUT can be set to specify the amount of time the user is ina...
How to install PGPool II on PostgreSQL Servers in master-slave architecture + PGPoolAdmin web managmentGeneral Information PGPool can run on same server along with PostgreSQL DB or on stand alone server(recommended). In this article we wil...
Simple VPN server configuration for easy VPN access to AWS using built in Windows VPN client. First to install pptp server package. s...