10.3 Governance Policies: Approvals, Leases, Resource Quotas, & Day-2 Actions
Key Takeaways
- Service Broker delivers an enterprise governance policy framework enforcing approval gates, lifecycle lease timers, resource quotas, and Day-2 action entitlements across projects.
- Approval policies intercept provisioning requests and Day-2 actions based on triggers like cost, vCPU/RAM sizing, specific catalog items, or target cloud zones, routing them to designated approvers.
- Lease policies govern deployment lifecycles by establishing total lifespan, maximum renewal limits, pre-expiration notifications, and automated resource reclamation upon lease expiration.
- Resource quotas establish multi-dimensional compute and storage caps (vCPU, RAM, storage GB, instances) evaluated in real-time at both Project and Cloud Zone boundaries to prevent resource exhaustion.
- Day-2 action policies provide granular role-based permissions over post-deployment operations (snapshots, power state, resizing, custom actions), enforcing operational guardrails without stifling user productivity.
10.3 Governance Policies: Approvals, Leases, Resource Quotas, & Day-2 Actions
Exam Focus: For the VCP-VCF (2V0-17.25) exam, enterprise governance and lifecycle policy enforcement form a vital administrative domain. Candidates must master how Service Broker enforces Approval Policies (including criteria triggers, multi-level approval matrices, and timeout behaviors), Lease Policies (enforcing automated resource reclamation and extension boundaries), Resource Quotas (at both Project and Cloud Zone scopes), and Day-2 Action Policies (governing operational permissions on provisioned workloads).
The Service Broker Policy Engine & Governance Framework
A primary value proposition of VMware Cloud Foundation 9.0 is enabling self-service velocity while maintaining rigorous enterprise IT governance. If developers can provision compute and storage resources on demand without administrative friction, an enterprise faces severe risks of resource exhaustion, unexpected infrastructure sprawl, unbudgeted expenditure, and compliance violations.
VCF Automation resolves this tension through the Service Broker Policy Engine. The policy engine provides a centralized, declarative governance framework that evaluates every catalog request and Day-2 operational action against enterprise rules before infrastructure changes occur.
Policy Scope & Hierarchy
Policies within Service Broker can be established at two distinct administrative scopes:
- Organization Scope: Policies defined at the Organization level apply universally across all Projects, users, and deployments within that organization. Organization-level policies cannot be overridden or bypassed by individual project administrators, ensuring non-negotiable enterprise compliance baselines.
- Project Scope: Policies configured at the Project level apply exclusively to deployments owned by members of that specific project. This enables departmental customization (e.g., granting developers 14-day leases while allowing production operations 365-day leases).
When multiple policies apply to the same request, Service Broker resolves enforcement based on explicit Policy Priority (numeric ranking where 1 is highest priority) or evaluates the most restrictive condition (e.g., selecting the shortest lease duration or the lowest resource cap).
Approval Policies: Criteria, Workflows, & Decision Handling
Approval Policies act as automated gating mechanisms. When a consumer submits a catalog request or initiates a Day-2 modification, Service Broker intercepts the request, evaluates whether any approval criteria are met, and halts provisioning until designated approvers review and authorize the transaction.
User Catalog Request ──> [Criteria Match Check] ──> Match Found?
│ │
├── No ──> Provision Immediately
│
└── Yes ──> [Halt Request & Dispatch Alert]
│
┌────────────────────┴────────────────────┐
▼ ▼
[Manual Approval] [Timeout Expired]
• Approve ──> Provision • Auto-Reject (Default)
• Reject ──> Terminate • Auto-Approve (Optional)
Approval Trigger Criteria
Service Broker supports granular conditional triggers, ensuring approvals are only mandated for high-impact or non-standard deployments:
- Resource Sizing Thresholds: Trigger approvals based on resource magnitude (e.g., total deployment vCPUs > 8, total memory > 32 GB, or total attached storage > 500 GB).
- Financial Cost Estimates: Interfacing directly with VCF Operations cost engines, policies can trigger approvals if estimated monthly deployment costs exceed a defined threshold (e.g.,
estimatedCost > 500.00 USD). - Target Cloud Zones & Capability Tags: Mandate manager sign-off only when workloads target high-cost or regulated infrastructure (e.g.,
cloudZone: PCI-Productionortag: tier:gold). - Flavor & Image Mappings: Trigger approvals if specific non-standard OS images or extra-large flavor sizes are requested.
- Day-2 Operational Actions: Intercept high-risk lifecycle actions (such as virtual machine resizing, attaching extra disks, or restoring snapshots).
Approver Definitions & Hierarchies
Administrators configure who possesses the authority to grant approvals:
- Named Users & Identity Directory Groups: Route requests to designated individuals (e.g., IT Operations Leads) or Active Directory security groups.
- Manager Approval: Service Broker integrates with corporate identity directories (via Workspace ONE Access or VCF Identity Broker). By inspecting user directory schemas, the system automatically routes the approval request to the requester's direct manager without requiring hardcoded user mappings.
- Multi-Level Sequential Approvals: For high-value requests, administrators construct multi-tier approval chains. For example, Level 1 requires technical approval from the Project Administrator; upon Level 1 sign-off, the request escalates to Level 2 for financial sign-off from the Department Director.
Approval Expiration & Timeout Behaviors
If an approver fails to respond within a configured expiration window (e.g., 72 hours), Service Broker enforces a deterministic timeout action:
- Reject (Default & Recommended): The request expires and is cancelled. This prevents unapproved workloads from deploying due to administrative absence.
- Approve: The request is automatically approved and forwarded to the provisioning engine upon timeout.
Lease & Expiration Policies: Automated Resource Reclamation
"Virtual machine sprawl"—where temporary development and testing workloads remain running indefinitely after projects end—is a primary driver of infrastructure waste. Lease Policies (also called Expiration Policies) enforce automated lifecycles for all provisioned deployments.
Core Lease Configuration Elements
- Total Lease Duration: Specifies the standard operational lifespan granted to a deployment upon initial provisioning (e.g., 30 days).
- Maximum Lease Duration: Establishes the absolute ceiling for a deployment, preventing infinite renewals. Even with extensions, a workload cannot exceed this duration.
- Grace Period: The buffer period (e.g., 3 days) between lease expiration and permanent resource destruction. When a lease reaches 0 days, the platform initiates a graceful guest OS shutdown and powers off the virtual machines. The resources remain in this stopped state throughout the grace period, giving application owners a final opportunity to request an emergency renewal if the workload is still required.
- Notification Warnings: Automated warning emails dispatched to deployment owners at configured intervals prior to expiration (e.g., 7 days and 1 day before lease expiration).
Automated Resource Reclamation
When the grace period expires without renewal, Service Broker triggers an automated end-of-life teardown:
- Virtual machines and attached storage disks are permanently deleted from vCenter Server and vSAN datastores.
- Dynamic NSX logical segments, Tier-1 routers, and security tags are torn down.
- IP address allocations and DNS records are returned to IPAM and DNS servers.
- Compute and memory headroom is reclaimed into the Project quota pool immediately.
Lease Extension Requests
Consumers can submit a "Change Lease" Day-2 action from the Service Broker deployment interface. Administrators can govern extensions by attaching an Approval Policy to the Change Lease action, requiring management sign-off if a user requests an extension exceeding standard parameters.
Resource Quotas & Allocation Ceilings
To prevent resource exhaustion, budget overruns, and noisy-neighbor contention across shared physical infrastructure, VCF Automation enforces Resource Quotas.
Resource Quotas differ fundamentally from hypervisor-level reservations and limits. While vSphere DRS resource pools govern memory and CPU scheduling shares on physical ESXi hosts, VCF Automation Quotas represent administrative capacity ceilings evaluated at request time.
Quota Scopes & Enforcement Metrics
Administrators configure quotas across two operational dimensions:
- Project Quotas: Constrain total aggregate consumption across all deployments owned by members of that Project, regardless of where the workloads land.
- Cloud Zone Quotas: Constrain consumption allocated by a specific Project within a specific Cloud Zone.
Quotas enforce hard ceilings across four core metrics:
- Total Virtual Machine Instances: Maximum concurrent VMs permitted (e.g., 100 instances).
- Total vCPUs: Maximum aggregate virtual processing cores (e.g., 400 vCPUs).
- Total Memory (GB): Maximum aggregate RAM allocation (e.g., 1,600 GB).
- Total Storage Capacity (GB): Maximum aggregate disk storage consumed across all datastores (e.g., 20,000 GB).
Quota Evaluation Pipeline
When a user clicks "Submit" on a catalog item, Service Broker performs an instant mathematical evaluation before invoking the Cloud Assembly placement engine. The system calculates the projected resource footprint of the requested template and adds it to the Project's current utilization. If any metric exceeds the quota ceiling, the request fails immediately with a clear explanatory error (e.g., Request rejected: Project 'Dev-Team' exceeds memory quota limit of 1600 GB).
Day-2 Action Policies: Operational Guardrails
Once workloads are provisioned, consumers require administrative autonomy to operate their environments. However, unrestricted operational freedom introduces operational risk. A developer mistakenly power-cycling a production database or creating unmanaged VM snapshots can cause severe outages and storage exhaustion.
Day-2 Action Policies establish fine-grained Role-Based Access Control (RBAC) over the post-deployment operations available to users.
Standard Day-2 Operations Governed by Policy
| Day-2 Operation | Operational Description | Risk Profile | Common Policy Enforcement Baseline |
|---|---|---|---|
| Power Off / Reset | Shuts down or resets guest virtual machines | Medium | Allowed for Dev/Test; restricted or approval-gated in Production |
| Create Snapshot | Captures point-in-time state of VM memory and disk | High (Storage growth) | Limited to max 2 concurrent snapshots with mandatory 72-hour auto-deletion |
| Revert / Delete Snapshot | Rolls back state or consolidates delta disks | High | Restricted to Project Administrators and designated DevOps engineers |
| Resize Compute (Resize) | Hot-adds or modifies vCPU count and RAM allocation | High (Quota impact) | Gated by Approval Policies and Project Quota headroom checks |
| Attach / Detach Disk | Binds or unbinds persistent vSAN storage volumes | Medium | Allowed within Project storage quota limits |
| Change Lease | Requests an extension to deployment lifespan | Low to Medium | Gated by Approval Policies if extension exceeds 30 days |
| Undeploy (Delete) | Completely decommissions and destroys deployment | Critical | Restricted to deployment owner or Project Administrator |
Custom Day-2 Actions
Beyond native hypervisor operations, administrators can create Custom Resource Actions. By binding an Aria Automation Orchestrator workflow or ABX action to a specific resource type, administrators expose custom self-service operational tasks directly within the Service Broker deployment interface. Examples include:
- "Execute On-Demand Security Vulnerability Scan"
- "Backup Database to S3 / MinIO Object Storage"
- "Rotate Operating System Root Password"
- "Install Splunk Forwarder Logging Agent"
Policy Comparison Matrix
| Policy Type | Primary Operational Purpose | Evaluation Trigger Point | Action on Violation / Match | Typical Governance Persona |
|---|---|---|---|---|
| Approval Policy | Intercept high-cost or oversized requests for human sign-off | Request submission or Day-2 action invocation | Halts provisioning; routes notification to approver queue | Department Manager / IT Operations Lead |
| Lease Policy | Automate deployment lifespan and eliminate VM sprawl | Continuous timer tracking post-deployment | Graceful power-off, grace period countdown, resource destruction | Cloud Architect / Financial Controller |
| Resource Quota | Enforce multi-dimensional compute and storage caps | Instant pre-allocation check at request time | Terminates request immediately with quota limit violation error | Capacity Planner / SDDC Administrator |
| Day-2 Action Policy | Restrict operational lifecycle actions based on user role | User interaction with active deployment UI | Hides or disables unauthorized action buttons | Security Compliance / Platform Engineer |
Exam Watch: Key Scenarios and Candidate Traps
[!IMPORTANT] Quota Evaluation Timing: VCP-VCF exam questions frequently assess when resource quotas are evaluated. Quotas are evaluated at request submission time in Service Broker, before any placement matchmaking or hypervisor API calls occur. If an incoming request causes a Project to exceed its aggregate vCPU, RAM, or storage limits, Service Broker rejects the request immediately without consulting vCenter Server or NSX.
[!TIP] Organization vs. Project Policy Precedence: If an Organization-level policy defines a maximum lease duration of 60 days, and a Project Administrator configures a Project-level policy specifying a 90-day lease, the Organization-level policy prevails. Project-level policies can be more restrictive than Organization policies, but they can never grant permissions or durations that violate an overarching Organization boundary.
[!WARNING] Snapshot Sprawl & Day-2 Policy Guardrails: Creating hypervisor snapshots without lifecycle limits degrades vSAN storage performance and consumes massive datastore capacity. In VCF Automation, administrators must enforce Day-2 Action Policies that limit the maximum number of snapshots per VM (e.g., max 1 or 2) and specify mandatory expiration timers to ensure snapshots are automatically committed and deleted.
[!NOTE] Real-World Exam Scenario: A software engineering department requires automated self-service access to deploy test environments. To control infrastructure spend, IT leadership mandates that: (1) Any VM with more than 8 vCPUs requires team lead approval; (2) All test environments must automatically power off after 14 days and be deleted after a 3-day grace period; and (3) Developers must never be allowed to manually delete production-tagged deployments. The solution requires configuring an Approval Policy, a Lease Policy, and a Day-2 Action Policy in Service Broker.
A finance department developer submits a catalog request in Service Broker for a large analytics cluster. The deployment fails instantly with an error stating that the total vCPU allocation ceiling has been reached, before any vCenter Server cloning tasks are initiated. What governance mechanism caused this immediate rejection?
An enterprise defines an Approval Policy in Service Broker requiring manager authorization for any deployment exceeding $250 in estimated monthly cost. An employee requests a deployment triggering this policy, but the manager is on vacation and fails to respond before the 72-hour expiration timer elapses. What is the default platform behavior upon expiration?
In Service Broker Lease Policies, what operational state does a virtual machine enter during the configured 'Grace Period' following lease expiration?
An organization-level policy enforces a maximum deployment lease duration of 45 days. A project administrator attempts to configure a project-level lease policy granting a 90-day lease to members of the Data Analytics project. How does the Service Broker policy engine resolve this configuration?