GithubHelp home page GithubHelp logo

aws-glue-etl's Introduction

Data Engineering Project: Sales Data Transformation on AWS

This repository demonstrates an end-to-end data engineering workflow that involves cleaning and filtering sales data within the AWS cloud environment.

Project Overview

This project showcases the following key steps:

Data Acquisition from Kaggle and Upload to S3 Data Cataloging with Glue Crawler Data Filtering with Lambda Function Clean Data Storage in S3 Local Download for Further Analysis

Key Technologies and Services

AWS S3, AWS Glue, AWS Lambda, IAM

Project Structure

This repository includes:

README.md (this file), lambda_function.py (Python code for the Lambda function), sample_data.csv (a sample of the original sales data), run_clean file (the filtered and clean sales data)

Setup Instructions

Data set is about world currency.

Prerequisites:

An AWS account with necessary permissions.

Basic familiarity with AWS S3, Glue, Lambda, and IAM services.

1.Create S3 buckets: Create two S3 buckets: one for the raw data (raw-data-bucket) and one for the clean data (clean-data-bucket).

2.Upload data to S3: Upload the sample sales data to the raw-data-bucket.

3.Create Glue crawler: Create a Glue crawler to catalog the data in the raw-data-bucket.

4.Create Glue ETL job: Create a Glue ETL job using the glue_etl_job.py script.

5.Create Lambda function: Create a Lambda function using the lambda_function.py code. I have used a boto script :

import json
import boto3
glueClient - boto3.client('glue')
def lamnda_handler(event,context):
  glueClient.start_job_run(Jobname="your jobname")
  return "Job Started"

6.Configure IAM permissions: Ensure appropriate IAM permissions are in place for the Glue job and Lambda function to access S3 buckets.

Architecture

Running the Project

Trigger the Glue ETL job. The job will execute the Lambda function to filter the data. The filtered data will be stored in the clean-data-bucket. Download the clean data from S3 for further analysis.

aws-glue-etl's People

Contributors

arish14 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.