Academy/VCAP — VCF Automation (3V0-21.25)/Lab: Design Service Broker Catalog with Approval & Quotas
This lab targets VCF 9.0

Lab: Design Service Broker Catalog with Approval & Quotas

VCF 9.0Intermediatevcap-advanced⏱ 120 min

Objectives

  • Create end-to-end Service Broker experience: custom form with conditional fields, tiered approval policy, lease policy, and quota enforcement.

Prerequisites

VCF lab environment deployed and operational

Lab Environment

Standard VCF lab environment for Advanced VCF 9.0 Automation

Tasks

Task 1 Lab: Design Service Broker Catalog with Approval & Quotas

Create end-to-end Service Broker experience: custom form with conditional fields, tiered approval policy, lease policy, and quota enforcement.

Step 1

Create org-level shared template "Standard-VM" with inputs: name, environment, vcpu, memory

Step 2

Build custom form with conditional field: if environment=prod, require approval_ticket input

Step 3

Add dynamic dropdown for cost_center from external API

Step 4

Set up tiered approval: auto-approve dev <$500, require manager for prod >$1000

Step 5

Configure lease policy: dev = Maximum Lease 30 days, Maximum Total Lease 60 days (allows one 30-day renewal; there is no extension-count setting); prod = Maximum Lease 365 days; set a grace period (defaults to 1 day if not defined) (VCF 9.0.1 docs p.5990)

Step 6

Set a resource quota policy scoped to the dev project with Projects User Limits sized for about five Standard-VM deployments per user (for example a CPU limit of 5 × the template vCPU; add memory/storage limits as needed). In-progress requests are not counted in quota evaluation, and a limit on concurrent deployments is not a quota setting (VCF 9.0.1 docs p.6223-6224)

Step 7

Request from Service Broker as dev user, then prod user

Step 8

Verify approval routing based on cost/environment

Validation Gate

Check: Verify lab completion

Expected: Lab exercise completed successfully

Common Errors

Service catalog items with unclear descriptions
Fix: Catalog items must describe what the user gets, not how it's built. 'Deploy 3-tier app' is unclear. 'Web Application Environment: 1 web server, 1 app server, 1 database, pre-configured networking and security' tells the user exactly what they're requesting.
Not setting resource quotas per project
Fix: Without quotas, a single project can consume the entire cluster. Configure per-project quotas: max VMs, max CPU, max memory, max storage. Quotas should align with cluster capacity planning — total allocated quotas should not exceed cluster capacity.
Catalog items without Day-2 actions configured
Fix: Users need to resize, snapshot, reconfigure, and destroy resources after deployment. Without Day-2 actions, every post-deployment change requires an admin ticket. Configure common Day-2 actions: resize (change T-shirt size), snapshot, add disk, power operations.

Final Validation

Lab completed successfully

✓ All steps completed → No errors observed

Cleanup / Restore

• Revert to snapshot if needed

Design Reflection (VCDX)

Service catalog design demonstrates consumption architecture thinking. VCDX panelists evaluate whether your catalog enables genuine self-service or is just a GUI wrapper over manual processes.

⚠ Known Pitfalls

Catalog items that create resources but provide no Day-2 management — users are stuck after deployment.
Quotas that don't align with cluster capacity — over-committed quotas cause deployment failures.
Was this page useful?
Type to search. ↑ ↓ to move, Enter to open, Esc to close.