microsoft / microsoft/AzureTRE

Delete running VMs with a single action.

Open
#4,816 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
235
Forks
192
Avg merge
1d 23h
Merged PRs (30d)
13

Description

Description

As a TRE Administrator/Researcher I want to be able to issue a single command to delete a VM regardless of its state.
So that I do not get distracted with another task and leave disabled VMs to exist longer than they should.

This will help with ephemeral VMs that exist solely to transfer between airlock storage containers and workspace network storage.

Acceptance criteria

  • Criteria 1 - Delete option automatically schedules a disable, then deletion instead of user needing to do both.
  • Criteria 2 - Optional - Ask for confirmation. I do not know if the two-stage "disable then delete" is to avoid erroneous deletion or for another reason, but this would help mitigate if so.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing VM disable and delete actions and how a VM's state is handled. Implement the single delete action so it schedules disable before deletion, with confirmation only if the existing workflow supports it. Done means a running VM can be removed with one action and the relevant behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.