How To Hotplug Resources To Meet Spikes In Demand
These days it’s important that your network is online as much as possible. If your company or business is doing heavy promotions, this can put a strain on your instance and the resources you have available. Resource spike occurs when you have a flurry of visitors to your service. This eats up Ram, puts pressure on CPUs and can bottle-neck your connection. On our old SolusVM network it was possible to add further resources to containers but, this required a reboot. That’s inefficient. On the Discovery network, you can hotplug resources to manage spikes in demand.
When you hotplug resources to an instance, an invoice is generated. If you then remove the resources a credit will be provided to your F2H account in respect of the remaining time left on those resources. This means if you just need a snapshot for a day then cancel it within 24 hours you would receive a credit equal to 29 days in your account (assuming that month had 30 days in it). You just pay for the time you have used those resources for. It’s likely we will covert to daily or hourly billing for instances in the future.
You may have heard of hot-swappable storage. F2H uses this type of storage on our NVME Web Hosting and NVMe Reseller Web Hosting plans. This allows storage to be attached to servers and removed on the fly whilst the instance is online. It’s a great way to achieve high availability on cPanel servers. You have three servers in a cluster with the same storage attached to each server. Should one server go offline your IPs are routed to one of the spare servers. You can achieve the same with hotplugging Ram, CPUs Hard Drives and even NICs.
Let’s imagine it’s Black Friday and you are sending 50,000 promotional emails to your customers. You know that the current resources in your server is enough for day-to-day working but might not be enough to accommodate thousands of extra website visitors. This is where hot-pluggable resources can help. Instead of adding resources and rebooting your instance which would produce some downtime and possibly lose you some sales. You can attach further resources on the fly without any downtime. So, how can you do this with your NVMe VPS?
Confirm Current Resources
So let’s check the resources in our development instance. As you can see we have 1 CPU, 1vCore and 1GB Ram.
To assign further resources ;
- Access your Discovery control panel.
- Select the service you need to assign resources to
- In the menu bar on the left click “Reconfigure Instance”.
On the next page, you see a table. On the left of the table, you see your current configuration. On the right is where you assign more resources.
Assign Further Resources
I’m adding 4 CPUs and 10GB of ram to my online instance. You can only add a maximum of 4 CPUs. Remember, CPUs are different to vCores. You can add a maximum of 32 vCores but this requires a reboot. CPUs are there specifically to deal with resource spikes. Click continue to complete the checkout. It’s a good idea for you to be logged into your instance. You will see in the console that Discovery attaches the resources to your server and enabled them. Let’s watch Discovery add these resources to our Instance on the fly.
So now we have added 4 hot-swappable CPUs and 10GB of Ram to our NVMe VPS without having to reboot or deal with any downtime. We can now be sure we have the resources to deal with the anticipated spike in demand. This is another great tool for customers to have in their toolbox.
How was this article?
You might also like
More from Instance Management
If you have installed your Discovery instance using a distribution ISO. Then it's likely your drive will be using a …
How To Configure An Internal MySQL Database Server High-value assets like database servers are always a target for hackers. Typically, these …