Tick the "Use elastic IPs" for he www or app role (whichever it selected to
create A records). When your farm will be started and Ips assigned, add A
records in the zone on your namservers for each www(app) instance.
Auto-scaling of www role will not work in this case, b/c you do not know
what IPs will be assigned to newly started instances during up-scaling.
The practical example:
- use both www and app roles (or custom derived from them) in your farm.
Assume that www will not be scaled - set, say, 3 for both Min Instances and
Max Instances settings.
- Tick the "Use elastic IPs" for www role,
- Start a farm, write down IPs and enter them in your DNS zone.