Seems like this could be written simpler, Perhaps.

```ruby
if info['vpcId']
  @use_external_ips ? info['ipAddress'] : info['privateIpAddress']
else
  @user_internal_ips ? info['privateIpAddress'] : info['ipAddress']
end
```