SlideShare a Scribd company logo
How to Autoscale in Cloudstack
Using LiquiD AutoScaler
Works with any load-balancer and no coding skills required
Overview
• Autoscaling: the process of automatically provisioning extra servers when
server load jumps over a threshold and automatically decreasing server
capacity if load is low.
• Benefits:
– Better responsiveness
– Lower costs
– Lower energy consumption
• Presented solution:
– Works with any CloudStack compatible load-balancer
– Does not require any coding skills
– Fully integrated in CloudStack
How does it work?
How does it work?
• LiquiD AutoScaler:
– Runs on a VPS
– Monitors the performance of the resource through the load-balancer that
is in front of the web server(s)
– Monitors as if it is an actual website/app user (instead of based on RAM /
CPU)
– In case performance falls under a pre-determined threshold, it spins up an
extra spot instance, making use of CloudStack’s API
Prerequisites
• Before setting up AutoScaler, there are a few prerequisites:
– A correctly set-up load-balancer rule in CloudStack with a public IP.
– A prepared template that will be used to generate spot instances.
– The Load-balancer, webserver, AutoScaler and template must all be in
the same datacenter.
– The AutoScaler must be able to make an external connection to an e-
mail server, a route to the internet and be able to make an http
connection to a public IP address.
Overview of the setup steps
• The following steps have to be done to setup LiquiD AutoScaler
1. Register user and company
2. Choose password
3. Provide CloudStack API details
4. Choose the datacenter
5. Set main settings (load-balancer, template, compute offering,
maximum and minimum spot instances)
6. Optional: set advanced settings
7. Start the AutoScaler and monitor performance
Step 1: register user and company
Step 2: choose a password
Step 3: provide API details
Step 4: choose the datacenter
Step 5: set main settings
Step 5: set main settings
• Select the load-balancer that runs your public IP and to which the spot
instances will be added.
• Select the template used by your spot instances. It consists of a base OS
image and application.
• Select the compute offering for new spot instances.
• Select the maximum number of spot instances that are allowed to spin
up. A higher number allows for more stability in a high load situation, but
might also lead to higher costs.
• Select the minimum number of spot instances that are required to spin
up.
Step 6: set advanced settings (opt)
Step 6: set advanced settings (opt)
• LiquiD AutoScaler has default settings, but it is possible to customize these.
• Set the upper and lower thresholds, which decide when AutoScaler will spin
up or spin down a spot instance.
– The highest value of 100 means that webservers run at 100% efficiency
and that 100% of capacity is available.
– The lowest value of 0 means that 0% of capacity is available. A website
user would experience a very slow responding website/app, so slow that
he might try to refresh, or worse, leave the webpage/app.
– By default, the values are set to 90 (upper) and 20 (lower).
• Set the hold period, the period for which the most recently provisioned spot
instance will remain active, starting when the value has passed the lower
threshold.
• Set the boot delay, the period that the AutoScaler will wait after scaling up
before scaling up again.
• Determine the monitoring frequency, being the number of times per minute
that AutoScaler checks the performance of the resource through the load-
balancer.
Step 7: start and monitor status
Step 7: start and monitor status
• After setting up the AutoScaler, the last step is to start it. The AutoScaler
status will show that it is Running.
• Users can pause the AutoScaler, for example during maintenance.
• The screen shows the amount of spot instances active.
• In case Resource Availability is consistently green, AutoScaler will scale
down a provisioned spot instance. In case Resource Availability is
consistently red, AutoScaler will scale up a spot instance.
• It shows whether the AutoScaler is in the process of booting up a spot
instance and it shows how long the down scale hold period is remaining.
• For convenience, it shows the monitored load-balancer, and the template
and compute offering used for new spot instances.
Further information
• LiquiD AutoScaler has now been set up correctly.
• AutoScaler should be available through your IaaS provider. If it is not
available at your provider, please contact the LiquiD AutoScaler team at
info@liquidns.com.
• For further information:
– Help section in AutoScaler
– Product website: www.liquidns.com
"Apache", "CloudStack", "Apache CloudStack", the Apache CloudStack logo, the Apache CloudStack Cloud Monkey logo
and the Apache feather logos are registered trademarks or trademarks of The Apache Software Foundation.
“LiquiD AutoScaler”, “LiquiD”, and the LiquiD logo are trademarks of Treestle B.V..

