<?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 Wamata Muriu on Medium]]></title>
        <description><![CDATA[Stories by Wamata Muriu on Medium]]></description>
        <link>https://medium.com/@WamataMuriu?source=rss-7b94a257e7c6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Gh9SykJ6UFa18pG-GvGCTg.png</url>
            <title>Stories by Wamata Muriu on Medium</title>
            <link>https://medium.com/@WamataMuriu?source=rss-7b94a257e7c6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 22:10:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@WamataMuriu/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[AWS PrivateLink vs. AWS Site-to-Site VPN: Which One Should You Choose?]]></title>
            <link>https://medium.com/@WamataMuriu/aws-privatelink-vs-aws-site-to-site-vpn-which-one-should-you-choose-98cd88718c29?source=rss-7b94a257e7c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/98cd88718c29</guid>
            <category><![CDATA[hybrid-cloud]]></category>
            <category><![CDATA[site-to-site-vpn]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-networking]]></category>
            <category><![CDATA[network-engineering]]></category>
            <dc:creator><![CDATA[Wamata Muriu]]></dc:creator>
            <pubDate>Sat, 22 Feb 2025 10:42:41 GMT</pubDate>
            <atom:updated>2025-02-22T10:42:41.585Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7DmJ8nug_RJDMYYb5CmznA.png" /></figure><p>Imagine you need to connect two networks — your <strong>on-premises infrastructure</strong> and your <strong>cloud environment</strong> on AWS. AWS offers you two options: <strong>AWS Site-to-Site VPN</strong> and <strong>AWS PrivateLink</strong>. But which one is the right fit for your needs?</p><p>Let’s break it down and compare both services to help you make an informed decision.</p><h3>What Is AWS PrivateLink?</h3><p><a href="https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-services-overview.html">AWS PrivateLink</a> is a <strong>secure networking service</strong> that enables private connectivity between your <strong>on-premises applications</strong> or <strong>VPCs</strong> and AWS services <strong>without using the public internet</strong>.</p><p>It provides <strong>direct, service-specific access</strong> while keeping your data isolated from external threats. Because it operates entirely within AWS’s network, it delivers <strong>low latency and high performance</strong>.</p><h3>What Is AWS Site-to-Site VPN?</h3><p><a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html">AWS Site-to-Site VPN</a> is a <strong>managed VPN service</strong> that establishes a <strong>secure, IPSEC encrypted connection</strong> between your <strong>on-premises network</strong> and an <strong>AWS VPC</strong> over the <strong>public internet</strong> using <strong>IPSec tunnels</strong>.</p><p>It allows <strong>full network access</strong> between AWS and your data center while ensuring security through encryption. However, since traffic traverses the internet, performance depends on internet reliability and may be subject to <strong>latency and bandwidth limitations</strong>.</p><h3>When Should You Use AWS PrivateLink?</h3><p>Choose <strong>AWS PrivateLink</strong> when:</p><ol><li>You need to access <strong>specific AWS services</strong> rather than the entire AWS environment.</li><li>Security is a top priority, and you want to <strong>avoid exposing data to the internet</strong>.</li><li>You require <strong>low-latency and high-performance connectivity</strong> for sensitive workloads.</li></ol><h3>When Should You Use AWS Site-to-Site VPN?</h3><p>Go with <strong>AWS Site-to-Site VPN</strong> when:</p><ol><li>You need <strong>full network-level access</strong> between your <strong>on-premises environment and AWS</strong>.</li><li>You’re okay with <strong>transmitting encrypted data over the public internet</strong>.</li><li>Your use case can tolerate <strong>some latency and bandwidth limitations</strong>.</li></ol><h3>Conclusion</h3><p>Both <strong>AWS PrivateLink</strong> and <strong>AWS Site-to-Site VPN</strong> provide secure connections between <strong>on-premises and AWS environments</strong>, but they serve different purposes.</p><ul><li><strong>Use AWS PrivateLink</strong> for private, service-specific connectivity with high security and performance.</li><li><strong>Use AWS Site-to-Site VPN</strong> for <strong>broader network-level access</strong> when occasional latency is acceptable.</li></ul><p>The best choice depends on your <strong>security, performance, and connectivity needs</strong>. Which one works best for you?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=98cd88718c29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Engineering on AWS Part 4: Building an AWS Streaming Data Pipeline]]></title>
            <link>https://medium.com/@WamataMuriu/data-engineering-on-aws-part-4-building-an-aws-streaming-data-pipeline-43132f579d0d?source=rss-7b94a257e7c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/43132f579d0d</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[aws-data-pipeline]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[kinesis-firehose]]></category>
            <category><![CDATA[kinesis-data-stream]]></category>
            <dc:creator><![CDATA[Wamata Muriu]]></dc:creator>
            <pubDate>Thu, 13 Feb 2025 08:27:45 GMT</pubDate>
            <atom:updated>2025-02-13T08:29:24.088Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UZE4PuOd_f3LP1Pk4DhHLA.png" /></figure><p>If you have time-sensitive, high-volume data that is emitted from multiple sources in various formats in a continuous, incremental manner, and you want to process such data in real-time, you can achieve that using a streaming data pipeline. AWS offers several services and detailed instructions on how to set up this pipeline.</p><h3>What Is a Streaming Data Pipeline?</h3><p>To understand a streaming data pipeline, you must first grasp the concept of streaming data processing.</p><p>Streaming data processing is the procedure used to ingest, store, analyze, and output time-sensitive, high-volume data that is emitted from multiple sources in various formats in a continuous, incremental manner.</p><p>You can read more about this in the <a href="https://medium.com/@WamataMuriu/data-engineering-on-aws-part-3-data-processing-models-batch-vs-streaming-7cab8f80ee39"><strong>Understanding AWS Data Processing Models: Batch vs. Streaming</strong></a> article.</p><p>A streaming data pipeline is a system that allows streaming data to move through its various stages.</p><h3>What Are the Various Stages Supported in a Streaming Data Pipeline?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S2OjSGHz8i5n_dPlptt7dw.png" /></figure><p>The stages of a streaming data pipeline are similar to those in <a href="https://medium.com/@WamataMuriu/data-engineering-on-aws-part-2-building-modern-data-infrastructure-2bcc9ee99fad"><strong>Architecting a modern data infrastructure</strong></a>. The steps are as follows:</p><h3>Ingestion</h3><p>Streaming data is ingested from various sources, including application logs, IoT devices, clickstream data sources, and databases.</p><blockquote>These data sources are referred to as <strong>Producers</strong>.</blockquote><p>To ingest this data from producers, services like AWS Kinesis Data Streams, Amazon Managed Service for Apache Kafka (MSK), and sometimes Amazon Kinesis Firehose are used.</p><blockquote>The ingested data is referred to as a <strong>Record</strong>.</blockquote><p>During ingestion, records are uniquely identified and allocated a <strong>shard</strong> in Kinesis Data Streams or a <strong>topic</strong> in MSK.</p><blockquote>A <strong>shard</strong> or <strong>topic</strong> is a collection of uniquely identified records, each ordered sequentially.</blockquote><p>A stream contains multiple shards or topics.</p><p>Every shard or topic in a stream is identified using a <strong>partition key</strong>. Therefore, every record contains a partition key, which determines which shard the record will be stored in.</p><p>During ingestion, the producer must buffer the incoming stream, handle errors, retry when necessary, and scale as needed.</p><p>To achieve this, you can use the following options, depending on the device your producer is using:</p><ul><li><strong>Kinesis Producer Library</strong>: For devices that have at least x86_64 CPUs (Intel, AMD), Java 8+, 512MB-1GB RAM, Direct TCP connection</li><li><strong>Kinesis Agent for Server Logs: </strong>For servers</li><li><strong>AWS SDK</strong>: For web and mobile app producers</li><li><strong>IoT Core</strong>: For IoT devices</li></ul><h3>Streaming Storage</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TbEVP33lAOJpl-jHavZrjw.png" /></figure><p>Streaming ingestion services also offer temporary storage.</p><p>For Amazon Kinesis Data Streams, the streaming storage holds data for a default of 24 hours, which can be increased to 365 days.</p><p>For Amazon MSK, streaming storage temporarily holds data in a performance-optimized primary storage tier. Once the data reaches the retention limits, it moves to a low-cost storage tier. The default retention period in low-cost storage is 3 days. There is no minimum retention period for primary storage.</p><h3>Streaming Processing</h3><p>Once the data is in streaming storage, various services can be used to process the data. These services include:</p><ul><li><strong>AWS Glue Streaming</strong>: Uses streaming Extract, Transform, and Load (ETL) jobs to join batch and streaming sources and run complex analytics and machine learning operations.</li><li><strong>AWS Elastic MapReduce (EMR)</strong>: Performs complex transformations using frameworks like Apache Spark or Apache Hadoop.</li><li><strong>AWS Lambda</strong>: Can be used to run custom, event-driven data processing tasks.</li><li><strong>Amazon Kinesis Data Analytics</strong>: Supports <strong>Apache Managed Service for Flink</strong> and SQL-based queries for stream processing.</li></ul><h3>Output</h3><p>Once the data is processed, it needs to be moved to long-term storage or displayed on dashboards.</p><p>The following services help with this:</p><ul><li><strong>AWS Glue</strong>: Glue crawlers can read and write data into S3. Glue ETL jobs also write transformed data to S3. Additionally, Glue can connect to Redshift and RDS using Java Database Connections (JDBCs) and write data there.</li><li><strong>AWS Elastic MapReduce (EMR)</strong>: Can send data to S3, Redshift, Amazon DynamoDB, Amazon RDS, OpenSearch, and external databases through JDBC.</li><li><strong>Amazon Kinesis Firehose</strong>: Can send data to multiple AWS services and custom HTTP/HTTPS endpoints. Here’s the official <a href="https://docs.aws.amazon.com/firehose/latest/dev/create-destination.html#:~:text=Developer%20Guide-,Configure%20destination%20settings,-PDF"><strong>Firehose Destination Documentation</strong></a></li></ul><blockquote>Services that read from streaming storage are referred to as <strong>consumers</strong>.</blockquote><h3>Long-term Storage</h3><p>From consumers, data can be sent to long-term storage. Often, this storage is in a data warehouse, database, or data lake.</p><h3>Analysis and Visualization</h3><p>The analysis and visualization stage allows stakeholders to view the results of the data streaming process. The following AWS services are crucial for this stage:</p><ul><li><strong>Amazon Athena</strong></li><li><strong>Amazon QuickSight</strong></li><li><strong>OpenSearch Service</strong></li><li><strong>SageMaker</strong> <strong>with streaming endpoints</strong></li></ul><h3>Conclusion</h3><p>In conclusion, building a streaming data pipeline on AWS can be an exciting journey into real-time data processing! With the right combination of AWS services, you can seamlessly ingest, process, and analyze high-volume, time-sensitive data. Whether you’re powering up real-time dashboards, driving advanced analytics, or making data-driven decisions instantly, the possibilities are endless.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43132f579d0d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Engineering on AWS Part 3: Data Processing Models-Batch vs. Streaming]]></title>
            <link>https://medium.com/@WamataMuriu/data-engineering-on-aws-part-3-data-processing-models-batch-vs-streaming-7cab8f80ee39?source=rss-7b94a257e7c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/7cab8f80ee39</guid>
            <category><![CDATA[stream-processing]]></category>
            <category><![CDATA[data-processing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[batch-processing]]></category>
            <dc:creator><![CDATA[Wamata Muriu]]></dc:creator>
            <pubDate>Thu, 13 Feb 2025 07:28:36 GMT</pubDate>
            <atom:updated>2025-02-13T07:28:36.991Z</atom:updated>
            <content:encoded><![CDATA[<h3>Data Engineering on AWS Part 3: AWS Data Processing Models-Batch vs. Streaming</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RFOnRzf_nwHGV6mpM03AiA.png" /></figure><p>When collecting data from various sources, the data is packaged and processed in different ways. Sometimes it is collected and processed in real-time as random values, while other times it is collected and processed as structured files or tables.</p><p>This structure is what we refer to as Data Processing Models.</p><p>Here’s a deep dive into data processing models from my point of view.</p><h3>What Are Data Processing Models?</h3><p>A data processing model is a structured approach to ingesting, transforming, analyzing, and storing data to extract meaningful insights.</p><p>These models define how data flows through a system, whether in real-time, scheduled intervals, or triggered by specific events.</p><h3>What Are The Various Types of Data Processing Models?</h3><p>There are five common types of Data Processing Models on AWS, including:</p><ul><li>Batch Processing: Processes large volumes of data at scheduled intervals.</li><li>Streaming Processing: Processes data in real-time as it arrives.</li><li>Micro-Batch Processing: A mix of batch and streaming, processing data in short intervals.</li><li>Lambda Architecture: Combines batch and streaming for real-time insights with historical accuracy.</li><li>Event-Driven Processing: Processes data only when triggered by specific events.</li></ul><p>However, for the purposes of this article, we will analyze the two most common models: Batch Processing and Streaming Processing.</p><h3>What Is Batch Processing?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jakyU5RbZ4mus25cFXxRHQ.png" /></figure><p>Batch processing is a method used to group repetitive, high-volume data jobs and complete them all at once.</p><h3>Why Batch Processing?</h3><p>Batch processing is valuable for optimizing processing power. High-volume data jobs require significant compute capacity. Running these jobs one by one repeatedly can be inefficient in terms of resource usage. Therefore, these jobs are bundled and executed as a single batch during times of low resource utilization.</p><h3>What Are Some Examples of High-Volume Repetitive Data Jobs?</h3><p>Here are some examples of high-volume, repetitive data jobs that are best executed using Batch Processing:</p><ul><li>Weekly/monthly billing</li><li>Payroll</li><li>Inventory processing</li><li>Report generation</li><li>Data conversion and data backups</li><li>Subscription cycles</li><li>Supply chain fulfillment</li></ul><p>For more examples, visit <a href="https://aws.amazon.com/what-is/batch-processing/#:~:text=What%20are%20examples%20of%20jobs%20batch%20processing%20can%20automate%3F">AWS Batch Processing</a>.</p><h3>Are There AWS Services For Batch Processing?</h3><p>Yes. AWS has multiple services designed to efficiently manage the ingestion, storage, analysis, and output of Batch processing jobs. Here are a few services to prioritize:</p><ul><li>AWS Batch</li><li>AWS EMR</li><li>AWS Glue</li><li>Amazon S3 + Athena</li></ul><p>For a deeper understanding of Batch Processing, you can read this article on <a href="https://aws.amazon.com/blogs/big-data/how-to-build-a-batch-data-pipeline-on-aws/">How to Build a Batch Data Pipeline on AWS</a>.</p><h3>What Is Streaming Processing?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eRmI5zMzz3z94Y3wl62Z4Q.png" /></figure><p>Streaming processing is the method of collecting time-sensitive, high-volume data that is emitted from multiple sources, and formats in a continuous, incremental manner.</p><p>The goal of this method is to provide low-latency processing and real-time analytics.</p><h3>What Are Some Examples of High-Volume Continuous, Time-Sensitive Data Jobs?</h3><p>Here are some examples of high-volume, continuous, time-sensitive jobs that would be best executed using Streaming Processing:</p><ul><li>IoT data analysis</li><li>Real-time financial analysis, like stock market data</li><li>Recommendation engines</li><li>Social media listening</li><li>Gaming</li><li>Metric monitoring and risk control</li></ul><h3>Are There AWS Services For Streaming Processing?</h3><p>Yes. AWS has multiple services designed to efficiently manage the ingestion, storage, analysis, and output of Streaming Processing jobs. Here are a few services to prioritize:</p><ul><li>Amazon Kinesis Data Streams</li><li>Amazon Kinesis Data Firehose</li><li>Amazon Managed Service for Apache Kafka (MSK)</li><li>Amazon Redshift and Amazon S3</li></ul><p>For a deeper understanding of Streaming Processing, you can read this article on <a href="https://aws.amazon.com/blogs/analytics/how-to-build-a-streaming-data-pipeline-on-aws/">How to Build a Streaming Data Pipeline on AWS</a>.</p><h3>Conclusion</h3><p>To wrap it up, choosing between batch and streaming processing comes down to your data needs. Batch processing works best for large, repetitive tasks, while streaming is perfect for real-time, action-driven data. AWS has you covered with powerful services for both, so you can streamline your workflows and get the insights you need — whether it’s with scheduled reports or live updates. With the right model and tools, you can keep your data flowing smoothly and make smarter, faster decisions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7cab8f80ee39" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Engineering on AWS Part 2: Building Modern Data Infrastructure]]></title>
            <link>https://medium.com/@WamataMuriu/data-engineering-on-aws-part-2-building-modern-data-infrastructure-2bcc9ee99fad?source=rss-7b94a257e7c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bcc9ee99fad</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[amazon-kinesis]]></category>
            <category><![CDATA[batch-processing]]></category>
            <category><![CDATA[data-streaming]]></category>
            <dc:creator><![CDATA[Wamata Muriu]]></dc:creator>
            <pubDate>Thu, 13 Feb 2025 07:03:49 GMT</pubDate>
            <atom:updated>2025-02-13T07:42:41.389Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Data Engineering on AWS: Building Modern Data Architecture</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eOWge2ewrjSFc4IFfQ_7Dg.png" /></figure><p>Now that we,ve had an Introduction into data engineering in AWS, we can move to the next step, which is learning how to build modern data solutions and architectures.</p><p>Here’s a deep dive into building modern data architectures on AWS from my point of view.</p><h3><strong>What Are Modern Data Architectures?</strong></h3><p>Modern data architectures are blueprints that guide data engineers on how to manage data with agility, higly availablity, scalablity and acceessiblity.</p><p><strong>Why Do We Need Modern Architectures?</strong></p><p>Many companies have data silos. A data silo is a term used to indicate that data is stored in different, issolated sources.</p><blockquote>For instance, the Marketing department can have data stored in a CRM service, while the finance team may have data stored in an SQL database.</blockquote><p>The problem with this architecture is that the data from the two departments cannot be easily synchronized, and analyzed.</p><p>To resolve this challenge, AWS offers a roadmap for breaking down these silos and building well-integrated data infrastructures. Below, we explore how to construct a modern data architecture following the data journey from ingestion to presentation.</p><h3>Stages of Building Modern Data Architecture</h3><p>The best way to create a modern data architecture is to folow the basic data journey, which summarizes how data moves from source, to transformation, storage, analysis, and consumption.</p><p>Here’s a summary of the stages in this journey and how each stage contributes to creating a modern data architeture.</p><h3>1. Ingestion and Transfer</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i4-mW5ulnUh7NyYo9uOo3w.png" /></figure><p>Data ingestion involves consuming data from sources in real-time, while data transfer moves data at rest between storage systems.</p><p><strong>Real-Time Ingestion Services:</strong></p><ul><li><strong>Amazon Kinesis Data Streams</strong> — Handles real-time streaming data processing.</li><li><strong>AWS IoT Core</strong> — Manages real-time data ingestion from IoT devices.</li></ul><p><strong>Data Transfer Services:</strong></p><ul><li><strong>Amazon Kinesis Data Firehose</strong> — Loads real-time data into AWS destinations.</li><li><strong>AWS DataSync</strong> — Automates data transfer between on-premises storage and AWS.</li><li><strong>AWS Snowball Family</strong> — Moves large-scale data to AWS offline.</li><li><strong>AWS Database Migration Service (DMS)</strong> — Migrates relational databases with minimal downtime.</li></ul><h3>2. Storage</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vcZP0JphuD_R7BK4r-21-w.png" /></figure><p>Data must be stored efficiently based on its structure and access requirements. AWS offers specialized storage solutions:</p><ul><li><strong>Raw Data Ingestion:</strong> Amazon S3 (scalable, cost-effective)</li><li><strong>Structured Data Warehousing:</strong> Amazon Redshift, Amazon Aurora</li><li><strong>Real-Time Applications:</strong> Amazon DynamoDB (low-latency)</li><li><strong>Shared File Storage:</strong> Amazon EFS (multi-instance access)</li><li><strong>Time-Series Data:</strong> Amazon Timestream (optimized for IoT, monitoring)</li><li><strong>Graph Data:</strong> Amazon Neptune (relationship-heavy datasets)</li></ul><p><strong>How Is a Timeseries Database Different From Other Databases?</strong></p><h3>3. Analytics</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lCMP4dilJFQTilhon_lO0g.png" /></figure><p>Data needs transformation and analysis to generate insights. AWS provides services for different analytics workloads:</p><ul><li><strong>AWS Glue</strong> — Serverless ETL for data preparation.</li><li><strong>Amazon EMR</strong> — Big data processing using Hadoop and Spark.</li><li><strong>Amazon Managed Service for Apache Flink</strong> — Real-time stream data processing.</li><li><strong>Amazon Athena</strong> — Serverless interactive querying for S3-based data lakes.</li></ul><blockquote>It’s important to note that the choice of analysis service will depend mostly on your <a href="https://medium.com/@WamataMuriu/data-engineering-on-aws-part-3-data-processing-models-batch-vs-streaming-7cab8f80ee39">Data Processing Model</a>. While each service can perform well, they are tailored to offer better performance depending on the processing model in question.</blockquote><p><strong>What is the difference bewteen a Data Lake and a Data Warehouse?</strong></p><h3>4. Presentation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ktY8xqXfQ3Szum7oWkrB_g.png" /></figure><p>After the data has been analyzed, it needs to be presented to stakeholders. AWS offers multiple services for data visualization and reporting:</p><ul><li><strong>Amazon QuickSight</strong>: A business intelligence service that helps create interactive dashboards and reports.</li><li><strong>Redshift Spectrum</strong>: Allows you to run SQL queries on data stored in S3.</li><li><strong>S3 Select &amp; Glacier Select</strong>: Query subsets of data directly from large S3 and Glacier objects.</li><li><strong>AWS Amplify</strong>: Helps build interactive data dashboards for web and mobile applications.</li></ul><h3>Conclusion</h3><p>Modern data architectures eliminate silos and enable seamless data ingestion, storage, analysis, and presentation. AWS offers a robust suite of services for each stage of this data journey, ensuring organizations can build scalable, efficient, and integrated data solutions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bcc9ee99fad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Engineering on AWS- Introduction]]></title>
            <link>https://medium.com/@WamataMuriu/data-engineering-on-aws-introduction-14c87b49eb4e?source=rss-7b94a257e7c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/14c87b49eb4e</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-data-engineering]]></category>
            <category><![CDATA[aws-certification]]></category>
            <dc:creator><![CDATA[Wamata Muriu]]></dc:creator>
            <pubDate>Fri, 24 Jan 2025 16:17:00 GMT</pubDate>
            <atom:updated>2025-01-24T16:17:00.018Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8g6zq9OBsQUXi6v7mWgz3g.png" /></figure><p>I was studying for the AWS Data Engineering Associate exam, and like every good student(Haha. I probably shouldn;t have said that), I took some notes. These notes form the basics of the blogsd in this series, and I hope they will help you on your journey to becoming a certified AWS Data Engineer.</p><p>Now, enough about me, let’s get into our <strong>Introduction to Data Engineering on AWS</strong>.</p><h4><strong>Who Is A Data Engineer</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0xxptDsX1ccQLzZ3_dScrg.png" /></figure><p>A data engineer is a person who helps a company derive insights from data.</p><h4><strong>What Does A Data Engineer Do?</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BL-Wx6q4mR4KgePCF_1ENw.png" /></figure><p>A data engineer’s primary role is to transform data from mere values to insights. To achieve this, a data engineer has to perform several tasks, including:</p><p>1. Building and managing data infrastructure: Data infrastructure ranges from databases, data lakes, and data warehouses.</p><pre><strong>AWS Services to refer to<br></strong><br><a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html"><strong>Amazon S3</strong></a><strong>:</strong> An object storage service that makes it possible to store any amount<br>and form of data, including <strong>Data Lakes<br></strong><br><a href="https://docs.aws.amazon.com/redshift/"><strong>Amazon Redshift</strong></a><strong>:</strong> An AWS service for creating <strong>Data Warehouses</strong> analyzing<br>large-scale datasets quickly and cost-effectively.</pre><p>What Is the Difference Between a Data Lake and a Data Warehouse?</p><p>2. Getting data from various sources: Data engineers must find a way of ingesting data from sources like applications, databases, files, and devices.</p><pre><strong>AWS Services to refer to</strong><br><br><a href="https://docs.aws.amazon.com/glue/"><strong>AWS Glue</strong></a><strong>:</strong> A service that prepares data for analysis. It&#39;s used for(ETL)<br>extracting, transforming, and loading data. Speciffically, <strong>Glue Jobs</strong> are used<br>to runs scripts that perform data transformation and processing.<br><br><a href="https://docs.aws.amazon.com/lambda/"><strong>AWS Lambda</strong></a><strong>:</strong> A serverless service that provides an event-driven environment for<br>performing lightweight processing tasks.</pre><p>3. Preparing data for analysis: The ingested data must be cleaned, and transformed before being analyzed for insights. This is called ETL, Extract, Transform, Load.</p><pre><strong>AWS Services to refer to</strong><br><br><a href="https://spark.apache.org/documentation.html"><strong>Apache Spark</strong></a><strong>:</strong> An open-source, distributed data processing framework designed<br>for big data workloads.<br><br><a href="https://docs.aws.amazon.com/emr/"><strong>Amazon EMR (Elastic MapReduce</strong></a><strong>):</strong> A fully managed service by AWS that simplifies<br>running big data frameworks, including Apache Spark, Hadoop, etc.</pre><p>4. Cataloging the transformed datasets: Once the data has been prepared for analysis, a data engineer needs to order the data in a manner that is easy to identify and retrieve.</p><pre><strong>AWS Services to refer to</strong><br><br><a href="https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html"><strong>AWS Glue Crawlers</strong></a><strong>:</strong> A tool that automatically discovers and catalogs metadata<br>for data stored in Amazon S3, DynamoDB, and other data sources, and create<br>metadata entries in the AWS Glue Data Catalog.<br><br><a href="https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html"><strong>Metadata Tagging</strong></a><strong>:</strong> Metadata Tagging in AWS Glue allows you to apply <br>tags (key-value pairs) to metadata entries in the AWS Glue Data Catalog.</pre><p>How Do AWS Glue Crawlers Opperate?</p><p>5. Automating regular workflows: There are also routine data-related tasks that need automation and it is a data engineer’s job to ensure these are optimally done.</p><pre><strong>AWS Services to refer to</strong><br><br><a href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-workflow.html"><strong>AWS Glue Workflows</strong></a><strong>:</strong> A tool in AWS Glue for orchestrating and managing a series<br>of AWS Glue jobs, crawlers, and triggers in a defined sequence.<br><br><a href="https://docs.aws.amazon.com/step-functions/"><strong>AWS Step Functions</strong></a><strong>:</strong> A general-purpose serverless orchestration service that<br>helps build workflows to coordinate multiple AWS services.</pre><p>6. Securing data and making it accessible: Datasets must be stored securely and only accessed by authorized personnel.</p><pre><strong>AWS Services to refer to<br></strong><br><a href="https://docs.aws.amazon.com/datazone/"><strong>Amazon DataZone</strong></a><strong>:</strong> A service that provides fine-grained access control and<br>collaborative access to Data Warehouses and cataloged data.<br><br><a href="https://docs.aws.amazon.com/lake-formation/"><strong>AWS Lake Formation</strong></a><strong>:</strong> A service that provides access control to Data Lakes</pre><h4>In Conlusion</h4><p>By understanding what Data Engineering is and the tasks that Data Engineers perform daily, it’s easy to identify the AWS services you need to farmiliarize yourself with, and the technical skills that you have to practice.</p><p>I hope this gets you started, see you in the next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14c87b49eb4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Install Docker on a Windows Server From an Ubuntu PC]]></title>
            <link>https://medium.com/@WamataMuriu/how-to-install-docker-on-a-windows-server-from-an-ubuntu-pc-de875d039501?source=rss-7b94a257e7c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/de875d039501</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[windows-containers]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Wamata Muriu]]></dc:creator>
            <pubDate>Fri, 19 Apr 2024 17:02:03 GMT</pubDate>
            <atom:updated>2024-04-19T17:02:03.119Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lMU0kF-LGcJrC3lW" /></figure><p>Trying to deploy Windows containers from a PC running on Ubuntu can get very frustrating, very fast.</p><p>Some may suggest dual-booting, or running a virtual machine on your device, but if you don’t have a powerhouse of a PC, the struggle is real.</p><p>Running two operating systems, and Docker Engine on a limited-resource device will have your fans running like mad, your screen will turn into a static nightmare, and overall device performance is just compromised.</p><p>So, your best bet would be running a server on the cloud, installing Windows OS and Docker Engine on it, and remotely running your server from your Ubuntu device.</p><p>Sounds like something you’d wanna try out? Here’s a complete guide on how to install Docker on a Windows Server from a PC running on Ubuntu.</p><h4><strong>Technologies You Need To Follow This Tutorial</strong></h4><p>1. Ubuntu 22.04 LTS</p><p>2. AWS Cloud Free Tier</p><h4><strong>What Will The Tutorial Cover?</strong></h4><p>1. How to set up a Windows server on AWS.</p><p>2. How to remotely connect to the Windows Server on an Ubuntu PC</p><p>3. How to remotely install Docker on the Windows server, create and run Windows containers.</p><h4><strong>How to Set Up a Windows Server on AWS</strong></h4><p>On AWS, a virtual server is referred to as an EC2 instance, or simply, instance. EC2 is short for Elastic Compute Cloud, and the steps below will help you set up one.</p><p>1. Create an <strong>AWS Account</strong>.</p><p>2. Sign in to the account.</p><p>3. On the search bar type <strong>EC2</strong> and click on the EC2 option that appears under the service section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9UEnt1uFeXgOBWIg" /></figure><p>4. On the tab that opens click on the <strong>Launch instance</strong> button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_4MYTRpkspXfdooc" /></figure><p>5. Type in a name for your instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DtKtTLyaQDgR2lKW" /></figure><p>6. Next, select a <strong>Windows Amazon Machine Image(AMI)</strong>. An AMI is a file that executes code that spins up an operating system. In this case, a Windows AMI will launch Windows OS for your instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MTMzRTGk9ZGY3zl0" /></figure><p>7. With the OS selected, you now need to specify the type of server you need and create a key pair for it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*I2IDrgkobIu41lrW" /></figure><p>a. AWS servers have varying vCPUs,and memory capacities. But for now, select a <strong>t2 Micro</strong>. It is robust enough to handle the workload ahead, and comes with free-tier support if you’re using AWS free tier.</p><p>b. A key pair is a file containing a public and private key that you need in order to login to your EC2 programmatically. To create a key pair click on the <strong>Create new key pair </strong>hyperlink. Enter a descriptive name for your key pair file, select <strong>RSA </strong>authentication and <strong>.pem</strong> format, then click on <strong>Create key pair</strong>. This will automatically download the file on your device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2yu_-CIDJhhbsuj6" /></figure><p>8. The server also needs to be secured from malicious traffic. To achieve this you need to set up a <strong>Security group</strong>. For now, set up the security group to accept only RDP requests from your IP. Later on in this tutorial there will be instructions on how to further modify the security group.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GRT6hDfkvM0b4a0K" /></figure><p>9. The other settings can remain as they are in default, and you can now click the <strong>Launch instance</strong> button to officially start your server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YB5F0O3Du9XJT4sv" /></figure><p>To confirm that your EC2 is running, click the <strong>Instances</strong> option on the left navigation pane, and check the <strong>Instance state column </strong>of the instance you just created, and confirm that it says <strong>Running. </strong>If it doesn’t refresh the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*R_6OdHLcp0UCbiB0" /></figure><p>10. Now that your instance is up, you can tweak your security groups a little. To do that, click the checkbox next to the instance you just created. Scroll slightly to the bottom, select the <strong>Security</strong> tab, and click on the hyperlinked name under the <strong>Security group</strong> section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*p1KZQ28A0zfps6BS" /></figure><p>11. On the tab that opens, click the <strong>Edit </strong>button, create a new rule, and allow your Instance to accept all incoming requests from your IP. Doing this means you can only connect to your EC2 from your IP address. To add more addresses, or more rules, simply create a new rule.</p><p>12. Once your security group is configured, click the <strong>Connect</strong> button at the top right of the screen to choose how you want to connect to your instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GrxC6_-9RkZLc5Zs" /></figure><p>13. Because our server runs a <strong>Windows OS</strong>, we will connect to it using the RDP(Remote Desktop Protocol). For this, click the <strong>RDP client</strong> tab, choose <strong>Connect using RDP client</strong>, click on <strong>Download remote desktop file</strong>, then click on <strong>Get password</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RE6uI491ZuWUzvMI" /></figure><p>14. On the tab that opens, click on <strong>Upload private key file</strong>, upload the <strong>key pair file </strong>that was downloaded in<strong> step 7b, </strong>then click on<strong> Decrypt password.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6Y9CNxOtsfouaQrN" /></figure><p>15. Go back to the previous page and copy the newly generated password, you will need it in a few steps to come.</p><h4><strong>How to Connect to a Windows Server from Ubuntu</strong></h4><p>With your EC2 instance set-up, and your connection option configured, it’s time to connect to your server programmatically from your device.</p><p>A programmatic connection simply means connecting to a device through the <strong>Command Line Interface(CLI)</strong> as opposed to the <strong>Graphical User Interface(GUI)</strong>. Below are the steps to set up a programmatic connection to your Windows server.</p><p>1. Navigate to the folder that contains the <strong>remote desktop file</strong> you downloaded in <strong>step 13 </strong>of the section above.</p><p>2. Right click this file and select the option <strong>Open with Remmina Connect</strong>. Remmina is an open source remote desktop client that enables POXIS systems to run RDP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OWZ9fLea5EfMkOia" /></figure><p>3. As <strong>Remmina</strong> opens, click <strong>Yes</strong> to accept the licensing certificate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Z06D7-bxZIRiA-Ii" /></figure><p>4. Next, enter the password copied on <strong>step 15</strong>, paste it in the password field, toggle the <strong>Save password</strong> button to enable it, then click <strong>Ok</strong>. You don’t have to input any details on the <strong>Domain</strong> field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kvseTwmBJRBWQ2mq" /></figure><p>5. If you’ve configured everything correctly, you should see a <strong>Windows desktop </strong>view on your screen. Click on the icon pointed in the left navigation pane to adjust the view to fit your screen, then click the<strong> Windows </strong>icon at the bottom to open the search view.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UB4ERROy9UZzQjr6" /></figure><p>6. On the tab that opens, click on <strong>Server management</strong>. This will help you configure the server locally.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KexU8FIyKwx0lcmW" /></figure><p>7. On the window that opens, click on <strong>Add roles and features</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SnZBd0QFjhVkl9Mh" /></figure><p>8. Now, read the instructions under <strong>Before you begin</strong>, then click <strong>Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bcbVcNAGJPzUyl0W" /></figure><p>9. For the <strong>Selection installation type</strong>, choose <strong>Role-based or feature-based installation</strong>, and click next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*fs8apiFvtWryRjd9" /></figure><p>10. In the <strong>Server selection</strong> section, click <strong>Select server from the server pool</strong>, and if you have more than one server, highlight the one you want to connect to, and click <strong>Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*4VaV98sEFSX2_PlX" /></figure><p>11. Don’t change anything under <strong>Server roles</strong>, simply click <strong>Next</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*Su7Fi5NtgfGZEtfY" /></figure><p>12. On the <strong>Features </strong>window, check the box next to<strong> Containers, </strong>and click <strong>Next.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*J7B8xI5ggXAHAj-W" /></figure><p>13. Under <strong>Confirmation, </strong>click <strong>Install </strong>to finish the local set-up<strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*T9wa9_Fu7BBS6RZ-" /></figure><p>14. Once installation is complete, you will see a pop-up asking you to restart your server. For this step, go back to your AWS Console, select the instance you just connected to by clicking the checkbox next to it.</p><p>15. Now, click the <strong>Actions</strong> dropdown on the top right, and click on restart server. Click okay on the pop-up that appears, and wait for your server to restart. To confirm it has restarted, check the <strong>Instance state column </strong>of the instance you just created, and confirm that it says <strong>running.</strong></p><h4><strong>How to Install a Docker on a Remote Windows Server</strong></h4><p>At this point, your Windows server is running on AWS, and you have configured it locally. Now, you need to install Docker Engine on the server so that you can run Windows containers with ease.</p><p>To run a Windows container, you must have a supported container runtime available on your server.</p><p>A runtime environment, often referred to as a runtime, is an intermediary layer between an OS, and a given application. In this case, the runtime is a software framework, providing a standard interface for the Docker Engine to run on Windows OS.</p><p>Windows supports multiple runtime environments including Moby, Containerd, and the Mirantis Container Runtime. This section will focus on installing <strong>Moby runtime</strong>. Moby is an open-source component on Docker that handles container execution.</p><p><strong>Setting Up Moby Runtime</strong></p><p>To set up Moby runtime, go back to <strong>Remmina</strong>, click the <strong>Windows </strong>icon at the bottom of your <strong>Windows Desktop Environment, </strong>and select<strong> Powershell.</strong></p><p>Once you launch the <strong>Powershell terminal </strong>run the command below and click<strong> Enter.</strong></p><p>This command runs a script that configures your server’s environment to enable container-related OS features and install the Moby runtime, and by extension, Docker Engine.</p><p><strong>Pulling a Windows Container Base Image</strong></p><p>With Docker installed, you can now create a Windows container on your EC2. All containers are created from images.</p><p>1. To get your <strong>Windows container image</strong>, run the command below and click <strong>Enter</strong>.</p><ul><li><strong>docker pull mcr.microsoft.com/windows/nanoserver:ltsc2022</strong></li></ul><p>This command pulls (downloads and installs) the Nano Server base image. A Nano Server is a lightweight edition of the Windows Server operating system. It is optimized for cloud-native applications, containerized workloads, and modern data center environments.</p><p><strong>Running a Windows Container from Ubuntu</strong></p><p>Once you have the Windows container image, you can now run Docker commands on your server.</p><p>1. First, start a container using an interactive session from the nanoserver image by running the command below.</p><ul><li><strong>docker run -it mcr.microsoft.com/windows/nanoserver:ltsc2022 cmd.exe</strong></li></ul><p>If the command above runs successfully, you will notice the environment in your terminal change from that of the server to that of the container.</p><p>At this stage, it is important to note that the container has its own file system, separate from the server’s file system. This may change in certain instances, like when a directory from the server is mounted as a volume on the container, or when permissions on the server are not well configured. However, for this tutorial, the container and server have separate file systems.</p><p>2. In the container environment, run the command below to create a file called <strong>HelloWorld.txt</strong>.</p><ul><li><strong>mkdir hello-world-project</strong></li><li><strong>cd hello-world-project</strong></li></ul><p>3. Write into <strong>HelloWorld.txt</strong> and exit the container environment using the commands below.</p><ul><li><strong>echo “Hello World!” &gt; Hello.txt</strong></li><li><strong>exit</strong></li></ul><p>If you successfully complete this task, you will have created your first container.</p><p>4. Get the ID of this container by running the command below.</p><ul><li><strong>docker ps -a</strong></li></ul><p>5. Next, you need to create an image for the container above. To do this, run the command below.</p><ul><li><strong>docker commit &lt;containerid&gt; helloworld</strong></li></ul><p>Remember to replace <strong>&lt;containerid&gt;</strong> with the ID retrieved from <strong>step 4 </strong>above.</p><p>6. Now you have an image generated from <strong>helloworld.txt</strong>. You can confirm that your image was successfully created by running the command below.</p><ul><li><strong>docker images</strong></li></ul><p>7. You can use the helloworld image to start a container using the command that follows.</p><ul><li><strong>docker run — rm helloworld cmd.exe /s /c type Hello.txt</strong></li></ul><p>There you have it, your own custom Windows Container running on an AWS Windows Server, built from your Ubuntu PC. Happy Containerazation!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de875d039501" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>