Introduction to Alibaba Auto Scaling
Alibaba Auto Scaling automatically creates and releases ECS instances based on pre-defined rules in order to scale services to match demand. Furthermore, it can configure server load balancer and relational database service white lists, without any manual intervention.
In this course, you will learn about the Alibaba Auto Scaling service and how it operates. You will learn about the core concepts of the service, scaling groups, scaling configurations, and scaling rules (manual and automatic). For each section of the course, there are guided demonstrations from the Alibaba Cloud platform that you can follow along with, giving you the practical experience necessary to set up auto scaling on your own environment.
If you have any feedback relating to this course, feel free to contact us at email@example.com.
- Understand the core concepts and components of Alibaba Auto Scaling
- Learn how to create, modify, enable, disable, and delete a scaling group
- Learn how to create, modify and delete the scaling configuration that provides the virtual servers in the scaling group
- Understand the different types of scaling rules that are available
- Learn how to use manual and automatic scaling operations
This course is intended for anyone who wants to learn how to set up auto scaling in their Alibaba Cloud environments.
To get the most out of this course, you should already have a basic knowledge of Alibaba Cloud or another cloud vendor.
Welcome to session four: Auto Scaling Scaling Configuration. In this session, we will cover creating a scaling configuration, querying a scaling configuration, and deleting a scaling configuration. Creating a new scaling configuration can be done in two ways. The first is from the Scaling Groups page in the console by selecting the Add Scaling Configuration link. Or second, from within a Scaling Group page by selected the Configuration Source tab.
Selecting the Configuration Source tab allows more options. You can create scaling configurations by selecting a Launch Template. Selecting Scaling Configuration gives the options of creating, importing, and exporting the scaling configuration, and Update Image Task is where you can create custom images and replace instances in an existing scaling configuration.
A scaling configuration defines the configuration of the ECS instances which will be added to the scaling group by any scaling activities that are triggered. Auto Scaling automatically adds ECS instances into scaling groups according to the active scaling configuration. You can modify scaling configuration after it's created.
ECS instances created by the new scaling configuration will still work as expected, and you can create up to 10 scaling configurations for one scaling group. However, only one scaling configuration can be active at any time. In the Scaling Groups console page, select the Configuration Source Tab to see any scaling configurations that have been created and check the status column to see the status.
Scaling configurations have the following lifecycle states. There's just two: Active and Not Effective or Inactive. The scaling group will use a scaling configuration that is in an active state to create or remove ECS instances from the group. Not effective or inactive scaling configurations are still part of the group, but they're not used to create ECS instances. To change the active configuration, select the Apply link in the Actions column.
Deleting a scaling configuration. You cannot delete a scaling configuration if it is in an active state and the scaling group cannot contain instances which were created by the scaling configuration that you want to delete. For example, if a scaling group has two ECS instances in it that were created from the current scaling configuration that I want to delete, then first I need to remove those instances. I can then disable the scaling configuration and finally, once it's disabled, I'll be able to delete it.
That concludes this session on Auto Scaling Scaling Configuration. In the next session, I will demonstrate how to create and activate a scaling group.
David’s IT career started in 1990, when he took on the role of Database Administrator as a favor for his boss. He redirected his career into the Client Server side of Microsoft with NT4, and then progressed to Active Directory and each subsequent version of Microsoft Client/Server Operating Systems. In 2007 he joined QA as a Technical Trainer, and has delivered training in Server systems from 2003 to 2016 and Client systems from XP onwards. Currently, David is a Principal Technical Learning Specialist (Cloud), and delivers training in Azure Cloud Computing, specializing in Infrastructure Compute and Storage. David also delivers training in Microsoft PowerShell, and is qualified in the Alibaba Cloud Space.