aws / amazon-sagemaker-feedback

Amazon SageMaker Public Feedback Dashboard
Creative Commons Attribution Share Alike 4.0 International
4 stars 1 forks source link

Sagemaker Code Editor: Persisting settings and extensions #75

Closed michaelneely closed 4 weeks ago

michaelneely commented 2 months ago

Product Category

Other

Question

sagmaker-code-editor uses server, data, and extensions directories located outside of /home/sagemaker-user

Thus, any edits to user settings or extensions are not persisted beyond the application's runtime.

Is there any reason why these directories can't be located in the /home/sagemaker-user directory mounted via EBS?

Other Details

No response

arkaprava08 commented 2 months ago

You can use the BYOI image feature of code editor https://docs.aws.amazon.com/sagemaker/latest/dg/code-editor-custom-images.html to have the persistent storage as the default location and override that path.

For the base image we intentionally use the root volume as the config and extension storage location so as to reset those config when the app is restarted