Update Code Editor extensions
The Code Editor extensions included in SMD 2.0.0 (the latest version available in SageMaker Studio right now) are significantly outdated:
- Jupyter 2023.9.100 is from 2023-09-11
- Python 2023.20.0 is from 2023-11-01
- AWS Toolkit 1.99.0 is from 2023-11-19
Use case description
No response
Alternatives
My environment doesn't allow access to open-vsx.org so I'm not sure if manually updating the extensions within Code Editor would normally work.
I can make newer VSIX files available privately, e.g. in S3, and install them at startup with a lifecycle config script, but I found that the installs took a long time, which made startup fail because the lifecycle script times out after 5 minutes.
Edit: Turns out my extension installs were taking a long time mainly due to unnecessary network requests to open-vsx.org, which isn't accessible in my VPC. The requests wait a couple minutes before timing out, but I can make them fail fast by routing them straight to localhost in /etc/hosts, which makes my installs take less than 10 seconds total. So this is a pretty viable workaround for now.
Additional context
No response
Hi @SeijiSuenaga, Thanks for raising the issue. We are working on investigating and updating the CodeEditor extensions. I'll provide ETA once it becomes available.
@SeijiSuenaga Till we update the SMD; Another recommendation would be to create a custom image for code editor and use our BYOI feature. You can update the image locally and then upload to SM to use the the updated extension.
Updated jupyter, python in https://github.com/aws/sagemaker-distribution/pull/502/files Updated aws-toolkit in https://github.com/aws/sagemaker-distribution/pull/507/files
Resolving this issue for now, feel free to re-open if you have any other concerns. Thanks for using SMD!