Public IPs
Every VM already has a public IPv6 address, free. A public IP in TebibHost means a public IPv4 address: you allocate it to your project, then point it at one VM (one-to-one, both directions) or at a NAT gateway (outbound for a whole VPC).
IPv4 addresses are scarce in Africa, so they are billed separately, by the hour, for as long as they are allocated to your project, whether they point anywhere or not.
Allocate and attach
Section titled “Allocate and attach”Public IPs reach VMs through their VPC’s NAT gateway, so a VPC needs a NAT gateway before any of its VMs can have a public IP. The gateway doesn’t need an address of its own for this.
Make sure the VPC has a NAT gateway (Network). Then Public IPs → Allocate, and Associate the address with a VM or a NAT gateway.
SUBNET=$(tebib -o json vm show "$VM" | jq -r .subnet_id)tebib nat-gateway create default-nat --subnet "$SUBNET" --wait # once per VPCIP=$(tebib -o json public-ip allocate web-ip --wait | jq -r .id)tebib public-ip associate "$IP" --vm "$VM" --waittebib public-ip listA VM with a public IP sends its own outbound IPv4 traffic from that address. Inbound traffic still has to pass the VM’s security groups.
Move it to another VM
Section titled “Move it to another VM”Associating an address that is already in use moves it. The switch takes under a second, so this is how you swap a server without changing DNS:
tebib public-ip associate "$IP" --vm "$NEW_VM" --waitA VM holds at most one public IP. tebib public-ip history <IP ID> lists where the address has
pointed, newest first.
Detach and release
Section titled “Detach and release”- Disassociate takes the address off its VM or NAT gateway; your project keeps it (and keeps paying for it).
- Release gives it back. Disassociate it first. A released address rests for 24 hours before anyone else can get it, so traffic meant for you doesn’t reach a stranger straight away.
- Deleting a VM disassociates its address; the project keeps it.
tebib public-ip disassociate "$IP" --waittebib public-ip release "$IP" --yes --waitLimits
Section titled “Limits”How many addresses an organization can hold depends on its trust tier: 1 for a new organization, 3 after the first top-up, 5 after ID verification. A project holds at most 2 unless raised. See Quotas and tiers.
Mail and abuse
Section titled “Mail and abuse”Outbound TCP port 25 is blocked on every public address. Abuse sent from your address is your responsibility; reports go to abuse@tebibhost.com. See the acceptable use policy.