More Related Content

PPTX
Autoscale without netscaler_ccceu13
PPTX
Cloudstack autoscaling
PDF
Detecting Real-Time Financial Fraud with Cloudflow on Kubernetes
PPTX
Autoscaling with Kubernetes
PPTX
Autoscaling on Kubernetes
PPTX
Enforcing Application SLA with Congress and Monasca
PPTX
Kubernetes as Orchestrator for A10 Lightning Controller
PDF
#lspe Q1 2013 dynamically scaling netflix in the cloud
Autoscale without netscaler_ccceu13
Cloudstack autoscaling
Detecting Real-Time Financial Fraud with Cloudflow on Kubernetes
Autoscaling with Kubernetes
Autoscaling on Kubernetes
Enforcing Application SLA with Congress and Monasca
Kubernetes as Orchestrator for A10 Lightning Controller
#lspe Q1 2013 dynamically scaling netflix in the cloud

What's hot (20)

PDF
Kubernetes: Reducing Infrastructure Cost & Complexity
PPTX
How we Auto Scale applications based on CPU with Kubernetes at M6Web?
PPTX
Ceilosca
PPTX
goto; London: Keeping your Cloud Footprint in Check
PDF
StreamSQL Feature Store (Apache Pulsar Summit)
PDF
PaaS: An Introduction
PDF
Migrating Monolithic Applications with the Strangler Pattern
PPTX
INTRODUCING: CREATE PIPELINE
PDF
Should you read Kafka as a stream or in batch? Should you even care? | Ido Na...
PDF
9 plugin Cloudstack Developer Day
PDF
Full Stack Reactive In Practice
PPTX
Training And Serving ML Model Using Kubeflow by Jayesh Sharma
PDF
Honest performance testing with NDBench
PDF
Blueprint: Kafka Publisher of Ceilometer
PPTX
Watcher, a Resource Manager for OpenStack: Plans for the N-release and Beyond
PPTX
Aws Azure-gcp-architecture-for starter
PPTX
AWS ECS workshop
PPTX
Dev ops for big data cluster management tools
PPTX
Ceilo componentization diagrams
PDF
A quick introduction to AKS
Kubernetes: Reducing Infrastructure Cost & Complexity
How we Auto Scale applications based on CPU with Kubernetes at M6Web?
Ceilosca
goto; London: Keeping your Cloud Footprint in Check
StreamSQL Feature Store (Apache Pulsar Summit)
PaaS: An Introduction
Migrating Monolithic Applications with the Strangler Pattern
INTRODUCING: CREATE PIPELINE
Should you read Kafka as a stream or in batch? Should you even care? | Ido Na...
9 plugin Cloudstack Developer Day
Full Stack Reactive In Practice
Training And Serving ML Model Using Kubeflow by Jayesh Sharma
Honest performance testing with NDBench
Blueprint: Kafka Publisher of Ceilometer
Watcher, a Resource Manager for OpenStack: Plans for the N-release and Beyond
Aws Azure-gcp-architecture-for starter
AWS ECS workshop
Dev ops for big data cluster management tools
Ceilo componentization diagrams
A quick introduction to AKS
Ad

Similar to How to Autoscale in Apache Cloudstack using LiquiD AutoScaler (20)

