Select VM size & pool
Choosing the right ccloud³ VM plan depends on your workload. An oversized ccloud³ VM would under-utilise its resources and cost more, whilst an undersized ccloud³ VM could suffer from poor performance or errors when CPU or memory utilisation is at full capacity.
To help you choose the best ccloud³ VM plan for your use case, this article explains the differences between shared and dedicated CPUs, provides a detailed overview of each ccloud³ VM plan, and concludes with recommendations to help you make a data-driven decision.
You can also upgrade a ccloud³ VM to a higher-tier plan after it has been created, including upgrading to a higher-tier ccloud³ VM plan of a different type. For example, you can upgrade from a Basic ccloud³ VM plan to a higher-tier CPU-optimised ccloud³ VM plan. The price list for ccloud³ VMs can be found on the pricing overview page.
Shared CPU vs. Dedicated CPU
A ccloud³ VM is a virtual machine (VM) that is allocated resources such as CPU, RAM and hard disk space by a physical host.
A hypervisor, also known as a virtual machine monitor, ensures that the ccloud³ VMs running on a physical host each receive their virtual resources, such as vCPUs.
A vCPU is a unit of processing power that corresponds to a single hyper-thread on a processor core. A modern, multi-core processor has several vCPUs.
The ccloud³ VM plan you have selected determines the amount of resources allocated to the ccloud³ VM. Resources such as RAM, disk storage and network bandwidth are always dedicated, but you can choose between plans with shared CPUs and dedicated CPUs for dedicated vCPUs.
Dedicated CPU-ccloud³ VMs have guaranteed access to the full hyper-thread at all times. With shared CPU-ccloud³ VMs, the hyper-thread allocated to the ccloud³ VM may be shared amongst several other ccloud³ VMs. If a shared CPU-ccloud³ VM experiences a higher load, the hypervisor dynamically allocates additional hyper-thread(s).
However, the number of CPU cycles available to the hypervisor depends on the workload of the other ccloud³ VMs sharing this host. If these neighbouring ccloud³ VMs are under heavy load, a ccloud³ VM might be allocated fractions of hyper-threads rather than dedicated access to the underlying physical processors. In practice, this means that shared CPU-ccloud³ VMs may have access to full hyper-threads, but this is not guaranteed.
Data-driven decision-making
Before you decide on a specific ccloud³ VM type, we recommend that you benchmark your workload and carry out load tests to see how it performs under simulated load. For bursty applications or batch jobs, you should monitor resource utilisation when the load is at its expected peak, particularly on shared CPU Basic ccloud³ VMs. If you find that your application’s performance is too variable for your production requirements, you should consider a ccloud³ VM type with dedicated vCPUs.
CPU and RAM
With ccloud³ VM graphs, you can obtain more information about the CPU load and memory usage of your ccloud³ VM:
- If you have high CPU utilisation coupled with significant memory utilisation, you should scale both vCPUs and memory and use a balanced General Purpose ccloud³ VM plan.
- If CPU utilisation is high but memory utilisation is very low, you could save money by using a CPU-Optimised ccloud³ VM plan.
- If memory usage is high (possibly maxed out and swapped to disk) but CPU usage is low or moderate, you should scale memory and use a Memory-Optimised ccloud³ VM plan.
- Even if CPU or memory utilisation remains low to moderate most of the time, it can sometimes spike and reach its resource limits. If this is the case, you should consider shared CPU Basic ccloud³ VMs and scale the limiting resource accordingly.
Hard disk
All ccloud³ VMs from centron include variable amounts of local solid-state drive (SSD) storage. If you require additional storage, you can use network-attached block storage to attach additional volumes to a ccloud³ VM, or use object storage to offload files and associated metadata.
Network
External data traffic from ccloud³ VMs is charged per GB – both incoming and outgoing (see traffic calculation); internal traffic within the centron platform is free of charge. Depending on your workload type and bandwidth usage, you may wish to scale your ccloud³ VM.
Monitoring allows you to keep an eye on both hard disk and bandwidth usage, in much the same way as you would monitor CPU and memory usage.