GithubHelp home page GithubHelp logo

ecossistema-big-data-na-nuvem's Introduction

Criando-seu-Ecossistema-de-Big-Data-na-Nuvem

Repositório de cógido Criando-seu-Ecossistema-de-Big-Data-na-Nuvem Coding com AWS EMR e Python Neste repositório há os arquivos de configuração e execução de análise de dados.

Instruções

  • Acessar S3: https://s3.console.aws.amazon.com/s3/
    • Criar estrutura de data lake : dio-live-datalake
    • Criar estrutura de pastas:
      • data
      • output
      • temp
  • Acessar EMR: https://console.aws.amazon.com/elasticmapreduce/
    • O cluster será criado pelo MrJob e não pelo console
    • Infraestrutura como código
  • Criar chave SSH
  • Obter Id e chave secreta AWS para configurar MrJob
  • Ambiente linux
    • Criar ambiente virtual python: virtualenv --python=python3.6 venv_diolive
    • Acessar com o vs code
  • Instalar vscode no Ubuntu
    • code .
  • Criar algoritmo de análise de palavras
    • dio-live-wordcount-test.py
    • map-reduce-count : contar
    • Instalar boto3: pip install boto3
    • Instalar mrjob: pip install mrjob
  • Acessar S3
    • Upload de arquivo para o bucket
  • Ambiente virtual python: source venv_teste/bin/activate
    • nano ~/.mrjob.conf
    • python3 dio-live-wordcount-test.py -r emr s3://{your_s3_bucket_name}/data/SherlockHolmes.txt --output-dir=s3://{your_s3_bucket_name}/output/logs1 --cloud-tmp-dir=s3://{your_s3_bucket_name}/temp/

ecossistema-big-data-na-nuvem's People

Contributors

thiagoperess 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.