Skip to content

Instantly share code, notes, and snippets.

@rterbush
Created October 16, 2015 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rterbush/bc1855e4ad3c704b2d42 to your computer and use it in GitHub Desktop.
Save rterbush/bc1855e4ad3c704b2d42 to your computer and use it in GitHub Desktop.
No release of EIP Addresses
[INFO ] Starting new HTTPS connection (1): ec2.us-west-2.amazonaws.com
[DEBUG ] "GET /?Action=AllocateAddress&Domain=vpc&Version=2014-10-01 HTTP/1.1" 400 None
[DEBUG ] AWS Response Status Code: 400
[ERROR ] AWS Response Status Code and Error: [400 400 Client Error: Bad Request] {'Errors': {'Error': {'Message': 'The maximum number of addresses has been reached.', 'Code': 'AddressLimitExceeded'}}, 'RequestID': 'e18da542-482d-4854-bdb7-a6c6a4e70d40'}
Profile description:
nat-gateway-primary:
provider: aws-uswest2
availability_zone: us-west-2a
del_root_vol_on_destroy: True
rename_on_destroy: True
ssh_username: ec2-user
extends: base-ec2-uswest2a-linux
image: ami-xxx
size: t2.micro
private_key: /srv/etc/.ssh/mykey.pem
keyname: mykey.pem.pub
iam_profile: NATProxyRole
network_interfaces:
- DeviceIndex: 0
PublicIpAddresses:
- Primary: True
AssociatePublicIpAddress: True
allocate_new_eip: False
SubnetId: subnet-xxx
SecurityGroupId: sg-xxx
SourceDestCheck: False
tag: {'Monitored': 'Yes', 'Role': 'nat'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment