SERVER1 / Search

What are you looking for?

Search services, pages and articles. Results appear after 2 characters.

View all articles
VPS & Cloud

How to resize a VPS when its public IPv4 must stay the same

Decide whether to resize your VPS or buy a second one, then use a before-and-after worksheet to verify the public IPv4, usable capacity and service recovery.

SERVER1.GE10 min read
A server, a location marker and a memory module beside the article title.

What the support exchange established

An existing VPS customer asked for more CPU, RAM and storage and made keeping the assigned public IPv4 a condition of the upgrade. Support proposed resizing the existing VM rather than replacing it, with a planned shutdown, recovery arrangements to be agreed beforehand and a separate prorated invoice for the upgrade. The customer agreed to proceed, reported making the payment and later asked for an update. Support subsequently reported that the upgrade was complete.

The exchange records what the customer requested and what support reported, but it does not independently confirm payment or show that the customer tested the service afterward. It contains no after-change address or resource readings, no observed downtime, no verified recovery point and no application test. The proposed shutdown does not establish that a shutdown occurred, and the request for more capacity does not establish a measured bottleneck.

If keeping the same address is a hard requirement for your own upgrade, make it an acceptance check, not just a note on the order. A completion notice tells you when to start checking. It does not tell you whether that IPv4 still reaches the intended application or whether the new storage is usable by the guest.

A person reads a sheet of paper beside a laptop and server equipment.
Before the upgrade, record the address and resources you will compare after the change.AI-generated editorial illustration · SERVER1.GE

Resize the existing VM or buy a second one?

An in-place resize is the better candidate when continuity of the existing VM matters and support can explain how the public IPv4 will be handled both during the change and if recovery is needed. Ask whether the VM must stop. Apache CloudStack documentation illustrates the general point that live resizing depends on the configuration and hypervisor. It does not establish what your VM supports. Confirm address retention, disk expansion and any expected bandwidth change separately.

A second VM makes sense when you need an isolated environment or time to test in parallel. Treat it as a migration, not as an upgrade to the original VM: buying it does not transfer the public IPv4 or its routing. If support cannot confirm how the required address would reach the replacement service, keep the original VM serving traffic and leave DNS unchanged. You can still test the second VM without committing to a cutover.

Before booking a window, decide who will do the work inside the guest. Ask support who owns the control-plane change and address handling. The buyer or a qualified operator needs to own guest verification, application testing and the guest-side recovery work. Arrange that coverage in advance rather than discovering during the shutdown that nobody can check the application or restore access.

Consider an unmanaged VPS if you or your operator can verify the guest, test the application and carry out the agreed recovery steps.

Make the go or hold decision before the shutdown

Before booking the window, have support confirm the target CPU, RAM and storage allocations, whether the existing VM must stop, and how it would handle the assigned public IPv4 and any NAT mapping during the resize and during recovery. The service owner should define what the guest must see, including whether storage acceptance means a larger virtual disk or more usable space on the service mount. Set a cutoff that leaves time to carry out and verify recovery before the window ends. Name who runs each check, who can order recovery and which backup access path the operator will use if remote login fails.

Agree which recovery point is usable, how much data loss is acceptable and what happens to writes made after that point. Where permitted, rehearse a restore in isolation without claiming the production address. Verify that the restored guest boots, the expected data is present and a representative application function works. That rehearsal tests the restore, not the production routing. Confirm separately with support how the required IPv4 would be handled during recovery.

Before authorizing the resize, collect a read-only baseline while the original service is still running. Compare the panel allocation with what the guest sees, test the application from outside over the required IPv4 and open a fresh remote session. Investigate unexpected results now so they are not mistaken for resize failures. Proceed only if the required baseline checks pass, support confirms how the resize and recovery plans will meet the IPv4 requirement, and the team has verified a usable recovery point and backup access path. Agree on how to handle writes and when to start recovery before giving the go-ahead. If any hard requirement remains unresolved, hold.

  • Go if the owner and support agree on the expected outcome, address handling, responsibilities and recovery cutoff, and the baseline and recovery checks are complete.
  • Hold if the required IPv4, usable recovery point or backup access path cannot be verified. Leave the current service in place while you resolve the gap.

Use the same worksheet before and after the change

For the network row, record the assigned public IPv4 and any NAT mapping in the control plane before and after the change. A guest behind NAT can legitimately show a different address on its interface. From outside, make an authorized request to a read-only application function, keeping the normal service hostname and TLS checks. Record the IPv4 the connection actually used, not just the address returned by DNS. Give each request a fresh identifier and match it to an application-side record that names the instance that handled it. Pass the row only if the assignment, destination, application result and handling instance all match expectations.

