Amazon Linux 2 vs Amazon Linux notebook instances - Amazon SageMaker

Amazon Linux 2 vs Amazon Linux notebook instances

Amazon SageMaker notebook instances currently support Amazon Linux 2 (AL2) and Amazon Linux (AL1) operating systems. You can select the operating system that your notebook instances is based on when you create the notebook instance. Notebook instances created before 08/18/2021 automatically run on AL1. Notebook instances based on AL1 will enter a maintenance phase as of 04/18/2022. To replace AL1, customers now have the option to create Amazon SageMaker notebook instances with AL2. 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.

AL1 Maintenance Phase Plan

The following table outlines the timeline for AL1 entering its extended maintenance phase.

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. Customers can choose between the two operating systems when launching a new notebook instance.

04/18/2022

AL1 is no longer supported with security patches and updates. Notebook instances default to AL2. Customers can still launch instances on AL1, but assume the risks associated with using an unsupported Operating System.

Available Kernels

notebook-al1-v1: The following kernels are available in notebook instances based on the Amazon Linux platform.

Kernel Name

R

Sparkmagic (PySpark)

Sparkmagic (Spark)

Sparkmagic (SparkR)

conda_amazonei_mxnet_p27

conda_amazonei_mxnet_p36

conda_amazonei_pytorch_latest_p36

conda_amazonei_tensorflow2_p27

conda_amazonei_tensorflow2_p36

conda_amazonei_tensorflow_p27

conda_amazonei_tensorflow_p36

conda_chainer_p27

conda_chainer_p36

conda_mxnet_latest_p37

conda_mxnet_p27

conda_mxnet_p36

conda_python2

conda_python3

conda_pytorch_latest_p36

conda_pytorch_p27

conda_pytorch_p36

conda_tensorflow2_p36

conda_tensorflow_p27

conda_tensorflow_p36

notebook-al2-v1: The following kernels are available in notebook instances based on the Amazon Linux 2 platform.

Kernel Name

R

Sparkmagic (PySpark)

Sparkmagic (Spark)

Sparkmagic (SparkR)

conda_amazonei_mxnet_p36

conda_amazonei_pytorch_latest_p37

conda_amazonei_tensorflow2_p36

conda_amazonei_tensorflow_p36

conda_mxnet_latest_p37

conda_mxnet_p36

conda_python3

conda_pytorch_latest_p37

conda_pytorch_p36

conda_tensorflow2_latest_p37

conda_tensorflow2_p36

conda_tensorflow_p37

Migrating to Amazon Linux 2

Your existing notebook instance is not automatically migrated to Amazon Linux 2. To upgrade your 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.