Cloud zones in VMware Aria Automation Assembler are a method of partitioning the resources that cloud accounts provide to projects.
You create cloud zones to define a set of resources within a cloud account. Each cloud zone is associated with a VMware Aria Automation Assembler project. Cloud zones can be shared across multiple groups of users and are not limited by a one-to-one relationship.
You can add or remove tags to filter the compute resources that are used in the cloud zone. For example, you can have multiple clusters within a VI workload domain provided by a vCenter Server cloud account. The clusters can serve different purposes for specific functional or non-functional constraints, or classifications.
Cloud zones do not control how CPU and memory are allocated during periods of resource contention based on workload classifications. This function can be performed by the use of vSphere resource pools on a vCenter Server cloud account. Activate vSphere resource pools with scalable shares to ensure resource availability when a workload domain is activated for vSphere with Tanzu or if workloads require fine-grained control of resources based on classifications during periods of resource contention.
Resource Pool |
Description |
---|---|
vcf-edge-domain_name-resourcepool-guid |
The resource pool created for the NSX Edge cluster components deployed on the first cluster in a VI workload domain. Objects in this resource pool can be moved to the parent or root resource pool if no other resource pools are required.
Caution:
Do not place workloads in the resource pool created by the NSX Edge cluster automation. |
Namespaces |
The resource pool created in a VI workload domain when vSphere with Tanzu is activated. Additional nested resource pools are created for the workload management supervisor cluster and each namespace. |
user-defned_resource_pool |
The resource pools created for statically or dynamically deployed virtual machines for organization workloads. These resource pools must be created alongside the sibling resource pools in vSphere clusters that are running NSX Edge clusters and vSphere with Tanzu. |
By default, on vCenter Server-backed cloud zones, workloads are placed on random hosts. Optionally, one of the following placement policies can be applied to a cloud zone.
Policy |
Description |
---|---|
Default |
Uses random hosts for workload placement. |
Binpack |
The most loaded host with enough resources to run the workload is selected for workload placement. |
Spread |
Evenly spreads workloads across hosts during workload placement. |
Advanced |
Uses VMware Aria Operations recommendations, if integrated, for workload placement. |
For a vCenter Server cloud account, you can deploy the workload in an alternate folder. You can set the target folder with a cloud template expression that evaluates end-state values. For example, if you set the targetCloud
value to vmc
, the folderName
property value is set to Workload
. The else
option can apply an alternative value to folderName
- a blank value (""
) or another input value ${input.myFolderName}
. See the following sample YAML snippet for a cloud template:
resources: 'Cloud_vSphere_Machine_1: type: Cloud.vSphere.Machine properties: image: ''${input.operatingSystem}'' flavor: ''${input.nodeSize}'' FolderName: ‘${input.targetCloud == “vmc” ? “Workload” : ${input.targetEnvironment}’ networks: - network: ''${resource.Cloud_NSX_Network_1.id}'' constraints: - tag: ''${"cloud:" + to_lower(input.targetCloud)}'''
You can add capability tags to match cloud template constraints to a cloud zone. Capability tags are optional because the tags on compute resources, such as vSphere clusters and resource pools, are also used as capability tags for a cloud zone, for example, cloud:private
, region:sfo
, region:us-west-1
, region:us-west-2
, env:prod
, env:dev
, env:dmz
.
Decision ID |
Design Decision |
Design Justification |
Design Implication |
---|---|---|---|
PCA-VAA-CA-CFG-006 |
Create a cloud zone for each VI workload domain. |
Provides provisioning on a specific workload domain. |
None. |
PCA-VAA-CA-CFG-007 |
Add tags to each cloud zone. |
Ensures that deployments can be targeted for a designated cloud account region. |
|
PCA-VAA-CA-CFG-008 |
For each cluster added to a VI workload domain, add tags to the vSphere cluster. |
|
|
PCA-VAA-CA-CFG-009 |
Add a workload folder in the vCenter Server data center for each VI workload domain. |
Ensures that cloud templates that do not include the |
Note:
The destination folder, where the cloud templates are deployed, must exist. The destination folder cannot be created by VMware Aria Automation Assembler without extensibility. |
PCA-VAA-CA-CFG-010 |
Use the |
|
Does not provide advanced workload placement across cloud zones and the related cloud accounts. |