PDF
Autoscaler architecture of apache stratos 4.0.0
PDF
Architecting for the cloud scability-availability
PPTX
CC_Unit4_2024_Class4 Cloud Computing UNIT IV
PPTX
Azure appservice
PPTX
Building Scalable Applications with Microsoft Azure
PDF
오토스케일링 제대로 활용하기 (김일호) - AWS 웨비나 시리즈 2015
PDF
Solution Manager 7.2 SAP Monitoring - Part 2 - Configuration
PPTX
Openstack Rally - Benchmark as a Service. Openstack Meetup India. Ananth/Rahul.
PDF
Building an Autoscaler for DigitalOcean - DevOps Days Denver 2015
PPTX
Using AWS CloudWatch Custom Metrics and EC2 Auto Scaling -VSocial Infrastructure
PPTX
Leveraging elastic web scale computing with AWS
PPTX
Autonomic Decentralised Elasticity Management of Cloud Applications
PDF
Adaptive Scaling of Microgateways on Kubernetes
PDF
Performance tuning Grails applications
PPTX
Venugopal adec
PDF
August-20_Autoscaling-and-Cost-Optimization-on-Kubernetes-From-0-to-100.pdf
PPTX
Azure Functions in Action #CodePaLOUsa
PDF
Tame the Mesh An intro to cross-platform tracing and troubleshooting.pdf
PPTX
Azure Functions in Action #OrlandoCC
PDF
OTM Performance Review and Benchmarking
Autoscaler architecture of apache stratos 4.0.0
Architecting for the cloud scability-availability
CC_Unit4_2024_Class4 Cloud Computing UNIT IV
Azure appservice
Building Scalable Applications with Microsoft Azure
오토스케일링 제대로 활용하기 (김일호) - AWS 웨비나 시리즈 2015
Solution Manager 7.2 SAP Monitoring - Part 2 - Configuration
Openstack Rally - Benchmark as a Service. Openstack Meetup India. Ananth/Rahul.
Building an Autoscaler for DigitalOcean - DevOps Days Denver 2015
Using AWS CloudWatch Custom Metrics and EC2 Auto Scaling -VSocial Infrastructure
Leveraging elastic web scale computing with AWS
Autonomic Decentralised Elasticity Management of Cloud Applications
Adaptive Scaling of Microgateways on Kubernetes
Performance tuning Grails applications
Venugopal adec
August-20_Autoscaling-and-Cost-Optimization-on-Kubernetes-From-0-to-100.pdf
Azure Functions in Action #CodePaLOUsa
Tame the Mesh An intro to cross-platform tracing and troubleshooting.pdf
Azure Functions in Action #OrlandoCC
OTM Performance Review and Benchmarking
Ad

Recently uploaded (20)

PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PDF
Triggering QUIC, presented by Geoff Huston at IETF 123
PDF
Paper PDF World Game (s) Great Redesign.pdf
PPTX
Funds Management Learning Material for Beg
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPTX
artificial intelligence overview of it and more
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPTX
Internet___Basics___Styled_ presentation
DOCX
Unit-3 cyber security network security of internet system
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PDF
The Internet -By the Numbers, Sri Lanka Edition
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PPTX
QR Codes Qr codecodecodecodecocodedecodecode
PPTX
international classification of diseases ICD-10 review PPT.pptx
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
INTERNET------BASICS-------UPDATED PPT PRESENTATION
Triggering QUIC, presented by Geoff Huston at IETF 123
Paper PDF World Game (s) Great Redesign.pdf
Funds Management Learning Material for Beg
Slides PPTX World Game (s) Eco Economic Epochs.pptx
artificial intelligence overview of it and more
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
Internet___Basics___Styled_ presentation
Unit-3 cyber security network security of internet system
522797556-Unit-2-Temperature-measurement-1-1.pptx
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
Decoding a Decade: 10 Years of Applied CTI Discipline
The Internet -By the Numbers, Sri Lanka Edition
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
WebRTC in SignalWire - troubleshooting media negotiation
QR Codes Qr codecodecodecodecocodedecodecode
international classification of diseases ICD-10 review PPT.pptx
Tenda Login Guide: Access Your Router in 5 Easy Steps

