Lifecycle Management for VMs

Sections in italics are optional.

Problem description

From time to time, and for a variety of reasons, VMs that are created become unused and they linger in the system consuming resources. We need a mechanism to detect they are inactive and the clean them up.

By clean-them-up, I mean snap shot any needed data, send messages to any apps as needed, log the appropriate information, then kill the VM and free up the resources.

If a lease expires, then the VM is automatically be deleted. When Deleted all resources used by that VM would be freed (cpu, memory, networks).

To address VM sprawl apply a life cycle model. When a tenant is launch a VM, they can specify the type of use case (ex development) which will assign a lease length (ex 90 days) and may have the ability to renew the lease before it expires.

This will ensure efficient and valuable use of infrastructure resources.

User Stories

  • As the sys admin I need to ensure the Hygiene of VMs in my deployment. This includes cleaning up stuff, dealing with stuck/orphans VMs to free up unused resources for other workloads to consumer.
  • As a Public Cloud operator I have to be ably to comply with Government orders/investigations. This may require that I quarantine a VM (and associated resources) or that I make a VM (and associated resources) available to investigators for digital forensics.

Usage Scenarios Examples

TBD

Opportunity/Justification

None.

Requirements

TBD

Gaps

None currently known.

Affected By

None.

External References

None.

Glossary