You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- SageMaker Notebook Instances: [install-codeserver](install-scripts/notebook-instances/install-codeserver.sh) and [setup-codeserver](install-scripts/notebook-instances/setup-codeserver.sh) (install procedure is split in two sequential steps to better support lifecycle configurations - see next sections)
52
+
- SageMaker Notebook Instances: [install-codeserver](install-scripts/notebook-instances/install-codeserver.sh) and [setup-codeserver](install-scripts/notebook-instances/setup-codeserver.sh) (install procedure is split in two sequential steps to better support lifecycle configurations - see next sections).
53
+
54
+
The install procedure is based on the latest stable release of the solution as of today.
53
55
54
56
### Install with Lifecycle Configurations
55
57
@@ -59,32 +61,35 @@ When using Amazon SageMaker Studio, code-server must be installed on the instanc
59
61
60
62
**Example: install code-server automatically for all users in the Studio domain**
61
63
62
-
1. Download the [install-codeserver](install-scripts/studio/install-codeserver.sh) script in a directory of choice.
63
-
64
-
2. From a terminal appropriately configured with AWS CLI, run the following commands in the directory above:
65
-
66
-
LCC_CONTENT=`openssl base64 -A -in install-codeserver.sh`
Make sure to replace <your_domain_id>, <your_region> and <your_account_id> in the previous commands with the Studio domain ID, the AWS region and AWS Account ID you are using respectively.
90
95
@@ -94,49 +99,61 @@ Amazon SageMaker Notebook Instances support lifecycle configuration scripts that
94
99
95
100
**Example: Create a notebook instance and install code-server automatically**
96
101
97
-
1. Download the [install-codeserver](install-scripts/notebook-instances/install-codeserver.sh) and [setup-codeserver](install-scripts/notebook-instances/setup-codeserver.sh) scripts in a directory of choice.
102
+
From a terminal appropriately configured with AWS CLI, run the following commands:
tar -xvzf amazon-sagemaker-codeserver-0.1.5.tar.gz
131
+
132
+
cd amazon-sagemaker-codeserver/install-scripts/studio
133
+
122
134
chmod +x install-codeserver.sh
123
135
./install-codeserver.sh
124
136
125
137
# Note: when installing on JL1, please prepend the nohup command to the install command above and run as follows:
126
138
# nohup ./install-codeserver.sh
127
-
139
+
128
140
129
141
#### Amazon SageMaker Notebook Instances
130
142
131
143
1. Access JupyterLab and open a terminal
132
-
2. Download the [install-codeserver](install-scripts/notebook-instances/install-codeserver.sh) and [setup-codeserver](install-scripts/notebook-instances/setup-codeserver.sh) scripts in a directory of choice
133
-
3. From the same download directory, run the following commands:
0 commit comments