<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vaishnavi Piyush Kand on Medium]]></title>
        <description><![CDATA[Stories by Vaishnavi Piyush Kand on Medium]]></description>
        <link>https://medium.com/@vaishnavipkand?source=rss-3ed0a6fd4354------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hPSA4SooCXp9ZhHehxIA0A.jpeg</url>
            <title>Stories by Vaishnavi Piyush Kand on Medium</title>
            <link>https://medium.com/@vaishnavipkand?source=rss-3ed0a6fd4354------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 23:32:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vaishnavipkand/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building a Document Intelligence Pipeline with AWS, OCR, Serverless, and Client-Side Encryption]]></title>
            <link>https://vaishnavipkand.medium.com/building-a-document-intelligence-pipeline-with-aws-ocr-serverless-and-client-side-encryption-42242c420068?source=rss-3ed0a6fd4354------2</link>
            <guid isPermaLink="false">https://medium.com/p/42242c420068</guid>
            <category><![CDATA[data-security]]></category>
            <category><![CDATA[document-scanning]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[etl-pipeline]]></category>
            <category><![CDATA[digital-receipts]]></category>
            <dc:creator><![CDATA[Vaishnavi Piyush Kand]]></dc:creator>
            <pubDate>Wed, 10 Jun 2026 08:43:16 GMT</pubDate>
            <atom:updated>2026-06-10T08:43:16.242Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Ee-B6Q74e2NObwIU.gif" /></figure><p>Document scanning is not just an OCR problem.</p><p>In domains like insurance, banking, healthcare, finance, and compliance, scanned documents become useful only when they are converted into structured, secure, searchable, and analysis-ready data.</p><p>This project explores exactly that: how a receipt/bill scanning application can be designed as a privacy-first, cloud-native document intelligence system.</p><p>The application allows users to upload or photograph a receipt, automatically extract key information such as store name, items, prices, tax, total, and date, review the extracted data, encrypt it in the browser, and store it securely in the cloud.</p><p>But the deeper goal was not just to scan a receipt.</p><p>The goal was to think through how such a system should be designed if it had to support real-world use cases where security, scalability, availability, cost, and data quality matter.</p><h3>Core functionality</h3><p>The application supports:</p><p>✅ User registration and login<br>✅ Email-based OTP verification<br>✅ Guest mode<br>✅ JPEG/PNG receipt upload<br>✅ OCR-based extraction using Amazon Textract<br>✅ User review and correction before saving<br>✅ Client-side encryption before data reaches the backend<br>✅ Encrypted storage in PostgreSQL<br>✅ Receipt history<br>✅ Dashboard summaries and spending insights<br>✅ Recovery-key based account recovery</p><p>This made the project a good full-stack and cloud architecture exercise, covering frontend, backend, database design, security, OCR, infrastructure, and analytics.</p><h3>Technology stack and why it was used</h3><h3>Frontend: React, TypeScript, Vite</h3><p>The frontend was built with React, TypeScript, and Vite.</p><p>React was useful for building an interactive workflow where the user can upload a receipt, preview the OCR output, correct extracted fields, and then save the final version.</p><p>TypeScript helped keep data structures consistent across the frontend and backend, especially for receipt objects, user objects, API responses, and shared validation logic.</p><p>Vite was used for faster development and optimized production builds.</p><h3>Backend: AWS Lambda and API Gateway</h3><p>The backend is based on serverless functions using AWS Lambda, exposed through API Gateway.</p><p>The backend is divided into separate functions for:</p><ul><li>Authentication</li><li>Receipt scanning</li><li>Receipt storage and retrieval</li><li>Insights and dashboard summaries</li></ul><p>This separation makes the system modular and easier to maintain. Each Lambda has a clear responsibility, which also makes debugging, scaling, and future extension cleaner.</p><p>Lambda was a good fit because document scanning is an event-driven workload. Users upload a receipt, processing happens, and then the system becomes idle again. There is no need to keep a server running continuously for this pattern.</p><h3>OCR: Amazon Textract</h3><p>Amazon Textract was used for OCR and text extraction.</p><p>Receipts and bills are semi-structured documents. They have common fields such as merchant name, date, line items, tax, and total, but the layout varies from one receipt to another.</p><p>Textract helps extract raw text from these documents. The extracted output is then parsed into a cleaner structured receipt format before the user reviews it.</p><p>This same approach can be extended to other document-heavy domains such as:</p><ul><li>Insurance claims</li><li>Banking documents</li><li>Medical bills</li><li>Invoices</li><li>Expense reports</li><li>Warranty documents</li><li>KYC documents</li><li>Loan application documents</li><li>Tax and compliance records</li></ul><h3>Database: PostgreSQL on Amazon RDS</h3><p>The application uses PostgreSQL on Amazon RDS.</p><p>PostgreSQL fits well because the core data is relational:</p><ul><li>Users</li><li>Receipts</li><li>Receipt items</li><li>OTP codes</li></ul><p>It allows structured queries, indexing, constraints, and reliable transactional behavior.</p><p>A key design decision was that the database does not store readable financial data. Sensitive receipt fields are encrypted before they are sent to the backend. The database only stores ciphertext.</p><p>This means that even if someone had database-level access, they would not be able to read the user’s spending details.</p><h3>Privacy-first design</h3><p>One of the most important parts of the project is client-side encryption.</p><p>The browser derives an encryption key from the user’s password using PBKDF2. Receipt fields are encrypted using AES-256-GCM before being sent to the backend.</p><p>The backend stores encrypted data but does not have the ability to decrypt it.</p><p>This creates a privacy-first architecture where the platform can store and process the workflow, but cannot read the user’s sensitive financial data.</p><p>For domains like banking, insurance, healthcare, and finance, this type of architecture is important because scanned documents often contain highly sensitive personal, financial, or transactional information.</p><h3>Cloud infrastructure</h3><p>The infrastructure is provisioned using Terraform.</p><p>Terraform was used because cloud infrastructure should be reproducible, version-controlled, and easy to recreate across environments. Instead of manually creating resources in the AWS console, the required infrastructure is defined as code.</p><p>The AWS architecture includes:</p><ul><li>AWS Lambda for backend compute</li><li>API Gateway for routing API requests</li><li>Amazon RDS PostgreSQL for structured storage</li><li>Amazon S3 for receipt image storage and frontend hosting</li><li>Amazon CloudFront for global CDN delivery</li><li>Amazon SES for OTP emails</li><li>CloudWatch for logs, monitoring, and alarms</li><li>VPC, subnets, NAT Gateway, and security groups for private networking</li><li>IAM policies for service-level access control</li></ul><p>This made the project useful not only from an application development perspective, but also from an infrastructure and operations perspective.</p><h3>ETL and data pipeline thinking</h3><p>A key part of this project is that it already performs the first stages of an ETL-style pipeline.</p><h3>Extract</h3><p>The system already extracts data from receipt images.</p><p>A user uploads or photographs a receipt, the image is processed through OCR, and key information such as merchant name, date, item names, prices, tax, and total is extracted from the document.</p><p>Currently, the input scope is focused on JPEG and PNG receipt images. A natural extension would be to support:</p><ul><li>PDF invoices</li><li>Text-based documents</li><li>Bank statements</li><li>Insurance claim forms</li><li>Medical bills</li><li>Warranty documents</li><li>KYC documents</li><li>Loan-related documents</li></ul><p>This would make the system more useful across document-heavy industries such as insurance, banking, healthcare, finance, and compliance.</p><h3>Transform</h3><p>The project also performs part of the transformation layer.</p><p>Raw OCR output is not directly useful. It needs to be converted into structured fields that can be reviewed, corrected, encrypted, stored, and later analyzed.</p><p>The current transformation scope includes parsing OCR output into structured receipt data such as store name, line items, prices, tax, total, and date.</p><p>This can be extended further with:</p><ul><li>Merchant name normalization</li><li>Currency normalization</li><li>Date standardization</li><li>Duplicate receipt detection</li><li>Line-item categorization</li><li>Tax category mapping</li><li>OCR confidence scoring</li><li>Data quality validation</li><li>Missing-field detection</li><li>Human review workflows for low-confidence fields</li></ul><p>This is where the system starts moving from simple OCR toward document intelligence.</p><h3>Load</h3><p>After review and correction, the structured receipt data is encrypted in the browser and stored in PostgreSQL.</p><p>The important design decision here is that sensitive financial data is not stored as plain text. The backend stores encrypted values, while the user retains control over decryption.</p><p>For a larger enterprise version, the load layer could be extended to support a data warehouse, reporting database, or downstream analytics pipeline.</p><h3>Insights</h3><p>The project already includes an insights layer.</p><p>Once receipt data is structured, the system can provide summaries and dashboard-level visibility, such as spending patterns, receipt history, and aggregated financial views.</p><p>This can be expanded into richer analytics, including:</p><ul><li>Monthly spending trends</li><li>Category-wise expense analysis</li><li>Merchant-level spending</li><li>Duplicate or suspicious receipt detection</li><li>Tax summaries</li><li>Reimbursement reports</li><li>Budget tracking</li><li>Claim-level summaries for insurance</li><li>Transaction validation for banking</li><li>Compliance and audit dashboards</li></ul><p>So the project is not only scanning documents. It is already creating the foundation for a privacy-first document data pipeline: extract, transform, securely load, and generate insights.</p><h3>NLP and AI scope</h3><p>OCR extracts text, but NLP can make the data more intelligent.</p><p>Possible NLP extensions include:</p><ul><li>Document classification</li><li>Named entity recognition</li><li>Vendor and merchant normalization</li><li>Invoice number extraction</li><li>Policy number extraction</li><li>Tax ID extraction</li><li>Address extraction</li><li>Claim type detection</li><li>Duplicate document detection</li><li>Semantic search over documents</li><li>Summarization of long documents</li><li>Anomaly and fraud signal detection</li></ul><p>For example, in insurance, the system could classify uploaded documents as medical bills, repair invoices, claim forms, or supporting evidence. It could then extract the required fields, flag missing information, and route the document to the correct workflow.</p><p>In banking, similar workflows could support KYC, loan processing, income verification, expense validation, and transaction proof analysis.</p><h3>Data analysis and insights</h3><p>Once receipt and bill data is structured, many useful insights can be generated.</p><p>For individual users:</p><ul><li>Monthly spending trends</li><li>Merchant-level spending</li><li>Category-level spending</li><li>Tax summaries</li><li>Duplicate receipts</li><li>Budget tracking</li><li>Personal finance insights</li></ul><p>For businesses:</p><ul><li>Expense management</li><li>Reimbursement workflows</li><li>Vendor analysis</li><li>Audit preparation</li><li>Procurement visibility</li><li>Cost trend analysis</li><li>Compliance reporting</li></ul><p>For insurance and banking:</p><ul><li>Claim document completeness</li><li>Fraud indicators</li><li>Policy-document matching</li><li>Transaction validation</li><li>Customer financial behavior patterns</li><li>Risk signals from submitted documents</li></ul><p>The real value of document scanning comes after the document becomes structured and analyzable.</p><h3>Scalability considerations</h3><p>The system was designed with scalability in mind.</p><h3>Compute</h3><p>AWS Lambda automatically scales based on request volume. This avoids the need to manage servers manually.</p><h3>Storage</h3><p>S3 can handle large volumes of document images. Lifecycle policies can move older files to cheaper storage tiers such as Standard-IA and Glacier.</p><h3>Database</h3><p>RDS PostgreSQL can be scaled vertically by increasing instance size. For production-scale usage, read replicas, indexing, query optimization, partitioning, and connection pooling could be added.</p><h3>OCR processing</h3><p>For higher scan volumes, OCR processing can be made asynchronous using queues and workflow orchestration.</p><p>A production version could include:</p><ul><li>SQS for buffering document processing jobs</li><li>Step Functions for multi-step workflows</li><li>Dead-letter queues for failed scans</li><li>Retry logic for temporary OCR failures</li><li>Rate-limit handling for external services</li><li>Cost monitoring per scanned document</li></ul><h3>Frontend delivery</h3><p>The frontend is served through S3 and CloudFront, allowing static assets to be delivered globally with low latency.</p><h3>Availability, downtime, and reliability</h3><p>For a production-grade version, the system should be designed for minimal downtime and fast recovery.</p><p>Important reliability measures include:</p><ul><li>Multi-AZ RDS deployment</li><li>Automated database backups</li><li>Point-in-time recovery</li><li>CloudWatch alarms for Lambda errors</li><li>API Gateway monitoring</li><li>Structured logs</li><li>Retry and timeout handling</li><li>Dead-letter queues</li><li>Blue-green or staged deployments</li><li>Infrastructure drift detection</li><li>CDN cache invalidation during releases</li></ul><p>The current architecture already includes automated backups, CloudWatch logging, private networking, HTTPS, and repeatable deployments. A production version would build further on this with high-availability and disaster-recovery controls.</p><h3>Security decisions</h3><p>Some important security choices in the project include:</p><ul><li>Password hashing with bcrypt</li><li>OTP verification through email</li><li>OTP expiry to reduce abuse</li><li>Client-side encryption before backend storage</li><li>AES-256-GCM encryption for receipt data</li><li>PBKDF2-based key derivation</li><li>HTTPS enforced through CloudFront and API Gateway</li><li>Private S3 storage for receipt images</li><li>RDS placed inside a private network</li><li>IAM permissions scoped by service responsibility</li><li>File type validation for image uploads</li><li>CloudWatch logging and alarms</li></ul><p>Security was not added at the end. It was part of the architecture from the beginning.</p><h3>Cost awareness</h3><p>Another important learning was cloud cost design.</p><p>For a development environment, many services remain low-cost or within free-tier usage. However, some infrastructure components such as NAT Gateway can become fixed monthly costs because they run continuously.</p><p>This creates an important architecture lesson:</p><p>A scalable system should also be economically sensible.</p><p>For production, cost optimization could include:</p><ul><li>Tracking cost per scan</li><li>Monitoring Textract usage</li><li>Adding AWS budget alarms</li><li>Right-sizing RDS</li><li>Moving older images to cheaper S3 storage classes</li><li>Reducing unnecessary NAT Gateway usage</li><li>Using async processing for batch workloads</li><li>Optimizing Lambda memory and timeout settings</li></ul><h3>What this project helped me learn</h3><p>This project helped me connect multiple areas:</p><ul><li>Full-stack application development</li><li>Serverless architecture</li><li>OCR and document processing</li><li>Client-side encryption</li><li>Authentication and OTP flows</li><li>PostgreSQL schema design</li><li>API design</li><li>AWS infrastructure</li><li>Terraform</li><li>Cloud cost estimation</li><li>Monitoring and reliability</li><li>ETL pipeline design</li><li>NLP and AI use cases</li><li>Data analysis and dashboarding</li><li>Privacy-first product thinking</li></ul><p>The biggest takeaway:</p><p>A document scanning system is not only about reading text from an image.</p><p>It is about converting unstructured documents into secure, structured, reliable, and useful data.</p><p>That is where real business value starts.</p><p>And that is why document intelligence has strong use cases across insurance, banking, finance, healthcare, compliance, and enterprise automation.</p><p>The complete project repository, including the application code, Terraform infrastructure, backend services, frontend implementation, and documentation, is available here:</p><p>🔗 GitHub: <a href="https://github.com/itsvaishnavi/billscanner">https://github.com/itsvaishnavi/billscanner</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42242c420068" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apache Airflow Explained: Concepts, Architecture, and Docker Setup]]></title>
            <link>https://vaishnavipkand.medium.com/apache-airflow-explained-concepts-architecture-and-docker-setup-40f105b15ef7?source=rss-3ed0a6fd4354------2</link>
            <guid isPermaLink="false">https://medium.com/p/40f105b15ef7</guid>
            <category><![CDATA[data-pipeline]]></category>
            <category><![CDATA[orchestration]]></category>
            <category><![CDATA[container-orchestration]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[apache-airflow]]></category>
            <dc:creator><![CDATA[Vaishnavi Piyush Kand]]></dc:creator>
            <pubDate>Thu, 12 Mar 2026 17:01:01 GMT</pubDate>
            <atom:updated>2026-03-12T17:01:01.719Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iEfTgt9qo-Zb3_Bx.jpg" /></figure><h3><strong>What is Airflow?</strong></h3><p>Airflow is an open-source platform for developing, scheduling, and monitoring batch-oriented workflows.</p><p>In simpler words, a scheduler and orchestrator for tasks written in Python. Airflow is like a film director. The director doesn’t act in the movie — they coordinate everything.</p><h3>What Airflow is not?</h3><ol><li>Airflow does <strong>not process data itself</strong>.</li><li>Its job is to <strong>decide what should run, when it should run, and in what order</strong>.</li><li>You describe the workflow as a <strong>DAG</strong>, and Airflow executes the tasks.</li><li>Airflow is <strong>not for real-time streams.</strong></li><li>Airflow is not meant to move millions of messages between services. Instead it relies on queue systems internally when needed.</li><li>Airflow’s database stores <strong>metadata only</strong>, not datasets. eg. task status, execution time, logs and DAG runs.</li><li>Airflow is <strong>not an ETL tool by itself</strong>. It does not provide built-in data transformations. It manages the workflow, not the transformation logic.</li><li>Airflow is <strong>not a replacement for cron only.</strong> It’s much more powerful than cron, but cron-like scheduling is only a part of it.</li></ol><h3>Airflow Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*pJMJXsDiNZtVppVPDgSDjw.png" /><figcaption>Airflow Architecture</figcaption></figure><ol><li>Scheduler (the brain)</li><li>Metadata Database (Airflow memory)</li><li>Executor (task dispatcher)</li><li>Workers (task runners)</li><li>DAG Directory (your pipeline code)</li><li>Webserver + UI (your dashboard)</li></ol><p>Let’s see each component.</p><p><strong>Scheduler</strong>: decides when tasks should run.</p><p>It repeatedly does:</p><p>✓ scan DAG directory<br>✓ check schedules<br>✓ create task runs<br>✓ send tasks to executor</p><p><strong>Metadata database</strong>: Airflow stores everything in a database (usually PostgreSQL).</p><p>It stores:</p><p>✓ DAG runs<br>✓ task states<br>✓ execution history<br>✓ logs<br>✓ schedule metadata</p><p><strong>Executor</strong>: decides how tasks get executed.</p><p>Types of Executor:</p><p>✓ SequentialExecutor (single task)<br>✓ LocalExecutor (multiple local processes)<br>✓ CeleryExecutor (distributed workers)<br>✓ KubernetesExecutor (pods per task)</p><p><strong>Workers</strong>: machines/containers that execute the tasks.</p><p>Example:</p><p>✓ run python script<br>✓ run SQL query<br>✓ call API<br>✓ run Spark job</p><p><strong>DAG Directory</strong>: where your pipeline definitions live. Airflow constantly reads this folder to discover workflows.</p><p><strong>Webserver + UI:</strong> webserver hosts the Airflow UI.</p><p>Through UI, you can:</p><p>✓ view DAGs<br>✓ trigger pipelines<br>✓ see logs<br>✓ retry tasks<br>✓ monitor execution</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*beXwou9jWqgAaF4LuYGCDQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8vQXXfTGMpNsac_FpiX40A.png" /><figcaption>Mapping architecture components to the volume in dockercompose.yaml</figcaption></figure><p>After setting some ground, let’s start working with airflow. We will use docker to install and work with airflow. We break this process in 7 easy steps.</p><p>Docker has made the life of programmer very easy. You just need to install docker on your system.</p><p><strong>Step 1</strong>: <strong>Install Docker</strong></p><p>During installation:</p><p>Enable</p><ul><li><strong>WSL2 backend</strong></li><li><strong>Linux containers</strong></li></ul><p>Intermediate step: verify install</p><blockquote>docker — version<br>docker compose version</blockquote><p><strong>Step 2: Create Airflow Project Folder</strong></p><blockquote>On Windows:</blockquote><blockquote>mkdir airflow-docker<br>cd airflow-docker</blockquote><p><strong>Step 3: Download Official Airflow Docker Setup</strong></p><p>Run the following command:</p><blockquote>curl -LfO <a href="https://airflow.apache.org/docs/apache-airflow/2.9.3/docker-compose.yaml">https://airflow.apache.org/docs/apache-airflow/2.9.3/docker-compose.yaml</a></blockquote><p>The dockercompose.yaml file contains services:</p><ul><li>airflow-webserver</li><li>airflow-scheduler</li><li>postgres</li><li>redis</li><li>airflow-worker</li><li>airflow-triggerer</li></ul><p><strong>Step 4: Create Required Folders</strong></p><p>Inside airflow-docker:</p><blockquote>mkdir dags<br>mkdir logs<br>mkdir plugins<br>mkdir config</blockquote><p>Now the folder looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*LWu0to6TlLeNtc7GM_RB7Q.png" /><figcaption>Folder structure</figcaption></figure><p><strong>Step 5: Set Airflow User ID</strong></p><p>Setting Airflow User ID (AIRFLOW_UID) is mainly about file permissions when running Airflow in Docker. Without it, you can run into annoying problems like logs not being writable or DAG files owned by the wrong user.</p><p>When you run Apache Airflow using Docker, the containers run as a Linux user inside the container.</p><p>Meanwhile your project files exist on your host machine.</p><p>So Docker must answer: Which user inside the container owns the mounted files?</p><blockquote>Powershell command:</blockquote><blockquote>echo AIRFLOW_UID=50000 &gt; .env</blockquote><blockquote>AIRFLOW_UID=50000 is used consistently by:</blockquote><ul><li>scheduler</li><li>webserver</li><li>workers</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*qjKqYX9TuCnS1dFKZljtZA.png" /><figcaption>dockercompose.yaml snippet</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*KgIOPD3geZLFQY2hADYaeQ.png" /><figcaption>dockercompose.yaml snippet</figcaption></figure><p>Step 6: Initialize Airflow</p><blockquote>docker compose up airflow-init</blockquote><p>This step:</p><ul><li>creates database</li><li>sets up Airflow metadata</li><li>prepares containers</li></ul><p>Now, the moment of truth:</p><p>Step 7: Start Airflow and open Airflow UI</p><blockquote>docker compose up</blockquote><p>Open browser</p><blockquote><a href="http://localhost:8080/">http://localhost:8080</a></blockquote><p>Login:</p><blockquote>username: airflow<br>password: airflow</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p6-CpPJJapJ87xISON6C1w.png" /><figcaption>dockercompose.yaml snippet</figcaption></figure><p>Now we are ready to test the DAGs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WIVIw58lzQIlA2KihQdYbA.png" /><figcaption>Airflow UI</figcaption></figure><p>Note:</p><p>In dockercompose.yaml, AIRFLOW__CORE__LOAD_EXAMPLES: ‘false’</p><p>This disables the default sample DAGs that Airflow ships with.</p><p>If set to true, you would see example pipelines. Setting it to false keeps your UI clean.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*93CyAqdqYL2V7WTaWLyBsg.png" /><figcaption>dockercompose.yaml snippet</figcaption></figure><h3>Final Takeaway</h3><p>Apache Airflow is designed to <strong>orchestrate workflows, not process data itself</strong>. It manages when tasks run, in what order, and monitors their execution through components like the scheduler, executor, workers, and metadata database. By defining pipelines as DAGs, Airflow provides reliability, visibility, and control over complex workflows. When combined with Docker for local setup, it becomes easy to develop, test, and manage scalable data pipelines.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40f105b15ef7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing a Production-Ready Spark ETL Pipeline on AWS with CI/CD and Terraform]]></title>
            <link>https://vaishnavipkand.medium.com/designing-a-production-ready-spark-etl-pipeline-on-aws-with-ci-cd-and-terraform-4646a17623a9?source=rss-3ed0a6fd4354------2</link>
            <guid isPermaLink="false">https://medium.com/p/4646a17623a9</guid>
            <category><![CDATA[spark]]></category>
            <category><![CDATA[aws-glue]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[building-data-pipelines]]></category>
            <category><![CDATA[terraform]]></category>
            <dc:creator><![CDATA[Vaishnavi Piyush Kand]]></dc:creator>
            <pubDate>Tue, 17 Feb 2026 21:12:32 GMT</pubDate>
            <atom:updated>2026-02-17T21:12:32.645Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, I’ll walk through how to build a production-style Spark ETL pipeline using AWS and Terraform.</p><p>Instead of just running a Spark job manually, we’ll build a structured, automated system that mirrors how real-world data engineering pipelines are deployed.</p><h3>What Does “Production-Style” Mean?</h3><p>A production-ready pipeline is not just a script that runs successfully.</p><p>It is:</p><ul><li>Automated</li><li>Environment-isolated (test vs prod)</li><li>CI/CD enabled</li><li>Infrastructure as Code managed</li><li>Secure via proper IAM roles</li><li>Deployable through Git-based workflows</li></ul><p>In short, it safely moves code from development to production with minimal manual intervention.</p><h3>Real-World Scenario</h3><p>Imagine this:</p><ul><li>Raw JSON or CSV files land in an S3 bucket.</li><li>A Spark job transforms the data.</li><li>The cleaned, validated data is written back to S3 as partitioned Parquet.</li><li>Invalid data is separated into a quarantine zone.</li><li>All deployments are automated via GitHub.</li></ul><p>That’s what we’re building.</p><h3>Tech Stack Used</h3><ul><li>GitHub (test + main branches)</li><li>AWS CodePipeline</li><li>AWS CodeBuild</li><li>AWS Glue (PySpark)</li><li>Amazon S3 (Raw → Curated → Quarantine)</li><li>Terraform (Infrastructure as Code)</li></ul><h3>Goal</h3><p>Raw data lands in S3 → Spark cleans and validates → write partitioned Parquet → automate everything through CI/CD.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*oDiOHftaYBpt6TCoPRXdhQ.png" /><figcaption>Architecture Diagram</figcaption></figure><h3>Development Flow</h3><p>Let’s keep it simple</p><ul><li>test branch → deploy script → run Glue test job once</li><li>main branch → deploy script to prod (no auto-run unless triggered)</li></ul><p>This ensures:</p><ul><li>Safe validation in test</li><li>Controlled promotion to production</li></ul><h3>Step 1 — GitHub Setup</h3><p>Create:</p><ul><li>main branch (production)</li><li>test branch (validation)</li></ul><p>Folder structure:</p><p>glue/user_events_etl.py<br>buildspec-test.yml<br>buildspec-prod.yml</p><p>Note: CI/CD pipelines are strict about file paths. If the script path does not match your buildspec, the pipeline fails.</p><h3>Step 2 — Glue ETL Implementation</h3><p>The Glue job performs:</p><ul><li>Schema enforcement</li><li>Null handling</li><li>Deduplication</li><li>Partition by event_date</li><li>Write Parquet to curated</li><li>Write invalid rows to quarantine</li></ul><p>Partitioned Parquet improves:</p><ul><li>Query performance</li><li>Storage efficiency</li><li>Scalability</li></ul><h3>Step 3 — Terraform Infrastructure</h3><p>All infrastructure is created using Terraform:</p><ul><li>Glue jobs (test + prod)</li><li>CodeBuild projects</li><li>CodePipeline pipelines</li><li>CodeStar connection</li><li>IAM roles and policies</li><li>S3 artifact + script buckets</li><li>Optional Glue triggers</li></ul><p>Important Commands:</p><p>terraform init<br>terraform workspace new use1<br>terraform workspace select use1<br>terraform apply</p><p>Note: Always lock your AWS region in Terraform to avoid cross-region deployment issues.</p><h3>Step 4 — GitHub → AWS Connection (Manual Step Required)</h3><p>Terraform creates the connection resource, but OAuth must be completed manually.</p><p>Open: https://&lt;region&gt;.console.aws.amazon.com/codesuite/settings/connections</p><p>Click: Update pending connection</p><p>Authorize in GitHub.</p><p>Note: OAuth flows cannot be automated by Terraform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AgM8fbZhzmnrETtCGmCVCw.png" /><figcaption>github connections details screenshot</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4bD1icBcj3pD8Q_jtYfmjQ.png" /><figcaption>github connection status</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4VphGifpmTk7Z6I4y6Zsrg.png" /><figcaption>CodePipeline screenshot</figcaption></figure><h3>How This Project Works End-to-End</h3><p><a href="https://github.com/itsvaishnavi/spark-etl-codepipeline-terraform-cicd">Github repo link</a></p><ol><li>Developer pushes code to test</li><li>CodePipeline triggers</li><li>CodeBuild deploys Glue script to S3</li><li>Glue test job runs once</li><li>Once validated, merge to main</li><li>Production script is deployed</li></ol><p>Optional:</p><ul><li>Scheduled production runs</li><li>Event-driven S3 triggers</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uQMh7CVPysiUaDn7b44aog.png" /><figcaption>pipeline screenshot</figcaption></figure><h3><strong>Final Thoughts</strong></h3><p>Writing a Spark job is straightforward.</p><p>You define a schema, transform some columns, write a Parquet file — done.</p><p>But that’s not production.</p><p>Production begins where automation, isolation, security, and repeatability enter the picture.</p><p>A real-world Spark pipeline is not just about data transformation. It’s about:</p><ul><li>Safe promotion from test to production</li><li>Automated deployment through CI/CD</li><li>Proper IAM role separation</li><li>Region discipline</li><li>Infrastructure as Code</li><li>Trigger management</li><li>Failure handling</li></ul><p>This project focuses on that transition — from “it works on my laptop” to “it runs safely in production.”</p><p>By combining:</p><ul><li>GitHub branch strategy</li><li>CodePipeline orchestration</li><li>CodeBuild deployment</li><li>Glue Spark processing</li><li>Terraform-managed infrastructure</li></ul><p>we build something that is not just functional — but reliable and scalable.</p><p>Thanks for reading! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4646a17623a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python app MySQL containerization using Docker]]></title>
            <link>https://vaishnavipkand.medium.com/python-app-mysql-containerization-using-docker-508e5f47f771?source=rss-3ed0a6fd4354------2</link>
            <guid isPermaLink="false">https://medium.com/p/508e5f47f771</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[docker-compose]]></category>
            <dc:creator><![CDATA[Vaishnavi Piyush Kand]]></dc:creator>
            <pubDate>Sun, 31 Dec 2023 17:11:01 GMT</pubDate>
            <atom:updated>2023-12-31T17:11:01.866Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*68e0VMn6mgCDjuO0" /><figcaption>Photo by <a href="https://unsplash.com/@rubaitulazad?utm_source=medium&amp;utm_medium=referral">Rubaitul Azad</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Docker is an open source platform which helps you to build, deploy and run your containers without worrying about any dependencies.</p><p>Docker compose is a tool where you can work with multiple containers which are defined in YAML file.</p><p>I am demonstrating a simple project in which the python app is connecting to the database to insert the data. The python app is dockerized. Let’s start step by step.</p><p>Firstly, let’s start by creating a YAML file called docker-compose.yml in which we will create one container for the docker image MySQL.</p><pre>version: &#39;3&#39;<br><br>services: <br>  db-mysql:<br>    image: mysql:latest<br>    container_name: &quot;test-mysql-db&quot;<br>    environment:<br>      MYSQL_ROOT_USER: &quot;root&quot;<br>      MYSQL_ROOT_PASSWORD: &quot;password&quot;<br>      MYSQL_DATABASE: &quot;db&quot;<br>      MYSQL_PASSWORD: &quot;password&quot;<br>      MYSQL_ROOT_HOST: &quot;%&quot;<br>    ports:<br>      - &quot;3306:3306&quot;<br>    healthcheck:<br>      test: mysql --user=root --password=password -e &#39;show databases&#39;</pre><p>Run the docker-compose.yml file using the command: <em>docker-compose up — build</em></p><p>Now, we need to check if the mysql database db is created. To check this, we can use MySQL workbench where host field will take <em>localhost</em> value, port will be <em>3306 </em>(This 3306 is the value mentioned on the left hand side in the ports mapping.), user will be <em>root </em>and password will be <em>password</em>. If the connection is successful, let’s move onto the next step and create the python file.</p><p>Create the file called requirements.txt in which python packages required for the project are mentioned.</p><pre>pymysql<br>cryptography</pre><p>Create a folder <em>scripts </em>and python file <em>dbclass.py</em> inside the folder where we will write the class to connect to the database and create table and implement insert_data() function.</p><pre>import pymysql<br><br>class DBClass:<br> def __init__(self):<br>  self.connection = pymysql.connect(user=&#39;root&#39;,password=&#39;password&#39;,host=&#39;test-mysql-db&#39;,database=&#39;db&#39;)<br>  print(&quot;Connection to database successful....&quot;)<br>  self.cursor = self.connection.cursor()<br><br><br> def create_table_if_not_exists(self):<br>  query = &quot;create table if not exists test_table(id int, s_name text);&quot;<br><br>  try:<br>   self.cursor.execute(query)<br><br>  except Exception as e:<br>   print(e)<br><br>  else:<br>   print(&quot;Table created successfully....&quot;)<br><br><br> def insert_data(self, data:tuple):<br>  query = &quot;insert into test_table(id, s_name) values (%s, &#39;%s&#39;)&quot; %data<br>  print(query)<br><br>  try:<br>   self.cursor.execute(query)<br>   self.connection.commit()<br>  <br>  except Exception as e:<br>   print(e)<br><br>  else:<br>   print(&quot;Data inserted successfully...&quot;)</pre><p>Let’s write <em>main.py</em> in the folder <em>scripts </em>to use the class DBClass.</p><pre>from dbclass import DBClass<br><br>def main():<br> dBClass = DBClass()<br><br> dBClass.create_table_if_not_exists()<br><br> dBClass.insert_data((1, &quot;Vaishnavi&quot;))<br><br> dBClass.insert_data((2, &quot;Bhakti&quot;))<br><br> dBClass.insert_data((3, &quot;Vipra&quot;))<br><br>if __name__ == &quot;__main__&quot;:<br> main()</pre><p>Now, let’s modify docker-compose.yml.</p><pre>version: &#39;3&#39;<br><br>services:<br>  app:<br>    container_name: myapp<br>    build:<br>      context: .<br>      dockerfile: Dockerfile<br>    depends_on:<br>      db-mysql:<br>        condition: service_healthy<br>    <br>  db-mysql:<br>    image: mysql:latest<br>    container_name: &quot;test-mysql-db&quot;<br>    # restart: always<br>    environment:<br>      MYSQL_ROOT_USER: &quot;root&quot;<br>      MYSQL_ROOT_PASSWORD: &quot;password&quot;<br>      MYSQL_DATABASE: &quot;db&quot;<br>      MYSQL_PASSWORD: &quot;password&quot;<br>      MYSQL_ROOT_HOST: &quot;%&quot;<br>    ports:<br>      - &quot;3306:3306&quot;<br>    healthcheck:<br>      test: mysql --user=root --password=password -e &#39;show databases&#39;</pre><p>In the YAML file, there are two services: one is the python app and another one is MySQL. The python app <em>app</em> is dependent on the service <em>db-mysql</em>.</p><p>The python app will not start until the MySQL container runs properly and error free. For this there is the health check condition added and the test for the health check.</p><p>The python app is using the Dockerfile which contains the definition for myapp container.</p><pre>FROM python:latest<br><br>COPY requirements.txt requirements.txt<br><br>RUN pip install -r requirements.txt<br><br>COPY . .<br><br>CMD [&quot;python&quot;, &quot;./scripts/main.py&quot;]</pre><p>We are now ready to run our docker-compose.yml file.</p><pre>C:\Users\docker-mysql-python-demo&gt;docker-compose up --build<br>[+] Building 4.5s (9/9) FINISHED                                                                                                                         docker:default<br> =&gt; [app internal] load .dockerignore                                                                                                                              0.1s<br> =&gt; =&gt; transferring context: 2B                                                                                                                                    0.0s<br> =&gt; [app internal] load build definition from Dockerfile                                                                                                           0.1s<br> =&gt; =&gt; transferring dockerfile: 189B                                                                                                                               0.0s<br> =&gt; [app internal] load metadata for docker.io/library/python:latest                                                                                               3.7s<br> =&gt; [app 1/4] FROM docker.io/library/python:latest@sha256:3733015cdd1bd7d9a0b9fe21a925b608de82131aa4f3d397e465a1fcb545d36f                                         0.0s<br> =&gt; [app internal] load build context                                                                                                                              0.0s<br> =&gt; =&gt; transferring context: 853B                                                                                                                                  0.0s<br> =&gt; CACHED [app 2/4] COPY requirements.txt requirements.txt                                                                                                        0.0s<br> =&gt; CACHED [app 3/4] RUN pip install -r requirements.txt                                                                                                           0.0s<br> =&gt; [app 4/4] COPY . .                                                                                                                                             0.1s<br> =&gt; [app] exporting to image                                                                                                                                       0.1s<br> =&gt; =&gt; exporting layers                                                                                                                                            0.1s<br> =&gt; =&gt; writing image sha256:5394880e6bdb594903daf14205622bfb00c46a1f7e7d80a84e873706e1df19ca                                                                       0.0s<br> =&gt; =&gt; naming to docker.io/library/docker-mysql-python-demo-app                                                                                                    0.0s<br>[+] Running 3/3<br> ✔ Network docker-mysql-python-demo_default  Created                                                                                                               0.2s<br> ✔ Container test-mysql-db                   Created                                                                                                               0.3s<br> ✔ Container myapp                           Created                                                                                                               0.4s<br>Attaching to myapp, test-mysql-db<br>test-mysql-db  | 2023-12-31 16:45:31+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.2.0-1.el8 started.<br>test-mysql-db  | 2023-12-31 16:45:32+00:00 [Note] [Entrypoint]: Switching to dedicated user &#39;mysql&#39;<br>test-mysql-db  | 2023-12-31 16:45:32+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.2.0-1.el8 started.<br>test-mysql-db  | 2023-12-31 16:45:32+00:00 [Warn] [Entrypoint]: MYSQL_PASSWORD specified, but missing MYSQL_USER; MYSQL_PASSWORD will be ignored<br>test-mysql-db  | 2023-12-31 16:45:32+00:00 [Note] [Entrypoint]: Initializing database files<br>test-mysql-db  | 2023-12-31T16:45:32.834734Z 0 [System] [MY-015017] [Server] MySQL Server Initialization - start.<br>test-mysql-db  | 2023-12-31T16:45:32.838858Z 0 [Warning] [MY-011068] [Server] The syntax &#39;--skip-host-cache&#39; is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.<br>test-mysql-db  | 2023-12-31T16:45:32.839097Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.2.0) initializing of server in progress as process 81<br>test-mysql-db  | 2023-12-31T16:45:32.855746Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.<br>test-mysql-db  | 2023-12-31T16:45:33.805471Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.<br>test-mysql-db  | 2023-12-31T16:45:37.111583Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.<br>test-mysql-db  | 2023-12-31T16:45:43.730594Z 0 [System] [MY-015018] [Server] MySQL Server Initialization - end.<br>test-mysql-db  | 2023-12-31 16:45:43+00:00 [Note] [Entrypoint]: Database files initialized<br>test-mysql-db  | 2023-12-31 16:45:43+00:00 [Note] [Entrypoint]: Starting temporary server<br>test-mysql-db  | 2023-12-31T16:45:43.886448Z 0 [System] [MY-015015] [Server] MySQL Server - start.<br>test-mysql-db  | 2023-12-31T16:45:44.247580Z 0 [Warning] [MY-011068] [Server] The syntax &#39;--skip-host-cache&#39; is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.<br>test-mysql-db  | 2023-12-31T16:45:44.251229Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.2.0) starting as process 125<br>test-mysql-db  | 2023-12-31T16:45:44.288028Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.<br>test-mysql-db  | 2023-12-31T16:45:44.592878Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.<br>test-mysql-db  | 2023-12-31T16:45:45.237954Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.<br>test-mysql-db  | 2023-12-31T16:45:45.238051Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.<br>test-mysql-db  | 2023-12-31T16:45:45.245795Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location &#39;/var/run/mysqld&#39; in the path is accessible to all OS users. Consider choosing a different directory.<br>test-mysql-db  | 2023-12-31T16:45:45.303078Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock<br>test-mysql-db  | 2023-12-31T16:45:45.303669Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: &#39;8.2.0&#39;  socket: &#39;/var/run/mysqld/mysqld.sock&#39;  port: 0  MySQL Community Server - GPL.<br>test-mysql-db  | 2023-12-31T16:45:45.310591Z 0 [System] [MY-015016] [Server] MySQL Server - end.<br>test-mysql-db  | 2023-12-31 16:45:45+00:00 [Note] [Entrypoint]: Temporary server started.<br>test-mysql-db  | &#39;/var/lib/mysql/mysql.sock&#39; -&gt; &#39;/var/run/mysqld/mysqld.sock&#39;<br>test-mysql-db  | Warning: Unable to load &#39;/usr/share/zoneinfo/iso3166.tab&#39; as time zone. Skipping it.<br>test-mysql-db  | Warning: Unable to load &#39;/usr/share/zoneinfo/leap-seconds.list&#39; as time zone. Skipping it.<br>test-mysql-db  | Warning: Unable to load &#39;/usr/share/zoneinfo/leapseconds&#39; as time zone. Skipping it.<br>test-mysql-db  | Warning: Unable to load &#39;/usr/share/zoneinfo/tzdata.zi&#39; as time zone. Skipping it.<br>test-mysql-db  | Warning: Unable to load &#39;/usr/share/zoneinfo/zone.tab&#39; as time zone. Skipping it.<br>test-mysql-db  | Warning: Unable to load &#39;/usr/share/zoneinfo/zone1970.tab&#39; as time zone. Skipping it.<br>test-mysql-db  | 2023-12-31 16:45:54+00:00 [Note] [Entrypoint]: Creating database db<br>test-mysql-db  |<br>test-mysql-db  | 2023-12-31 16:45:54+00:00 [Note] [Entrypoint]: Stopping temporary server<br>test-mysql-db  | 2023-12-31T16:45:54.769942Z 11 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.2.0).<br>test-mysql-db  | 2023-12-31T16:45:56.309382Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.2.0)  MySQL Community Server - GPL.<br>test-mysql-db  | 2023-12-31T16:45:56.318087Z 0 [System] [MY-015016] [Server] MySQL Server - end.<br>test-mysql-db  | 2023-12-31 16:45:56+00:00 [Note] [Entrypoint]: Temporary server stopped<br>test-mysql-db  |<br>test-mysql-db  | 2023-12-31 16:45:56+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.<br>test-mysql-db  |<br>test-mysql-db  | 2023-12-31T16:45:56.807145Z 0 [System] [MY-015015] [Server] MySQL Server - start.<br>test-mysql-db  | 2023-12-31T16:45:57.134001Z 0 [Warning] [MY-011068] [Server] The syntax &#39;--skip-host-cache&#39; is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.<br>test-mysql-db  | 2023-12-31T16:45:57.136844Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.2.0) starting as process 1<br>test-mysql-db  | 2023-12-31T16:45:57.159217Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.<br>test-mysql-db  | 2023-12-31T16:45:57.579381Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.<br>test-mysql-db  | 2023-12-31T16:45:58.154535Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.<br>test-mysql-db  | 2023-12-31T16:45:58.154631Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.<br>test-mysql-db  | 2023-12-31T16:45:58.163591Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location &#39;/var/run/mysqld&#39; in the path is accessible to all OS users. Consider choosing a different directory.<br>test-mysql-db  | 2023-12-31T16:45:58.225016Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: &#39;::&#39; port: 33060, socket: /var/run/mysqld/mysqlx.sock<br>test-mysql-db  | 2023-12-31T16:45:58.225508Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: &#39;8.2.0&#39;  socket: &#39;/var/run/mysqld/mysqld.sock&#39;  port: 3306  MySQL Community Server - GPL.<br>myapp          | Connection to database successful....<br>myapp          | Table created successfully....<br>myapp          | insert into test_table(id, s_name) values (1, &#39;Vaishnavi&#39;)<br>myapp          | Data inserted successfully...<br>myapp          | insert into test_table(id, s_name) values (2, &#39;Bhakti&#39;)<br>myapp          | Data inserted successfully...<br>myapp          | insert into test_table(id, s_name) values (3, &#39;Vipra&#39;)<br>myapp          | Data inserted successfully...<br>myapp exited with code 0\docker-mysql-python-demo&gt;docker-compose up --build<br>[+] Building 4.5s (9/9) FINISHED                                                                                                                         docker:default<br> =&gt; [app internal] load .dockerignore                                                                                                                              0.1s<br> =&gt; =&gt; transferring context: 2B                                                                                                                                    0.0s<br> =&gt; [app internal] load build definition from Dockerfile                                                                                                           0.1s<br> =&gt; =&gt; transferring dockerfile: 189B                                                                                                                               0.0s<br> =&gt; [app internal] load metadata for docker.io/library/python:latest                                                                                               3.7s<br> =&gt; [app 1/4] FROM docker.io/library/python:latest@sha256:3733015cdd1bd7d9a0b9fe21a925b608de82131aa4f3d397e465a1fcb545d36f                                         0.0s<br> =&gt; [app internal] load build context                                                                                                                              0.0s<br> =&gt; =&gt; transferring context: 853B                                                                                                                                  0.0s<br> =&gt; CACHED [app 2/4] COPY requirements.txt requirements.txt                                                                                                        0.0s<br> =&gt; CACHED [app 3/4] RUN pip install -r requirements.txt                                                                                                           0.0s<br> =&gt; [app 4/4] COPY . .                                                                                                                                             0.1s<br> =&gt; [app] exporting to image                                                                                                                                       0.1s<br> =&gt; =&gt; exporting layers                                                                                                                                            0.1s<br> =&gt; =&gt; writing image sha256:5394880e6bdb594903daf14205622bfb00c46a1f7e7d80a84e873706e1df19ca                                                                       0.0s<br> =&gt; =&gt; naming to docker.io/library/docker-mysql-python-demo-app                                                                                                    0.0s<br>[+] Running 3/3<br> ✔ Network docker-mysql-python-demo_default  Created                                                                                                               0.2s<br> ✔ Container test-mysql-db                   Created                                                                                                               0.3s<br> ✔ Container myapp                           Created                                                                                                               0.4s<br>Attaching to myapp, test-mysql-db<br>test-mysql-db  | 2023-12-31 16:45:31+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.2.0-1.el8 started.<br>test-mysql-db  | 2023-12-31 16:45:32+00:00 [Note] [Entrypoint]: Switching to dedicated user &#39;mysql&#39;<br>test-mysql-db  | 2023-12-31 16:45:32+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.2.0-1.el8 started.<br>test-mysql-db  | 2023-12-31 16:45:32+00:00 [Warn] [Entrypoint]: MYSQL_PASSWORD specified, but missing MYSQL_USER; MYSQL_PASSWORD will be ignored<br>test-mysql-db  | 2023-12-31 16:45:32+00:00 [Note] [Entrypoint]: Initializing database files<br>test-mysql-db  | 2023-12-31T16:45:32.834734Z 0 [System] [MY-015017] [Server] MySQL Server Initialization - start.<br>test-mysql-db  | 2023-12-31T16:45:32.838858Z 0 [Warning] [MY-011068] [Server] The syntax &#39;--skip-host-cache&#39; is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.<br>test-mysql-db  | 2023-12-31T16:45:32.839097Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.2.0) initializing of server in progress as process 81<br>test-mysql-db  | 2023-12-31T16:45:32.855746Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.<br>test-mysql-db  | 2023-12-31T16:45:33.805471Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.<br>test-mysql-db  | 2023-12-31T16:45:37.111583Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.<br>test-mysql-db  | 2023-12-31T16:45:43.730594Z 0 [System] [MY-015018] [Server] MySQL Server Initialization - end.<br>test-mysql-db  | 2023-12-31 16:45:43+00:00 [Note] [Entrypoint]: Database files initialized<br>test-mysql-db  | 2023-12-31 16:45:43+00:00 [Note] [Entrypoint]: Starting temporary server<br>test-mysql-db  | 2023-12-31T16:45:43.886448Z 0 [System] [MY-015015] [Server] MySQL Server - start.<br>test-mysql-db  | 2023-12-31T16:45:44.247580Z 0 [Warning] [MY-011068] [Server] The syntax &#39;--skip-host-cache&#39; is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.<br>test-mysql-db  | 2023-12-31T16:45:44.251229Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.2.0) starting as process 125<br>test-mysql-db  | 2023-12-31T16:45:44.288028Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.<br>test-mysql-db  | 2023-12-31T16:45:44.592878Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.<br>test-mysql-db  | 2023-12-31T16:45:45.237954Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.<br>test-mysql-db  | 2023-12-31T16:45:45.238051Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.<br>test-mysql-db  | 2023-12-31T16:45:45.245795Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location &#39;/var/run/mysqld&#39; in the path is accessible to all OS users. Consider choosing a different directory.<br>test-mysql-db  | 2023-12-31T16:45:45.303078Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock<br>test-mysql-db  | 2023-12-31T16:45:45.303669Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: &#39;8.2.0&#39;  socket: &#39;/var/run/mysqld/mysqld.sock&#39;  port: 0  MySQL Community Server - GPL.<br>test-mysql-db  | 2023-12-31T16:45:45.310591Z 0 [System] [MY-015016] [Server] MySQL Server - end.<br>test-mysql-db  | 2023-12-31 16:45:45+00:00 [Note] [Entrypoint]: Temporary server started.<br>test-mysql-db  | &#39;/var/lib/mysql/mysql.sock&#39; -&gt; &#39;/var/run/mysqld/mysqld.sock&#39;<br>test-mysql-db  | Warning: Unable to load &#39;/usr/share/zoneinfo/iso3166.tab&#39; as time zone. Skipping it.<br>test-mysql-db  | Warning: Unable to load &#39;/usr/share/zoneinfo/leap-seconds.list&#39; as time zone. Skipping it.<br>test-mysql-db  | Warning: Unable to load &#39;/usr/share/zoneinfo/leapseconds&#39; as time zone. Skipping it.<br>test-mysql-db  | Warning: Unable to load &#39;/usr/share/zoneinfo/tzdata.zi&#39; as time zone. Skipping it.<br>test-mysql-db  | Warning: Unable to load &#39;/usr/share/zoneinfo/zone.tab&#39; as time zone. Skipping it.<br>test-mysql-db  | Warning: Unable to load &#39;/usr/share/zoneinfo/zone1970.tab&#39; as time zone. Skipping it.<br>test-mysql-db  | 2023-12-31 16:45:54+00:00 [Note] [Entrypoint]: Creating database db<br>test-mysql-db  |<br>test-mysql-db  | 2023-12-31 16:45:54+00:00 [Note] [Entrypoint]: Stopping temporary server<br>test-mysql-db  | 2023-12-31T16:45:54.769942Z 11 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.2.0).<br>test-mysql-db  | 2023-12-31T16:45:56.309382Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.2.0)  MySQL Community Server - GPL.<br>test-mysql-db  | 2023-12-31T16:45:56.318087Z 0 [System] [MY-015016] [Server] MySQL Server - end.<br>test-mysql-db  | 2023-12-31 16:45:56+00:00 [Note] [Entrypoint]: Temporary server stopped<br>test-mysql-db  |<br>test-mysql-db  | 2023-12-31 16:45:56+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.<br>test-mysql-db  |<br>test-mysql-db  | 2023-12-31T16:45:56.807145Z 0 [System] [MY-015015] [Server] MySQL Server - start.<br>test-mysql-db  | 2023-12-31T16:45:57.134001Z 0 [Warning] [MY-011068] [Server] The syntax &#39;--skip-host-cache&#39; is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.<br>test-mysql-db  | 2023-12-31T16:45:57.136844Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.2.0) starting as process 1<br>test-mysql-db  | 2023-12-31T16:45:57.159217Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.<br>test-mysql-db  | 2023-12-31T16:45:57.579381Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.<br>test-mysql-db  | 2023-12-31T16:45:58.154535Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.<br>test-mysql-db  | 2023-12-31T16:45:58.154631Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.<br>test-mysql-db  | 2023-12-31T16:45:58.163591Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location &#39;/var/run/mysqld&#39; in the path is accessible to all OS users. Consider choosing a different directory.<br>test-mysql-db  | 2023-12-31T16:45:58.225016Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: &#39;::&#39; port: 33060, socket: /var/run/mysqld/mysqlx.sock<br>test-mysql-db  | 2023-12-31T16:45:58.225508Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: &#39;8.2.0&#39;  socket: &#39;/var/run/mysqld/mysqld.sock&#39;  port: 3306  MySQL Community Server - GPL.<br>myapp          | Connection to database successful....<br>myapp          | Table created successfully....<br>myapp          | insert into test_table(id, s_name) values (1, &#39;Vaishnavi&#39;)<br>myapp          | Data inserted successfully...<br>myapp          | insert into test_table(id, s_name) values (2, &#39;Bhakti&#39;)<br>myapp          | Data inserted successfully...<br>myapp          | insert into test_table(id, s_name) values (3, &#39;Vipra&#39;)<br>myapp          | Data inserted successfully...<br>myapp exited with code 0                                                                                                             0.</pre><p>You can find the github link to the project <a href="https://github.com/itsvaishnavi/python-mysql-docker-compose">here</a>.</p><p>I hope this article would be useful for you. Thanks for reading :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=508e5f47f771" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing an Orchestration System]]></title>
            <link>https://vaishnavipkand.medium.com/designing-an-orchestration-system-dd5995d5333f?source=rss-3ed0a6fd4354------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd5995d5333f</guid>
            <category><![CDATA[data-engineer]]></category>
            <category><![CDATA[aws-step-functions]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[orchestration]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Vaishnavi Piyush Kand]]></dc:creator>
            <pubDate>Wed, 15 Jun 2022 14:39:32 GMT</pubDate>
            <atom:updated>2022-06-27T19:51:44.249Z</atom:updated>
            <content:encoded><![CDATA[<p>Are you a computer engineer or data engineer facing a situation where you have to deal with various applications and services and manage them manually?</p><p>Or, like John, a Data Engineer, do you have to store the data from API in a database regularly or run the scripts on ec2 instances periodically?</p><p>You must know orchestral music in which various musical instruments play coordinated so that the desired music effect is produced.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*NRPH9C78pJi5CVwB4TuAiw.gif" /><figcaption>Credit: Pinterest</figcaption></figure><p>Likewise, in software computing, orchestration means configuring the tasks or workflows in an automated way to coordinate the systems. Before deep-diving into the details, let’s see the goals of orchestrating the workflows.</p><h3><strong>Goals of orchestration:</strong></h3><p>a) Process streamlining</p><p>b) Redundancy reduction</p><h3><strong>Difference between Orchestration and Workflow Automation:</strong></h3><p>Though automation and orchestration are related concepts, there is a significant difference.</p><p>Workflow automation is an approach to designing the task flow running independently following the business requirements. Here we talk about a single task.</p><p>Orchestration is about streamlining the different tasks to eliminate manual processes where monitoring the workflow becomes extremely easy, reducing errors and increasing the accuracy of the tasks.</p><h3><strong>When to use orchestration</strong></h3><ol><li>Scheduling the tasks</li></ol><p>Many tools are available like AWS Step Functions, Airflow, Kubernetes, and different container orchestration tools like AWS EKS, etc.</p><p>It is pretty easy to work with AWS Step Functions since it is a serverless service, and we, as developers, can focus on applications rather than managing the servers.</p><p>In this blog, we will see the hands-on orchestrating of the lambda functions with AWS Step Functions.</p><h3><strong>Understanding AWS Step Functions:</strong></h3><p>Step Functions allows you to create workflows that automatically scale to meet the needs of your business without requiring manual intervention.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LAlvDGjNk-8HG9V9kQNtSw.png" /><figcaption>Difference between Standard and Express Workflow</figcaption></figure><p><strong>States:</strong><br>You define your workflows in the Amazon States Language in AWS Step Functions.</p><p>The Step Functions console provides a graphical representation of the state machine to help visualize your application logic.</p><p>States are elements in your state machine.</p><h3><strong>Understanding the requirements: How to orchestrate the workflow?</strong></h3><ol><li>Hands-on Example:</li></ol><p>Problem Statement:</p><p>Let’s have the example where you want to fetch the data from API and store it in the database.</p><p>In our example, we will store the API response in the AWS S3 bucket as a JSON file.</p><p>This is the API: <a href="https://jsonplaceholder.typicode.com/todos/">https://jsonplaceholder.typicode.com/todos/</a></p><p>The end goal of the problem statement is to dump the API response into the S3 bucket as a JSON file.</p><p>Step-by-step breakdown:</p><ol><li>Understand the API: parameters required, data generated by the API endpoint</li><li>Check who are the data consumers and how should the data look like.</li><li>What database will be required to store the data and why?</li><li>Design the database tables accordingly</li><li>Designing a rough flow of how the elements of the system will be structured</li><li>Implementation of the orchestration system</li></ol><p>This is what the first flow looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*IhrzpD6VV1PV16KdVEfZZw.png" /><figcaption>Designing the Flowchart for the Problem Statement</figcaption></figure><p>Now let’s create the Lambda Function where we will write the program. Lambda Function is a serverless computing service provided by AWS. It offers the developer to write the code in different programming languages like Python, Java, and Node.JS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7uVioX97xMysLzSaysWaBA.png" /><figcaption>Creating the Lambda Function</figcaption></figure><p><a href="https://gist.github.com/gene1wood/4a052f39490fae00e0c3">This</a> is the link to check if the python library is available or if you need to install it.</p><p>One way to install the python library is to use <a href="https://aws.amazon.com/cloud9/">AWS Cloud9</a>.</p><p>Then, you can add the python library as a layer in the Lambda function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*912-3m3kV2sRLk2pbXDlTQ.png" /><figcaption>Lambda function to collect the data from API endpoint</figcaption></figure><p>Now, let’s create a State machine to invoke our Lambda Function by clicking on ‘Create State Machine’. I like the most about making the state machines because we can drag and drop the services we want to include as part of the flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6K0KBvobgLCXFBVEXAs6Wg.png" /><figcaption>Create a state machine interface</figcaption></figure><p>The following diagram shows what the final state machine looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TaIpS2M71ImU5hAKVfQgow.png" /><figcaption>State machine to invoke the Lambda Function</figcaption></figure><p>Testing the state machine:</p><p>You can start the execution to check whether the state machine executes successfully. The following diagram shows the graph inspector.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*89WCxxKNNakx09F6bFPvRQ.png" /><figcaption>Test the State Machine</figcaption></figure><p>After the state machine is created successfully, it’s time to schedule it to run daily or as per the requirements. To do this, we need to create an EventBridge rule, another AWS service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C_MIZJTMvTm4DHk1J6UvWA.png" /></figure><p>Firstly, we need to add rule details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vVmiSfrjRWHHtmynDwdZmQ.png" /></figure><p>In the second step, we define the schedule pattern.</p><p>CRON expression is a string of 6 fields (minutes, hours, day of month, month, day of week, and year) describing the schedule details. (<a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html">ref 1</a>, <a href="https://www.freeformatter.com/cron-expression-generator-quartz.html">ref 2</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ib0QJYDqhN8HQt8ZsoSk-Q.png" /><figcaption>Define the schedule pattern</figcaption></figure><p>Since we are creating this rule to run the step function state machine, we have to add the target AWS service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ERM1BxDaUZxOKomNvIChRA.png" /></figure><p>The rule is created and is visible under the Rules on Amazon EventBridge UI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JcGPnJB_nJhHZaym4bl5gw.png" /><figcaption>AWS EventBridge Rule</figcaption></figure><p>Let’s check the next day if the step function state machine is executed successfully or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4WcPqnHw_si-g44keVTCMQ.png" /><figcaption>State machine Execution</figcaption></figure><p>🎉🎉Congratulations!!! Your Lambda function is now orchestrated with the step functions.</p><h3>Advantages &amp; Importance of Orchestration</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/0*3VlgDpVr5C0qlcIV.gif" /><figcaption>Credit: ExpertHub</figcaption></figure><ol><li>Step functions &amp; Lambda functions are serverless: We, as developers, need to focus on the application instead of managing the servers. Cloud services are not really “serverless” because the servers are not user-controlled. They are abstracted away from the end-users. Another advantage is that it is a usage-based payment model.</li><li>Step functions State Machine Workflow: One can view the workflow like a flowchart and understand how the workflow will be executed.</li><li>Increased efficiency and accuracy of the tasks</li><li>Reliable processes</li><li>Linking and automating the provisioning of different services is achieved in an easy way</li><li>The workflows are auto-scalable and they have an inbuilt error handling mechanism</li></ol><h3><strong>Conclusion</strong></h3><p>In this blog, we have seen what orchestration is, the difference between automation and orchestration, a demo orchestrating lambda functions with step functions, and the importance of orchestration.</p><p>Thanks for reading! <strong>🙂</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd5995d5333f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Engineering For Novice]]></title>
            <link>https://vaishnavipkand.medium.com/data-engineering-for-novice-5d909a7cb761?source=rss-3ed0a6fd4354------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d909a7cb761</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-engineer-skills]]></category>
            <category><![CDATA[data-engineer]]></category>
            <dc:creator><![CDATA[Vaishnavi Piyush Kand]]></dc:creator>
            <pubDate>Sun, 20 Mar 2022 21:41:59 GMT</pubDate>
            <atom:updated>2022-03-20T21:43:01.382Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RiktIE6SRkq41Kxk.jpg" /><figcaption><strong>Credit: Pinterest</strong></figcaption></figure><p>Hello Everyone,</p><p>In today’s IT industry, you’ll see there are many job profiles, especially revolving around the word ‘<em>data</em>’ like Data Engineer, Data Analyst, Data Scientists.</p><p>Being a newcomer, it is always confusing what career to pick.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*2RNLnLS7O75jnKC4etQ-Fg.gif" /><figcaption><strong>Credit</strong>: <strong>Pinterest</strong></figcaption></figure><p>This blog will help you to understand data engineering from a newbie perspective and covers the following points:</p><ol><li>What is data engineering</li><li>Roles and responsibility of Data Engineer</li><li>Phoenix Checklist (General technical prerequisites)</li></ol><h3><strong>What is Data Engineering?</strong></h3><p>Data Engineering is a field where we design and build data systems and tailor scalable and maintainable solutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*qBa2_VeZPYM_zB8U" /><figcaption><strong>Credit: Giphy</strong></figcaption></figure><p>When we think of building data-intensive applications, we need to think of</p><ol><li>Data Quantity</li></ol><p>2. Data Complexity</p><h3><strong>Roles and responsibility of Data Engineer</strong></h3><p>So, if you’re or want to be a data engineer, what is the job brief for you? Here it is.</p><ol><li>Obviously, your job will revolve all-around data, building the pipelines, and automating them.</li><li>Ensuring data reliability, quality, and consistency</li><li>Understanding the disparate data sources from where the data needs to be extracted and ingested into the system</li><li>Understanding the business needs and evaluating the data solutions accordingly.</li></ol><p><strong><em>The ultimate objective is to align data systems with the business goals.</em></strong></p><h3><strong>Phoenix Checklist</strong></h3><p>Now that you’re well aware of what a data engineering job looks like, let’s see what skills can be required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*7z4fXE3ZXGwZThaM.gif" /><figcaption><strong>Credit: Giphy</strong></figcaption></figure><ol><li>Programming Language(s)</li><li>Understanding of Databases</li><li>Understanding of Cloud technologies</li></ol><p>While those are the basic prerequisites, this as well depends on the role you’re applying to.</p><p>Python, Scala, and/or Java are the most preferred programming languages for data engineering.</p><p>PySpark framework is also a requirement for applications where data streaming is essential.</p><p>A basic understanding of the databases like SQL and/or NoSQL is mandatory for data engineering roles.</p><p>Cloud technologies play an important role to build maintainable and scalable solutions. The famous ones are AWS, GCP, and Microsoft Azure.</p><h3><strong>Conclusion</strong></h3><p>Data is the new gold these days and data engineering is a field where you get an opportunity to tailor your solutions around data. The perks of being a data engineer are that you serve as a bridge in understanding the business requirements and at the same time making the data available for Data Analysts and Data Scientists. Also, this is a big chance to learn varieties of technologies from programming, data modeling to cloud technologies.</p><h3><strong>Book to deep dive into data engineering</strong></h3><p>Designing Data-Intensive Applications by Martin Kleppmann</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d909a7cb761" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hands-on Pandas: Python Data Analysis Library]]></title>
            <link>https://vaishnavipkand.medium.com/hands-on-pandas-python-data-analysis-library-7e5e635d19f7?source=rss-3ed0a6fd4354------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e5e635d19f7</guid>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[pandas-dataframe]]></category>
            <category><![CDATA[pandas-tutorial]]></category>
            <category><![CDATA[pandas]]></category>
            <dc:creator><![CDATA[Vaishnavi Piyush Kand]]></dc:creator>
            <pubDate>Wed, 19 Jan 2022 22:13:39 GMT</pubDate>
            <atom:updated>2022-01-20T10:20:08.623Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*JUHrj2hNs9-iZzFuku1qxw.png" /></figure><p>Python Language is the powerhouse of the modules and libraries which are simple to install and easy to learn and use. One of those libraries is <strong>pandas</strong>.</p><p>The moment we step into the data world, the pandas library is just there to handle huge data, do manipulation, and help to find meaningful insights from the data, and that too, in a matter of seconds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*aNoc51_S5BrfLFovL9blCw.gif" /><figcaption>Image Credit: <a href="https://i.pinimg.com/originals/11/ba/e9/11bae9dfb80d32a76274092ef624bd1a.gif">Pinterest</a></figcaption></figure><p>Pandas is a powerful and easy-to-use data analysis and manipulation library in Python.</p><p>The following things are explained along with the code shown below:</p><ol><li>Series</li><li>DataFrame</li><li>Data Analysis on sample sales CSV file using pandas</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5cfc511bdfd9bf9a1906f890e1bbb7e3/href">https://medium.com/media/5cfc511bdfd9bf9a1906f890e1bbb7e3/href</a></iframe><p>Please find the code as well as the sample CSV used for data analysis here.</p><p><a href="https://github.com/itsvaishnavi/pandas_in_detail">https://github.com/itsvaishnavi/pandas_in_detail</a></p><p>Thanks for reading:)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e5e635d19f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>