'Allocate a new Elastic IP address for EC2 classic or VPC
:param      domain: The domain to allocate the new address in
(standard/vpc)
:type       domain: ``str``
:return:    Instance of ElasticIP
:rtype:     :class:`ElasticIP`'

def ex_allocate_address(self, domain='standard'):

    params = {'Action': 'AllocateAddress'}
    if (domain == 'vpc'):
        params['Domain'] = domain
    response = self.connection.request(self.path, params=params).object
    return self._to_address(response, only_associated=False)
