ZStack - cloud-init 25.1.2 documentation (original) (raw)

View this page

Toggle table of contents sidebar

ZStack platform provides an AWS EC2 instance metadata service, but with different datasource identity. More information about ZStack can be found atZStack.

Discovery

To determine whether a VM is running on the ZStack platform, cloud-initchecks DMI information via dmidecode -s chassis-asset-tag. If the output ends with .zstack.io, it’s running on the ZStack platform.

Instance Metadata Service

The same way as with EC2, instance-data can be queried at:

GET http://169.254.169.254/2009-04-04/meta-data/ instance-id local-hostname

User-data

The same way as with EC2, instance user-data can be queried at:

GET http://169.254.169.254/2009-04-04/user-data/ meta_data.json user_data password