Giter Site home page Giter Site logo

igti-cde-practice-one-aws's Introduction

Cloud Data Engineer Bootcamp

Introduction

This repo is for the activity proposed by IGTI in the Cloud Data Engineer Bootcamp.

It was made within AWS

Task

  1. Create an ingestion pipeline for ENEM 2019 data.
  2. Move the data inside the data lake from raw-data to consumer-zone (csv -> parquet).
  3. Create an AWS Glue crawler to catalog the data.
  4. Query the data with AWS Athena.

Architecture

Architecture

Steps

First

I created a python script to do the ingestion of ENEM 2019 file into AWS S3.

I run it locally but the ideal is that run in a container on cloud or with Airflow.

Second

I developed locally the PySpark code that will move the raw data to the consumer zone in parquet format.

The development env is inside dev folder and was cloned from https://github.com/otacilio-psf/spark-dev-env-docker

For local development I used a sample of the data with:
head -n 10000 data/DADOS/MICRODADOS_ENEM_2019.csv > dev/sample_data.csv

Third

I runned the Spark app inside of the AWS EMR cluster.

Spark result

S3 Result

Fourth

I used a crawler with AWS Glue to create the metastore for the consume zone.

Glue crawler

Fifth

I used the AWS Athena to create queries on the ENEM data to answer the questions in the first practical activity.

Athena Queries Athena Queries

igti-cde-practice-one-aws's People

Contributors

otacilio-psf 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.