Schedule Cluster On or Off

  • Capella Operational
  • how-to
    +
    You can schedule when your cluster is on and off to save costs.

    Turning off your cluster turns off the compute for your cluster but the storage remains. All of your data, schema (buckets, scopes, and collections), and indexes remain, as well as your cluster configuration, including users and allow lists.

    When you turn your cluster off, you will be charged the OFF amount for the cluster

    Private endpoint charges still apply when your cluster is off. To avoid charges, delete your endpoints and turn off Private Endpoints before you turn off your cluster.

    Variable backup and data transfer costs still apply when your cluster is off.
    Public API

    You can also schedule your cluster to turn on or off using the Management API v4.0 Reference:

    When a Cluster is Turned Off

    Linked App Services

    • Linked App services will be turned off.

    Application and client connections

    • Application and client connections will be disconnected.

      You cannot connect to or read/write from your cluster.

    • You will receive an authentication error if you try to connect to a cluster that is off. Verify the cluster status if the application returns an authentication error.

    Replications

    • Replications will be deleted.

    Backups and scheduled backups

    • Scheduled or on-demand backups cannot run if a cluster is off.

    • Restores cannot run, even if the destination cluster is on, if the cluster that contains the backup is off.

    • Backups will continue to expire when a cluster is off.

    • Backups cannot be downloaded if a cluster is off.

    • If the cluster is scheduled to turn off while a backup or restore operation is running, Capella waits for the operation to complete before turning off the cluster If you try to manually turn off the cluster while a backup or restore operation is running, Capella will return an error and the cluster will not turn off.

    Maintenance

    • If the cluster is running maintenance or due to run maintenance in the next hour, the cluster cannot be turned off manually or through a schedule.

    • When the cluster is turned back on, it might need maintenance. Avoid scheduling an off soon after turning your cluster back on.

    • If your cluster is already turned off when a maintenance job is set to run, Capella automatically reschedules the maintenance job for an hour later. The maintenance can be repeatedly rescheduled until the cluster is on.

    Schedule Cluster On/Off

    To schedule your cluster:

    1. Log in to your account and click Operational.

    2. Choose your cluster.

    3. Click on the Settings tab.

    4. In the navigation menu, click Schedule On/Off.

    5. Choose your timezone for your schedule from the drop-down list.

    6. Choose the day and time ranges you want your cluster to be on.

      To add different time ranges for different days, click + Add Scheduling Row to add new rows.

    7. Click Start Schedule.

    Capella will not turn off the cluster if a cluster backup is running, if maintenance is running, or if maintenance is scheduled within 1 hour. If a cluster that is off requires maintenance, the maintenance begins when it turns on.

    Edit Cluster Schedule

    To edit your cluster schedule:

    1. Log in to your account and click Operational.

    2. Choose your cluster to go to your cluster page.

    3. Click on the Settings tab.

    4. In the navigation menu, click Schedule On/Off.

    5. Click Edit Schedule.

    6. Edit your timezone, day, and time ranges as needed.

      To add different time ranges for different days, click + Add Scheduling Row to add new rows.

    7. Click Start Schedule.

    Delete Cluster Schedule

    You cannot recover a deleted schedule.

    To delete your cluster schedule:

    1. Log in to your account and click Operational.

    2. Choose your cluster.

    3. Click on the Settings tab.

    4. In the navigation menu, click Schedule On/Off.

    5. Click Delete Schedule.

    6. Type "delete" to confirm and click Delete Schedule.