AI Cloud Architect

Scala development in Amazon SageMaker Studio with Almond kernel

AWSHow-to by Varun Rajan and Aakash AggarwalAWS Artificial Intelligence Blog

This post provides a comprehensive guide on integrating the Almond kernel into SageMaker Studio, offering a solution for Scala development within the platform.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

A step-by-step guide to adding a Scala kernel (Almond, installed with Coursier in a custom Conda environment) to SageMaker Studio JupyterLab, since Studio has no built-in Scala support.

Who it is for

Data scientists and engineers on SageMaker Studio who run Spark pipelines in Scala and want to keep them alongside Python ML work.

Key points

  • Requires JupyterLab 2.4.1 or later in SageMaker Studio and a custom Conda environment with OpenJDK 11 for Spark 3.3.2.
  • The kernel.json file must be edited to point at the absolute Java path, since the default path does not work on Studio.
  • The post states there are no extra AWS charges beyond the underlying Studio environment; the Almond kernel and Coursier are open source.

Timeline

Posts about Amazon SageMaker Studio, oldest first.

  1. New featureAmazon SageMaker Unified Studio supports remote connection from VS Code · AWS · Announcement
  2. Generally availableAmazon SageMaker notebooks now support P6-B200 instance type · AWS · Announcement
  3. How-toUse AWS Deep Learning Containers with Amazon SageMaker AI managed MLflow · AWS · How-to
  4. New featureAmazon SageMaker AI Projects now supports custom template S3 provisioning · AWS · Announcement
  5. This postScala development in Amazon SageMaker Studio with Almond kernel
  6. New featureAnnouncing notebooks with a built-in AI agent in Amazon SageMaker · AWS · AnnouncementAlso published by What's New with AWS, AWS News Blog
  7. New featureAmazon SageMaker AI announces serverless MLflow capability for faster AI development · AWS · Announcement
  8. Generally availableScaling MLflow for enterprise AI: What’s New in SageMaker AI with MLflow · AWS · Announcement
  9. Update to an existing featureAmazon SageMaker Studio now supports SOCI indexing for faster container startup times · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
