GithubHelp home page GithubHelp logo

jam-challenge-spark-on-eks's Introduction

AWS Jam Spark on EKS Made Easy

A python CDK v2 project for AWS JAM - Spark on EKS made easy.

Generate the CFN

export BUCKET_NAME_PREFIX=aws-jam-challenge-resources
export SOLUTION_NAME=spark-on-eks-made-easy

# go to the project directory
cd jam-challenge-spark-on-eks
./deployment/build-s3-dist.sh $BUCKET_NAME_PREFIX $SOLUTION_NAME

########################################################
# NOTE: convert json templates to yaml file on CFN designer console, then rename them to xxx.yaml, finally sync yaml templates to JAM S3 bucket. 
cd deployment/global-s3-assets/
aws s3 ls s3://aws-jam-challenge-resources/spark-on-eks-made-easy/
aws s3 sync . s3://aws-jam-challenge-resources/spark-on-eks-made-easy
########################################################
# sync regional lambda functions generated by CDK
cd ../regional-s3-assets
aws s3 sync . s3://aws-jam-challenge-resources/spark-on-eks-made-easy

# Sync the rest of application assets
cd ../../jam_asset
aws s3 sync ../source/app_resources/jupyter-values.yaml s3://aws-jam-challenge-resources/spark-on-eks-made-easy
aws s3 sync ../deployment/post-deployment.sh s3://aws-jam-challenge-resources/spark-on-eks-made-easy
aws s3 sync ../deployment/app_code/job/NYCTaxiCount.py s3://aws-jam-challenge-resources/spark-on-eks-made-easy

Clean up

Run the clean-up script with your CloudFormation stack name.The default name is SparkOnEKS.

cd aws-jam-spark-on-eks-made-easy
./deployment/delete_all.sh

Go to CloudFormation console, manually delete the remaining resources if needed.

jam-challenge-spark-on-eks's People

Contributors

melodyyangaws avatar syutingtaro 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.