Currently, we are not using the Pricing component of Morpheus (long discussion, some of which relates to organizational politics, the need to keep cost structure from general visibility, et al. I won’t go into that here).
We have a lot of group users launching VMs that they are not paying for. As we got into the discussion about that, my manager asked me if there was a report to see, by Group, a list of VMs with either the launch date, or the age. It doesn’t appear that there is such a report, which I informed him of.
The other question he asked me, was whether you could put an Expiration Date (like a gallon of milk) on the VMs (Sandbox he called it), and then kill the VM after that date. I am not particularly a fan of just killing VMs like cattle when I don’t know what they’re actually doing or their potential importance to our organization. It’s a good way to lose friends and, perhaps, make some enemies along the way.
I think it makes sense to have a job that runs, and nags the user x number of times before deleting the VM. At least that way, we can say, “well, we warned you!”.
But in order to pull this off, the VM has to have some kind of a state that I can check. For example, maybe the VM can run for 30 or so days in Introductory mode, and a job will run that will email them that their Intro period is ending at, say, 20 days). After that, the state turns to “unbilled” (for lack of a better term). If it sits in “unbilled” state for tunable length of time (X weeks, a warning once or twice per week), the VM would get deleted. But I need a way to flip that flag manually, if a manager notifies us that they settled up with [ the people who handle cost transfers ].
We do have some ServiceNow integration that is starting to integrate with Morpheus, and at some point down the road might get involved with these cost transfer aspects, but right now, their scope is only initial onboarding (API calls to set up Groups, Roles, Role Mapping, and assignment of Clouds to the groups). So I need some kind of a solution to this problem. Maybe there is one that I am unaware of!?