I am trying to create a vApp that will contain multiple VMs. In my current prototype, I have 2 VMs. The first VM has a single network interface that is configured with a static IP address on a vSwitch that does not connect to any physical ports. The second VM has an interface configured similarly, as well as an interface that is configured on the standard vSwitch and configured with an IP address that is publicly accessible.
The reason for this configuration is that we only have one public IP address available to us for each deployment of this solution.
My question is, is there a way to bundle this configuration in to a vApp? The goal is to be able to deploy multiple copies of this solution on a single ESXi host (or cloud) without having to change the private IP addresses each time, so each deployment would need its own vSwitch.
I may be going about this the wrong way, if so can someone point me in the right direction?
Thanks!