Show all 49 posts
  1. New featureAmazon SageMaker Unified Studio supports remote connection from VS Code · AWS · Announcement
  2. Generally availableAmazon SageMaker notebooks now support P6-B200 instance type · AWS · Announcement
  3. How-toUse AWS Deep Learning Containers with Amazon SageMaker AI managed MLflow · AWS · How-to
  4. New featureAmazon SageMaker AI Projects now supports custom template S3 provisioning · AWS · Announcement
  5. This postScala development in Amazon SageMaker Studio with Almond kernel
  6. New featureAnnouncing notebooks with a built-in AI agent in Amazon SageMaker · AWS · AnnouncementAlso published by What's New with AWS, AWS News Blog
  7. New featureAmazon SageMaker AI announces serverless MLflow capability for faster AI development · AWS · Announcement
  8. Generally availableScaling MLflow for enterprise AI: What’s New in SageMaker AI with MLflow · AWS · Announcement
  9. Update to an existing featureAmazon SageMaker Studio now supports SOCI indexing for faster container startup times · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
  10. New featureAmazon SageMaker Unified Studio now supports AWS PrivateLink · AWS · Announcement
  11. Blog postAgentic AI for healthcare data analysis with Amazon SageMaker Data Agent · AWS · Blog post
  12. New featureAmazon SageMaker Unified Studio launches support for remote connection from Kiro IDE · AWS · Announcement
  13. New featureAmazon SageMaker Unified Studio launches support for remote connection from Cursor IDE · AWS · AnnouncementAlso published by What's New with AWS
  14. Update to an existing featureAmazon SageMaker Data Agent now supports geo-specific inference for Japan and Australia · AWS · Announcement
  15. New featureAmazon SageMaker Data Agent introduces charting capabilities and support for materialized views · AWS · Announcement
  16. Update to an existing featureAmazon SageMaker Unified Studio adds notebook import/export and developer acceleration features · AWS · Announcement
  17. Update to an existing featureAmazon SageMaker Unified Studio now supports multiple code spaces within projects for IAM domains · AWS · Announcement
  18. Update to an existing featureAmazon SageMaker supports notebooks and data agent for IdC domains · AWS · Announcement
  19. Update to an existing featureAmazon SageMaker Unified Studio adds identity and user management features · AWS · Announcement
  20. Generally availableAmazon SageMaker Studio notebooks now support P5.4xl instance types · AWS · Announcement
  21. Region expansionAnnouncing Region Expansion of G6e instances on SageMaker Studio notebooks · AWS · Announcement
  22. Region expansionAnnouncing Region Expansion of P4de instances on SageMaker Studio notebooks · AWS · Announcement
  23. Region expansionAnnouncing Region Expansion of P6-B200 instances on SageMaker Studio notebooks · AWS · Announcement
  24. Region expansionAnnouncing Region Expansion of G6 instances on SageMaker Notebook Instances · AWS · Announcement
  25. New featureAmazon SageMaker Studio now supports GPU capacity reservation through SageMaker Flexible Training Plans · AWS · Announcement
  26. New featureAmazon SageMaker adds business metadata and governance in IAM-based domains · AWS · Announcement
  27. Generally availableSageMaker Notebook Instances now support P5en.48xl instance types · AWS · Announcement
  28. Region expansionAnnouncing Region Expansion of P4de instances on SageMaker Notebook Instances · AWS · Announcement
  29. Region expansionAnnouncing Region Expansion of P5.48xl instances on SageMaker Notebook Instances · AWS · Announcement
  30. Update to an existing featureAmazon SageMaker Studio now sets up in seconds with model customization ready from the start · AWS · Announcement
  31. New featureAmazon SageMaker Data Agent integrates business context into conversations · AWS · Announcement
  32. Blog postMonitor and debug generative AI inference with SageMaker detailed metrics and Insights dashboard on CloudWatch · AWS · Blog post
  33. New featureAmazon SageMaker Studio notebooks now support G7e instance types · AWS · Announcement
  34. New featureAmazon SageMaker Studio now integrates with Hugging Face for one-click model deployment and customization · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
  35. Blog postLaunching UI for generative AI inference recommendations in Amazon SageMaker AI · AWS · Blog post
  36. New featureAmazon SageMaker Unified Studio now supports Teradata Vantage · AWS · Announcement
  37. New featureAmazon SageMaker Studio notebooks now support G7 instance types · AWS · Announcement
  38. New featureAmazon SageMaker notebooks now support trusted identity propagation · AWS · Announcement
  39. New featureGenerative AI Inference Recommendation for Amazon SageMaker now available in the SageMaker AI Studio · AWS · Announcement
  40. Customer storyHow ZS democratized secure ad-hoc analytics with Amazon SageMaker · AWS · Customer story
  41. Update to an existing featureAmazon SageMaker Unified Studio CI/CD adds notebook promotion and AI-assisted manifest generation · AWS · Announcement
  42. Blog postGovern models with MLflow and Amazon SageMaker AI Model Registry sync: Part 2 · AWS · Blog post
  43. How-toRun Positron on Amazon SageMaker AI for data science workflows · AWS · How-to
  44. New featureAmazon SageMaker Unified Studio now supports two new connection capabilities: Iceberg REST Catalog connections and IAM authentication for Amazon DocumentDB · AWS · Announcement
  45. Update to an existing featureAmazon SageMaker Studio simplifies getting started for new AI/ML builders with new sign-in options · AWS · Announcement
  46. Update to an existing featureDevelopers can now access SageMaker Studio through the new AWS experience · AWS · Announcement
  47. How-toExowatt beats frontier models on accuracy with SageMaker serverless model customization · AWS · How-to
  48. New featureAmazon SageMaker AI Studio Now Supports IAM Identity Center Multi-Region Replication · AWS · Announcement
  49. New featureAmazon SageMaker Unified Studio now supports layout customization for designations · AWS · Announcement