MilesWeb offers the IaaS and PaaS Cloud hosting solution which can scale any application automatically, both vertically and horizontally, that makes the hosting of your applications truly flexible.
Automatic vertical scaling feature of our cloud can dynamically change the amount of allocated resources (RAM and CPU) on the server according to its current demands, with no manual interference required. This feature guarantees that you never overpay for unused resources and saves your time by eliminating the necessity of handling the load-related adjustments or architectural changes.
Once you settle on the maximum limit you're ready to consume, our cloud will automatically set the optimal amount of resources required for your application by tracking the incoming load in real time.
The key idea of automatic scaling is quite simple - as the load of an application grows, our cloud simply allocates additional features; and when the load goes down again, the resources are reduced by the platform automatically.
To make the changes in the amount of allocated resources, it mostly takes only 1 or 2 seconds and does not have any negative impact on your application. You can clearly see this in the next video:
Tip : The vertical scaling function is applicable to any type of environment instance (for example, application server, database, load balancer, Docker container, Elastic VPS, cache instance, and compilation node).
As you could observe within the video above, MilesWeb Cloud measures the resources in special units called cloudlets, which provide you with an excellent granularity while scaling. A cloudlet is roughly equivalent to 128 MB RAM and 400Mhz CPU core.
In the Cloudlets, there are two types: Reserved and Dynamic.
The Reserved Cloudlets are used to define the amount of resources that you expect your application will unquestionably consume and you pay for them irrespective of actual usage. However, they are charged with the lower price in comparison with Dynamic Cloudlets.
Dynamic Cloudlets define the amount of resources your application can access, based on the requirement. You pay for the resorces only if they are consumed in real.
Automatic vertical scaling is performed within the confines of the stated Dynamic Cloudlets number. You are able to choose your scalability limits with the suitable settings and, in such a way, effectively put caps on the resources you are ready to spend, keeping you away from high bills.
You can easily combine the usage of Reserved and Dynamic Cloudlets in different ways, following the most suitable pricing model for your application.
By default, a newly created environment comes with a certain number of cloudlets. Consumption of resources depends upon the type and the number of your software stacks. When added to the environment, each stack receives the default number of assigned cloudlets in proportion to the optimal amount of resources required for its uninterrupted functionality.
If you are looking forward to making changes to these values and scale your environment, the maximum number of available resources (cloudlets) can be increased/decreased manually through the Environment topology wizard. For that, you can use the cloudlet sliders in the Vertical Scaling section of its central panel.
Once the changes are saved, they are applied immediately, without the need to reload the virtual machine.
Tip : In order to be able to predict the approximate amount of resources your application will require and set appropriate scaling limits accordingly, you can use compiled statistics automatically. It includes information about the level of consumption during the last week for each node in your environment and displays it conveniently and graphically.
And if your application becomes highly popular, a single server’s capacity is not going to be sufficient, using horizontal scaling, you can increasing the number of nodes manually or configure a set of triggers for automatic horizontal scaling of your application server.