How to Autoscale in Apache Cloudstack using LiquiD AutoScaler

  • 1. How to Autoscale in Cloudstack Using LiquiD AutoScaler Works with any load-balancer and no coding skills required
  • 2. Overview • Autoscaling: the process of automatically provisioning extra servers when server load jumps over a threshold and automatically decreasing server capacity if load is low. • Benefits: – Better responsiveness – Lower costs – Lower energy consumption • Presented solution: – Works with any CloudStack compatible load-balancer – Does not require any coding skills – Fully integrated in CloudStack
  • 3. How does it work?
  • 4. How does it work? • LiquiD AutoScaler: – Runs on a VPS – Monitors the performance of the resource through the load-balancer that is in front of the web server(s) – Monitors as if it is an actual website/app user (instead of based on RAM / CPU) – In case performance falls under a pre-determined threshold, it spins up an extra spot instance, making use of CloudStack’s API
  • 5. Prerequisites • Before setting up AutoScaler, there are a few prerequisites: – A correctly set-up load-balancer rule in CloudStack with a public IP. – A prepared template that will be used to generate spot instances. – The Load-balancer, webserver, AutoScaler and template must all be in the same datacenter. – The AutoScaler must be able to make an external connection to an e- mail server, a route to the internet and be able to make an http connection to a public IP address.
  • 6. Overview of the setup steps • The following steps have to be done to setup LiquiD AutoScaler 1. Register user and company 2. Choose password 3. Provide CloudStack API details 4. Choose the datacenter 5. Set main settings (load-balancer, template, compute offering, maximum and minimum spot instances) 6. Optional: set advanced settings 7. Start the AutoScaler and monitor performance
  • 7. Step 1: register user and company
  • 8. Step 2: choose a password
  • 9. Step 3: provide API details
  • 10. Step 4: choose the datacenter
  • 11. Step 5: set main settings
  • 12. Step 5: set main settings • Select the load-balancer that runs your public IP and to which the spot instances will be added. • Select the template used by your spot instances. It consists of a base OS image and application. • Select the compute offering for new spot instances. • Select the maximum number of spot instances that are allowed to spin up. A higher number allows for more stability in a high load situation, but might also lead to higher costs. • Select the minimum number of spot instances that are required to spin up.
  • 13. Step 6: set advanced settings (opt)
  • 14. Step 6: set advanced settings (opt) • LiquiD AutoScaler has default settings, but it is possible to customize these. • Set the upper and lower thresholds, which decide when AutoScaler will spin up or spin down a spot instance. – The highest value of 100 means that webservers run at 100% efficiency and that 100% of capacity is available. – The lowest value of 0 means that 0% of capacity is available. A website user would experience a very slow responding website/app, so slow that he might try to refresh, or worse, leave the webpage/app. – By default, the values are set to 90 (upper) and 20 (lower). • Set the hold period, the period for which the most recently provisioned spot instance will remain active, starting when the value has passed the lower threshold. • Set the boot delay, the period that the AutoScaler will wait after scaling up before scaling up again. • Determine the monitoring frequency, being the number of times per minute that AutoScaler checks the performance of the resource through the load- balancer.
  • 15. Step 7: start and monitor status
  • 16. Step 7: start and monitor status • After setting up the AutoScaler, the last step is to start it. The AutoScaler status will show that it is Running. • Users can pause the AutoScaler, for example during maintenance. • The screen shows the amount of spot instances active. • In case Resource Availability is consistently green, AutoScaler will scale down a provisioned spot instance. In case Resource Availability is consistently red, AutoScaler will scale up a spot instance. • It shows whether the AutoScaler is in the process of booting up a spot instance and it shows how long the down scale hold period is remaining. • For convenience, it shows the monitored load-balancer, and the template and compute offering used for new spot instances.
  • 17. Further information • LiquiD AutoScaler has now been set up correctly. • AutoScaler should be available through your IaaS provider. If it is not available at your provider, please contact the LiquiD AutoScaler team at info@liquidns.com. • For further information: – Help section in AutoScaler – Product website: www.liquidns.com "Apache", "CloudStack", "Apache CloudStack", the Apache CloudStack logo, the Apache CloudStack Cloud Monkey logo and the Apache feather logos are registered trademarks or trademarks of The Apache Software Foundation. “LiquiD AutoScaler”, “LiquiD”, and the LiquiD logo are trademarks of Treestle B.V..