How Are Public IP Addresses Assigned to EC2 Instances?

Blog 2 comments

When you are browsing on the internet, you might have been curious to know about your IP address? It is very easy to know your IP address. One simple way is to go to your browser and type in my ip’ in the search box and press enter. You will be given the Public IP address of your device. Your router will give out a unique IP address and even when you connect more than 2 devices, the IP address will be the same (Amazon Elastic Cloud Computing web service).

Amazon Elastic Cloud Computing web service

Public IP addresses are external IP addresses that are assigned to a device by the Internet Service Provider.

There are three types of Public IP addresses:

  1. Public Static: Each device or server or user or website is assigned a unique IP address and it is constant meaning it does not change. But, usually, public static is not needed by most users unless you need to access the server or website from a remote location.
  2. Public Dynamic: Here the IP address may change by the ISP periodically or when a connection is lost and the connection is made. But these are temporary IPs provided by the ISP.
  3. Public shared: Here multiple devices are provided with private WAN IP address each by the ISP where a single Public IP address is used. NAT (Network address translation) is used by the ISP to separate each host.

What is the scope of Artificial Intelligence in India? How soon will AI take over?

You can read more on different types of IP addresses.

Now that you understand how IP addresses are assigned by ISP, let us now discuss the EC2 instances by the Amazon Cloud Computing platform. Amazon EC2 is an Amazon Elastic Cloud Computing web service. It allows users to operate in a virtual computing environment. Here instance means a virtual server in AWS Cloud. You can choose multiple instances too with a single account depending on your requirement. You can set up operating systems of your choice – CentOS, Linux, Windows, Debian, etc. and start to run applications on the instances (Amazon Elastic Cloud Computing web service).

When you opt for Amazon EC2, every instance is automatically assigned a public IP address that is dynamic or temporary, whereas an Elastic IP address is static. You can access and manage your instance remotely by simply associating an elastic IP address (allotted by AWS on request). The automatically assigned IP address and Elastic IP address are Public IP addresses. When you type either of the public IP addresses associated with the instance in the browser, you will be able to access the instance.

When you use the default Elastic IP you gain access to dynamic cloud computing. You can choose to use this elastic IP address to mask your instance (virtual server) or remap your public IP addresses to any of your instances. An elastic IP address gives you control over your IPs. Elastic IP addresses are also easy to disassociate from any instance and reassigned to another instance. This is especially useful when you want to migrate workloads from a new instance or server to a new instance. If you give up any instance, the automatic public IP address will also cease to exist (Amazon Elastic Cloud Computing web service).

Amazon EC2 supports both IPv4 and IPv6 address protocols. Hence, before you create an instance you must verify if your instance supports IPv6 since IP addresses from the Internet Protocol version 6 are being used by many businesses. Once verification is complete your custom IPv6 address is assigned to an instance through the Amazon EC2 console.

How does Cyber-attacks target supply chains

Where can I buy or lease IPs of IPv6?

One can buy IPv6 addresses through Alpha VBox which provides IP deployment Service.

I have IPv4 addresses, what can do with those IPs?

You can sell IPs of IPv4 of ARIN, RIPE, APNIC on, an IPv4 auction site through an IPv4 Broker Service Provider.

One must only purchase, sell, lease IPv4 and IPv6 addresses from registered IPv4 Brokers like Alpha InfoLab who charge affordable IPv4 Broker Price.

For more information on how to buy sell lease IPv4 or IPv6 addresses connect here.

Author ipvadblog


Leave a Reply

Your email address will not be published. Required fields are marked *