GithubHelp home page GithubHelp logo

sm-spark-end-to-end's Introduction

SageMaker end to end lab using Spark

In this repository, we are stepping through all the possible interaction between Amazon SageMaker Studio and PySpark.

By using a demonstrative dataset, we will perform data preparation steps by using Amazon SageMaker Studio and Amazon SageMaker Processing jobs.

The dataset and the example provided are officially publicly maintained in the official AWS repository SageMaker Studio EMR.

The content of this repository is based on the offical blogpost Create and manage Amazon EMR Clusters from SageMaker Studio to run interactive Spark and ML workloads โ€“ Part 1

Prerequisites:

In order to interact from Amazon SageMaker Studio with EMR, it's necessary to follow the setup described in the previosly linked blogpost.

Alternatively, it's possible to setup the environment by applying the CloudFormation templates:

  1. 00-secure_studio_template.yml: This template creates a secure studio environment, with VPC, Nat Gateway, Public and Private Subnets, and a Security Group for Studio
  2. 01-emr_template.yml: This template creates the EMR cluster and links it to the networking configuration defined for SageMaker Studio

Alternatively, it's possible to skip the previous step by adding the following prerequisites:

  • Amazon SageMaker Studio Domain created
  • S3 Endpoint created
  • IAM Role linked to studio with EMR permissions

It's possible to create an EMR cluster by using the Cloudformation template provided.

Content of the lab

  1. PySpark in local mode
  2. Data Processing using EMR from Studio
  3. PySpark jobs using Amazon SageMaker Processing

sm-spark-end-to-end's People

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.