request_eip(vm_id) |
Provision a VM (can skip if you assume already there to start) and allocate it a public IP |
request_sip() |
Provision a load balancer and give it a public IP |
bind(eip, sip) |
Put the VM with the given eip in the backend pool of the sip load balancer |
set_permit_list(eip, permit_list) |
Update the rules in the security group for the VM |
set_tag(eip, tag) |
Use tagging mechanisms already offered |
annotate(eip, middlebox) |
Provision middlebox type chosen and use route tables to direct all traffic from the EIP to the middlebox |