RTUComputer ScienceYr 2021 · Sem 72021

Q14Cloud Computing

Question

4 marks

Explain the concept of Resource Provisioning in Cloud Computing.

Answer

An advanced architectural breakdown of Resource Provisioning in Cloud Computing. Explains the strict mathematical algorithms governing Static, Dynamic, and Auto-scaling provisioning to prevent catastrophic under-utilization or server collapse.

Resource Provisioning is the highly complex mathematical process of mapping massive physical hardware resources (CPU cores, RAM, IOPS) to the constantly fluctuating demands of virtual machines and containers. If provisioning is executed poorly, the architecture either suffers catastrophic performance failure (under-provisioning) or horrific financial waste (over-provisioning).

1. Static Provisioning (Pre-Provisioning)

The absolute most primitive architecture. The engineer mathematically calculates the absolute maximum peak load the application will ever experience (e.g., Black Friday) and manually rents 50 servers permanently.

  • Demerit: Massive financial destruction. For 364 days of the year, 48 servers sit completely idle, burning electricity and capital while doing absolutely zero mathematical computation.

2. Dynamic Provisioning

The provider dynamically allocates resources based on current demand, but it often requires manual triggers or API calls by the system administrator to violently spin up new VMs.

3. Auto-Scaling (The Absolute Standard)

The absolute pinnacle of cloud architecture. It utilizes strict algorithmic feedback loops. An agent mathematically monitors the CPU load of the web servers every 10 seconds.

  • Scale-Out (Horizontal): If average CPU for 2 minutes, the algorithm violently triggers the API to instantly boot 5 brand new VMs and automatically attaches them to the Load Balancer.
  • Scale-In: If average CPU for 10 minutes, the algorithm aggressively terminates 5 VMs, instantly halting the financial billing.
  • Vertical Scaling: Mathematically injecting RAM or CPU cores directly into a live, running VM without rebooting it (highly complex hypervisor mathematics).

Predictive vs. Reactive Provisioning: The auto-scaling described above is reactive — it only responds after load has already crossed a threshold, which introduces a lag (the time to boot a new VM and warm it up) during which the existing servers must absorb the surge alone. More advanced cloud architectures layer on predictive provisioning, using historical traffic patterns and machine learning forecasts to pre-emptively scale out ahead of known peak periods (like scaling up an e-commerce platform an hour before a scheduled flash sale) rather than waiting for the CPU threshold to trip. Combining reactive auto-scaling as a safety net with predictive provisioning for known demand patterns is the standard architecture used by major cloud-native platforms to balance cost efficiency against the risk of a slow scaling response during sudden, unpredictable traffic spikes.

Back to Paper