Suspending and resuming Cloudera Data Engineering virtual clusters using the CDP CLI [Technical Preview]
Learn about how to suspend and resume Cloudera Data Engineering Virtual Clusters (VCs) using the CDP CLI. The Virtual Cluster-level suspend and resume feature enables you to temporarily pause one or more Cloudera Data Engineering VCs during idle periods. Cloudera has observed that suspending a larger number of VCs offers significant cost savings, primarily on the compute resources.
The virtual cluster-level suspend and resume feature is supported on both AWS and Azure with no operational differences on these two cloud providers.
The virtual cluster-level suspend and resume feature is implemented as a convenient, user-friendly, and one-step procedure.
- When you suspend a VC
-
- The VC is transitioned to maintenance mode, where:
- The VC is locked
- Running jobs and sessions are killed
- Job schedules are paused
- The suspend operation is started by scaling down all the
infrastructure deployments of the given VC.
Depending on the distribution of the pods, the associated node can be released.
- The VC is transitioned to maintenance mode, where:
- When you resume a VC
-
- First the VC is resumed.
- The VC exits maintenance mode, which involves:
- Unpausing all the job schedules
- Unlocking the VC
To suspend and resume your Cloudera Data Engineering virtual cluster, you need to:
- Request the
DE_ENABLE_VC_SUSPEND_RESUMEentitlement - Have
DEAdminuser privileges at the environment level - Set up
~/.cdp/config - Set up
~/.cdp/credentials - Make sure that you are using the CDP CLI Beta version because the
suspend-vcand theresume-vcCLI options are only available in it. To install the CDP CLI Beta version, see Installing Beta CDP CLI.
