Tenant Deprovisioning / Decommissioning
At the start of an organization’s cloud journey, cloud foundation teams focus on the challenge of Tenant Provisioning, giving little afterthought to “day-2” challenges. After all, supporting cloud adoption is the key imperative at this stage. As most cloud foundation teams have to find out the hard way, the initial surge of excitement about bringing more internal customers into the cloud soon turns into an operational chore. Some of your cloud customers will inevitably abandon their projects. When they forget to decommission all cloud infrastructure, the organization ends up with zombie workloads.
💡 Establishing a clean tenant decommission process is paramount for avoiding problems like abandoned “zombie workloads” that pose a security risk and incur uncontrolled cloud spend.
Tackle Zombie Workloads with Clear Decommissioning Responsibilities
Most zombie workloads are the result of unclear responsibilities - not malice. When investigating the chain of unfortunate events that leads to them, cloud foundation teams often hear a series of excuses from their customers.
“I didn’t create that AWS Account, so I didn’t consider it my job to delete it!”
“Deleting that GCP Project brought up a scary confirmation dialog about losing all data forever! I didn’t feel sure if there isn’t something important worth saving in there so I just left it.”
“When the project team was wound down, I took on responsibilities in a new project and assumed one of my old colleagues would delete the Azure Subscription.”
If any of those situations happen in your organization, the cloud foundation team needs to establish and communicate its Shared Responsibility Model better.
Proven Patterns for Implementing a Cloud Tenant Decommissioning Process
Tenant decommissioning is a fundamental tenant management process. Cloud foundation teams will need it to implement higher-level capabilities in the Tenant Management pillar like Multi-cloud tenant database integrated with lifecycle management.
Plan for Involuntary Decommissioning
Setting clear boundaries and expectations with a Shared Responsibility Model is crucial. Unfortunately, the cloud foundation team sometimes has to enforce these boundaries. For example, cloud foundation teams may find internal customers
violating their duty to handle assigned incidents as part of the Incident Management Process.
operating unregistered cloud tenants found via Tenant Inventory Reconciliation.
In these cases, the cloud foundation team needs the capability and authorization to forcefully decommission cloud tenants in their workload.
Consider Data Retention and Recovery Requirements
Decommissioning a cloud tenant results in the destruction of all workload and data stored in the cloud tenant. While systems that were not used productively will typically not have relevant data that needs to be kept, productive systems may require special precautions. Regulations for the financial service industry for example can require that organizations maintain records processed in systems (and the means to read them!) for a minimum period of 10 years.
💡 A good Cloud Tenant Tagging concept that’s consistently applied can help cloud foundation teams quickly determine if decommissioning a cloud tenant requires special precautions, for example, if the tenant was used for productive workloads.
Another consideration is that cloud tenants very often also hold other valuable resources like public IP Addresses, DNS Records, and Cryptographic Keys (e.g. SSL Certificates, Encryption Keys) that may be used well beyond the scope of an individual IT System. Public cloud providers are multi-tenant environments. Cloud resources like IP Addresses and DNS Names may be reused by other customers of the cloud provider. This can open attack vectors for phishing or spoofing. Some examples that cloud foundation teams should be aware of
Cloud providers pool public IP Addresses and reuse enables subdomain takeover attacks.
IP Addresses are an important signal in email sender reputation management. Apart from losing a valuable high-reputation IP, spammers can abuse the IP to spoof email and send spam or phishing emails.
Security Implications of Automated Tenant Decommissioning
Scenarios like Playground / Sandbox Environments call for automation of tenant decommissioning. However, an automation system capable of deleting most of an organization's cloud workload with only a handful of API calls is a big security risk and conversely an attractive attack target. To mitigate this risk, automation systems for tenant decommissioning should include checks and balances. Useful mitigations are
4-eye principle approval processes for tenant deletion
restrict the automation’s permissions to non-productive tenants (e.g. designated by landing zone or Cloud Tenant Tagging)
Decommissioning of AWS Accounts Best Practices
AWS Organizations has important caveats to consider when closing organization member accounts.
Closed accounts will be suspended and then follow a staged close process until termination.
Organization member accounts can only be closed by logging in with the account root user, this typically requires a password reset procedure that’s difficult to automate.
AWS Account root email addresses cannot be reused.
AWS will continue to charge for reserved instances and saving plans even after the account has been closed.
AWS will stop on-demand billing as soon as the account is closed. However, on-demand charges for any workload that is not explicitly deleted before account closure will be incurred when the account is reinstated during the post-closure period.
Considerations for Decommissioning OpenStack Projects
OpenStack does not include a process for deleting all cloud resources when deleting a project in Keystone. Cloud foundation teams thus need to ensure deletion of all of a project’s cloud resources in each OpenStack service (Nova, Neutron, Cinder, ...) in order to avoid creating orphaned workloads.
meshStack automates tenant lifecycle management for private cloud platforms OpenStack and Cloud Foundry including decommissioning. An automated resource check ensures customers delete all workload before decommissioning the tenant.Learn More
Did this page help you?
Playground / Sandbox Environments
DevOps Teams can quickly provision cloud environments for experimentation and learning, thereby accelerating an organization's cloud journey. Playgrounds use relaxed policies (e.g. more cloud services are allowed) but come with time- or spend-limits ...