Creating a Desktop Pool
Create a pool of identically configured desktops hosted on Oracle Cloud Infrastructure (OCI) by using the Secure Desktops service.
Prerequisites:
Before creating a desktop pool:
- Verify that the tenancy administrator has configured required resources:
- Compartment with access to appropriate groups
- VCN and subnetImportant
If you require unique hostnames for desktops, ensure that DNS is enabled for both the VCN and subnet. - IAM policies
- Users and groups (see Understanding Desktop User Access to a Desktop Pool)
- Custom image (optional)
For more information, see Setting Up the Tenancy.
- Review optional features that can be enabled when you create the desktop pool:
The following settings are immutable and cannot be edited after the desktop pool is created:
- Administrator privileges
- Placement (availability domain)
- Image and shape
- Desktop storage
- Networking (including private access)
- Desktop management inactivity and disconnect settings
- Note
To perform this task, you must be the desktop administrator. - Use the desktop-pool create command and required parameters to create a desktop pool in the specified compartment:
oci desktops desktop-pool create --compartment-id <ocid> --display-name <desktop_name> --are-privileged-users <is_admin> --availability-domain <availability_domain> --availability-policy <availability_policy_file> --contact-details <pool_admin_contact> --device-policy <device_policy_file> --is-storage-enabled <has_storage> --storage-size-in-gbs <storage_size> --storage-backup-policy-id <ocid> --maximum-size <max_pool_size> --standby-size <standby_size> --image <image_file> --shape-name <shape> --network-configuration <network_config_file> [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Note
When using this command to create a Windows desktop pool with a Windows BYOL image, you must add the free-form tag
"oci:desktops:enable_byol":"true"
to enable the bring your own license (BYOL) license type.Add this tag using the
--freeform-tags
parameter. For example, for a Windows 11 desktop with shielded instances:--freeform-tags '{"oci:desktops:enable_measured_boot":"true", "oci:desktops:enable_secure_boot":"true", "oci:desktops:enable_byol":"true"},
For more information about these tags, see Secure Desktops Tags.
Use the CreateDesktopPool operation to create a desktop pool.
Note
When using this operation to create a Windows desktop pool with a Windows BYOL image, you must add the free-form tag
"oci:desktops:enable_byol" : "true"
to enable the bring your own license (BYOL) license type.Add this tag using the
freeformTags
parameter. For example, for a Windows 11 desktop with shielded instances:"freeformTags" : { "oci:desktops:enable_measured_boot" : "true", "oci:desktops:enable_secure_boot" : "true", "oci:desktops:enable_byol" : "true" },
For more information about these tags, see Secure Desktops Tags.