1. What is a Data Lake?
In today's business world, data is king. Most businesses today run on data and effective use and analysis of enterprise data. A data lake is a storage repository that holds a vast amount of raw data in its native format until it is needed. When a business question arises, the data lake can be queried for relevant data, and that smaller set of data can then be analysed to help answer the question.
Data Lake versus Data Warehouse
Typically, data was stored in data warehouses. A data warehouse is a database that is configured to analyse relational data coming from transactional systems and line of business applications. In a typical database, the data structure and schema are defined in advance, and the data can be queried using a number of SQL queries. The results of these queries are usually used for analysis and inference. The architecture of a data warehouse is typically hierarchical where data is stored in files or folders.
A data lake is different, because it stores relational data from line of business applications, and non-relational data from mobile apps, IoT devices, and social media. The data lake uses a flat architecture to store data, which means the structure of the data or schema is not rigidly defined when data is captured. This means that the data can be stored without any biases regarding the kind of queries that could be conducted on the data. The SQL queries are not pre-defined, and hence different types of analytics such as SQL queries, big data analytics, full text search, real-time analytics, and machine learning can be used to uncover insights.
Unlock Complete White Paper
Enter business email to read the full unabridged paper.
Why do we need a Data Lake?
It has been seen that enterprises that base decisions and business value on data typically outperform those that do not. An Aberdeen survey saw organizations who implemented a Data Lake outperforming similar companies by 9% in organic revenue growth. These organizations that implemented a data lake were able to do new types of analytics like machine learning over new sources like log files, data from click-streams, social media, and internet connected devices stored in the data lake. This helped them to identify, and act upon opportunities for business growth faster by attracting and retaining customers, boosting productivity, proactively maintaining devices, and making informed decisions.
Most organization today see the need for a data lake and are hence evolving their data strategy to include data lakes, and enable diverse query capabilities, data science use-cases, and advanced capabilities for discovering new information models. Gartner names this evolution the "Data Management Solution for Analytics" or "DMSA."
2. Data Lake on Cloud
Most businesses today run on cloud. Deployment on the cloud provides performance, scalability, reliability, availability, a diverse set of analytic engines, and massive economies of scale. When it comes to Data Lakes, the advantages of being on the cloud are better security, faster time to deployment, better availability, more frequent feature/functionality updates, more elasticity, more geographic coverage, and costs linked to actual utilization. Here are some of the benefits of having Data Lake on cloud.
Agility and dynamic processing
The biggest advantage of the cloud is its agility and flexibility. The cloud makes it possible to pay for just the configuration you use. For example, you can start with a 20-node cluster and then easily increase to 100 nodes as your requirements change. You can scale up and scale down as per need, and you pay for only what you use. Also, cloud storage provides native integration with a number of powerful services, giving the flexibility to choose the right tool to analyse data.
Cost-effective data storage and compute
In a cloud deployment a Data Lake has separate storage and compute services. This is because in the cloud, storage is cost effective and compute is expensive. This provides cost effectiveness, but also calls for careful planning of the architecture. Cloud storage provides a number of storage classes at multiple prices to suit different access patterns and availability needs, and to offer the flexibility to balance cost and frequency of data access.
Up-to-date technologies
Cloud providers add services and support that make it easier to upgrade without impacting the overall solution. For example, we have clients with cloud-based data lake architectures that were able to upgrade to a new version of Hadoop in a matter of days.
Security
Since data lakes are designed to store all types of data, enterprises expect strong access control capabilities to help ensure that their data doesn't fall into the wrong hands. Cloud Storage offers a number of mechanisms to implement secure access control over data assets.
Geographic replication for high resiliency
A big advantage to moving to the cloud is that cloud vendors have regional, cross-regional or cross-country data recovery strategies and applications in place. This means that a separate data centre is not required to ensure resiliency in case of disaster.
3. Architecting Data Lake for Cloud
While building a Data Lake on Cloud, here are some of the aspects that need to be considered:
- Data ingestion
- Data mining and exploration
- Processing and analytics
- Design and deploy workflows
Data ingestion
A data lake architecture must be able to ingest varying volumes of data from different sources such as Internet of Things (IoT) sensors, clickstream activity on websites, online transaction processing (OLTP) data, and on-premises data, etc. Some of the ways enterprises can set up data ingestion as part of the Data Lake architecture include:
- Cloud Pub/Sub and Cloud Dataflow: Real-time data can be ingested and stored directly into Cloud Storage, scaling both in and out in response to data volume.
- Storage Transfer Service: This provides a robust framework to move large amounts of data, schedule periodic data transfers, synchronize files between source and sink, or move files selectively based on filters.
- Open source tools: For one-time or manually initiated transfers, open source tools such as gsutil can be used. It supports multi-threaded transfers, processed transfers, parallel composite uploads, retries, and resumability.
- Transfer Appliance: Depending on the network bandwidth, to migrate large volumes of data to the cloud for analysis, the migration can be done offline using the Transfer Appliance.
Data mining and exploration
Data Lakes have the data stored in raw formats. Therefore, a large part of this data is not ready for immediate consumption and must be mined for use and analysis. There are various tools available for data mining and exploration and depending on the business use of data and cost-benefit analysis, the appropriate tool can be selected.
Processing and analytics
Once data has been ingested and stored, it needs to be made available for analysis. Like in the case of a data warehouse, here too the Data Lake can have a well-understood schema that lends itself querying the database. This can be done using SQL queries.
However, the primary feature of a Data Lake vis-a-vis a data warehouse is that it may not always have a well-structured schema. The data in Data Lake is typically stored in raw formats as is, and hence SQL queries may not always work. In such cases, for each kind of analysis required, the workflow can range from simple to complex.
Design and deploy workflows
As a final step in getting the Data Lake ready for use, workflows need to be designed that would essentially define the way the raw data is mined, extracted, analysed and transformed into a format that downstream processes and users can consume. These workflows vary based on the nature of the data and the types of analytics used.
4. Study of Data Lake Options Available
Today data lake options for cloud are available from three leading cloud computing vendors: Amazon Web Services, Microsoft Azure and Google Cloud.
Amazon Web Services
Amazon Web Services (AWS) is the leader in this market. It is the first choice for cloud IaaS for the past several years. One of the reasons for its popularity is the vast tool set it provides and the massive scope of operations that it offers. AWS has a huge and growing array of available services, as well as the most comprehensive network of worldwide data centres.
The challenge with AWS continues to be its cost structure that can be confusing. Enterprises find it challenging to plan for AWS implementation while running a high volume of workloads on the service. However, the strengths that AWS brings far outweighs this challenge, and organizations of all sizes continue to use AWS for a wide variety of workloads.
Microsoft Azure
With the vast enterprise background and Windows support that Microsoft has, Azure is a very close competitor to AWS with an exceptionally capable cloud infrastructure. The biggest advantage of Azure is the integration with Windows and other Microsoft software. Because Azure is tightly integrated with these other applications, enterprises that use a lot of Microsoft software often find that it also makes sense for them to use Azure.
The challenge with Azure has been on the technical support and training, and ISV partner ecosystem. Organizations find it difficult to get the necessary support that they expect from an enterprise platform.
Google Cloud Platform
Google has deep technical expertise, and industry-leading tools in deep learning and artificial intelligence, machine learning and data analytics. And these lend themselves to the Google Cloud Platform (GCP) and make it a strong competitor.
GCP specializes in high compute offerings like Big Data, analytics and machine learning. It also offers considerable scale and load balancing since Google knows data centres and fast response time.
The challenge with GCP is that it does not offer as many different services and features as AWS and Azure. It also does not have as many global data centres as AWS or Azure, although it is quickly expanding.
5. Data Lake for Healthcare Industry
The healthcare industry uses a huge amount of data. In fact, the wheels of the industry run primarily on data and analysis of data. The data could be pertaining to clinical data or claims data. Clinical data usually pertains to important clinical parameters of a patient like heart rate, blood pressure, oxygen saturation, temperature, lab test results, imaging, diagnostic details etc. Claims data usually pertains to data generated during administrative procedures like billing, insurance claim, policy details, procedure codes, diagnosis codes, location of service, provider details, claim amount etc.
Complexities of Healthcare Data
Healthcare data comes in various formats and types. For example, clinical data comes from Electronic Health Records (EHR), clinical notes, diagnostic reports, pathology reports, prescription details, pharmacy records, etc. Claims data comes from claims adjudication systems, billing software, insurance portals, clearinghouse records, etc.
- Relational structured data: Patient demography, claim amounts, procedure codes, billing line items.
- Semi-structured data: HL7 messages, FHIR JSON payloads, XML document exchanges between hospital systems.
- Unstructured data: Free-text clinical notes, physician dictation transcripts, pathology slides, medical imaging files (DICOM format).
Strategic Value of Healthcare Data Lake
A unified Healthcare Data Lake enables healthcare organizations to break down silos between clinical care delivery and administrative claims processing. By ingesting all data formats into a secure, HIPAA-compliant cloud storage repository, healthcare enterprises can:
- Predict Patient Outcomes: Use Machine Learning algorithms to analyze historical patient clinical records, vitals trends, and lab results to predict 30-day hospital readmission risk.
- Optimize Claims Adjudication: Automatically cross-reference patient clinical procedure notes with billed insurance claim codes to detect billing anomalies and reduce claim denial rates.
- Personalized Population Health Management: Aggregate patient risk profiles across demographics to proactively design preventive care workflows for chronic diseases.
6. Designing the Healthcare Data Lake on cloud
Designing a Healthcare Data Lake on cloud requires strict adherence to security, governance, regulatory compliance, and high availability.
Security and Regulatory Compliance
- HIPAA and HITECH Compliance: All cloud storage buckets, database instances, and data pipelines must satisfy strict Health Insurance Portability and Accountability Act (HIPAA) requirements. Ensure executed Business Associate Agreements (BAA) are in place with cloud vendors.
- End-to-End Encryption: Mandatory client-side or server-side AES-256 encryption at rest across all data lake storage tiers, and TLS 1.3 encryption for all data in transit across pipeline endpoints.
- Role-Based Access Control (RBAC): Enforce granular identity and access management (IAM) policies ensuring clinical researchers only access authorized, anonymized datasets.
- Data De-identification & PHI Masking: Automated ingestion pipelines must detect and mask Protected Health Information (PHI) like SSN, patient names, home addresses, and contact numbers prior to staging data in curated analytical zones.
Storage and Access Tiering Strategy
Healthcare data lakes must manage long-term retention requirements cost-effectively:
- Hot Storage Tier: Active clinical records, recent claims, and real-time patient monitoring feeds requiring sub-second access time.
- Cool Storage Tier: Historical patient encounters and past claims data accessed periodically for quarterly reporting.
- Cold / Archive Tier: Long-term medical record archives required for legal compliance retained in low-cost immutable object storage (Amazon S3 Glacier / Azure Archive Storage / GCP Coldline).
7. Case in Point - Healthcare Data Lake Designed for a Healthcare Client
BizAcuity designed and implemented a unified Cloud Data Lake for a major healthcare provider network managing millions of patient records across multiple hospital locations.
The Challenge
The client faced severe data fragmentation. Patient clinical records were stored across disparate EHR systems (Epic, Cerner), while insurance billing data resided in separate legacy databases. Reporting required manual data aggregation, taking up to 5 days to generate clinical insight reports. Furthermore, scaling local hardware storage for medical imaging files was cost-prohibitive.
The Solution
BizAcuity architected a secure, scalable Cloud Data Lake on AWS leveraging S3 object storage, AWS Glue for ETL data pipeline orchestration, and Amazon Redshift / Databricks for high-performance SQL analytics.
- Automated FHIR/HL7 ingestion pipelines processing clinical notes, lab results, and claims data continuously.
- Integrated automated PHI masking and de-identification routines to ensure 100% HIPAA compliance.
- Configured tiered storage to automatically transition historical patient files to low-cost archive storage.
Business Value & Impact
- 99% Reduction in Report Generation Time: Reduced clinical analytics report creation from 5 days to under 2 minutes.
- Substantial Cost Savings: Saved over $1.2M annually by replacing legacy on-premise hardware storage with cloud object storage.
- Enhanced Clinical Quality: Enabled real-time predictive dashboards for patient readmission risk, significantly improving patient care outcomes.