By using AWS re:Post, you agree to the Terms of Use

Attach more than one lifecycle configuration to a notebook instance


I have implemented the auto-stop-idle and persistent-conda-kernels lifecycle configurations and they both work. However, I cannot seem to find how to attach both to a single notebook instance. How can I do that?

Lifecycle configuration scripts found in aws sample scripts.

1 Answers

Hi, you'll have to merge both into a single script and attach it to the notebook instance.

answered 6 days ago
  • I have seen someone create a new script that will run two shell scripts : script 3 : sh && sh but that would work in normal shell. How could I create a third lifecycle script that runs the ARN paths of the other lifecycle configurations instead? I think copy pasting them all into one is rather unclear.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions