Introduction

This documents gives an overview to the design and functional implementation for Internal Load Balancing on VPC tiers.

Feature developers:

Use case

There are 2 tiers in the VPC - Web tier A and Application tier B. Traffic to Web tier is balanced on the VPC VR on the public side. Admin wants traffic coming from LB to App tier to be balanced as well. Load balancing on the APP tier will be covered by the Internal LB feature.

The general flow

Internal LB gets created on the tier B. Access from tier A to tier B can be managed by Network ACLs.

Create tier B using network offering with Service=Lb, Provider=InteralLBVm

Acquire guest IP address from the tier B

Create Internal Load Balan

API and orchestration level

New APIs:

create/list APIs should return IP that is acquired automatically as a part of LB creation.

Existing LB APIs should be supported to add user vms to the LB.

DB

New tables

TBD

Upgrade 

Either have to upgrade existing default VPC/Network offering with the new Provider for LB service, or create a new default one having Internal LB provider in place.

Backend

TBD by the backend engineer

Limitations

UI

TBD