Suspending and resuming a Cloudera Data Engineering Service using a CLI script - Technical preview

You have the option to leverage the suspend and resume script to suspend and resume your Cloudera Data Engineering Services.

After specifying the cluster_id, the operation type, and the profile, the suspend-resume.py script suspends or resumes the entire cluster that is specified by the cluster_id.

To suspend and resume your Cloudera Data Engineering Services, you need to:

  • Request the DE_ENABLE_SUSPEND_RESUME entitlement

  • Have DE Admin user privileges at the environment level
  1. Download the suspend-resume.py script from GitHub.
  2. Using the CDP CLI, run the suspend and resume script:
    suspend-resume.py [-h] [--cluster_id [***CLUSTER-ID***]] [--operation [***OPERATION***]] [--profile [***PROFILE***]]

    Specify the following parameters:

    • The cluster ID
    • The operation type (suspend or resume)
    • The profile name