Public IP
Public IP is a fixed address accessible from the internet. Resources deployed within your network can be linked to a public IP, allowing your services to be exposed to the internet. Consequently, these resources become accessible via the internet.
Item | Description |
---|---|
IP Address | You cannot select IP address. - Upon creation, a public IP from KakaoCloud pool is allocated to your project. |
Associated Resource | Resources deployed in the network can be connected to a public IP - Connectable resources: Virtual Machine instances, specific interfaces of Bare Metal Server instances, Load Balancing |
Public IP Fundamentals
- Internet access is possible by adding an internet gateway to the route table associated with VPC and connecting a public IP to instances.
- Public IPs are static addresses and do not change.
- When a public IP is associated with an instance, it is also associated with the primary network interface of the instance.
- Public IPs can be moved between instances or network interfaces.
- Public IPs incur continuous charges until they are deleted.
- To optimize address usage, consider leveraging a NAT Instance.
IP address range
Resources within a VPC are allocated IP addresses to communicate with each other or with other resources via the Internet. IP addresses follow the Classless Inter-Domain Routing (CIDR) notation, where IPv4 consists of 32 bits divided into four parts and expressed in decimal numbers. (e.g. 10.0.0.0)
When creating VPCs and subnets, allocations are made within the supported range of IPv4 CIDR blocks. For more information, refer to the private address space section of RFC 1918.
IPv4 CIDR blocks are represented by four decimal numbers separated by dots, followed by a slash (/) and a decimal number bitmask ranging from 0 to 32. (e.g. 10.0.0.0/16)
Supported IPv4 ranges
Feature | IPv4 |
---|---|
IPv4 CIDR | Select IPv4 CIDR blocks for VPCs |
VPC Prefix | /16~/24 |
Subnet Prefix | /20~/24 |
Public IP | Supported |