A healthy HTTPS response by itself is not proof: a cache, proxy or fallback VM can answer, and an ordinary hostname test can succeed over IPv6. Check normal DNS separately against the expected records, then open a fresh remote session through the intended access path. An existing connection is not enough. Keep exact addresses, hostnames, VM identifiers, request traces, invoice records and timestamps in the restricted worksheet, not in a public summary.

Compare the panel allocation with the vCPUs and memory the guest can see. For storage, distinguish a resize that has not reached the guest from one that has enlarged the device but not the filesystem. If the panel shows a larger disk and the guest block device is unchanged, investigate delivery of the allocation with support. If the device has grown but the service mount has not, check the partition and filesystem layout separately. On Linux, lsblk, findmnt and df can help you make that distinction without changing partitions.

Use one worksheet with rows for IPv4 assignment and mapping, external service path, DNS, fresh remote access, panel allocation, guest CPU and RAM, disk device, partition and filesystem layout, usable space on the service mount, and application function. For each row, record the owner, expected baseline and target, timestamped before and after observations, and pass, fail or unknown. A larger device does not pass a usable-space requirement. Sign off only when every required row passes. Record any observed interruption separately from the booked window: intermittent checks can narrow down when service stopped or returned, but they do not establish exact downtime.

Use the Linux VPS resource monitoring guide to collect a comparable resource baseline before the window.

Before-and-after worksheet. Record the time of each observation and mark every row pass, fail or unknown.
CheckAgreed resultBefore the changeAfter the change and verdict
Public IPv4 and applicationThe same IPv4 reaches the intended application.Record the assignment, mapping, actual external destination and matching application record.Repeat the external test and match it to the intended instance; record the verdict.
DNS and remote accessExpected records resolve and a fresh remote login works.Record DNS results and the result of a new login.Repeat both checks through the intended access paths; record the verdict.
CPU and RAMThe panel allocation and guest readings meet their respective targets.Record allocated and guest-visible CPU and RAM.Compare both sets of readings with the targets; record the verdict.
Disk and filesystemThe agreed storage layer shows the required capacity.Record device size, partition sizes and usable capacity on the service mount separately.Repeat the read-only checks and compare the relevant layer with the target; record the verdict.
Application and dataA representative operation succeeds and the expected data is available.Record the result of the operation and the data check.Repeat both checks against the intended instance; record the verdict.

Work through two fictional outcomes before committing

This hypothetical drill is separate from the support case. In an isolated setup you own, use an approved endpoint with an assigned public IPv4 and two test backends that can return the same healthy page. As a positive control, route requests to the intended backend. From outside, call a read-only application function using the normal hostname and TLS checks. Give the request a fresh identifier and verify that the connection used the assigned IPv4. The check passes when the assignment and mapping are as expected, the function succeeds and the matching application record identifies the intended backend.

For the negative control, use the setup's approved routing configuration to send the next request to the alternate backend. Leave the public IPv4, DNS, certificate and visible response unchanged. Use a fresh request identifier again. If the matching application record identifies the alternate backend as the handler, mark the service-path check failed even though the page looks healthy. If neither backend supplies reliable evidence of which one handled the request, mark the result unknown rather than guessing. Restore the original test routing and repeat the positive control to confirm that the intended backend handles the request again.

Apply the same acceptance rule to a staged replacement. Suppose a second VM passes its application test, but support cannot confirm that the required IPv4 can be transferred, or confirms that it cannot. The service owner should hold the cutover: keep the original VM serving traffic, leave the production address assignment and DNS unchanged, and continue testing the replacement in isolation if useful. That leaves the staging work available without committing production traffic to the new VM. A pass on the staging address shows that the application works there, not that the required IPv4 reaches it.

Know when to stop and how to prove recovery

If a required check fails or the result is unknown, run only the agreed diagnostics that leave enough time for recovery. Repeating the authorized external check and matching the request to the intended instance is a reversible next step. If any required check still fails or remains unknown at the recovery cutoff, stop making upgrade changes and start the agreed recovery plan. Have support and the operator carry out their assigned steps.

Reverting CPU or RAM allocation is an option only if support has confirmed it. Do not assume an expanded disk can be shrunk or that restoring a VM also restores its public IPv4. Protect newer writes according to the plan before restoring an older state. If the address cannot be restored as required, record it as unresolved rather than declaring recovery on the strength of a successful boot.

Prove recovery from outside as well as inside. Verify the control-plane assignment and mapping again, repeat the external IPv4 request and confirm it reaches the intended application. Open a fresh remote session, check DNS and verify the recovered data and a representative application function. Record recovery separately from upgrade acceptance: bringing the original service back does not mean the requested capacity was delivered.

Download the exercise

SERVER1.GE

Not sure which infrastructure fits this workload?

Tell us what you run, your expected traffic and current setup. We will help you narrow down the right option.