Giter VIP home page Giter VIP logo

ecossistema_aws_big_data's Introduction

Projeto - Criando seu Ecossistema de Big Data na Nuvem

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


Repositório de cógido do Dio Live Coding com AWS EMR e Python

1


4


5

Pratica

3


Passo a Passo

  • Acessar S3: https://s3.console.aws.amazon.com/s3/
    • Criar estrutura de data lake : _dio-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-wordcount.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-wordcount.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/

Me siga nas redes sociais

🧑🏼‍💻👩🏼‍💻 https://linktr.ee/ygtecnologia

Investir em conhecimento rende sempre os melhores juros. Benjamim Franklin

🙏 Oração ! Foco ! Ação ! Yeshua Hamashia

ecossistema_aws_big_data's People

Contributors

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