← CSC 415 Cloud Computing and Virtualization
Cloud Elasticity, Fault Tolerance, and Data Compliance
Notes
Elasticity and Auto-Scaling Mechanisms
Elasticity is the degree to which a cloud system dynamically adapts to workload changes by provisioning and de-provisioning resources automatically. Unlike static capacity planning, where hardware must be sized for peak seasonal demand, elastic systems adjust capacity in real time.
Horizontal scaling, or scaling out and in, involves adding or removing virtual machine instances or containers. Vertical scaling, or scaling up and down, involves increasing or decreasing computing capacity such as CPU cores or memory within an existing virtual instance. Horizontal scaling is preferred in resilient cloud architectures because it eliminates single points of failure.
Auto-scaling architectures combine metrics monitoring, threshold rules, and target tracking. Cloud load balancers sit in front of application instances, performing health checks, terminating SSL sessions, and distributing incoming traffic using algorithms like round-robin or least-connections.
High Availability and Fault Tolerance
High availability ensures systems remain operational across expected hardware failures. Cloud providers organize global infrastructure into geographical regions, each divided into multiple isolated fault domains called Availability Zones. By distributing compute and database instances across multiple zones with synchronous replication, architects ensure continuous service even if an entire physical data center loses power or connectivity.
Disaster recovery strategies vary by cost and Recovery Time Objective. Strategies range from inexpensive cold backup replication to warm standby and active-active multi-region configurations.
Regulatory Compliance and Data Sovereignty
In modern cloud deployments, system architecture must comply with jurisdictional data protection laws. In Kenya, the Kenya Data Protection Act of 2019, enforced by the Office of the Data Protection Commissioner, imposes strict rules regarding personal data processing, storage, and cross-border data transfer. Financial and health institutions must ensure sensitive customer records reside within approved borders or within cloud regions that provide equivalent legal data safeguards.
Practical example
The Kenya Revenue Authority experiences massive traffic surges on its iTax portal leading up to the June 30 annual tax return filing deadline. During normal months, web traffic averages fifty thousand requests per hour, but this escalates to over two million requests per hour during the final week of June.
To prevent the historical service outages caused by traffic saturation, the technical team implemented an elastic cloud architecture. They deployed an Application Load Balancer across two availability zones, fronting an Auto-Scaling Group configured with minimum, desired, and maximum instance counts. The scaling policy monitors average CPU utilization and HTTP request counts; once CPU utilization exceeds seventy percent for three consecutive minutes, the auto-scaler automatically spins up additional pre-configured virtual machine instances.
To satisfy the Kenya Data Protection Act of 2019 regarding data sovereignty, taxpayer identification numbers and financial records are stored within an encrypted relational database deployed on localized private infrastructure at Konza Technopolis data center, while public web tier assets and static files are served elastically from local edge locations in Nairobi. This hybrid elastic design prevents site collapse during the June deadline while maintaining full compliance with Kenyan data privacy regulations.
Quiz
1. What architectural role does a cloud load balancer perform during unexpected traffic spikes?
2. What is the primary operational distinction between horizontal scaling and vertical scaling?
3. Under the Kenya Data Protection Act of 2019, what primary requirement must organizations satisfy when hosting citizen personal data in public cloud platforms?
Sign in to submit and securely grade your quiz.