Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create App tier using network offering with Service=Lb, Provider=InteralLBVm
  2. Acquire guest IP address - Ip1 - from the App tier.
  3. Create Internal Load Balancer LB1 for Ip1, public port loadBalancerPort 80, private port instancePort 80. The new internal LB VM starts up on App tier with the Ip1.
  4. Add vm1 to the LB1. The rule for Ip1/VM1/ports 80:80 is configured inside the HA proxy
  5. Add vm2 to the LB1. The rule for IP1/VM2/80:80 is configured inside the HA Proxy
  6. Create Internal Load Balancer LB2 for IP1, public port loadBalancerPort port 81, private port instancePort 81. No need to start a new Internal LB vm as it's been already started for IP1.
  7. If you want to manage access from tier A to tier B, setup Network ACLs

The pic below will have following LB rules configured on the VPC:

  1. Public LB rule for 72.52.125.10 Public IP, public port 80 and private port 81. It enables LB for traffic coming from the internet to the vms on the Web tier.
  2. Internal LB rule #1 for 10.10.10.4 guest IP, loadBalancerPort 23 and instancePort 25. 
  3. Internal LB rule #2 for 10.10.10.4 guest IP, loadBalancerPort 45 and instancePort 46.
  4. Internal LB rule #3 for 10.10.10.6 guest IP, loadBalancerPort 23 and instancePort 25.Public LB rule gets configured on the VPC VRInternalLB rules #1 and #2 get configured on Internal LB VM1Internal LB rule #3 gets configured on Internal LB VM2.

Architecture and design description

...

API name

Request parameters

Response parameters

Available to regular user

createInternalLoadBalancer

  • ipAddressId(required)
  • name (required)
  • description (required)
  • algorithm (required)
  • publicPort loadBalancerPort (required)
  • privatePort instancePort (required)
  • networkId (optional)
  • id
  • name
  • description
  • algorithm
  • publicPortloadBalancerPort
  • privatePortinstancePort
  • networkId
  • ipAddress child object

yes

deleteInternalLoadBalancer

id(required)

true/false

yes

listInternalLoadBalancers

  • id
  • ipAddressId
  • name
  • description
  • algorithm
  • publicPortloadBalancerPort
  • privatePortinstancePort
  • networkId

list of load balancers, each having parameters:

  • id
  • name
  • description
  • algorithm
  • publicPortloadBalancerPort
  • privatePortinstancePort
  • networkId
  • ipAddress child object

yes

...