This topic describes how to create a vServer group for a Server Load Balancer (SLB) instance. A vServer group contains Elastic Compute Service (ECS) instances that function as backend servers. If you associate a vServer group with a listener, the listener distributes requests only to backend servers in the vServer group.
Prerequisites
Before you create a vServer group, make sure that the following conditions are met:
- An SLB instance is created. For more information, see Create an SLB instance.
- ECS instances are created and applications are deployed on the ECS instances to process requests.
Background information
Take note of the following items before you create a vServer group for an SLB instance:
- ECS instances are added to a vServer group and the corresponding SLB instance must be deployed in the same region.
- An ECS instance can be added to multiple vServer groups.
- A vServer group can be associated with multiple listeners of an SLB instance.
- A vServer group consists of ECS instances and application ports.
Procedure
- Log on to the Server Load Balancer console.
- On the Instances page, select the region of the SLB instance for which you want to create a vServer group.
- Find the SLB instance and click its instance ID.
- Click the VServer Groups tab.
- On the VServer Groups tab, click Create VServer Group.
- On the Create VServer Group page, set the parameters.
- Click Create.