Skip to content

NKCODE TECH GEEK ZONE

  • RSS - Posts
Menu
  • Home
  • Cloud
    • Azure
    • Alibaba
    • AWS
  • Hardware
  • Linux
  • Network
  • Security
  • Windows Client / Servers
    • SQL
    • Windows Client OS
      • Windows 10
    • Windows Servers
      • Windows 2008R2
      • Windows Server 2012R2
      • Windows Server 2016
      • Windows Server 2019
  • VMWARE
  • Free Tools
  • About Me
    • Disclaimer
Menu

Alibaba Auto Scaling

Posted on July 25, 2019

Introduction

Auto-scaling on Alibaba Cloud is the notion of automatically provisioning and de-provisioning extra ECS instances to optimise for performance and running costs. When you experience a peak in demand and trigger a scaling task either based on a schedule or a performance metric, Alibaba Cloud can automatically provision a new instance of an ECS based on a select image and add the instance to a pool of ECS compute resources to share the workload. Similarly, when this demand is no longer a concern, autoscaling can be configured to safely de-provision the extra ECS instances that are no longer in demand. This scaling out and in based on ECS node counts is also referred to as horizontal scaling.

Scaling Tasks

There are two types of tasks available in auto-scaling. Scheduled Tasks and Event-Driven Tasks.

Scheduled Tasks operate on a schedule. If you know to expect a particular increase in demand at certain points throughout the week, you can create a task to preemptively provision extra ECS instances. By using Scheduled Tasks you have the extra ECS instances up and ready before you experience the extra demand.

Event-Driven Tasks are triggered when a particular metric is met. If your average CPU load exceed 70% you can create Event-Driven Tasks to provision one or more extra ECS instances. Auto-scaling can be used in conjunction with the CloudMonitor agent installed on ECS instances to expose more metrics that can be used for Event-Driven Tasks.

Setup

Before you can start working with the Auto Scaling functionality on the Alibaba Cloud, you need to authorise the Auto Scaling service. You can do this by logging on to the Auto Scaling console (accessible through here). Once you are in the Auto Scaling console you need to click on Authorise – this will take you to the RAM console to grant this access. From the roles select the AliyunESSDefaultRole and click on Agree. When you then return to the Auto Scaling console, you need to click refresh and your console will be ready for use.

Benefits

Flexible
Intelligent scheduling to support various scenarios.
Automatically adjusts computing resources according to various scaling policies.
Supports manual scale-in and scale-out, which offer you the flexibility to control resources manually.

Automatic
Automatic monitoring of health status.
Automatically create or release ECS resources after scaling policy is triggered.
Automatically configures load balancer and RDS whitelist.

Elastic Scale-Out and Scale-In
During peak periods, automatically adds additional computing resource to the pool
When user requests decrease, Auto Scaling automatically releases ECS resources to cut down your costs

Elastic Self-Health
When an unhealthy instance has been detected, the auto-scaling service automatically replaces the instance with a new one to ensure uninterrupted service

More

For installation instructions on the CloudMonitor agent see the following guide provided by Alibaba Cloud.

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...

Related

Welcome to Teck Geek Zone

Alibaba & Azure Cloud with a free trial worth $200-1200 USD Click below Cloud Providers

  • Securing Your Cloud Environment with Alibaba Cloud Firewall
  • 🚢 Sailing into the Data Age: How Cloud and IoT are Revolutionizing the Marine Industry
  • What is Azure Grafana? A Comprehensive Guide to Monitoring and Visualization
  • 🔐 How to Enable Virtualization-Based Security (VBS) for Windows Workloads in VMware Cloud Foundation and vSphere
  • Microsoft’s Azure SRE Agent: AI-Powered Reliability Engineering

Categories

  • Cloud (186)
    • Alibaba (39)
    • AWS (39)
    • Azure (114)
  • Free Tools (5)
  • Hardware (17)
  • Linux (13)
  • Network (28)
  • Security (21)
  • VMWARE (54)
  • Windows OS (44)
    • Windows 10 (7)
  • Windows Servers (69)
    • SQL (3)
    • Windows 2008R2 (7)
    • Windows Server 2012R2 (15)
    • Windows Server 2016 (20)
    • Windows Server 2019 (10)

Subscribe to our newsletter

©2025 NKCODE TECH GEEK ZONE | Design: Newspaperly WordPress Theme
%d