Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the AWS Public IP Limit? (Public IP not Elastic IP)

Is there a limit to the number of Public IPs you can use for a given AWS region? (Not Elastic IPs)

Note - I know that you are limited to 5 Elastic IPs. However, if you choose "auto assign IP" when creating and AWS instance, you are given an IP which changes on restart. My question is what the limit is on these "Public IPs" that change every time your instance is stopped and started?

like image 615
Kyle Jones Avatar asked Aug 24 '16 18:08

Kyle Jones


People also ask

What is the difference between a public IP and an elastic IP in AWS?

An Elastic IP address is a public IPv4 address, which is reachable from the internet. If your instance does not have a public IPv4 address, you can associate an Elastic IP address with your instance to enable communication with the internet.

What is the limit of Elastic IP in AWS?

All AWS accounts are limited to five Elastic IP addresses per Region.

What is public IP in AWS?

A public IP address is assigned to your instance from Amazon's pool of public IPv4 addresses, and is not associated with your AWS account. When a public IP address is disassociated from your instance, it is released back into the public IPv4 address pool, and you cannot reuse it.

How do I get more than 5 elastic IPs?

If you need reserve more than five Elastic IPs, you must submit a request for more Elastic IPs to Amazon. Remember, that Elastic IPs are free from Amazon, as long as they are being used (i.e. assigned to a running server instance). However, Amazon discourages users from reserving more Elastic IPs than they need.


2 Answers

There is no limit on Public IPs that you can use in AWS. Limit is only on number of instances that you can launch and that instance limit too can be increased by contacting the AWS Support.

like image 105
error2007s Avatar answered Sep 28 '22 02:09

error2007s


It is limited by the number of instance limit in your account and region. By default you have a limit of 20 instances/region. You can choose to launch all instances in public subnet with auto-assign-public-ip and use 20 public IPs.

For example, you requested an instance limit increase of 200 with justification and if it was approved, you can use up to 200 public IPs / region.

To view your limit: Viewing Your Current Limits

like image 31
helloV Avatar answered Sep 28 '22 01:09

helloV