Cloud Kotta: Enabling secure and scalable data analytics in the cloud

Yadu N. Babuji, Kyle Chard, Aaron Gerow, Eamon Duede

Introduction

As research in the social sciences and humanities becomes increasingly data-intensive, scholars often encounter a "technical wall." Working with massive, sensitive datasets—such as US Census records or proprietary grant data—requires specialized infrastructure that balances high security with massive scalability. Most researchers, however, lack the DevOps expertise to manage complex cloud environments, leading to either under-utilized on-premise hardware or prohibitively expensive, mismanaged cloud resources.

Cloud Kotta (meaning "fortress" in Malayalam) is an open-source framework designed to bridge this gap. By automating security, scaling, and cost optimization on Amazon Web Services (AWS), Cloud Kotta allows researchers to focus on analysis rather than infrastructure management. The framework leverages automated scaling and cost-aware storage policies to slash computation costs by up to 16x compared to traditional static infrastructure.

System Architecture

Cloud Kotta provides a unified interface via Web, API, and CLI to manage data and compute resources within a secure Virtual Private Cloud (VPC). The architecture is designed to bring computation to the data, minimizing egress costs and latency.

Cloud Kotta System Architecture

As illustrated in Figure 1, the architecture is organized into three primary layers:

  1. Fine-Grained Security Fabric: Utilizing Role-Based Access Control (RBAC), the system ensures that worker nodes assume specific user identities. This ensures that sensitive data is never exposed to unauthorized users or processes, even when running on shared worker nodes.
  2. Elastic Compute Layer: The framework employs a queue-based model with two distinct pools. A "Development" pool remains active for rapid prototyping, while a "Production" pool scales dynamically using AWS Spot Instances—spare capacity offered at a deep discount. Cloud Kotta handles the inherent volatility of Spot instances through automated job rescheduling.
  3. Automated Storage Lifecycle: To manage the "data gravity" of multi-terabyte datasets, Cloud Kotta implements an intelligent storage policy.

Automated Storage Lifecycle and Cost Optimization

A key innovation of Cloud Kotta is its autonomous cost-management policy. Rather than maintaining all data on high-performance, high-cost storage, the system uses a Least Recently Used (LRU) policy to migrate data between tiers based on access frequency.

Automated Storage Lifecycle and Cost Tiers

As shown in Figure 2, data transitions from S3 Standard ($30/TB/mo) to S3 Infrequent Access ($12.5/TB/mo) and eventually to Glacier archival storage ($7/TB/mo). By setting these policies (e.g., moving data to Glacier if untouched for 60 days), the system maintains a low price point autonomously, removing the need for manual human administration.

Evaluation and Results

The framework's versatility was demonstrated by hosting and analyzing several massive real-world datasets, including 20TB of Wikipedia edit history and scholarly corpora from JSTOR and Web of Science. These sources were used to test analytical workloads like Latent Dirichlet Allocation (LDA) and Optical Character Recognition (OCR).

Key performance metrics include:

  • Massive Cost Savings: The elastic provisioning model reduced computation costs by up to 16x. In a simulation of 40 jobs, the "Unlimited Scaling" strategy using Spot instances achieved the same completion time as a massive fixed cluster but at a fraction of the cost ($3.95 vs $74.57).
  • Performance Gains: For a massive XML parsing task on 40TB of Wikipedia data, Cloud Kotta reduced execution time from several weeks to just a few hours by parallelizing the work across 188 nodes.
  • Linear Scalability: The system demonstrates near-perfect linear speedup for many tasks, proving that the overhead of the management layer is negligible compared to the gains of parallel processing.

Conclusion and Future Work

Cloud Kotta democratizes big data analytics by providing a secure, cost-effective "fortress" for research. While the current implementation is tightly coupled with AWS, future work will focus on multi-cloud support for Google Cloud and Azure. Additionally, the authors suggest implementing predictive scaling to spin up nodes before a researcher submits a large batch of jobs, further optimizing the balance between performance and cost.

Summary updated

BibTeX
@inproceedings{babuji2016cloud,
  author = {Yadu N. Babuji and Kyle Chard and Aaron Gerow and Eamon Duede},
  title = {{Cloud Kotta: Enabling secure and scalable data analytics in the cloud}},
  booktitle = {IEEE BigData},
  year = {2016},
  doi = {10.1109/bigdata.2016.7840616},
}
Figure