Amazon Linux 2 notebook instances
Amazon SageMaker notebook instances currently support Amazon Linux 2 (AL2) operating systems. You can select the operating system that your notebook instance is based on when you create the notebook instance.
SageMaker supports notebook instances based on the following Amazon Linux 2 operating systems.
-
notebook-al2-v1: These notebook instances support JupyterLab version 1. For information about JupyterLab versions, see JupyterLab versioning.
-
notebook-al2-v2: These notebook instances support JupyterLab version 3. For information about JupyterLab versions, see JupyterLab versioning.
-
notebook-al2-v3: These notebook instances support JupyterLab version 4. For information about JupyterLab versions, see JupyterLab versioning.
Notebook instances created before 08/18/2021 automatically run on Amazon Linux (AL1). Notebook instances based on AL1 entered a maintenance phase as of 12/01/2022 and are no longer available for new notebook instance creation as of 02/01/2023. To replace AL1, you now have the option to create Amazon SageMaker notebook instances with AL2. For more information, see AL1 Maintenance Phase Plan.
Supported instance types
Amazon Linux 2 supports instance types listed under Notebook Instances in
Amazon SageMaker Pricingml.p2
instances.
Available Kernels
The following table gives information about the available kernels for SageMaker notebook
instances. All of these images are supported on notebook instances based on the
notebook-al2-v1
, notebook-al2-v2
, and
notebook-al2-v3
operating systems.
SageMaker notebook instance kernels
Kernel name | Description |
---|---|
R | A kernel used to perform data analysis and visualization using R code from a Jupyter notebook. |
Sparkmagic (PySpark) | A kernel used to do data science with remote Spark clusters from Jupyter notebooks using the Python programming language. This kernel comes with Python 3.10. |
Sparkmagic (Spark) | A kernel used to do data science with remote Spark clusters from Jupyter notebooks using the Scala programming language. This kernel comes with Python 3.10. |
Sparkmagic (SparkR) | A kernel used to do data science with remote Spark clusters from Jupyter notebooks using the R programming language. This kernel comes with Python 3.10. |
conda_python3 | A conda environment that comes pre-installed with popular packages for data science and machine learning. This kernel comes with Python 3.10. |
conda_pytorch_p310 | A conda environment that comes pre-installed with PyTorch version 2.2.0, as well as popular data science and machine learning packages. This kernel comes with Python 3.10. |
conda_tensorflow2_p310 | A conda environment that comes pre-installed with TensorFlow version 2.16.0, as well as popular data science and machine learning packages. This kernel comes with Python 3.10. |
AL1 Maintenance Phase Plan
The following table is a timeline for when AL1 entered its extended maintenance phase. The AL1 maintenance phase also coincides with the deprecation of Python 2 and Chainer. Notebooks based on AL2 do not have managed Python 2 and Chainer kernels.
Date |
Description |
---|---|
08/18/2021 |
Notebook instances based on AL2 are launched. Newly launched notebook instances still default to AL1. AL1 is supported with security patches and updates, but no new features. You can choose between the two operating systems when launching a new notebook instance. |
10/31/2022 |
The default platform identifier for SageMaker notebook instances changes from Amazon Linux (al1-v1) to Amazon Linux 2 (al2-v2). You can choose between the two operating systems when launching a new notebook instance. |
12/01/2022 |
AL1 is no longer supported with non-critical security patches and
updates. AL1 still receives fixes for critical |
02/01/2023 |
AL1 is no longer an available option for new notebook instance creation. After this date, customers can create notebook instances with the AL2 platform identifiers. Existing al1-v1 notebook instances are not affected. |
03/31/2024 |
AL1 reaches its end of life on notebook instances on March 31, 2024. After this date, AL1 will no longer receive any security updates, bug fixes, or be available for new notebook instance creation.
|
Migrating to Amazon Linux 2
Your existing AL1 notebook instance is not automatically migrated to Amazon Linux 2. To
upgrade your AL1 notebook instance to Amazon Linux 2, you must create a new notebook
instance, replicate your code and environment, and delete your old notebook
instance. For more information, see the Amazon Linux 2 migration blog