Skip to content
0850 554 5439 [email protected]

How can we help?

Search our guides and tutorials, or browse the categories below.

Gyro Cloud Istanbul: additional IPv4 addresses

Gyro Cloud Istanbul 119 views Step-by-step guide Last verified: Markdown
What you will learnHow to add and release additional IPv4 addresses, their price and limits, how they are configured on the server and how to set reverse DNS.
Time6 minutes

1. What is an additional IPv4 address?

Extra IPv4 addresses that point to the same server as its primary address. Use them to publish services on separate addresses (e.g. web and mail), to give a customer a dedicated address or to send traffic from a different source address.

  • Limit: up to 5 additional addresses per server (open a ticket if you need more).
  • Price: 2 EUR per address per month (the TRY amount is shown in the panel), metered hourly from your prepaid balance, from the hour you add it until the hour you release it; the monthly cap is never exceeded.
  • Configured automatically: the address is added to your server within seconds (as /32 on the primary interface) and kept across reboots, reinstalls and snapshot restores; no network configuration is needed.
  • Additional addresses are covered by your server's network firewall / security groups automatically.
Info

Additional addresses are IPv4 only and are sold on Gyro Cloud Istanbul (hourly, prepaid) servers.

2. Adding and releasing addresses in the panel

  1. Open Management > Network & Security > Additional IPv4 addresses of your server.
  2. Pick the Quantity (up to your remaining allowance) and press Add IP. The confirmation shows the extra monthly total.
  3. The new addresses appear in the list marked Additional; within seconds the page says "The addresses are active on the server."
  4. To release an address press Release in its row and confirm. The address is removed from the server and returns to the pool; billing stops after that hour.
Warning

Getting a released address back is not guaranteed; it may be given to another server. Update DNS records, SSL and mail settings that use it first.

Info

You can add or release addresses while the server is off; they are configured when it starts. A suspended server cannot get new addresses.

3. How the address looks on the server

Additional addresses are added to the primary network interface:

bash
ip -4 addr show
# inet 203.0.113.10/24 ... ens192        <- primary
# inet 203.0.113.20/32 ... ens192        <- additional

To bind a service to a specific address set the application's listen/bind address to that IP. To use an additional address as the source of outgoing connections, set the source address in the application (e.g. curl --interface 203.0.113.20 https://example.com).

Rarely (an old guest agent on the server, or a network setup you changed completely) the panel says "The server could not configure the addresses automatically" and shows ready-made commands. Run them as root and press Apply again.

4. Reverse DNS (rDNS)

Additional addresses appear in Network & Security > Reverse DNS together with the primary address. You can request a separate PTR record for each (e.g. mail.example.com for the address that sends mail); it goes live after review. Details: snapshots, templates and reverse DNS.

5. CLI, API and Terraform

bash
gyro server ip list 12345
gyro server ip add 12345 --count 2
gyro server ip remove 12345 203.0.113.20 --yes

API (Gyro Public API 2.16.0):

bash
curl -H "Authorization: Bearer $GYRO_TOKEN" https://www.gyrohosting.com/api/v1/client/cloud/servers/12345/ips
curl -X POST -H "Authorization: Bearer $GYRO_TOKEN" -H "Content-Type: application/json" \
     -d '{"count":1}' https://www.gyrohosting.com/api/v1/client/cloud/servers/12345/ips
curl -X DELETE -H "Authorization: Bearer $GYRO_TOKEN" \
     "https://www.gyrohosting.com/api/v1/client/cloud/servers/12345/ips/203.0.113.20?confirm=true"

Terraform (provider gyro-hosting/gyro 0.14.0 or later):

hcl
resource "gyro_server_ip" "extra" {
  count     = 2
  server_id = gyro_server.web.id
}

output "extra_ips" {
  value = gyro_server_ip.extra[*].ip
}

6. Frequently asked questions

How much does an additional IP cost?

2 EUR per address per month (TRY amount in the panel). It is metered hourly, so keeping an address for a few hours costs only those hours. Each address is a separate line ("Additional IPv4 (address)") on the Usage page.

What happens to the addresses when I delete the server?

They are released with the server and their billing stops.

Can I get more than 5 addresses?

Open a support ticket; we can set a higher limit for your account.

Can I move an additional address to another server?

No. An address stays with the server it was added to; add a new one to the other server.

Do my firewall rules cover the additional addresses?

Yes. The network firewall and security groups apply to every address of the server.

Next step

Was this helpful?

Thanks for your feedback!

Still Need Help?

Our support team is here around the clock for anything you can't find above.