Description of image

How to Assign or Release Public IPs

Machines are high-performing computing for scaling AI applications.


Attaching a public IP makes your compute machines addressable over the internet.

  • Static IPs cannot be assigned to more than one machine at a time.
  • All static IPs are IPv4
  • You cannot bring your own public IP to Paperspace
  • You cannot use your public IP outside of Paperspace
  • Public IP addresses forward all traffic to and from the “external” interface of your machine. This is typically called “eth0”(Linux), “Local Area Connection” (Windows 8) or “Network [#]” (Windows 10). This is not the loopback/localhost/127.0.0.1 interface.

There are two types of Public IP addresses available in Paperspace:

Static & Dynamic Public IPs

Static IPs

Static IPs remain in your account (on the Public IPs tab) until they are deleted. They can be attached and removed from machines at any time. Static IPs are available in all datacenter regions. They are region-specific resources and can only be assigned to machines within the same datacenter region.

Dynamic IPs

Dynamic IPs are deleted when you turn the machine off and you may receive a new IP when you turn the machine on.

How to Assign a Public IP

When Creating a Machine

When creating a Paperspace machine, you have the option to attach a public IP address in the Public IP section of the Create a new machine page:

Create public IP

You can choose between static or dynamic IP address, or choose not to have a public IP address for your machine.

Note
The None option is unavailable for headless templates.

After a Machine has been Created

From Machine Settings Page

You can change the type of public IP address from the Paperspace console. In the Machines tab, select the machine. Navigate to the Settings tab and change the IP address type in the Public IP section.

Public IP details

When you change the type of public IP address, you are prompted to assign an IP address.

Public IP details 2

From Public IP Page (Static IPs only)

Public IP tab 1 Public IP tab 2 Public IP tab 3

How to Release a Static IP

When you’re done using a public IP, you can release it from your machine details page or the Network tab of your console under Public IPs. Releasing a public IP is permanent – you cannot retrieve an IP once it is released.

When you delete a machine, you are given the option to simultaneously remove its associated static IP. You may uncheck this option to hold onto the Public IP for future use at a charge of $3/month for however long it remains on your account.

From Machine Details Page

Public IP static release details

From Public IP Page

Public IP static release