Yes, vertical scaling is possible in on-premises hosting setup.
You can scale vertically by:
1. Adding more RAM or CPU to the existing server
2. Replacing the server with a more powerful one
This way, you can increase the server's capacity to handle more workload
Vertical Scaling in On-Premises Hosting While it's technically possible to achieve vertical scaling in an on-premises hosting setup, there are limitations and challenges:
1. Add more RAM or CPU
2. Replace the server with a stronger one
But there are limits:
1. Physical space
2. Cost
You cannot scale up (change instance type) of a running EC2 instance. You must stop the instance first, change the instance type, then start it again. Because, Requires different hardware and reallocate your instance to new virtual hardware.
Vertical scaling is required when an application or system exceeds the capacity of its current server, but cannot (or should not) be distributed across multiple servers.
Advantages of Vertical Scaling:
*Simplicity
*Quick Upgrade
*Better for Stateful Apps
*Reduced Latency
*Resource Efficiency
Vertical scaling, also known as scaling up or scaling down, refers to increasing or decreasing the capacity of a single server (instance). In AWS, this typically means changing the instance type of a resource to one with more (or fewer) compute power, memory, or storage.