1. what is the main nature of scaling?
2. what does an instance state defines?
3. types of scaling? differentiate them?
4. which instance does not clear its memory stop instance or hibernate instance? explain it?
The main nature of scaling is to dynamically adjust compute resources to match changing workload demands, ensuring high availability and cost efficiency.
An instance state defines the current operational condition of a virtual server (such as running, stopped, or terminated), indicating whether it is actively processing workloads or powered off.
Vertical scaling increases or decreases the power (CPU/RAM) of a single instance, whereas horizontal scaling increases or decreases the total number of instances.
A hibernated instance does not clear its memory because it saves the RAM contents to the root volume before shutting down, whereas a stopped instance flushes and clears its memory entirely.