Reduce Cloud Waste with Automatically Scheduled Hibernation

Cloud computing is suitable for both static and dynamic workloads,  but with no distinction between them, any user may face a wasteful cloud resources utilization. The self-estimated waste can be about 30%, while after thorough analysis the ratio can reach up to 70% in the case of not “round-the-clock” software environment. 

There are different ways to optimize these expenses and save cloud costs in order to apply the released budget in directions that can bring more income or more reward programs for the team. The most widely used are:

  • Monitoring utilization and rightsizing instances
  • Automating hibernation of temporary workloads
  • Shutting down workloads during certain hours
  • Selecting cloud or region based on price

Here we will cover scheduling automatic start and stop of workloads. This is one of the most simple but still highly effective solutions to save money while running your development, stage or testing environments in the cloud. 

Usually, during such lifecycle stages as development or testing, the environment is not constantly required, like during nighttime or weekends. The waste can be easily noticed in the simple illustration of a week with 5 working days approximately 10 hours each:

         

As you see, about 70% of resources are wasted during non-working hours. So it would be a smart decision to stop your environment during such an idling period to cut expenditures. Obviously, doing it manually is an inefficient way of management, so you need to automate the process. 

Apiqcloud has created a scheduler add-on that is designed to automate the stop and start operations for any environment on the cloud platform. Being extremely simple in configuration, it allows to gain considerable savings, especially when working with multiple environments. And to help you with that, below we’ll consider the steps required to install and manage this add-on, as well as a number of possible configurations for the most common use cases with this solution. 

Hibernation Scheduler Installation

  • The Env Start/Stop Scheduler solution is added as one of the default add-ons at Apiqcloud Marketplace, thus its installation is a simple and automated process. 
  1. Log into the dashboard and click the Marketplace button at the top pane.
  2. Switch to the Add-ons tab and find the Env Start/Stop Scheduler solution. Hover over it and click the appeared Install button.



  3.  Provide the following data to customise add-on up to your needs:

    1. Switch on the Stop/Start toggles and specify the time the environment should be stopped/started respectively
    2. Select days of the week for each action to be applied

Choose a preferable Time Zone
              

  • Environment name - target environment that should be managed by add-on
  • Nodes - environment layer the add-on will be installed to; it is fetched automatically upon selecting the environment (we recommend leaving this field with default choice).
Note that Start/Stop Scheduler can be run on just a single layer at a time; otherwise (i.e. if being integrated to several ones) only the lastly installed or reconfigured will be working.

Click Install to add a scheduler.

4. In a moment, you’ll see a notification about the operation being completed successfully.

             

That’s it! The add-on has been installed and is already working, being ready to regulate your environment activity time based on the given schedule in compliance with the Time Zone you chose.

Hibernation Scheduler Management

In case you need to adjust the start / stop conditions after installation, this can be done directly via the dashboard:

  1. Click on the Add-Ons icon next to the environment layer, where the solution was installed. Within the opened tab, find the scheduler and select the Configure button.

2. The appropriate frame will be shown, allowing to set new values for the Stop and Start time, Days and Time Zone.  For example, you can untick the weekends, so the environments will be fully deactivated during these days.

Click Apply to use the changed settings.

Note: in case the destination environment is shared among several collaborators, only one collaborator can install and configure the add-on. So, avoid situations when the first collaborator installs add-on and the second one configures it and vice versa.

3. When moving a project to production or in case you just don’t need this solution anymore, use the menu at the top right corner of the scheduler configuration to Uninstall it. 

That’s all! Now, you know how to reduce cloud waste with automatically scheduled hibernation using Apiqcloud Env Start/Stop Scheduler add-on. Organize your environment's uptime to maximize resources and funds saving on your testing and development environments running with Apiqcloud PaaS.

Note: The update does not affect add-ons installed earlier. In case you prefer to use an old add-on version, reach out to the support team at support@apiqcloud.com. We will configure the old addon for you.
To update to the latest version you need to reinstall the add-on.

  • Environment Start/Stop Scheduler Add-On, Environment Start/Stop Scheduler Add-On in apiqcloud
  • 0 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

How to Deploy Magento into Apiqcloud PHP Cloud

Magento is an extremely popular open source e-commerce service powered by PHP. It provides a...

How to open a support ticket to Apiqcloud

Please follow below steps to open a ticket :-  Login to Apiqcloud dashboard  Click on HELP...

Types of Accounts

By default, accounts created in Apiqcloud are considered to be trial accounts. Apiqcloud...

File Synchronization

File Synchronization Between Several Application Servers in a Cluster As incoming traffic...

Apache & NGINX Modules

Here you can see the full list of the Apache and NGINX modules available in Apiqcloud by...