If you are using AS for the first time, following the wizard-based process is an easy way to create an AS group, AS configuration, and AS policy.
Parameter |
Description |
Example Value |
---|---|---|
Region |
A region is where the AS group is deployed. Resources in different regions cannot communicate with each other over internal networks. For lower network latency and faster access to your resources, select the region nearest to your target users. |
N/A |
AZ |
An AZ is a physical location where resources use independent power supply and networks. AZs are physically isolated but interconnected through an internal network.
To enhance application availability, the system evenly distributes your instances between AZs if multiple AZs have been selected. |
- |
Name |
Specifies the name of the AS group to be created. The name contains 1 to 64 characters and consists of only letters, digits, underscores (_), and hyphens (-). |
- |
Max. Instances |
Specifies the maximum number of ECS instances in an AS group. |
1 |
Expected Instances |
Specifies the expected number of ECS instances in an AS group. After an AS group is created, you can change this value, which will trigger a scaling action. |
0 |
Min. Instances |
Specifies the minimum number of ECS instances in an AS group. |
0 |
VPC |
Provides a network for your ECS instances. All ECS instances in the AS group are deployed in this VPC. |
- |
Subnet |
You can select up to five subnets. The AS group automatically binds all NICs to the created ECSs. The first subnet is used by the primary NIC of an ECS instance by default, and other subnets are used by extension NICs of the instance. |
- |
Load Balancing |
This parameter is optional. A load balancer automatically distributes traffic across all instances in an AS group to balance their service load. It improves the fault tolerance of your applications and expands application service capabilities. NOTE:
If you select Classic load balancer, configure the following parameters:
If you select Enhanced load balancer, configure the following parameters:
|
- |
Instance Removal Policy |
Controls which instances are first to be removed during scale in. If specified conditions are met, scaling actions are triggered to remove instances by following the removal policy you choose. There are four instance removal policies for you to choose from:
NOTE:
|
- |
EIP |
If EIP has been selected in the AS configuration for an AS group, an EIP is automatically bound to the ECS instance added to the AS group. If you select Release, the EIP bound to an instance is released when the instance is removed from the AS group. Otherwise, the system unbinds the EIP from the instance, but does not release it when the instance is removed from the AS group. |
- |
Health Check Method |
If an ECS instance fails a health check, AS replaces it with a new one. There are two health check methods:
|
- |
Health Check Interval |
Specifies the length of time between health checks. You can set a health check interval, such as 10 seconds, 1 minute, 5 minutes, 15 minutes, 1 hour, and 3 hours based on service requirements. |
5 minutes |
Enterprise Project |
Specifies the enterprise project to which the AS group belongs. If an enterprise project is configured for an AS group, ECSs created in this AS group also belong to this enterprise project. If you do not specify an enterprise project, the default enterprise project will be used. NOTE:
|
- |
Advanced Settings |
Configure notifications and tags. You can select Do not configure or Configure now. |
- |
Notification Mode |
This parameter is optional. If this parameter is selected, the system will notify you of scaling action results by email after a scaling action is complete. The notifications will be sent to the email address you specified when you registered yourself on the cloud. |
- |
Tag |
If you have many resources of the same type, you can use tags to manage your resources. You can identify specified resources quickly using the tags allocated to them. Each tag contains a key and a value. You can specify the key and value for each tag.
|
- |
On the displayed page, click Add AS Policy.
After the AS group is created, its status changes to Enabled.