Skip to main content

Tags

Delegaris can drop a tag from a resource, put it back later, and set a tag to a new value. The usual use is taking a machine out of an instance scheduler for a while without anyone having to remember what its schedule was.

To keep a machine on past its schedule for an evening, you do not need any of this: use Keep on until…, which handles the schedule tag itself and needs no tag rights.

Who can manage tags​

Tag management is a right in an access rule: Drop, re-add and set tags, with Tag keys they may manage listing the keys (for example Schedule; * means any key). Someone without an administrator role can only manage the keys their rules name. Administrators can manage any key.

Tag buttons only appear on tags you may manage.

Dropping a tag​

Dropping removes the tag from the resource in AWS and keeps its value in Delegaris.

  • One resource: open its details on the Resources page, find the tag under Tags, and press Drop.
  • Several: tick them, open Drop tag in the bar at the bottom, and choose the key. The menu shows how many of the selected resources each key would be dropped from.

A dropped tag is shown struck through in the detail panel, with who dropped it and when ("dropped by jsmith, 2 hours ago"), and as "Key dropped" in the Tags column of the list.

If the dropped tag was a schedule tag, the schedule line says "Off its schedule: Schedule has been dropped, with no time set for it to come back." The scheduler leaves the machine alone until the tag is put back.

Re-adding a tag​

Re-adding puts the remembered value back on the resource.

  • One resource: press Re-add beside the struck-through tag.
  • Several: tick them, open Re-add tag in the bar, and choose the key.

A tag being held off by a keep-on is not offered here: it comes back by itself when the keep-on ends.

Setting a tag​

  • To change a value: press Change beside the tag, choose or type the new value, and press Save.
  • To add a tag: use the form under the tag list. Type the Tag key (keys your rules allow are suggested), the value, and press Set tag. If your rules do not cover that key, the form says "You cannot manage a tag with that key here."

Where an administrator has given the tag's values friendly names, you pick the value from a list of names (with the value in AWS in brackets) rather than typing it.

Setting a tag by hand replaces any remembered value for that key. Setting a schedule tag while a keep-on is holding it puts the machine back on its schedule at once; the keep-on then has nothing left to do and will not stop the machine later.

How the remembered value behaves​

  • Remembered before anything is removed. Delegaris stores the value in its own database first, then removes the tag in AWS. If AWS refuses, nothing is remembered and the tag stays.
  • A dropped tag still counts for access. When working out who may manage a resource, a dropped tag still counts, so nobody locks themselves out by dropping the tag their access depends on.
  • Someone else's value wins. If the tag is re-created elsewhere (the console, Terraform) while it is dropped, that value wins and the remembered one is discarded. The tag then shows as an ordinary tag again, with no Re-add.
  • Kept safe. Remembered values live in Delegaris's database, so back it up. See Backups and health.

Tags you cannot change​

Tags starting with aws: are reserved by AWS. They are listed separately in the detail panel under "n tags managed by AWS", have no buttons, and cannot be named in an access rule.

On an Auto Scaling group, a tag put back is put back without "tag new instances".

With approval​

If your access rule says tag changes need approval, dropping, re-adding or setting a tag sends a request to the approvers instead. Nothing changes until one of them agrees. See Approvals.

What is recorded​

Every drop, re-add and set is recorded in Activity with the key and value, and shows under Tag changes there and in the Who did what report.