Use lifecycle configurations with Amazon SageMaker Studio Classic - Amazon SageMaker

Use lifecycle configurations with Amazon SageMaker Studio Classic


As of November 30, 2023, the previous Amazon SageMaker Studio experience is now named Amazon SageMaker Studio Classic. The following section is specific to using the Studio Classic application. For information about using the updated Studio experience, see Amazon SageMaker Studio.

Lifecycle configurations are shell scripts triggered by Amazon SageMaker Studio Classic lifecycle events, such as starting a new Studio Classic notebook. You can use lifecycle configurations to automate customization for your Studio Classic environment. This customization includes installing custom packages, configuring notebook extensions, preloading datasets, and setting up source code repositories.

Using lifecycle configurations gives you flexibility and control to configure Studio Classic to meet your specific needs. For example, you can create a minimal set of base container images with the most commonly used packages and libraries, then use lifecycle configurations to install additional packages for specific use cases across your data science and machine learning teams.

For example lifecycle configuration scripts, see the Studio Classic Lifecycle Configuration examples GitHub repository. For a blog on implementing lifecycle configuration, see Customize Amazon SageMaker Studio Classic using Lifecycle Configurations.


Each script has a limit of 16384 characters.