added support for virtual IP and security group