It is often required to configure more than a single network interface on your VMs, and sometimes one also needs to configure additional IPs on a given NIC. However, it is not as straightforward a task as it may sound, not even on the public cloud. On AWS, for example, you cannot "natively” define as many interfaces as you’d like, nor as many additional (secondary) IP addresses on each NIC, and in order to be able to define a large number of NICs, you’ll need to lease the larger, more expensive hosts (See the list of maximum allowed ENI and IP address on AWS). However Ravello uses nested virtualization to enable you to easily set multiple NICs and multiple IPs and run it on AWS or Google Cloud. In this post I’ll illustrate how this can be achieved, and what are the few simple actions required to be taken in order to achieve this.
For more information about how you can configure your application’s network, please refer to our post about software defined networking.
You are able to add multiple secondary IP addresses to each of the NICs on your VMs. Adding a secondary IP is done in the following way:
In this short post we illustrated how you can use Ravello in order to create multiple NICs and secondary IP addresses on AWS or Google cloud, without being concerned with each cloud’s constraints and limitation. Using Ravello, configuring NICs and IPs is easy and straightforward, and allows you to focus solely on building your application and not on any infrastructure specifics. Feel free to sign up for a free trial and see how this facilitates your labs for development, testing, training, demos and more.