Create and edit instance tags
The instances created on a cloud provider can be assigned special metadata to help manage, bill or audit the resources. On AWS they referred to asinstance tags. We provide a way to create and edit these from theYugaWare universe dashboard.
NoteWe provide this option to set instance tags for AWS cloud provider only currently.
1. Create instance tags
During the universe creation step, with an AWS cloud provider, YugaWare will provide the option to input the instance tags as a map of keys/values as shown below.
User can provide these key/values in any order.
Templated tags
Name
is the only key that can have templated
tags, so it can be made of different parts filled in at run-time to determine node and instance names.
- The parts of the template should be enclosed between
${
and}
. - The reserved keywords that can be specified:
universe
,instance-id
,zone
, andregion
. - Templated tag value needs to have
instance-id
at the minimum. - Order of the parts of template do not matter.
Check Cloud Provider instances
Browse to the cloud provider’s instances page. In this example, since we are using AWS as the cloud provider, browse to EC2
-> Running Instances
in the correct availability zone and search for instances that have test-tags
in their name. You should see something as follows in theTags
tab of those instances.
Noteyb-server-type
and launched-by
are internally reserved key names.
2. Edit instance tags
The map of instance tags can be changed using the edit universe operation. One can modify, insert or delete existing instance tags as shown below:
These are changes, compared to the input during the create universe:
Billing
was modified.MyInfo
was deleted.NewInfo
was added.Department
was not changed in any way.Note thatName
key field cannot be edited in any form.
As before, one can confirm on the cloud provider list of instances that the tags have been updated correctly: