Feature #2435

Updated by Tino Vázquez over 7 years ago

More information can be extracted from AWS when a VM is deployed in a hybrid setting. In particular we have selected the following attributes, that will be incorporated to the user template and y defined:

<pre>
EC2DRIVER_MONITOR=[
DNSNAME,
PRIVATEDNSNAME,
KEYNAME,
AVAILABILITYZONE,
PLATFORM,
VPCID,
PRIVATEIPADDRESS,
IPADDRESS,
SUBNETID,
]

EC2DRIVER_TAGS=[
KEY_NAME = KEY_VALUE,
...
]
</pre>

Every attribute is obtained from the corresponding XML element returned from the API, i.e. DNSNAME from <dnsName/>, KEYNAME from <keyName/>, PRIVATEIPADDRESS from <privateIpAddress/>...

Tags are extracted from the AWS tags:
<pre>
<item>
<key>Description</key>
<value>Windows Instance</value>
</item>
</pre>

in this example we will generate:
<pre>
EC2DRIVER_TAGS=[
DESCRIPTION = "Windows Instance"
]
</pre>

Back