Use an Existing Public IP
This guide explains how to reuse an existing Public IP address when creating a resource in CloudRaya.
This applies when you already own a Public IP and want to attach it to a new resource instead of acquiring a new one.
When Can You Use an Existing Public IP?
You can reuse a Public IP when:
- The IP already exists in your Public IP list
- The IP is:
- Not attached to any resource, or
- Detached after a VM or resource was deleted
- The IP belongs to the same project and region
Supported Resources
You can reuse an existing Public IP when creating:
- Virtual Machines
- Load Balancers
Public IPs for the following services are assigned automatically and cannot be selected manually:
- Kubernetes
- VPC Routers
Important Notes
- A Public IP can only be attached to one resource at a time
- An IP must be detached before it can be reused
- Unused Public IPs still count toward your quota
- Public IPs cannot be moved across regions
Common Use Cases
Reusing an existing Public IP is useful when:
- Preserving a DNS record
- Migrating workloads
- Replacing a VM without changing IP
- Switching traffic to a new Load Balancer
- Avoiding Public IP quota exhaustion