DEMO: Creating a Scaling Configuration

Developed with
QA

Contents

keyboard_tab
Introduction to Alibaba Auto Scaling
1
Course Overview
PREVIEW1m 13s
Course Summary
13

The course is part of this learning path

Alibaba Cloud Certified Associate (ACA) Preparation
course-steps
6
certification
1
lab-steps
4
Start course
Overview
Difficulty
Intermediate
Duration
55m
Students
48
Description

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 support@cloudacademy.com.

Learning Objectives

  • 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

Intended Audience

This course is intended for anyone who wants to learn how to set up auto scaling in their Alibaba Cloud environments.

Prerequisites

To get the most out of this course, you should already have a basic knowledge of Alibaba Cloud or another cloud vendor.

 

Transcript

Hello, and welcome to this demonstration on adding scaling configurations. Moving on from the last demonstration, you can see I'm in the portal in the scaling groups homepage and we have the test scaling group that I created in the first demonstration. And notice it's in a disabled state. It's disabled because at the moment there are no scaling configurations.

Now, if I go into the scaling group itself by clicking on the link, on the tabs, you can see we have a tab called configuration source. If I select the configuration source and select scaling configurations, you'll see that there are no current scaling configurations. So I can create a scaling configuration from here, or if I go back to the scaling group, you can see I can add it from the link here. Either way, it will take me to the add scale configuration page.

My options here are for the billing methods, pay-as-you-go or to do a preemptible instance. I'll leave it set to pay-as-you-go. And this is effectively the create a new ECS template. So I'm gonna go down and select my category of machine I want to build. This is just a demo, so I'm gonna do an entry-level shared. I've gotta go down to select a burstable T five, one CPU, one gig of RAM.

Once I've selected an ECU instance you'll see that I can also add, and it's recommended that we potentially add other instances in just in case the primary choice isn't available. So I'll just go and add a couple in there and you'll see that these get added up into the list. Next we're gonna go to the system configuration. And in here, I then choose either a public image, a custom image, a shared image, or I can select the operating system that I want.

So I'm just gonna go with an Ubuntu and select the latest version for it. Choose my storage. I can assign the public IP address. I'm not gonna bother with this one, I'm not gonna sign into it. And then effectively I can then go and select next for system configuration. From here, I can add tags into the ECS. I can add it into a resource group or it will go into the default resource group which is where mine's gonna go. And we then get to set up the log on credentials.

Now, I don't have to worry about log-ons, I'm not gonna log on to the machine. So I'll just do that as a set later. And I just then need to give it a name. So I'll just call it VM. Next to the preview, so we just check the settings, save the auto configuration itself and give that a name. Just call that scale config one, and create it.

Now, that'll say, do you want to enable the configuration? So I'll select enable. It will then create, and if I then opt enable the configuration itself, it will then say, do you want to enable the scaling group? 'Cause that was in a disabled state. So I could cancel that if I wanted to, if I was gonna create more scaling configurations, although I'll click okay in this instance.

So what will happen now? We have a scaling configuration and an enabled scaling group. Literally within a few seconds, we should end up with a scaling activity and you'll see we have a scaling activity which is adding one ECS instance. And that is to bring up to the minimum instance counts of one.

If I go to the basic information tab to take us back to the homepage for the scale group, you'll see at the moment we have now one total machine being added. And if I refresh, you'll see it's now adding one machine. And when that machine's built it will become in service. And here you can see that we now have a total of one machine in service, and that's due to the minimum number of instances set to one.

If I was to edit the group and make that to change to two, the minimum count of two, that would automatically trigger another scaling activity to bring it up to the minimum count. So let's go ahead and do that. I'll go back out to the default settings for it, I will edit, I will change the minimum instance count to two, click okay. And if I now go back into the group. By clicking on refresh, you'll see that we are now executing and adding another instance because the minimum number has now been set to two. If I go to scaling activities, you'll see that we had one scaling activity that was successful and another one that is executing at the moment.

If I go back to the basic information, just as an overview, we can see that we are now enabled. If I want to edit the basic group information in here I have an edit button that I can go and click edit where I can then go and change the settings from here as well. And that concludes this demonstration on adding a scale configuration.

In the next session, session five, we will cover auto scaling, scaling rules. I look forward to seeing you there.

About the Author
Avatar
David Bedford
Principal Technical Learning Specialist - Cloud
Students
109
Courses
3

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.