Skip to main content

About public IP

A public IP is an IPv4 address that you can allocate to your account, in order to then associate it with one of your resources.

You can dissociate a public IP from its resource at any time, then re-associate it with another one.

General information

Public IP are public IPv4 addresses that you can allocate to your account. You can then associate them with the following resources:

Public IP allow you to communicate with the Internet.

info

To associate a public IP within a VPC (Virtual Private Cloud), the VPC must have an internet gateway attached.

You can dissociate and re-associate a public IP at any time. For example, if a VM fails, you can transfer the public IP to another VM. The new VM therefore has the same public IP, which means that the scripts and applications using this public IP do not encounter any problem.

A dissociated public IP remains allocated to your account. If you no longer use a public IP, you can release it to make it available for other accounts.

warning

Make sure that no application and no script is using the public IP that you want to release.

Associating public IP

You can associate a public IP with only one resource at a time.

If you associate a public IP with a VM or a network interface, with the Numspot Console you must always dissociate the public IP before you can re-associate it with another resource. With the API, you can configure a re-association behavior: either prevent it, or automatically dissociate the public IP and re-associate it with the new VM or network interface that you specify.

If you create a NAT gateway, you must specify a public IP. To modify its public IP, you must delete the NAT gateway and then recreate it with the new public IP.

You can also associate a public IP with a load balancer connected to the Internet when you manage it.

Within a VPC

The public IP attaches to the primary network interface of the VM. If you work with several network interfaces, you can choose which of the NIC (Network Interface Cards) you want to associate the public IP with, through the Numspot API.

Cette page vous a-t-elle été utile ?