Full Sandbox experience (meshObject Deletion)
M
Mohammad Javad Kazemi
As the platform owner, it is essential to provide the customer with a comprehensive end-to-end sandbox experience, enabling them to create and delete meshObjects in an entirely automated fashion. The desired capabilities have
various functionalities, including but not limited to:
- Creation and Deletion (marking for deletion) of sandbox tenants, projects, or even customers.
- Onboarding and offboarding of teams.
- Acquisition of payment method information.
By providing these capabilities, we empower our teams and clients to develop customized automation tasks, thereby enhancing the overall user experience.
J
Johannes Rudolph
We have received some new interest in this solution and I want to update you on solutions that are already available to implement sandboxes with time expiration with meshStack. We have made a lot of new APIs required to implement this solution available since this feature request was originally logged.
Here's an outline of the solution:
- To setup a sandbox landing zone, create a landing zone on your platform and enable "Automatically approve tenant deletions requested by workspaces" and "Automatically perform approved tenant deletions via replication"
- A great pattern for making this offering really visible in your meshStack's marketplace and also simplify the onboarding for first time users when you need to take care of additional concerns like FinOps for sandboxes is to create a composition building block for a sandbox, i.e. a building block that will create a dedicated meshPaymentMethod with budget and expiry, setup a meshProject and meshTenant using your landing zone and assigning initial user permissions.
- meshStack does currently not have a native feature to "expire" tenants automatically, but you can query meshTenants using the sandbox landing zone from the meshObject API, check their age and then delete meshTenants that you want to remove via the API. meshStack will then take care of deprovisioning the tenant on the cloud platform. This can be done with a simple script that's running periodically (eg. daily)
Please don't hesitate to get in touch with our customer success team to help you implement such a solution already today, while we further evaluate integrating more native support for expiring tenants.
Y
Young-Hwan Kim
Sandbox environments should also expire after a defined period and automatically gets deleted