|
| 1 | +--- |
| 2 | +meta: |
| 3 | + title: IPAM - Concepts |
| 4 | + description: This page explains all the concepts related to IPAM |
| 5 | +content: |
| 6 | + h1: IPAM - Concepts |
| 7 | + paragraph: This page explains all the concepts related to IPAM |
| 8 | +tags: ipam ip-address-management internet-protocol private-ip public-ip flexible-ip list-ips book-ip |
| 9 | +dates: |
| 10 | + validation: 2024-05-30 |
| 11 | +categories: |
| 12 | + - networks |
| 13 | +--- |
| 14 | + |
| 15 | +## IPAM |
| 16 | + |
| 17 | +**IP** **A**ddress **M**anager (IPAM) is Scaleway's tool for planning, tracking and managing the IP address space of Scaleway products. It acts as a single source of truth for the IP addresses of Scaleway resources. Managed products, such as Databases and Load Balancer, are fully integrated into IPAM, and Private Networks' [DHCP server](/network/vpc/concepts/#dhcp) uses IPAM to assign private, static IP addresses to attached resources. |
| 18 | + |
| 19 | +The public rollout of IPAM functionality is being carried out gradually: IPAM is currently in [public beta](https://www.scaleway.com/en/betas/). |
| 20 | + |
| 21 | +- In the [console](https://console.scaleway.com/ipam/), you can currently use IPAM to view, tag and filter all your [private IP addresses](#private-ip-address) |
| 22 | +- With the [API](https://www.scaleway.com/en/developers/api/ipam/), you can additionally [reserve](https://www.scaleway.com/en/developers/api/ipam/#path-ips-book-a-new-ip) an available IP from a Private Network's CIDR block, or [release](https://www.scaleway.com/en/developers/api/ipam/#path-ips-release-an-ip) a previously-reserved address that you no longer want. |
| 23 | + |
| 24 | +More functionality is planned for the future, including: |
| 25 | + |
| 26 | +- Reserve/release private IP addresses in the console |
| 27 | +- Select a reserved private IP address to use when attaching a resource to a Private Network |
| 28 | +- Management of public IP addresses |
| 29 | + |
| 30 | +## IPv4 |
| 31 | + |
| 32 | +Internet Protocol Version 4 is the standard protocol used for IP addresses, and routes most internet traffic as of today. Each IPv4 address has 32 bits. Written in human-readable form, an IPv4 address is generally shown as four octets separated by periods, e.g. `151.115.59.87`. |
| 33 | + |
| 34 | +Scaleway resources may have a [public](#public-flexible-ip-address) IPv4 address (flexible IP) for accessibility from the public internet, and will have a [private](#private-ip-address) IPv4 address for each Private Network they are attached to. |
| 35 | + |
| 36 | +## IPv6 |
| 37 | + |
| 38 | +Internet Protocol Version 6 is the most recent version of the IP protocol used for IP addresses. Each IPv6 address has 128 bits. Written in human-readable form, an IPv6 address can be shown as eight groups of four hexadecimal digits, each group representing 16 bits and separated by a colon, e.g. `2001:0DB8:0000:0003:0000:01FF:0000:002E`. This can also be notated as `2001:DB8::3:0:1FF:0:2E`. |
| 39 | + |
| 40 | +IPv6-compatible Scaleway resources may have a [public](#public-flexible-ip-address) IPv6 address (flexible IP) for accessibility from the public internet, and will have a [private](#private-ip-address) IPv6 address for each Private Network they are attached to. |
| 41 | + |
| 42 | +## Private IP address |
| 43 | + |
| 44 | +Private IP addresses identify devices on Private Networks. They are not routed on the public internet, and can be used to route traffic privately between resources attached to the Private Network, as well as to [other Private Networks in the same VPC](/network/vpc/concepts/#routing). |
| 45 | + |
| 46 | +When a resource joins a Private Network, the Private Network's [DHCP](/network/vpc/concepts/#dhcp) assigns it a private [IPv4](#ipv4) address (and an additional [IPv6](#ipv6) address for IPv6-compatible resources) for identification on that network. This IP is selected from the Private Network's [CIDR](/network/vpc/concepts/#cidr-block) block. The IP address will then not change unless you detach the resource from the Private Network, or delete the resource. |
| 47 | + |
| 48 | +## Public (flexible) IP address |
| 49 | + |
| 50 | +Public IP addresses identify devices on the public internet. You can enter the public IP address of an Instance into any browser connected to the Internet, and access content being served from that Instance. |
| 51 | + |
| 52 | +Depending on the type of resource and its configuration, it may or may not have a public IP address. For example, you can choose to give an [Instance](/compute/instances/) one or more public IP addresses ([IPv4](#ipv4) and/or IPv6), or alternatively, no public IP address at all. |
| 53 | + |
| 54 | +Public IP addresses at Scaleway are often called flexible IP addresses, because you can move them between different resources. However, flexible IP addresses are scoped to a single product and to a single Availability Zone. If you create a flexible IP address for an Instance in `PAR-2`, you can move it to a different Instance in `PAR-2`, but not to an Instance in `PAR-1`, nor to an Elastic Metal server in any AZ. |
0 commit comments