Upgrading the RAM, CPU and Memory on a Vultr Ubuntu VM in the cloud is quite simple.
I have a number of guides on moving hasting away form CPanel, Setting up VM’s on AWS, Vultr or Digital Ocean along with installing and managing WordPress from the command line. I prefer Vultr as they are located in the country (Australia) and are easy to use.
First, you need to shut down the server from within the VM (SSH), I used the command.
sudo shutdown now
Once the VM is shut down (wait a few minutes) you can turn off the VM in the Vultr GUI.
You can then go to Settings, Change Plan and review upgrade options.
Don’t forget to take a final snapshot.
Goto the Snapshots page (read this guide to restore a snapshot) and click Take Snapshot.
You can see snapshot progress on the main screen.
It may take a while for your snapshot to change from Pending to Processing.
When the snapshot is done it will auto boot and allow you to upgrade.
Choose the Upgrade specifications (Settings, Change Plan)
The upgrade process will take a few minutes (I could see the CU and Ram was updated but the Storage was pending)
After the upgrade happened the VM will autoboot, login and check tour specifications (Useful Linux Commands).
I use the htop command to view specification information.
I did a quick benchmark pre-optimizing and I can see a speed bump of 0.2s. Time to optimize.
I threw 50 concurrent clients at my website (with loader.io) and the server handled it fine with no increase above memory capacity like before.
Now I need to Optimize. Truth be told I did optimize and harden PHP and crashed PHP-FPM so I had o restore a VM snapshot.
If all else fails (post-upgrade configuration) you can restore the Vultr VM from a snapshot.
I hope this guide helps someone.
Ask a question or recommend an article
[contact-form-7 id=”30″ title=”Ask a Question”]
v1.0 Initial post