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.
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.
Snapshot
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.
Upgrade
When the snapshot is done it will auto boot and allow you to upgrade.
Choose the Upgrade specifications (Settings, Change Plan)
Click Upgrade
Confirm
The upgrade process will take a few minutes (I could see the CU and Ram was updated but the Storage was pending)
Testing
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.
Optimize
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.
Troubleshooting
If all else fails (post-upgrade configuration) you can restore the Vultr VM from a snapshot.
I hope this guide helps someone.
P.S If you don’t have a VM on Vultr click this link to set one up in minutes (setup guide here).
Ask a question or recommend an article
[contact-form-7 id=”30″ title=”Ask a Question”]
Revision History
v1.0 Initial post