%BOOK_ENTITIES; ]>
Adding Load Balancing Rules on a VPC A &PRODUCT; user or administrator may create load balancing rules that balance traffic received at a public IP to one or more VMs that belong to a network tier that provides load balancing service in a VPC. A user creates a rule, specifies an algorithm, and assigns the rule to a set of VMs within a VPC. Log in to the &PRODUCT; UI as an administrator or end user. In the left navigation, choose Network. In the Select view, select VPC. All the VPCs that you have created for the account is listed in the page. Click the Configure button of the VPC to which you want to configure load balancing rules. The VPC page is displayed where all the tiers you created are listed in a diagram. Click the Settings icon. The following options are displayed. IP Addresses Gateways Site-to-Site VPN Network ACLs Select IP Addresses. The IP Addresses page is displayed. Click the IP address for which you want to create the rule, then click the Configuration tab. In the Load Balancing node of the diagram, click View All. Select the tier to which you want to apply the rule. In a VPC, the load balancing service is supported only on a single tier. Specify the following: Name: A name for the load balancer rule. Public Port: The port that receives the incoming traffic to be balanced. Private Port: The port that the VMs will use to receive the traffic. Algorithm. Choose the load balancing algorithm you want &PRODUCT; to use. &PRODUCT; supports the following well-known algorithms: Round-robin Least connections Source Stickiness. (Optional) Click Configure and choose the algorithm for the stickiness policy. See Sticky Session Policies for Load Balancer Rules. Add VMs: Click Add VMs, then select two or more VMs that will divide the load of incoming traffic, and click Apply. The new load balancing rule appears in the list. You can repeat these steps to add more load balancing rules for this IP address.