Skip to content

How'd you add Sparkmagic as an AWS SageMaker kernel? #874

Answered by dosubot bot
starskyreverie asked this question in Q&A
Discussion options

You must be logged in to vote

🤖

Hey @pq43! Nice to see you back around here. Hope you're doing well!

To add sparkmagic as an available kernel in AWS SageMaker and publish it as a custom container, you can follow these steps:

  1. Create a Dockerfile similar to the one provided in the context. This Dockerfile installs sparkmagic and its dependencies, copies the necessary files, and sets up the Jupyter notebook environment.

  2. Build the Docker image using the Dockerfile. You can do this by running the following command in the directory containing the Dockerfile:

docker build -t sparkmagic:latest .
  1. After the Docker image is built, you can test it locally by running:
docker run -p 8888:8888 sparkmagic:latest
  1. If the Docke…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by starskyreverie
Comment options

You must be logged in to vote
1 reply
@starskyreverie
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants